Code: Select all
<mdscript name="HijackedFleets" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<library name="FactionHijackedFleet">
<params>
<param name="Faction" comment="the faction we're working with"/>
<param name="IsShipyardFleet" comment="true - use shipyards; false - use wharfs"/>
</params>
<cues>
...
</cues>
</library>
<cue name="ArgonHijackersLarge" ref="FactionHijackedFleet">
<param name="Faction" value="faction.argon"/>
<param name="IsShipyardFleet" value="true"/>
</cue>
<cue name="ArgonHijackersSmall" ref="FactionHijackedFleet">
<param name="Faction" value="faction.argon"/>
<param name="IsShipyardFleet" value="false"/>
</cue>
<cue name="ParanidHijackersLarge" ref="FactionHijackedFleet">
<param name="Faction" value="faction.paranid"/>
<param name="IsShipyardFleet" value="true"/>
</cue>
<cue name="ParanidHijackersSmall" ref="FactionHijackedFleet">
<param name="Faction" value="faction.paranid"/>
<param name="IsShipyardFleet" value="false"/>
</cue>
<cue name="TeladiHijackersLarge" ref="FactionHijackedFleet">
<param name="Faction" value="faction.teladi"/>
<param name="IsShipyardFleet" value="true"/>
</cue>
<cue name="TeladiHijackersSmall" ref="FactionHijackedFleet">
<param name="Faction" value="faction.teladi"/>
<param name="IsShipyardFleet" value="false"/>
</cue>
</cues>
</mdscript>
However, when I save the game and reload it, I get these errors:
Code: Select all
[=ERROR=] 13799.51 Error on MD script import: Root cue 'ArgonHijackersLarge' with temp ID 238299 in script 'HijackedFleets' has invalid attribute(s)
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import: Root cue 'ArgonHijackersSmall' with temp ID 238300 in script 'HijackedFleets' has invalid attribute(s)
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import: Root cue 'ParanidHijackersLarge' with temp ID 238301 in script 'HijackedFleets' has invalid attribute(s)
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import: Root cue 'ParanidHijackersSmall' with temp ID 238302 in script 'HijackedFleets' has invalid attribute(s)
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import: Root cue 'TeladiHijackersLarge' with temp ID 238303 in script 'HijackedFleets' has invalid attribute(s)
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import: Root cue 'TeladiHijackersSmall' with temp ID 238304 in script 'HijackedFleets' has invalid attribute(s)
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import (2): No cue of temp ID 238299
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import (2): No cue of temp ID 238300
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import (2): No cue of temp ID 238301
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import (2): No cue of temp ID 238302
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import (2): No cue of temp ID 238303
[General] 13799.51 ======================================
[General] 13799.51 ======================================
[=ERROR=] 13799.51 Error on MD script import (2): No cue of temp ID 238304
[General] 13799.51 ======================================
I even tried starting a new game, saving, then immediately loading. Same errors as above.
There's no indication of what "invalid attributes" there are and since the script runs fine if I don't save and reload, I don't know what to look for. Anyone have any ideas of what might be wrong or what I can try?