I'm trying to make an upgrade that is similar to the Bespin_Krayt_Damage_Upgrade, only I want it to be researchable after I build a special structure that is able to be built anywhere, not just on bespin.
Is there any way to do this besides tying the upgrade to every planet in the galaxy?
Dark Lord Of The Sith
9th January 2007
If you open up upgrades_underworld.xml, then search for "Bespin_Krayt_Damage_Upgrade" you'll find the code for it.....
Now all you have to do is copy an existing structure, then attach this Subobject list. The building will have this ability now.
Thanks for the quick response!
Please forgive my lack of knowledge, but won't that tie the ability onto the building its self, resulting in a situation where if the building were to be destroyed I would loose the upgrade? Also, wouldn't that take up one of the building slots on the planet it's built on?
What I want to do is get the game to render a button on either the space or ground command bar that, when bought, will permanently add a damage bonus to a faction's capital ships. I want to be able to do this in such a way that the damage bonus is always present, and does not rely upon the survival of a structure, unit, or planet.
I'm confident that I could get the code to affect the desired changes on the capital ship units, but I just don't know how to get something like this to appear in a command bar when I'm on the galactic map.