UpdateModuleParties v1.1 - update module_parties.py after using Map Editor

Users who are viewing this thread

Great job HokieBT. :grin:

It seemed me to see once a program allowing to safeguard the single file of module system without this crushing all other files! I perhaps dreamed? :???:
 
I didn't get everything, if i create new towns will this program update the module_parties? i gave a try but it didn't work with the new towns =/
 
Blankin said:
I didn't get everything, if i create new towns will this program update the module_parties? i gave a try but it didn't work with the new towns =/

This program only updates information that exists in both module_parties.py and parties.txt, it won't update new parties that you create in the map editor.  Your workflow would have to be like this:

1) add new parties into module_parties.py, run build-module.bat to create your mod
2) use the map editor to move or rename parties on the world map, save your map and it will update parties.txt
3) use my program to copy the information from parties.txt into module_parties.py

This is mainly to save you the trouble of having to manually put the party coordinates in module_parties.py, you can just place them with the map editor.  I'll add a note to the first page saying you can't create new parties in the map editor.
 
Since I'm making an all-islands map with widely spread out settlements for Hari Ragat, I'm finding this *extremely* useful.  Thanks!
 
thanks for the feedback, glad its been helpful!

FYI - kt0 has created several similar scripts that convert text files into python code (rather then just updating python code like mine does)

troop.txt - http://forums.taleworlds.com/index.php/topic,69313.0.html
parties.txt - http://forums.taleworlds.com/index.php/topic,61873.0.html
item_kinds1.txt - http://forums.taleworlds.com/index.php/topic,59985.0.html

 
HokieBT said:
thanks for the feedback, glad its been helpful!

FYI - kt0 has created several similar scripts that convert text files into python code (rather then just updating python code like mine does)

troop.txt - http://forums.taleworlds.com/index.php/topic,69313.0.html
parties.txt - http://forums.taleworlds.com/index.php/topic,61873.0.html
item_kinds1.txt - http://forums.taleworlds.com/index.php/topic,59985.0.html

Thanks! Grabbing them now. :smile:
 
WHy didn't I find this before? :roll: I was asking the same question in the Map Editor thread. This'll save me from a lot of work. Thanks HokieBT! :grin: :grin:
 
FYI - The download link was bad, so I fixed it on the first page.  No clue if this program is still necessary or works with the latest versions of M&B, but I wanted to update it in case somebody was looking for it.

http://www.mbrepository.com/file.php?id=884
 
How do i find the .py file? i got the other one but i cant find this one can some one help me?
 
Back
Top Bottom