I have created a special weapon for a new ship. I already know how to restrict weapons using weapon tags. I want the weapon tags to be displayed as 'highpower' and appear pink in the weapon slot. I tried adding highpower tags to the ship's slot tags, but that allowed this slot to equip all highpower weapons.
How can I customize a tag with color?
About weapon tags color
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Moderator (Script&Mod)
- Posts: 13485
- Joined: Sun, 15. Feb 04, 20:12
Re: About weapon tags color
I'm not that much into UI modding but you should check the helper.lua file in ui\addons\ego_detailmonitorhelper where line 9475 reads: [4] = { tag = "highpower", color = { r = 214, g = 129, b = 187, a = 100 } }
Cheers Euclid
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786