How to add buttons?

Talk about anything related to old versions of Armada.
posted on June 14th, 2009, 3:29 pm
Ok so I activated the prometheus in my personal mod of FO, I also activated the mckinley yard to build it from and all that works. I use the promy as a testing platform for dif weapons ideas but I ditrack from my topic...anyways the buld button for the promy has always been invisable so I set about to add it..seemed like It wouldnt be dificult since it already has a pic and everything. So I open up the gui_global.spr and scroll down to unit avatars section and add an entry for the promy...well I dont quite understand the layout so Ill show u what Im confused about.
Code: Select all
b_fed_descent   federationbuttons02   3   88   80   80      
#   1   2
b_fed_prometheus   federationbuttons02   3   88   80   80      
#   1   2
b_fed_sf_command   federationbuttons02   428   88   80   80      
#   6   2


Now with this entry I have two buttons of the descent appear in game. I know the values to the right of the entry represent reference points but Im not sure how they translate. Also I have no clue what the "#" symbol and the two values under the entry represent. I was attempting to foloow the westworlds bbom But its example differs from this. Any help would be appreciated as I feel dumb asking this cuz I bet its simple.
posted on June 14th, 2009, 3:39 pm
Last edited by Optec on June 14th, 2009, 3:44 pm, edited 1 time in total.
# is a comment, so everything behind it is ignored. thats just information for our automated tools ^-^

its quite simple.

Code: Select all
GraphicsID, TextureName, X, Y, Width, Height
posted on June 14th, 2009, 5:34 pm
ahh I was being an IDIOT!!! all i had to do was open up the fed button textures to get the corodinates....yes u r right it is quite simple optec if the user knows what they are doing lol!!!! thanks again :thumbsup:
Reply

Who is online

Users browsing this forum: No registered users and 7 guests