Creating New Weapons: What did i do wrong?
Posted: Tue Jul 12, 2016 3:08 am
After many assertation fails i finally got my weapon ingame. I call it the Missile Barrage Rack and it was designed to shoot 6 missiles at once (or in quick succession) and land anywhere in a widespread area. Basically like a flak, but missiles. However, a few issues came up:
Its not using the weapon file i specified. I edited my own file and everything, but ingame it appears to be using the Basic Laser somehow.
The missiles all have no animation and come in sideways
Despite targeting a large area, all missiles still land exactly where i targeted, as though the radius effect is not being applied (its functioning like a normal weapon instead of flak-style)
Here are the specs:
-------Animation-----------
<animSheet name="missile_barrage" w="99" h="65" fw="33" fh="65">weapons/missile_barrage_strip3.png</animSheet>
<weaponAnim name="missile_barrage">
<sheet>missile_barrage</sheet>
<desc length="3" x="0" y="0" />
<chargedFrame>1</chargedFrame>
<fireFrame>2</fireFrame>
<firePoint x="16" y="20" />
<mountPoint x="0" y="0" />
<chargeImage>weapons/missile_barrage_glow.png</chargeImage>
</weaponAnim>
<animSheet name="missile_barrage" w="32" h="80" fw="32" fh="80">weapons/missile_barrage.png</animSheet>
<anim name="missile_barrage">
<sheet>missile_barrage</sheet>
<desc length="1" x="0" y="0" />
<time>1</time>
</anim>
---------------Auto Blueprint-----------
<name>MISSILES_BARRAGE</name>
---------------Bluprint--------------
<name>MISSILES_BARRAGE</name>
<weaponBlueprint name="MISSILES_BARRAGE">
<type>MISSILES</type>
<tip>tip_missiles</tip>
<title>Missile Barrage Rack</title>
<short>Barrage S.</short>
<desc>Unconventional rocket pod fires several, highly inaccurate missiles at once. Costly to use, but capable of widespread destruction.</desc>
<tooltip>Fires 6 missile inaccurate missiles for 1 damage each.</tooltip>
<damage>1</damage>
<missiles>6</missiles>
<radius>75</radius>
<shots>6</shots>
<sp>5</sp>
<fireChance>2</fireChance>
<breachChance>3</breachChance>
<stunChance>2</stunChance>
<cooldown>23</cooldown>
<power>3</power>
<cost>120</cost>
<bp>2</bp>
<rarity>5</rarity>
<image>missile_barrage</image>
<launchSounds>
<sound>smallMissile1</sound>
<sound>smallMissile2</sound>
</launchSounds>
<hitShipSounds>
<sound>smallExplosion</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>missiles_barrage</weaponArt>
<iconImage>missile</iconImage>
</weaponBlueprint>
Its not using the weapon file i specified. I edited my own file and everything, but ingame it appears to be using the Basic Laser somehow.
The missiles all have no animation and come in sideways
Despite targeting a large area, all missiles still land exactly where i targeted, as though the radius effect is not being applied (its functioning like a normal weapon instead of flak-style)
Here are the specs:
-------Animation-----------
<animSheet name="missile_barrage" w="99" h="65" fw="33" fh="65">weapons/missile_barrage_strip3.png</animSheet>
<weaponAnim name="missile_barrage">
<sheet>missile_barrage</sheet>
<desc length="3" x="0" y="0" />
<chargedFrame>1</chargedFrame>
<fireFrame>2</fireFrame>
<firePoint x="16" y="20" />
<mountPoint x="0" y="0" />
<chargeImage>weapons/missile_barrage_glow.png</chargeImage>
</weaponAnim>
<animSheet name="missile_barrage" w="32" h="80" fw="32" fh="80">weapons/missile_barrage.png</animSheet>
<anim name="missile_barrage">
<sheet>missile_barrage</sheet>
<desc length="1" x="0" y="0" />
<time>1</time>
</anim>
---------------Auto Blueprint-----------
<name>MISSILES_BARRAGE</name>
---------------Bluprint--------------
<name>MISSILES_BARRAGE</name>
<weaponBlueprint name="MISSILES_BARRAGE">
<type>MISSILES</type>
<tip>tip_missiles</tip>
<title>Missile Barrage Rack</title>
<short>Barrage S.</short>
<desc>Unconventional rocket pod fires several, highly inaccurate missiles at once. Costly to use, but capable of widespread destruction.</desc>
<tooltip>Fires 6 missile inaccurate missiles for 1 damage each.</tooltip>
<damage>1</damage>
<missiles>6</missiles>
<radius>75</radius>
<shots>6</shots>
<sp>5</sp>
<fireChance>2</fireChance>
<breachChance>3</breachChance>
<stunChance>2</stunChance>
<cooldown>23</cooldown>
<power>3</power>
<cost>120</cost>
<bp>2</bp>
<rarity>5</rarity>
<image>missile_barrage</image>
<launchSounds>
<sound>smallMissile1</sound>
<sound>smallMissile2</sound>
</launchSounds>
<hitShipSounds>
<sound>smallExplosion</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>missiles_barrage</weaponArt>
<iconImage>missile</iconImage>
</weaponBlueprint>