zyzyx
Recruit

Hi, I'm fairly new to modding. I am trying to make the map ai a bit more aggressive. The idea is to make war between factions a bit more fast paced (currently it seems like all that ever happens is a castle changes hands every now and then, maybe I havent played long enough but it's kind of slow for my tastes - I dont like the idea of the player being the sole force doing almost all the capturing).
So I thought I would try to implement something like: When two factions are at war with one another they attack each other constantly, as much as possible. I have a few questions about this:
Is this feasible/possible? I'm not sure how the ai works. I have a little programming experience, but trying to analyse module_scripts.py is a little confusing and i'm sure there are people here who know their way around it so if you could also give me some guidance on how to do this it would be appreciated.
As a side note, how would you make it so that a battle continues even after the player is knocked unconcious? I know there's a mod out there that does it (Sword of Damocles I think) but how would it be implemented (if I were to add this to native, for example?)
Thanks.
Edit: oops, typo.
So I thought I would try to implement something like: When two factions are at war with one another they attack each other constantly, as much as possible. I have a few questions about this:
Is this feasible/possible? I'm not sure how the ai works. I have a little programming experience, but trying to analyse module_scripts.py is a little confusing and i'm sure there are people here who know their way around it so if you could also give me some guidance on how to do this it would be appreciated.
As a side note, how would you make it so that a battle continues even after the player is knocked unconcious? I know there's a mod out there that does it (Sword of Damocles I think) but how would it be implemented (if I were to add this to native, for example?)
Thanks.
Edit: oops, typo.




