Gidoza wrote:Allright, so I looked in the folder img\weapons, but did not find what I was looking for. For clarity, I'm not looking for the animation of the bullet, but simply the picture of the weapon itself that is attached to the ship. It appears not to be there. Am I reading something wrong?
i'm assuming you're looking for the vanilla weapons Heavy Laser I and II
I could tell you exactly their names, but for all future reference:
1. go into blueprints.xml. find the weapon you want. locate the weaponArt tag. make sure not to confuse this with the image tag. the weaponArt tag is the actual weapon; the image tag is the projectile.
2. the text in the weaponArt tag refers to the weaponAnim tag in animations.xml. this tag/body of other tags contains two things noteworthy:
2-(i) the chargeImage tag. this contains the location of the glow image of the weapon you're looking for.
2-(ii) the sheet tag. this tag refers to the animSheet of the same name. the animSheet contains the location of the actual weapon art.
In action:1. find heavy laser mark I. weaponArt tag says "laser_heavy_1". not to be confused with the image tag: "laser_heavy1", which refers to the projectile.
2. find the weaponAnim for "laser_heavy_1"
Code: Select all
<weaponAnim name="laser_heavy_1">
<sheet>laser_heavy_1</sheet>
<desc length="8" x="0" y="0"/>
<chargedFrame>1</chargedFrame>
<fireFrame>5</fireFrame>
<firePoint x="17" y="10"/>
<mountPoint x="3" y="41"/>
<chargeImage>weapons/heavy_1_glow.png</chargeImage>
</weaponAnim>
great! we found the weaponAnim tag for the heavy laser mark I.
2-(i) nice! now we know where the glow image is! (weapons/heavy_1_glow.png)
2-(ii) the sheet says "laser_heavy1". evidently this is the same as the weaponAnim name, but in other cases it might not be. now we know we need to look for the animSheet tag of the same name.
Code: Select all
<animSheet name="laser_heavy_1" w="208" h="62" fw="26" fh="62">weapons/heavy_1_strip8.png</animSheet>
great! we found the animSheet tag for the heavy laser mark I.
now we know where the weapon art location is! (weapons/heavy_1_strip8.png)
so now you know the process of how to find the images you were looking for!

Let me know if this works out
