Darkfrost wrote:Yeah, the way weapons work on enemy ships is slightly different, and I'm not entirely sure how it works, it seems there's a list of weapons they randomly pick from or something?
Weapon mounts I haven't looked into too much yet, if someone could link / explain exactly how they work, I could probably get them added a bit faster
hey, i think i got it. there is a xml for ships in data for every ship and those lines are from the file of kestrel B the slide is what direction is the weapon, mirror is if the weapon has a mirror image, gib is to what gib are weapons connected when ship is destroyed and x,y is the position. rotate is if the weapon is rotated to up or right i think. no idea what is artillery mounts testing. propobly didnt help, but maybe i did .
<weaponMounts>
<mount x="540" y="170" rotate="true" mirror="true" gib="6" slide="up"/>
<mount x="540" y="274" rotate="true" mirror="false" gib="6" slide="down"/>
<mount x="390" y="135" rotate="true" mirror="true" gib="5" slide="up"/>
<mount x="390" y="309" rotate="true" mirror="false" gib="5" slide="down"/>
<!-- artillery mounts testing -->
<mount x="540" y="170" rotate="true" mirror="true" gib="6" slide="up"/>
<mount x="540" y="274" rotate="true" mirror="false" gib="6" slide="down"/>
<mount x="390" y="135" rotate="true" mirror="true" gib="5" slide="up"/>
<mount x="390" y="309" rotate="true" mirror="false" gib="5" slide="down"/>
</weaponMounts>