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?
Label attributes
- DigaRW
- Militia Captain
- Posts: 517
- Joined: Thu Jul 30, 2015 3:10 pm
- Location: The place where I belong
- Contact:
Download Transcendence mods from Reinvented Workbench Project!
Click this link!
Click this link!
- AssumedPseudonym
- Fleet Officer
- Posts: 1190
- Joined: Thu Aug 29, 2013 5:18 am
- Location: On the other side of the screen.
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: You’ll also need to add an new UNID type for your label: 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.
Code: Select all
attributes="MajorItem, Semesta"
Code: Select all
<Type UNID="&lbSemestaCorporationLabel;">
<DisplayAttributes>
<ItemAttribute label="Semesta Corporation" criteria="* +Semesta;"/>
</DisplayAttributes>
</Type>
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!)
- DigaRW
- Militia Captain
- Posts: 517
- Joined: Thu Jul 30, 2015 3:10 pm
- Location: The place where I belong
- Contact:
Thanks, I just want add new corporation in game.
Download Transcendence mods from Reinvented Workbench Project!
Click this link!
Click this link!