Darmoth said:
Hi... we've been wondering about what we would have to do to give archers in the arena a back up weapon. Like a quarter staff, or shorts sword?
Thats stored in mission_templates.txt. Find mst_arena_melee_fight arena_melee_fight. There should be big block of numbers, the first three lines being:
58 0 4112 447 16 1 5 12 18 17 42 28
1 4112 447 16 1 2 3 42
2 4112 447 16 1 4 3 17 42 28
That first number (5
is just the number of lines to follow, so ignore that for the first line. The
red number is how many items the unit has. The
blue numbers right after that are the items, stored in numerical order. The way you figure out which items are which is open up item_kinds.txt in a program that shows you the line numbers on the side (like notepad2) and check the item by line number. The formula to translate the number to the line number is: (#+1) x 3, so the first item in our list here (12) is on line number 39 (12+1 = 13, x3 = 39). Then go into item_kinds and find number 39, which is a practice bow. I'll leave it up to you to figure out exactly which lines in that big long list of 58 are which, but 12 = bow so if you find all instances of that you should find all the archers.
So if you want to add something, just find the item you want, note the line it's on, translate it into the item number, add it to the list, and add 1 to the red number so it reads the new item.