View Single Post
Old 11-27-2005, 03:38 AM   #5 (permalink)
Truechaos
Junior Member
 
Join Date: Mar 2003
Location: USA
Posts: 2
Default

Okay I have added the pilot, it appears in game and I can build it no problem etc. The problem I am having is simply figuring out a few things, like how to specify the data in the tooltip that pops up.

CommandButton Command_ConstructAmericaInfantryPilot
Command = UNIT_BUILD
Object = AmericaInfantryPilot
TextLabel = CONTROLBAR:ConstructAmericaInfantryPilot
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TempDescription
End

That is my command button, I have put the part in question in bold italics. I am wondering where exactly the data on that is stored generally?

The code for the pilot I am using is kind of long so I pastebin'd it: http://hydryad.pastebin.com/439481

This is pretty much copy & paste hacked together so I am pretty happy I have even managed to get it in game, even though it has the icon of a particle uplink cannon. Some pointers on how to remedy this would be appriciated.
Truechaos is offline   Reply With Quote