I am making a mod, and my weapons do not seem to be showing up in the UI.
blueprints.xml.append
Code: Select all
<blueprintList name="STFTL_WEAPONS">
<name>STFTL_PHASERS</name>
</blueprintList>
<weaponBlueprint name="STFTL_PHASERS"> <!-- 1 shot 1power-->
<type>BEAM</type>
<title>Phasers</title>
<short>Phasers</short>
<tip>tip_beams</tip>
<desc>Standard Federation Phasers.</desc>
<tooltip>Large beam with high damage.</tooltip>
<damage>1</damage>
<sp>2</sp>
<fireChance>2</fireChance>
<breachChance>2</breachChance>
<cooldown>4</cooldown>
<color> <!-- Color only works for beams -->
<r>51</r>
<g>204</g>
<b>255</b>
</color>
<power>1</power>
<cost>95</cost>
<bp>2</bp>
<rarity>0</rarity>
<length>140</length>
<image>beam_contact</image>
<launchSounds>
<sound>STFTL_PHASERSOUND</sound>
</launchSounds>
<weaponArt>phasers</weaponArt>
<iconImage>beam</iconImage>
</weaponBlueprint>
animsheet.xml.append
Code: Select all
<!-- Define Anim Sheet -->
<animSheet name="phasers" w="20" h="54" fw="10" fh="54">weapons/phasers.png</animSheet>
<!-- Define Animation -->
<weaponAnim name="phasers">
<sheet>phasers</sheet>
<desc length="2" x="0" y="0"/>
<chargedFrame>1</chargedFrame>
<fireFrame>1</fireFrame>
<firePoint x="16" y="20"/>
<mountPoint x="0" y="0"/>
<chargeImage>weapons/phasers.png</chargeImage>
</weaponAnim>
Does anyone know what looks wrong here?
Thanks in advance!
Abs