So far I've figured out faction creation, staffing it, giving it wares, representatives, station's construction plan and god.xml station placement - it all works flawlessly.
My last major issue is the fact that god.xml only triggers on a new game start. I know this needs to be scripted and my sripting knowledge is... nonexistent, to say the least. I have attempted to canibalize parts of setup_dlc_terran and setup_dlc_split scripts, but failed completely.
SCRIPT REQUEST / ASSITANCE REQUEST:
I am looking for a way to script a station I defined in god.xml to spawn at a sector of my choosing (also defined in god) in an already existing savegame.
my god.xml definition is as follows:
Code: Select all
<diff>
<add sel="/god/stations">
<station id="shipyard_aldrin" race="terran" owner="aldrin" type="factory">
<quotas>
<quota galaxy="1" zone="1" />
</quotas>
<location class="sector" macro="Cluster_116_Sector001_macro" matchextension="false">
<corerange min="0.2" max="0.5"/>
</location>
<station>
<select faction="aldrin" tags="[shipyard]" />
<loadout>
<level exact="1.0" />
</loadout>
</station>
</station>
</add>
</diff>