This has probably been answered before (and iv looked just cant get a solid post to make it work)but ima ask anyway. Trying to use a decorative weapon to cover other weapons, so far its being rendered below them.
...
not getting any errors its just showing up under the other weapons.
@Regoso Weapons on ships have a special render order that specifies which weapons appear over the top of others. I can't remember all the details, but the most basic rule is that the game will always render weapons closest to the ship's center of mass last, ie. "on top". A quick example is the Onslaught - if you look at the central large ballistic turret, you'll notice that its weapon will always render over the top of whatever you stick in the small turrets in front of it.
If it isn't already, you should be able to trick the game into placing your decorative weapon over another weapon with the following steps:
- Increase the height of the canvas your decorative weapon sprite is on, so it occupies the very front end of the canvas, with a bit of empty space behind it.
- Adjust the position of the decorative mount on the ship file to be closer to the center of the ship.
- Fine tune the decorative weapon's offset accordingly
That will result in the decorative weapon's actual coordinate position being closer to the ship's center of mass than the weapon (even though it should appear in the same location). It should therefore be rendered after the weapon itself, and appear on top. Hope that helps!
EDIT: I've also just been informed that apparently Large weapons will always render over Mediums (and Smalls) regardless of relative position, but since your file is saved as a LARGE weapon, it should be alright. Though just in case, it may also pay to change the mount itself to LARGE as well (instead of SMALL).