Modding two ships problem - help
Posted: Sat Mar 02, 2013 10:56 am
I have a problem with the programming of the two ships. when each run separately, it goes but if i merge the ships (mods) : Runtime error when starting game.
Sorry for my bad english...
Under THIS text are blueprint.xml.append file of all ships... 1.First code (merge of second and third code): runtime error
2.second code: normal function
3.third code: normal function.
HELP me pls with this problem...
There is the merge blueprints.xml.append file:
There is the ship1 (first mod) blueprints.xml.append file:
And ther is the second ship (second mod) blueprint.xml.append file:
Thanks for help...
Sorry for my bad english...
Under THIS text are blueprint.xml.append file of all ships... 1.First code (merge of second and third code): runtime error
2.second code: normal function
3.third code: normal function.
HELP me pls with this problem...
There is the merge blueprints.xml.append file:
Code: Select all
<?xml version="1.0" encoding="us-ascii"?>
<shipBlueprint name="PLAYER_SHIP_HARD_2" img="ship1" layout="ship1">
<class>ship1</class>
<name>ship1</name>
<desc>ship1</desc>
<systemList>
<pilot power="1" room="0" start="true" img="room_pilot" />
<doors power="1" room="5" start="true" img="room_doors" />
<sensors power="0" room="10" start="false" img="room_sensors" />
<medbay power="1" room="6" start="true" img="room_medbay" />
<oxygen power="1" room="7" start="true" img="room_oxygen" />
<shields power="0" room="11" start="false" img="room_shields" />
<engines power="1" room="1" start="true" img="room_engines" />
<weapons power="4" room="8" start="true" img="room_weapons" />
<drones power="0" room="4" start="false" img="room_drones" />
<teleporter power="0" room="9" start="false" img="room_teleporter" />
<cloaking power="3" room="2" start="true" img="room_cloaking" />
</systemList>
<weaponSlots>3</weaponSlots>
<droneSlots>3</droneSlots>
<weaponList count="0" missiles="30" >
<droneList count="0" drones="20" />
<health amount="60" />
<maxPower amount="10" />
<crewCount amount="4" class="human" />
<aug name="CLOAK_FIRE" />
<aug name="ADV_SCANNERS" />
</shipBlueprint>
<shipBlueprint name="PLAYER_SHIP_HARD" img="ship2" layout="ship2">
<class>ship2</class>
<name>ship2</name>
<desc>ship2, fourth generation of human's space ships.</desc>
<systemList>
<pilot power="1" room="8" start="true" img="room_pilot" />
<doors power="1" room="4" start="true" img="room_doors" />
<sensors power="1" room="6" start="true" img="room_sensors" />
<medbay power="0" room="9" start="true" img="room_medbay" />
<oxygen power="1" room="2" start="true" img="room_oxygen" />
<shields power="2" room="7" start="true" img="room_shields" />
<engines power="2" room="12" start="true" img="room_engines" />
<weapons power="5" room="11" start="true" img="room_weapons" />
<drones power="5" room="0" start="true" img="room_drones" />
<teleporter power="0" room="10" start="false" img="room_teleporter" />
<cloaking power="0" room="5" start="false" img="room_cloaking" />
</systemList>
<weaponSlots>4</weaponSlots>
<droneSlots>2</droneSlots>
<weaponList count="2" missiles="50">
<weapon name="LASER_BURST_2_A" />
<weapon name="ship2wep" />
</weaponList>
<droneList count="1" drones="10">
<drone name="drone1" />
</droneList>
<health amount="50" />
<maxPower amount="20" />
<crewCount amount="5" class="human" />
<aug name="WEAPON_PREIGNITE" />
</shipBlueprint>
<!--------------
WEAPONS
-------------->
<weaponBlueprint name="drone1_LASER">
<type>LASER</type>
<title>drone1 Laser</title>
<short>drone1 L.</short>
<desc></desc>
<tooltip></tooltip>
<!--<desc></desc>-->
<damage>1</damage>
<shots>1</shots>
<sp>0</sp>
<fireChance>0</fireChance>
<breachChance>0</breachChance>
<cooldown>23</cooldown>
<power>1</power>
<cost>80</cost>
<bp>4</bp>
<rarity>1</rarity>
<image>laser_light2</image>
<launchSounds>
<sound>lightLaser1</sound>
<sound>lightLaser2</sound>
<sound>lightLaser3</sound>
</launchSounds>
<hitShipSounds>
<sound>hitHull2</sound>
<sound>hitHull3</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>laser_burst_2</weaponArt>
</weaponBlueprint>
<weaponBlueprint name="ship2wep">
<type>LASER</type>
<title>ship2wep</title>
<short>ship2wep</short>
<desc>Slightly improved version of the burst laser that fires more shots per charge.</desc>
<tooltip>Fires 3 lasers, 1 damage each.</tooltip>
<damage>1</damage>
<shots>5</shots>
<sp>0</sp>
<fireChance>0</fireChance>
<breachChance>0</breachChance>
<cooldown>15</cooldown>
<power>4</power>
<cost>110</cost>
<bp>5</bp>
<rarity>2</rarity>
<image>laser_light2</image>
<launchSounds>
<sound>lightLaser1</sound>
<sound>lightLaser2</sound>
<sound>lightLaser3</sound>
</launchSounds>
<hitShipSounds>
<sound>hitHull2</sound>
<sound>hitHull3</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>ship2wep_1</weaponArt>
</weaponBlueprint>
<!--------------
DRONES
-------------->
<droneBlueprint name="drone1">
<type>COMBAT</type>
<title>Anti-Ship drone1</title>
<short>drone1</short>
<desc>Powerful drone that continually attacks the enemy ship.</desc>
<power>5</power>
<cooldown>1000</cooldown> <!--- Doesn't effect combat drone -->
<dodge>7</dodge>
<speed>12</speed> <!--- Change this to increase/decrease firing speed --> <!-- was 20-->
<cost>250</cost>
<bp>3</bp>
<droneImage>drone_drone1</droneImage>
<weaponBlueprint>drone1_LASER</weaponBlueprint>
<rarity>2</rarity>
</droneBlueprint>
Code: Select all
<shipBlueprint name="PLAYER_SHIP_HARD" img="ship2" layout="ship2">
<class>ship2</class>
<name>ship2</name>
<desc>ship2, fourth generation of human's space ships.</desc>
<systemList>
<pilot power="1" room="8" start="true" img="room_pilot" />
<doors power="1" room="4" start="true" img="room_doors" />
<sensors power="1" room="6" start="true" img="room_sensors" />
<medbay power="0" room="9" start="true" img="room_medbay" />
<oxygen power="1" room="2" start="true" img="room_oxygen" />
<shields power="2" room="7" start="true" img="room_shields" />
<engines power="2" room="12" start="true" img="room_engines" />
<weapons power="5" room="11" start="true" img="room_weapons" />
<drones power="5" room="0" start="true" img="room_drones" />
<teleporter power="0" room="10" start="false" img="room_teleporter" />
<cloaking power="0" room="5" start="false" img="room_cloaking" />
</systemList>
<weaponSlots>4</weaponSlots>
<droneSlots>2</droneSlots>
<weaponList count="2" missiles="50">
<weapon name="LASER_BURST_2_A" />
<weapon name="ship2wep" />
</weaponList>
<droneList count="1" drones="10">
<drone name="drone1" />
</droneList>
<health amount="50" />
<maxPower amount="20" />
<crewCount amount="5" class="human" />
<aug name="WEAPON_PREIGNITE" />
</shipBlueprint>
<!--------------
WEAPONS
-------------->
<weaponBlueprint name="drone1_LASER">
<type>LASER</type>
<title>drone1 Laser</title>
<short>drone1 L.</short>
<desc></desc>
<tooltip></tooltip>
<!--<desc></desc>-->
<damage>1</damage>
<shots>1</shots>
<sp>0</sp>
<fireChance>0</fireChance>
<breachChance>0</breachChance>
<cooldown>23</cooldown>
<power>1</power>
<cost>80</cost>
<bp>4</bp>
<rarity>1</rarity>
<image>laser_light2</image>
<launchSounds>
<sound>lightLaser1</sound>
<sound>lightLaser2</sound>
<sound>lightLaser3</sound>
</launchSounds>
<hitShipSounds>
<sound>hitHull2</sound>
<sound>hitHull3</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>laser_burst_2</weaponArt>
</weaponBlueprint>
<weaponBlueprint name="ship2wep">
<type>LASER</type>
<title>ship2wep</title>
<short>ship2wep</short>
<desc>Slightly improved version of the burst laser that fires more shots per charge.</desc>
<tooltip>Fires 3 lasers, 1 damage each.</tooltip>
<damage>1</damage>
<shots>5</shots>
<sp>0</sp>
<fireChance>0</fireChance>
<breachChance>0</breachChance>
<cooldown>15</cooldown>
<power>4</power>
<cost>110</cost>
<bp>5</bp>
<rarity>2</rarity>
<image>laser_light2</image>
<launchSounds>
<sound>lightLaser1</sound>
<sound>lightLaser2</sound>
<sound>lightLaser3</sound>
</launchSounds>
<hitShipSounds>
<sound>hitHull2</sound>
<sound>hitHull3</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>ship2wep_1</weaponArt>
</weaponBlueprint>
<!--------------
DRONES
-------------->
<droneBlueprint name="drone1">
<type>COMBAT</type>
<title>Anti-Ship drone1</title>
<short>drone1</short>
<desc>Powerful drone that continually attacks the enemy ship.</desc>
<power>5</power>
<cooldown>1000</cooldown> <!--- Doesn't effect combat drone -->
<dodge>7</dodge>
<speed>12</speed> <!--- Change this to increase/decrease firing speed --> <!-- was 20-->
<cost>250</cost>
<bp>3</bp>
<droneImage>drone_drone1</droneImage>
<weaponBlueprint>drone1_LASER</weaponBlueprint>
<rarity>2</rarity>
</droneBlueprint>
Code: Select all
<?xml version="1.0" encoding="us-ascii"?>
<shipBlueprint name="PLAYER_SHIP_HARD_2" img="ship1" layout="ship1">
<class>ship1</class>
<name>ship1</name>
<desc>ship1</desc>
<systemList>
<pilot power="1" room="0" start="true" img="room_pilot" />
<doors power="1" room="5" start="true" img="room_doors" />
<sensors power="0" room="10" start="false" img="room_sensors" />
<medbay power="1" room="6" start="true" img="room_medbay" />
<oxygen power="1" room="7" start="true" img="room_oxygen" />
<shields power="0" room="11" start="false" img="room_shields" />
<engines power="1" room="1" start="true" img="room_engines" />
<weapons power="4" room="8" start="true" img="room_weapons" />
<drones power="0" room="4" start="false" img="room_drones" />
<teleporter power="0" room="9" start="false" img="room_teleporter" />
<cloaking power="3" room="2" start="true" img="room_cloaking" />
</systemList>
<weaponSlots>3</weaponSlots>
<droneSlots>3</droneSlots>
<weaponList count="0" missiles="30" >
<droneList count="0" drones="20" />
<health amount="60" />
<maxPower amount="10" />
<crewCount amount="4" class="human" />
<aug name="CLOAK_FIRE" />
<aug name="ADV_SCANNERS" />
</shipBlueprint>