Evilbob's howto: Working 6-plate armour display

This is a moderated forum that collects tutorials, guides, and references for creating Transcendence extensions and scripts.
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: 2997
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: 5421
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on 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)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
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