[SOLVED] Weapons help
Posted: Fri May 24, 2013 4:56 am
I've been coding quite a few custom weapons but I've never quite figured out how to do custom art. I've tried for days now and need some help.
The issue I'm having is that my custom weapon art is not showing up at all. It just shows up as a basic laser. The Wildfire Blast is what I'm having trouble with.
The code is below. Note that some parts are excluded, for ease of showing the parts help is needed with.
blueprints.xml.append
autoBlueprints.xml.append
animations.xml.append
The names of the custom weapon art are wildfire_strip8, wildfire_glow, and wildfire_blast_shot8. Still a newbie at modding (that and I just came back from a year-long hiatus), so any help would be appreciated.
The issue I'm having is that my custom weapon art is not showing up at all. It just shows up as a basic laser. The Wildfire Blast is what I'm having trouble with.
The code is below. Note that some parts are excluded, for ease of showing the parts help is needed with.
blueprints.xml.append
Code: Select all
<weaponBlueprint name="WILDFIRE_BLAST">
<type>LASER</type>
<title>Wildfire Blast</title>
<short>W. Blast</short>
<desc>The ultimate fire weapon. Use with extreme prejudice.</desc>
<tooltip>The ultimate fire weapon. Don't miss.</tooltip>
<damage>4</damage>
<shots>1</shots>
<sp>5</sp>
<fireChance>100</fireChance>
<breachChance>0</breachChance>
<cooldown>20</cooldown>
<power>4</power>
<speed>40</speed>
<cost>200</cost>
<bp>4</bp>
<rarity>0</rarity>
<image>wildfire_blast_shot</image>
<launchSounds>
<sound>bombTeleport</sound>
</launchSounds>
<hitShipSounds>
<sound>smallExplosion</sound>
</hitShipSounds>
<hitShieldSounds>
<sound>hitShield1</sound>
<sound>hitShield2</sound>
<sound>hitShield3</sound>
</hitShieldSounds>
<missSounds>
<sound>miss</sound>
</missSounds>
<weaponArt>wildfire</weaponArt>
</weaponBlueprint>
Code: Select all
<blueprintList name="HOT_STUFF"> <!--For the Blazing Cruiser mod-->
<name>BEAM_INFERNO</name>
<name>DRONE_LASER_ROCK</name>
<name>MISSILES_FIRE</name>
<name>LASER_FIRE</name>
<name>DEFENSE_ROCK</name>
<name>WILDFIRE_BLAST</name>
</blueprintList>
Code: Select all
<animSheet name="wildfire_blast" w="216" h="52" fw="27" fh="52">weapons/wildfire_strip8.png</animSheet>