Kenshi
Not enough ratings
Complex AI - Gate Guards (Beta)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
411.036 KB
Apr 19 @ 12:47pm
Apr 24 @ 11:00pm
2 Change Notes ( view )

Subscribe to download
Complex AI - Gate Guards (Beta)

In 2 collections by crunk aint dead
Crunk's Best Mods Hub
21 items
Complex AI Series Hub
3 items
Description
(Beta release, please read full description.)

Expands gate guard AI allowing them to open and close gates when cities are under attack.

Massively increases the difficulty and realism of attacking cities, you will now have to build far larger armies to break through the outer defenses of a town.

-----Technical Info-----
Uses a combination of dialogue triggers and AI contracts to function. Dialogue is given high priority so it should always trigger if applicable. Only the leader of the gate guard squad should interact with the gate, adds leaders to gate guard squads which were missing them.

There are two packages included, a town guard package where guards will lock gates if they see a fight outside of the gate, and a prison package where guards will lock gates to keep you inside.

Adds behavior to vanilla gate guard squads, characters, dialogue packages. Should integrate seamlessly with any mods which use vanilla resources.

-----Beta Glitches-----
Occasionally caravans will bash the gates of cities which are locked down which can result in a massacre. Added coexistence between trader factions to try and prevent massacres:
United Cities coexist with: Nomads, Western Hive, Traders Guild.
Tech Hunters coexist with: Nomads, Western Hive, Traders Guild.
The Holy Nation coexists with: Nomads

Sometimes the AI package for the gate guard does not trigger / finish correctly and the squad leader will go aimless. This seems to happen when your squad is defeated by the gate guards and some members are enslaved while others remain outside of the gates. Still testing, please report any issues.

Recommended to be used alongside Unofficial Patches for Kenshi and Crunk Tweak Compilation to improve consistency of AI behavior.
13 Comments
Avadon May 2 @ 2:05pm 
As long as you make it worthy of your wife's...interest...

We shall see...
crunk aint dead  [author] Apr 27 @ 2:01pm 
Thanks yall, this mod has a few issues which I really hope can be solved. I believe it is possible to make this behavior work, I will find a way somehow
This mod is awesome dude. been wanting some type of better ai behaviour in the game
Laughing Forest Apr 26 @ 10:49am 
I just want to provide words of encouragement on this mod. It’s such an awesome concept that no one has ever gotten right and would add so much to the environment and immersion. Thanks Crunk’
Zinc Apr 26 @ 10:35am 
@🌌кภץץאเ🍃 i don't believe that's unique to this mod, i've got super buff gate guards in my game w/o the mod
🌌кภץץאเ🍃 Apr 21 @ 10:46am 
@crunk aint dead, Hi, sorry for the off-topic question, but is there any way to make female bodies have fewer muscles? The female characters look kind of scary when their strength is maxed out at level 100… It would be great with your mod for beautiful faces. :steamhappy: PLS =)
crunk aint dead  [author] Apr 20 @ 11:28am 
@Asur I didn't try it based on an alarm, I think that it would trigger a bit inconsistently and not work as well at preventing you from entering the town to begin with.

The fact I was able to make this work with as few glitches as it does is a miracle honestly, this mod was hard to make XD
Asur Apr 20 @ 9:55am 
Crux Then I guess there's no problem that it leads to a fight.
crux Apr 20 @ 9:46am 
@Asur The dialogue is under EV_I_SEE_ENEMY_PLAYER so it should only trigger when the gate guard aggros on the player.
Asur Apr 20 @ 6:44am 
If it works out, it's certainly not as cool as having the gates close on any alarm, but it would still make taking over the city more interesting. And when the player commits to a siege, he clearly doesn't care anymore that the AI will start slaughtering each other.