*Pirates* Starting Empire Locations. Need Coding help. |

We are working on a Pirates mod and we need a little programming/coding help. How would you or can you make the Pirate base spawn in each 'Home' system as each other Empire.
We want a Pirate base to be in EACH home system at game start. We have a 'Asteroid Habitat' ready to go, but getting it created at game start is the issue.
Can it be done? How? Code? Add code where?
Thank you for the help in advance!
Romulus




Re: *Pirates* Starting Empire Locations. Need Coding help.
The only way to have it appear in every home system, but no others, would be to use a custom map.
If you just want one in every solar system, its easy enough to go through SystemTypes.txt and add the "Asteroid Habitat" as a specifically named object to the Standard systems (and possibly Binary as well, cause they can be used for home systems). If you happen to be using Balance Mod as a base, look at the Red Giant System's star entry for a reference of specifically named object calls.
SpaceEmpires.net | Space Empires Wiki