


download them here: weapon image: http://www.mediafire.com/view/?g65db63mgp6016t
projectile image: http://www.mediafire.com/view/?aw6mgg9wmkpy3gm
Code: Select all
<weaponBlueprint name="PULSE_CANNON">
<type>MISSILES</type>
<title>Pulse cannon</title>
<short>Pulse cannon</short>
<desc>Weapon of massive destruction. Known to destroy ships in one hit.</desc>
<tooltip>Fires one shot. Pierces 5 levels of sheilding. Ten hull damage</tooltip>
<damage>10</damage>
<missiles>0</missiles>
<shots>1</shots>
<sp>0</sp>
<fireChance>1</fireChance>
<breachChance>1</breachChance>
<cooldown>25</cooldown>
<power>0</power>
<cost>55</cost>
<bp>6</bp>
<rarity>0</rarity>
<image>laser_red</image>
<launchSounds>
<sound>lightLaser1</sound>
<sound>lightLaser2</sound>
<sound>lightLaser3</sound>
</launchSounds>
<hitShipSounds>
<sound>hitHull1</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>Pulse_cannon</weaponArt>
</weaponBlueprint>
Nope you need to set <sp> onto 5 to shield pierce. Missiles themselves dont pierce. Missiles only use different shot animations (ie none).Ora_unit_SR388 wrote:wouldn't it go alittle like so:
I made the code treat the beam as if it were a missile, so thataway, it will ignore 5 shields.Code: Select all
<weaponBlueprint name="PULSE_CANNON"> <type>MISSILES</type> <title>Pulse cannon</title> <short>Pulse cannon</short> <desc>Weapon of massive destruction. Known to destroy ships in one hit.</desc> <tooltip>Fires one shot. Pierces 5 levels of sheilding. Ten hull damage</tooltip> <damage>10</damage> <missiles>0</missiles> <shots>1</shots> <sp>0</sp> <------------------------WRONG <fireChance>1</fireChance> <breachChance>1</breachChance> <cooldown>25</cooldown> <power>0</power> <cost>55</cost> <bp>6</bp> <rarity>0</rarity> <image>laser_red</image> <launchSounds> <sound>lightLaser1</sound> <sound>lightLaser2</sound> <sound>lightLaser3</sound> </launchSounds> <hitShipSounds> <sound>hitHull1</sound> </hitShipSounds> <hitShieldSounds> <sound>hitShield1</sound> <sound>hitShield2</sound> <sound>hitShield3</sound> </hitShieldSounds> <missSounds> <sound>miss</sound> </missSounds> <weaponArt>Pulse_cannon</weaponArt> </weaponBlueprint>