Automatically repairing or replacing satellites [orbitals]

Synthlight

Chieftain
Joined
Jan 19, 2014
Messages
5
I find myself building (or sometimes buying) a satellite when I see a 'de-orbit imminent' message. This got me wondering if it's possible to automatically repair/replace existing satellites.

I can think of a few possibilities but I haven't done any civ modding since some few visual DLL alteration changes in V so I'm hoping you can tell me which method is best and point me in the right direction.

1: A script to wait for the satellite to de-orbit and then launch a replacement if the user owns one.
2: Same as 1 but resetting the orbit turns so it remains in orbit.
3: Perhaps charging some maintenance fee like 1k energy or something if the user has no replacement sat available? (Is it possible to get the cost the user would have to pay to 'buy' that specific satellite?)
3.5: Instead of a script trying to do this automatically could I add a button for satellite for 'maintenance' that extends or resets orbit time? (I know Rocktopus can go in and out of orbit and am wondering if this might help.)

Is it possible to alter the GUI th add some sort of check-box to a sat for auto-renewal?
 
There exist lua listeners for de-orbit events. It wouldn't be too difficult to detect a de-orbit, iterate through existing units, and launch an identical unit to the location. Creating the UI to do this selectively would be a bit of a pain, but doable.
 
Back
Top Bottom