NarnKar wrote:<iconImage> is the icon on iPad. It should hardly matter.
I think what it is, is frame numbering. If you could post your code and weapon strip, that'd be helpful.
But basically...the first frame is actually considered frame 0. So if you had 10 frames, it would be numbered: frame 0, 1, 2, 3, 4, 5, .... 9.
Omg this helps so much!
Code:
Blueprints
Code: Select all
<weaponBlueprint name="BA_SHOTGUN_MISSILES_II">
<type>BURST</type>
<flavorType>Swarm Missile Blast</flavorType>
<title>Flak Charger</title>
<tip>tip_flak</tip>
<short>Flak C.</short>
<desc>Fires 6 swarms of laser-warheads across a very wide area doing up to 5 damage. Very hard to aim and therefore ineffective against smaller ships. This weapon charges faster after each volley.</desc>
<tooltip>Fires missiles swarms across a random area doing up to 6 damage. Pierces all shields.</tooltip>
<drone_targetable>2</drone_targetable>
<radius>120</radius>
<damage>1</damage>
<shots>2</shots>
<sp>5</sp>
<fireChance>0</fireChance>
<breachChance>3</breachChance>
<cooldown>19</cooldown>
<power>4</power>
<cost>110</cost>
<bp>10</bp>
<speed>55</speed>
<rarity>4</rarity>
<explosion>ba_explosion_anime</explosion>
<boost>
<type>cooldown</type>
<amount>3</amount>
<count>3</count>
</boost>
<projectiles>
<projectile count="1" fake="false">ba_shotgun_missile_ii_shot_6</projectile>
<projectile count="1" fake="false">ba_shotgun_missile_ii_shot_1</projectile>
<projectile count="1" fake="false">ba_shotgun_missile_ii_shot_3</projectile>
<projectile count="1" fake="false">ba_shotgun_missile_ii_shot_6</projectile>
<projectile count="1" fake="true">ba_shotgun_missile_ii_shot_3</projectile>
<projectile count="1" fake="false">ba_shotgun_missile_ii_shot_6</projectile>
</projectiles>
<launchSounds>
<sound>engine_missile_swarm_launch</sound>
</launchSounds>
<hitShipSounds>
<sound>hit_hull_scatter_1</sound>
<sound>hit_hull_scatter_2</sound>
<sound>hit_hull_scatter_3</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hit_shield_scatter_1</sound>
<sound>hit_shield_scatter_2</sound>
<sound>hit_shield_scatter_3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>ba_shotgun_missile_ii</weaponArt>
<iconImage>flak</iconImage>
</weaponBlueprint>
Animations
Code: Select all
<animSheet name="ba_shotgun_missile_ii_shot_1" w="352" h="45" fw="44" fh="45">weapons/ba_shotgun_missile_ii_shot_1_strip8.png</animSheet>
<anim name="ba_shotgun_missile_ii_shot_1">
<sheet>ba_shotgun_missile_ii_shot_1</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
<animSheet name="ba_shotgun_missile_ii_shot_2" w="352" h="45" fw="44" fh="45">weapons/ba_shotgun_missile_ii_shot_2_strip8.png</animSheet>
<anim name="ba_shotgun_missile_ii_shot_2">
<sheet>ba_shotgun_missile_ii_shot_2</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
<animSheet name="ba_shotgun_missile_ii_shot_3" w="352" h="45" fw="44" fh="45">weapons/ba_shotgun_missile_ii_shot_3_strip8.png</animSheet>
<anim name="ba_shotgun_missile_ii_shot_3">
<sheet>ba_shotgun_missile_ii_shot_3</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
<animSheet name="ba_shotgun_missile_ii_shot_4" w="352" h="45" fw="44" fh="45">weapons/ba_shotgun_missile_ii_shot_4_strip8.png</animSheet>
<anim name="ba_shotgun_missile_ii_shot_4">
<sheet>ba_shotgun_missile_ii_shot_4</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
<animSheet name="ba_shotgun_missile_ii_shot_5" w="352" h="45" fw="44" fh="45">weapons/ba_shotgun_missile_ii_shot_5_strip8.png</animSheet>
<anim name="ba_shotgun_missile_ii_shot_5">
<sheet>ba_shotgun_missile_ii_shot_5</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
<animSheet name="ba_shotgun_missile_ii_shot_6" w="352" h="45" fw="44" fh="45">weapons/ba_shotgun_missile_ii_shot_6_strip8.png</animSheet>
<anim name="ba_shotgun_missile_ii_shot_6">
<sheet>ba_shotgun_missile_ii_shot_6</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
<animSheet name="ba_shotgun_missile_ii" w="256" h="70" fw="32" fh="70">weapons/ba_shotgun_missile_ii_strip8.png</animSheet>
<weaponAnim name="ba_shotgun_missile_ii">
<sheet>ba_shotgun_missile</sheet>
<desc length="8" x="0" y="0"/>
<chargedFrame>1</chargedFrame>
<fireFrame>3</fireFrame>
<firePoint x="15" y="25"/>
<mountPoint x="3" y="33"/>
<chargeImage>weapons/ba_shotgun_missile_ii_glow.png</chargeImage>
</weaponAnim>
Weapon strip
But I still don't get why it would be like

for the final frame, because I havn't referenced to this image at all, let alone this part...
EDIT:
I have made a link to the mod and the other components it requires, like ftl CE and the ship with the weapon on it (it is the Lanius type A).
I have made a few tweaks and additions, but the only problem is that the strip the weapon is meant to be now

actually (in the game) turns out to be

and also the last frame is still

Other than that everything is good,
Please try the weapon or view the files so u can tell me what is wrong with the strip.
Link to all the stuff I mentioned at the start of the edit:
http://www.filedropper.com/weaponandshippackv1