Jump to content


Photo

adding new faction statistic icon & palantir icon


  • Please log in to reply
3 replies to this topic

#1 amit5530

amit5530
  • Members
  • 114 posts
  • Location:Israel

Posted 30 August 2020 - 12:44 PM

Hello everyone,

 

1) I am trying to add a faction icon on the statistics menu, i have managed to add the rank icons for the new faction, but the statistic icon doesn't show up.

 

from aptcomponents.ini:

MappedImage AptIconElves
  Texture = AptComponents_001.tga
  TextureWidth = 256
  TextureHeight = 256
  Coords = Left:77 Top:1 Right:113 Bottom:37
  Status = NONE
End

2) In the palantir each faction has it's own icon and also each faction has its own select all icon

 

I have searched through the forums and found it is done by editing the APT

 

which apt do i need to edit? the palantir.apt?

i am not familiar with xml, how can i add a new entry there for my new faction? (and how to reference the icon image and such)

 

thanks in advance


Edited by amit5530, 30 August 2020 - 12:44 PM.


#2 amit5530

amit5530
  • Members
  • 114 posts
  • Location:Israel

Posted 30 August 2020 - 02:04 PM

although i am changing the Icon and Image for Rohan, i see no changes

MappedImage AptRohanImage
  Texture = AptComponents_Elves.tga ; AptComponents_002.tga
  TextureWidth = 256
  TextureHeight = 256
  Coords = Left:1 Top:1 Right:94 Bottom:102 ; Left:96 Top:104 Right:189 Bottom:205
  Status = NONE
End
MappedImage AptIconRohan
  Texture = AptComponents_Elves.tga
  TextureWidth = 256
  TextureHeight = 256
  Coords = Left:96 Top:1 Right:132 Bottom:37
  Status = NONE
End

anyone know why? 



#3 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 30 August 2020 - 02:13 PM

I can only guess, as I've tried the same for my mod and did not succeed. It either has to be added in XML somehow or it's just purely hardcoded in the games' engine. I don't know too much about APT editing either, but if it's possible you'd have to go there and try to understand how XML functions and constructs the interface. I couldn't find documentation/instruction on some of the functions used there.


26285.png


#4 amit5530

amit5530
  • Members
  • 114 posts
  • Location:Israel

Posted 30 August 2020 - 02:45 PM

I can only guess, as I've tried the same for my mod and did not succeed. It either has to be added in XML somehow or it's just purely hardcoded in the games' engine. I don't know too much about APT editing either, but if it's possible you'd have to go there and try to understand how XML functions and constructs the interface. I couldn't find documentation/instruction on some of the functions used there.

 

for the palantir resource icon(to the right side of the command point) can be added for a new Faction

 

you have to define:

MappedImage ResourceBar_Elves
  Texture = ResourceBarIcons.tga
  TextureWidth = 128
  TextureHeight = 32
  Coords = Left:55 Top:0 Right:73 Bottom:19
  Status = NONE
End

you can switch ResourceBar_Elves to ResourceBar_*NameOfFaction_As_It_Is_In_Playertemplateini*






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users