Recruiting outlaws?

Users who are viewing this thread

Hey y'all, I've been wanting to modify bandit hideouts so when I enter one I have a choice to attack the hideout as usual, or to recruit bandits much the same way one recruits volunteers from villages.
The problem of course is I don't know how to create such a mod. I've been exploring Python lately, learning a few things, but I still have no Idea how to make my bandit recruiting mod.
So I'm asking if any of you fine people have any insights into this. I imagine it would be fairly easy fro someone who knows his way around the modding tools.
Thanks.
 
I'd begin by looking at the module_game_menus.py and then go to the "bandit_lair" option (around line 13,650 for me in 1.131). See what it calls and compare that to "village" (around line 7290) and then to "recruit_volunteers" (line 7670 or so) and begin editing as you wish.

If you want to be able to walk around, you'll probably need to add a troop that you can talk to about recruiting, etc, otherwise you could work it like village recruitment from the menus. With a troop, you'll need to edit module_troops.py and module_dialogue.py as well

If you're running through the native recruit_volunteers script, you'll need to edit party_templates too, because currently lairs are not centers. You could also copy and change the recruitment script to work with the party_template for bandit lairs that does exist.

Just some places to start.
 
Back
Top Bottom