Laser Artillery freezes the game
Posted: Sun May 03, 2020 6:51 pm
I want to turn the Flak Arty into the Laser Arty. It works great on regular ships, but when it strikes the auto-ship - game freezes to death. Tried to look up other mods for reverse-engineering, found one with similar concept (The Dreamship), but its Arty has only five projectiles instead of seven. Maybe targeting the ship with less than seven rooms crashes the game? Here is the code just in case:
Code: Select all
<weaponBlueprint name="ARTILLERY_FED_C">
<type>LASER</type>
<title>Laser Artillery</title>
<short>Laser A.</short>
<desc>Powers a slow, high-powered laser that fires seven projectiles with a low chance of fire. More power means faster cooldown.</desc>
<tooltip>Artillery: Laser that automatically fires 7 projectiles with a low chance of fire.</tooltip>
<damage>1</damage>
<shots>7</shots>
<sp>0</sp>
<fireChance>1</fireChance>
<breachChance>0</breachChance>
<cooldown>40</cooldown>
<power>1</power>
<cost>0</cost>
<bp>10</bp>
<rarity>0</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>
<iconImage>laser</iconImage>
<weaponArt>artillery_fed</weaponArt>
</weaponBlueprint>