Evilbob's howto: Working 6-plate armour display

This is an archive of old tutorials that may still be of interest to the public, especially when it comes to debugging old mods on old versions of the game for nostalgia, but are nolonger helpful for modern versions of the game.
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

I think he is saying that it won't work for the playership.
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Wolfy wrote:oh apparently there is a non critical tag that allows some to be on the outside
Unfortunately, the non-critical tag does not allow some armor segments to overlap or "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.
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

george moromisato wrote:
Wolfy wrote:oh apparently there is a non critical tag that allows some to be on the outside
Unfortunately, the non-critical tag does not allow some armor segments to overlap or "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.
and it's not possible to swap around the order that they appear in from in-game?
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
ThePrivateer
Militia Captain
Militia Captain
Posts: 943
Joined: Tue Oct 12, 2010 5:12 am
Location: Starton Australia

Good work with the six plate armour, EvilBob! :wink:

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>
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. ;)
User avatar
ThePrivateer
Militia Captain
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 :D
User avatar
alterecco
Fleet Officer
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.
Post Reply