How to add attributes that are displayed to the player?
-
- Fleet Admiral
- Posts: 2876
- Joined: Thu Feb 03, 2011 5:21 am
- Location: Hmm... I'm confused. Anybody have a starmap to the Core?
I think strings like NAMI and Bushido, when added to the attributes line, are hardcoded to show up to the player. Is it possible to add a custom string to the attributes line and have that show up to the player?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Get on Discord for mod help and general chat
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
- AssumedPseudonym
- Fleet Officer
- Posts: 1190
- Joined: Thu Aug 29, 2013 5:18 am
- Location: On the other side of the screen.
After decompiling the Osaka extension, I found this:
Code: Select all
<Type UNID="&OPS_vvMiscAttributes;">
<DisplayAttributes>
<!-- Manufacturer -->
<ItemAttribute label="Nakura" criteria="* +Nakura;"/>
<!-- Function -->
<!-- Etc -->
</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!)
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
yes, <DisplayAttributes> has been added in 1.2RC1 together with the new nice attribute labels.
http://forums.kronosaur.com/viewtopic.p ... tes#p55094
http://forums.kronosaur.com/viewtopic.p ... tes#p55094