Lord parties

Users who are viewing this thread

Atomix

Recruit
Hello,
I would like to know, what do I have to edit in game files, so when lord parties are following me, they don't run after caravans and other enemies, but stay with me all the time, especially when I'm sieging a town or a castle.
I've searched the whole forum for the answer, there have been some topics on this subject, but currently no answer has been given.
So I thought, that you guys could help me out with this problem, I've seen a lot of intelligent people on this forum :smile:
Thanks in advance.
-Atomix
 
I also would like to know how to do this, I understand how annoying it can get.
Perhaps, there is somekind of range that can be edited so lords will chase only those parties that are very near them?
 
I'm working on a solution but it's a hack.  Pending vetting and general interest, I'll release code and start a discussion but it will likely be very technical and not for a while (sorry).  At least one other person is doing a similar thing with very similar results.  If you want to see it in action, watch companion parties in follow mode in Conquest. 

I'm not so secretly hoping that TaleWorlds gives us better control over AI state.  We get a lot of knobs and sliders but they don't seem to be hooked up to anything.  Even if you totally replace the AI in the module system (of which there is a substantial amount) there do seem to be things that are indeed hardcoded.
 
I'm not entirely sure, but in module_script.py, there is a script (script_party_decide_next_ai_state_under_command) that check the distance between the accompany parties and the commander party. The current distance limit is 5 same as the minimal distance required for lords to join siege assault. If I understand the script correctly, this script should prompt the lords to return to accompany order whenever they wanders too far away (distance greater than 5). May be reducing the distance to 2 or 3 would make them stay closer and return to their accompany order sooner.
 
Back
Top Bottom