Label attributes

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Tue Feb 09, 2016 11:26 am

You know most of starship equipment (Weapon, Shield, Armor) is have label attributes that explaining where it was manufactured (Like NAMI, EI, Rasiermesser, Makayev).
And the question is, how to add that label?
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1093
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

Tue Feb 09, 2016 12:24 pm

 You’ll need to add an attribute to any item you want the label to appear on — probably Semesta in your case, I would guess. So, for example:

Code: Select all

attributes="MajorItem, Semesta"
 You’ll also need to add an new UNID type for your label:

Code: Select all

<Type UNID="&lbSemestaCorporationLabel;">
    <DisplayAttributes>
        <ItemAttribute label="Semesta Corporation" criteria="* +Semesta;"/>
    </DisplayAttributes>
</Type>
 That’s pretty much all there is to it. Also, if you want to add other labels in the future, you can add them to the same UNID; just put another <ItemAttribute> tag for it under Semesta’s.
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)

User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Tue Feb 09, 2016 12:30 pm

Thanks, I just want add new corporation in game.
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

Post Reply