For some reason, my build_module.bat won't compile quick_strings.txt, and thereby I can't get into the game because it's missing.
Now I've tried copying and pasting the quick_strings.txt from native to my mod, which seems to work fine, but now the new units I've added (or, rather, the units I renamed over the old ones) aren't appearing in the game. It's really quite weird. Here's what the build_module.bat does.
Err... I actually have NO idea how to copy and paste the build_module.bat compile into here, does anyone know?
Well, here's a screen of something that keeps getting spammed:
Odd thing is, I checked that line and there doesn't seem to be anything wrong with it? Here it is:
(the spear units are new units)
I have no idea what's wrong.
Thanks.
Now I've tried copying and pasting the quick_strings.txt from native to my mod, which seems to work fine, but now the new units I've added (or, rather, the units I renamed over the old ones) aren't appearing in the game. It's really quite weird. Here's what the build_module.bat does.
Err... I actually have NO idea how to copy and paste the build_module.bat compile into here, does anyone know?
Well, here's a screen of something that keeps getting spammed:
插入代码块:
Initializing...
Traceback (most recent call last):
File "process_global_variables.py", line 11, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Exporting faction data...
Exporting item data...
Traceback (most recent call last):
File "process_items.py", line 59, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Exporting scene data...
Traceback (most recent call last):
File "process_scenes.py", line 15, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_troops.py", line 4, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Exporting particle data...
Traceback (most recent call last):
File "process_scene_props.py", line 7, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_presentations.py", line 8, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_party_tmps.py", line 2, in <module>
from module_party_templates import *
File "C:\ModuleSystem\module_party_templates.py", line 43, in <module>
("manhunters","Manhunters",icon_gray_knight,0,fac_manhunters,soldier_persona
lity,[(trp_manhunter,9,40)]),
NameError: name 'trp_manhunter' is not defined
Traceback (most recent call last):
File "process_parties.py", line 6, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Exporting quest data...
Traceback (most recent call last):
File "process_scripts.py", line 7, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_mission_tmps.py", line 8, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_game_menus.py", line 8, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_simple_triggers.py", line 5, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_dialogs.py", line 9, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "process_global_variables_unused.py", line 3, in <module>
from process_operations import *
File "C:\ModuleSystem\process_operations.py", line 14, in <module>
from module_troops import *
File "C:\ModuleSystem\module_troops.py", line 1093
upgrade(troops,"farmer","watchman")
^
SyntaxError: invalid syntax
______________________________
Script processing has ended.
Press any key to exit. . .
Odd thing is, I checked that line and there doesn't seem to be anything wrong with it? Here it is:
插入代码块:
#Troop upgrade declarations
upgrade(troops,"farmer","watchman")
upgrade(troops,"townsman","watchman")
upgrade(troops,"watchman","caravan_guard")
upgrade(troops,"caravan_guard","mercenary")
upgrade(troops,"mercenary","hired_blade")
upgrade2(troops,"villager","medium_spear","spear_thrower")
upgrade2(troops,"medium_spear","heavy_spear","mounted_spear")
upgrade(troops,"heavy_spear","leader_spear")
upgrade(troops,"mounted_spear","heavy_mounted")
upgrade(troops,"spear_thrower","pummeler")
(the spear units are new units)
I have no idea what's wrong.
Thanks.

