There's that, and I'm not entirely sure it's safe to shoot so many projectiles. Or... wait, is that a flak-like stun gun?RAD-82 wrote:Try adding <shots>1</shots>dmi3 wrote:So I've been designing ship-specific weapons, because that's a lot more fun than trying to figure out the room numbers in the blueprints, and I ran into a problem with this one. Every time it fires, FTL crashes.Originally it had 30 projectiles, but even after decreasing that it crashes the game. Is there anything obviously wrong that I'm missing?Code: Select all
<weaponBlueprint name="ARTILLERY_MANTIS"> <!-- Pretty much stolen from CE's neural stunner weapon. Thanks, sleepy. --> <type>BURST</type> <title>Stinger</title> <short>Artillery</short> <desc>Stuns crew, damages systems, and breaches hulls, paralyzing an enemy ship. More power means faster cooldown.</desc> <tooltip>Artillery: Fires a burst of small particles that can pierce shields and disable enemies</tooltip> <radius>100</radius> <damage>0</damage> <stun>7</stun> <sp>5</sp> <fireChance>0</fireChance> <breachChance>2</breachChance> <speed>40</speed> <cooldown>40</cooldown> <power>1</power> <cost>0</cost> <bp>5</bp> <rarity>0</rarity> <projectiles> <projectile count="15" fake="false">mantis_artillery_shot</projectile> </projectiles> <launchSounds> <sound>bp_SFX_MantisSpit1</sound> </launchSounds> <hitShipSounds> <sound>hitHull2</sound> <sound>hitHull3</sound> </hitShipSounds> <hitShieldSounds> <sound>silence</sound> </hitShieldSounds> <missSounds> <sound>miss</sound> </missSounds> <weaponArt>artillery_fed</weaponArt> </weaponBlueprint>
In that case, may I recommend 3 shots each containing 5 (or 10) projectiles, instead?