Quote
Originally posted by Mike Lemmer:
**I'm making a new cargo for a minor EVO plugin I'm making.
The problem is that my attempts to get EVO to display the name of the cargo is screwing up. It's displaying a blank space. I believe this is an error in what I'm doing for the strings (this is the first plugin I've tried).
So my question is...
(Assuming I have a cargo called "Wingnuts"...)
What exactly do I have to do to get it to display "Wingnuts" when Cargo ID #060 is selected?
**
Well, first , you cannot have a cargo or anything else with an ID# of 060; ID numbers refer to resources and always start at 128.
Cargo is not actually a resource, however, and uses index numbers or position numbers which are zero based. So for a cargo with an index number of 60 you need three 'STR ' resources with ID#s of 9060, 9160, and 9260. "STR " # 9060 will contain the general cargo name ,"Wingnuts" (maximum of 19 characters), 'STR ' 9160 is for the lowercase version of the name, and 'STR ' #9260 is for the abbreviated version (8 characters max.) of the name for use in the status display.
Hope this helps.