NarnKar wrote:Did you hit "submit" too many times?
Oops, these forums are really slow on my computer for some reason. So I might have clicked a few extra times because I thought it was being unresponsive.
RAD-82 wrote:WhiteWeasel wrote:Now what does this code mean for my charge image?
Code: Select all
<animSheet name="chargerail_charge" w="70" h="57" fw="35" fh="57">weapons/chargerail_charge</animSheet>
<anim name="chargerail_charge">
<sheet>chargerail_charge</sheet>
<desc length="4" x="0" y="0"/>
<time>1.0</time>
</anim>
You need to add .png to the filename.
This is the <boost> in your weaponAnim code.
I would say the desc length should be 2, but the Ion Charger says 4 instead of 3 and it still works, so that part might be ignored in this instance.
Ok. Now I got my weapon working, but the glow won't show up.
Code: Select all
<animSheet name="chargerail_charge" w="280" h="57" fw="35" fh="57">weapons/chargerail_charge.png</animSheet>
<anim name="chargerail_charge">
<sheet>chargerail_charge</sheet>
<desc length="2" x="0" y="0"/>
<time>1.0</time>
</anim>
<animSheet name="chargerail" w="280" h="57" fw="35" fh="57">weapons/chargerail_strip8.png</animSheet>
<weaponAnim name="chargerail">
<sheet>chargerail</sheet>
<desc length="8" x="0" y="0"/>
<chargedFrame>5</chargedFrame>
<fireFrame>6</fireFrame>
<firePoint x="22" y="30" charge="0"/>
<mountPoint x="2" y="34"/>
<boost>chargerail_charge</boost>
</weaponAnim>