hi guys,
on a similar topic, i was recently asking reg about how to upgrade Stations.
"
eg:
Q: how can i upgrade a 1st Class Starbase, into a 2nd Class?
(I class into II class):
example:
I can use a Lamprey Transport to create an outpost 2nd class, and i can turn an outpost 2nd class into a starbase II class,
but
i had an old outpost 1st class, and was able to upgrade it into a Starbase 1st class, but now i do not know how to turn it into a 2nd class starbase.
(if i group multiple transports into a fleet group, all it lets me do is build an outpost or starbase quicker, but how do we upgrade older existing ones?)
"
The Answer was that it is not yet possible..... so i had an idea as to how it might be possible.
(including here in case useful for others)
IDEA (basic pseudocode)
basic way could be this:
IF building type = outpost 1st Class,
AND IF Tech Level > x,
AND IF ship = transport > 1st class,
AND IF ship at location of Outpost 1st class,
= show "Upgrade Outpost" as an extra option in Orders list.
(function) of new order button is coded so that the transport ship is used up (destoryed in the process) and a variable to show how many turns remaining etc, and then the existing station ID is updated with the ID of the later model Station.
(basic code is easy, but i guess there is a lot more than that which is needed)