Posted: Sat Aug 25, 2007 2:40 pm Post subject:
Upgrades
Subject description: Having Problems
From looking at the Railgun upgrade I need entries to cover the following:
I can't get a button for my upgrade to show in a command set (in this case the Tech Center)
I've cloned the code for the railgun upgrade from the following:
UnitAbilityButtonTemplates.xml - The button itself.
LogicCommand.xml - What happens when you click the button.
LogicCommandSet.xml - List the button under a building, etc.
GUPredator.xml - Tell the unit what to do when the upgrade has been bought, ie change weapons.
upgrade.xml - The upgrade.
PackedImages.xml - Button graphics.
I've got all that, and as far as I can see the game knows the upgrade exists (it shows on the tank itself as an available upgrade) but I can't get the button to show on the Tech Center.
I replaced the Sensor Pods upgrade in the command set with the new upgrade but the new button won't show, it's definately reading the file though as the Sensor Pods upgrade is now missing from the Tech Center.
Has anyone managed this yet? _________________ QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum