Help with new enemy ships?
Posted: Sat Jul 13, 2013 4:25 am
I am currently trying to get some of my custom enemy ships to appear in the game via events. Unfortunately, everything I tried ended in crash whenever I press the "Jump" Button. Can anybody help me?
Heres my code
EDIT: update autoblueprintsv
AutoBlueprints.xml
(this is only for the one pirate ship)
Sector_data.xml (Just the modded part)
event_ships.xml
events.xml
Heres my code
EDIT: update autoblueprintsv
AutoBlueprints.xml
Code: Select all
<blueprintList name="SHIPS_STARWARS_PIRATE">
<name>SW_PIRATE_PATROL</name>
</blueprintList>
Sector_data.xml (Just the modded part)
Code: Select all
<sectorDescription name="STANDARD_SPACE" minSector="0" unique="false">
<nameList>
<name>Federation Space</name>
</nameList>
<trackList>
<track>civilian</track>
<track>cosmos</track>
<track>milkyway</track>
</trackList>
<startEvent>START_BEACON</startEvent>
<event name="SWPIRATE1" min="2" max="4"/>
<event name="STORE" min="1" max="2"/>
<event name="ITEMS" min="1" max="2"/>
<event name="NEUTRAL2" min="2" max="4"/>
<event name="NOTHING" min="1" max="2"/>
<event name="DISTRESS_BEACON" min="1" max="2"/>
<event name="HOSTILE2" min="4" max="6"/>
<event name="NEBULA" min="0" max="4"/>
<event name="QUESTS" min="1" max="1"/>
<event name="HOSTILE1" min="2" max="2"/>
<event name="HOSTILE_BOARDING" min="0" max="0"/>
</sectorDescription>
Code: Select all
<ship name="SW_PIRATE_PATROL" auto_blueprint="SHIPS_STARWARS_PIRATE">
<surrender min="3" max="4">
<text>They hail your ship saying, "Ok, we're sorry! Just take this and let us be!"</text>
<choice hidden="true">
<text>Let them live.</text>
<event>
<ship hostile="false"/>
<text>The pirates' ship slowly drifts to a nearby dock, after beaming over some scrap. </text>
<autoReward level="MED">standard</autoReward>
</event>
</choice>
<choice>
<text>These pirates should die so they can't cause any more trouble.</text>
<event/>
</choice>
</surrender>
<destroyed>
<text>The patrol ship explodes, giving quite a bit of scrap. Suddenly, your ship picks up several warp signatures. A pirate fleet moves in! You gather as much materials as possible and prepare to jump.</text>
<autoReward level="LOW">standard</autoReward>
</destroyed>
<deadCrew>
<text>With the pirates killed, you loot their ship.</text>
<autoReward level="LOW">standard</autoReward>
</deadCrew>
</ship>
Code: Select all
<eventlist name="SWPIRATE1">
<event load="piratepatrol"/>
</eventlist>
<event name="piratepatrol">
<ship load="STARWARS_PIRATE_PATROL" hostile="false"/>
<text>A you notice a pirate patrol ship approach your vessel.They power up weapons</text>
<choice hidden="true">
<text>Prepare to engage</text>
<event>
<ship hostile="true"/>
<text> You prepare to engage the enemy</text>
</event>
</choice>
</event>