Editing units

Currently viewing this thread:

Elberg

Recruit
Best answers
0
hello, i'm using  module system and it says something like that
IndentationError: unexpected indent
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Users\Tomek\Desktop\mm dev - MS\process_operations.py", line 14, in <module>
    from module_troops import *
  File "C:\Users\Tomek\Desktop\mm dev - MS\module_troops.py", line 766
    ["prussian_infantry2_drum","Karoliner","Drummer",tf_guarantee_all,0,0,fac_prussian_ranks,
    ^
i checked everything and idk what's wrong
 

BlazeBonaparte

Recruit
Best answers
0
Hello Elberg,
Now from reading what you've posted, I would assume you installed some sort of texturepack/enhancement for the game to make certain unit(s) look better, if this is not the case do not worry.
Now if you are wanting to start your game again or have a valid texture, the best way would be to "verify integrity cache" meaning, reset the game to brand new in a way. If you are wondering on how to do this then here are steps below.

Go to your library on steam.
Right click "Mount & Blade: Warband" and go to properties
When on properties click on "Local Files" and after that click on "Verify Integrity Of Game Files" After you have done so, a verify will begin, you must wait for this to finish then try re-launching your game and the error should be fixed.
If you are still having issues please feel free to send me a PM!  :wink:
If this is not the case at all then I am sorry but I don't know how to fix your issue.
 

Dazzer

Sergeant Knight at Arms
WBNWVCWF&S
Best answers
0
See this thread https://forums.taleworlds.com/index.php?topic=64428.0
Most likely you forgot to add a bracket at the end of the code, so it should be like this:
["prussian_infantry2_drum","Karoliner","Drummer",tf_guarantee_all,0,0,fac_prussian_ranks,]
 

Irishman

Recruit
Best answers
0
Dazzer said:
See this thread https://forums.taleworlds.com/index.php?topic=64428.0
Most likely you forgot to add a bracket at the end of the code, so it should be like this:
["prussian_infantry2_drum","Karoliner","Drummer",tf_guarantee_all,0,0,fac_prussian_ranks,]
Thanks