any one know where i can find what numbers coraspond to what words EG -

list.Add(1075265, "{0}\t{1}", 0, this.Capacity); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows

where i'm guessing 1075265 is arrows

or how to edit that string so that i can put some thing different in the place of arrows
 
thats what i was afraid of... not i just gotta puzzle out how to make it so that i can add a new one in the script rather then editing the cliloc
 
with the exception of context menus you don't have to use clilocs

also localized message and html uses clilocs

i'm guessing you are trying to add something to properties list?
 
with example you gave

list.Add(1075265, "{0}\t{1}", 0, this.Capacity); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows

if it is properties list you can change it like so

list.Add("Ammo: {0}\t{1}", 0, this.Capacity); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows

remove the number and comma following and add your custom word inside the quote marks
 
so i tryed that i'm looking in the base quiver and trying to add new ammo to it the idea is sothat on the paperdoll when you hover over to be able to see "Blast Charge 0/500" ect

i changed the line to look like this
[article]if (ammo is BlastCharge)
list.Add("Blast Charge:{0}\t{1}", 0, this.Capacity); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows[/article]


[Error] (base quiver.cs)
CS0103: Line 264: The name 'list' does not exist in the current context
CS0103: Line 266: The name 'list' does not exist in the current context
CS0103: Line 269: The name 'list' does not exist in the current context
Scripts: One or more scripts failed to compile or no script files were found.
[/error]
 
Back