I thought you find this script also useful. It returns the RelVal of any tradable ware in vanilla X3. Modders and scripters are free to append the Relvals of their new wares.
Wares2RelVal
Thanks to Jakesnake5 for hosting
Cheers Euclid
[SCRIPT] Utility Script: Ware2Relval
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
how does this differ to the command
Code: Select all
<revar> = get relvalue <var/ware>
Cycrow wrote:how does this differ to the command
Code: Select all
<revar> = get relvalue <var/ware>
This command returns the NPC relvalue which is, in general , not the same as the player relvalue.
Example: 1 GJ shields has NPC relvalue 4800 and player relvalue 7440.
Cheers Euclid