Yet another error... :-\
I get this error when I run build_module:
Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Traceback (most recent call last):
File "process_troops.py", line 107, in <module>
save_troops()
File "process_troops.py", line 38, in save_troops
for inventory_item in inventory_list:
TypeError: 'int' object is not iterable
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
And when I run the module and try to play a custom battle,or start a new game,this happens:
(http://img62.imageshack.us/img62/8158/ybla.png)
Okay, which files have you edited most recently? Presumably module_troops?
Yep. I also added some items to the module.
Looks like a troops thing - start by checking all of your recent troop types, particularly for extra brackets, commas, quotation marks, etc.
Yep,the looter file had one extra ",0,"
["looter","Looter","Looters",tf_guarantee_boots|tf_guarantee_armor,0,0,0,fac_outlaws,
Thanks Jubal. :)
Glad to be of service :)