Building ships

What tag is it that allows the starport to build ships? I want to create an upgrade to the starport, but can’t find the tag that makes any such attempt kinda useless...
4,839 views 8 replies
Reply #1 Top
Out of curiosity, what type of upgrade would you like to create?
Reply #2 Top
{Improvement}
{S_Name}Starport{/S_Name}
{S_InternalName}BasicStarport{/S_InternalName}
{!-- Note: This internal name is also used by code, so if you change it here, you'll have to change the code too. --}
{S_Description}Your basic starport. You need this to launch constructed starships.{/S_Description}
{S_Type}Normal{/S_Type}
{Cost}20{/Cost}
{Maintenance}1{/Maintenance}
{S_IconName}BasicStarport.png{/S_IconName}
{S_QueryGraphicName}BasicStarport.png{/S_QueryGraphicName}
{PlacementLimit}1{/PlacementLimit}
{/Improvement}

Well, since it states that the internal name is used by code, I suppose that's the one your looking for. Didn't try it out for myself, but I don't think it's something else.
Reply #3 Top
I’d like to change the Omega Defense System so that it is an upgrade to the starport. And the Hyperion Shipyard should also be a, you know, shipyard. And since I don’t want to clutter up my planets with dozens of unnecessary buildings...
Reply #4 Top
You can use either BasicStarport or UpgradedStarport for S_InternalName to treat the building as a starport. I use UpgradedStarport for my modded starports because if you use BasicStarport and you already have one, you don't see the upgrades .

Reply #5 Top
Hey! That seems to have worked. Thanks...
Reply #6 Top
There's a pic for it in the \Gfx\Improvements directory...that's where I got the idea to use the S_InternalName.
Reply #7 Top
Yeah, and I kinda wondered why the description would be “this is a [i]basic]/i] starport”. I am curious what the upgrade was supposed to do?