Making Upgrades -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

Hi,

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?

Thanks.




Sidious Invader

Dark Lord Of The Sith

50 XP

9th January 2007

0 Uploads

853 Posts

0 Threads

#2 10 years ago

If you open up upgrades_underworld.xml, then search for "Bespin_Krayt_Damage_Upgrade" you'll find the code for it.....

Space_AutomaticKrayt_Class_Destroyer 0.00.250.00.00.00.03

Now all you have to do is copy an existing structure, then attach this Subobject list. The building will have this ability now.




Guest

I didn't make it!

0 XP

 
#3 10 years ago

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.