Evilbob's howto: Working 6-plate armour display
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Unfortunately, the non-critical tag does not allow some armor segments to overlap or "be on the outside".Wolfy wrote:oh apparently there is a non critical tag that allows some to be on the outside
The code looks for the first armor segment that matches the angle that the shot came from. Any other armor segments, even ones that are at overlapping locations, are completely ignored.
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
and it's not possible to swap around the order that they appear in from in-game?george moromisato wrote:Unfortunately, the non-critical tag does not allow some armor segments to overlap or "be on the outside".Wolfy wrote:oh apparently there is a non critical tag that allows some to be on the outside
The code looks for the first armor segment that matches the angle that the shot came from. Any other armor segments, even ones that are at overlapping locations, are completely ignored.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- ThePrivateer
- Militia Captain
- Posts: 943
- Joined: Tue Oct 12, 2010 5:12 am
- Location: Starton Australia
Good work with the six plate armour, EvilBob!
How do I change the image in the middle of the armour graphic though?
I'm using a player ship I created that is a Charon fighter and I want to change the pic of the Sapphire to the Charon. How do I do that?
Edit: Sorry, found it....in the code for a playership is this tag:
You just have to edit the picture! Just take the original resource pic and past a pic of the fighter you need over the top. Easy enough. 

How do I change the image in the middle of the armour graphic though?
I'm using a player ship I created that is a Charon fighter and I want to change the pic of the Sapphire to the Charon. How do I do that?
Edit: Sorry, found it....in the code for a playership is this tag:
Code: Select all
<ShieldDisplay>
<Image imageID="&rsZubrinShields;" imageX="0" imageY="0" imageWidth="136" imageHeight="136"/>
</ShieldDisplay>

- ThePrivateer
- Militia Captain
- Posts: 943
- Joined: Tue Oct 12, 2010 5:12 am
- Location: Starton Australia
Can anyone use evilbob's code in a mod? Do you need to get permission, or is it a "developers resource"?
Thanks
Thanks

- alterecco
- Fleet Officer
- Posts: 1658
- Joined: Wed Jan 14, 2009 3:08 am
- Location: Previously enslaved by the Iocrym
I think if it is posted here you can just go ahead and use it. If you want to be nice, give credits where it is due. Mods that you download from xelerus however may have completely different rights though.