I have a small problem, I want to add a new start (ATF Officer):
I added this to starts:
Code: Select all
</documentation>
<action>
<do_choose>
<do_when value="{player.age}" min="20">
<do_choose>
<do_when value="{player.gamestart}" exact="101" comment="Terran Defender">
<set_value name="Terran Plot" exact="1"/>
<set_value name="HUB Plot" exact="1"/>
<set_value name="HQ Plot" exact="1"/>
</do_when>
<do_when value="{player.gamestart}" exact="102" comment="USC Commander">
<set_value name="Terran Plot" exact="1"/>
<set_value name="HUB Plot" exact="1"/>
<set_value name="HQ Plot" exact="1"/>
</do_when>
<do_when value="{player.gamestart}" exact="103" comment="ATF Officer">
<set_value name="Terran Plot" exact="1"/>
<set_value name="HUB Plot" exact="1"/>
<set_value name="HQ Plot" exact="1"/>
</do_when>
<do_when value="{player.gamestart}" exact="104" comment="Argon Patriot">
<set_value name="Ter.......
(...)
.......lue name="Terran Plot" exact="1"/>
<set_value name="HUB Plot" exact="1"/>
<set_value name="HQ Plot" exact="1"/>
</do_when>
<do_when value="{player.gamestart}" exact="103" comment="ATF Officer">
<reward_player>
<money exact="1000"/>
<notoriety>
<relation race="argon" operation="set" exact="neutral-8"/>
<relation race="boron" operation="set" exact="neutral-11"/>
<relation race="paranid" operation="set" exact="foe-2"/>
<relation race="split" operation="set" exact="foe-5"/>
<relation race="teladi" operation="set" exact="neutral-5"/>
<relation race="goner" operation="set" exact="neutral+5"/>
<relation race="pirate" operation="set" exact="enemy"/>
<relation race="khaak" operation="set" exact="min" mutual="1"/>
<relation race="xenon" operation="set" exact="min" mutual="1"/>
<relation race="atf" operation="set" exact="{lookup.notoriety@notop2}"/>
<relation race="terran" operation="set" exact="neutral" mutual="1"/>
<relation race="yaki" operation="set" exact="enemy" mutual="1"/>
</notoriety>
<equipment>
<ware typename="SS_SHIELD_A" exact="5"/>
<ware typename="SS_LASER_EMP" exact="2"/>
<ware typename="SS_WARE_BOOST" exact="1"/>
<ware typename="SS_WARE_SCANNER2" exact="1"/>
<ware typename="SS_MISSILE_POLTERGEIST" exact="3"/>
<ware typename="SS_WARE_TECH213" exact="({player.ship.equipment.SS_WARE_TECH213.maxcount}/5)*4" comment="Engine Tunings"/>
<ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
<ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
<ware typename="SS_WARE_TECH246" exact="{player.ship.equipment.SS_WARE_TECH246.maxcount}/4+1" comment="Rudder Optomisation"/>
<ware typename="SS_WARE_TECH251" exact="{player.ship.equipment.SS_WARE_TECH251.maxcount}/3+1" comment="Cargo Bay Extension"/>
</equipment>
</reward_player>
<set_value name="ATF Notoriety" exact="{lookup.notoriety@notop2}"/>
<set_value name="Terran Plot" exact="1"/>
<set_value name="HUB Plot" exact="1"/>
<set_value name="HQ Plot" exact="1"/>
</do_when>
<do_when value="{player.gamestart}" exact="104" comment="Argon Patriot">
<reward_player>
<money min="1800" max="2000"/>
<notoriety> (........................)
Code: Select all
<!-- Terran Defender -->
<gamestart id="101" name="{1900,2001}" description="{1900,2101}" difficulty="{1900,2201}" image="start08" plot="1">
<player name="{1900,2301}" species="{1900,2401}" gender="{1900,2501}" age="{1900,2601}"/>
<!-- Uranus -->
<sector x="10" y="1"/>
<ship typename="SS_SH_USC_M4"/>
</gamestart>
<!-- USC Commander -->
<gamestart id="102" name="{1900,2002}" description="{1900,2102}" difficulty="{1900,2202}" image="start01" plot="1" requirements="6">
<player name="{1900,2302}" species="{1900,2402}" gender="{1900,2502}" age="{1900,2602}"/>
<!-- Uranus -->
<sector x="10" y="1"/>
<ship typename="SS_SH_USC_M3"/>
</gamestart>
<!-- ATF Officer -->
<gamestart id="103" name="{1900,2002}" description="{1900,2102}" difficulty="{1900,2202}" image="start01" plot="1">
<player name="{1900,2302}" species="{1900,2402}" gender="{1900,2502}" age="{1900,2602}"/>
<!-- Uranus -->
<sector x="10" y="1"/>
<ship typename="SS_SH_TR_M5"/>
</gamestart>
<!-- SPARE SLOT FOR ALTERNATIVE TERRAN START -->
<!-- STANDARD AVAILABLE STARTS -->
Anybody knows what can be failing?