Immersive Citizens - AI Overhaul is a plugin for "The Elder Scrolls V : Skyrim" whose purpose is to increase player in-game immersion by greatly improving Artificial Intelligence (AI) of friendly NPCs (citizens) in order to make them act and react like true humans in relation to their environment or to an aggressor. Specifically, this plugin deeply overhauls the AI used by NPC citizens when they are in a “standard state” and in a “combat state”. The “alert state” is left untouched. To explain, an NPC is in a “standard state” when he/she is unaware of an aggressor, a “combat state” when he/she has detected an aggressor, and an “alert state” when he/she is aware of an aggressor that cannot be located.
Immersive Citizens is officially featured by Bethesda Game Studios (source), therefore it has been tested and validated by BGS's quality assurance teams.
Combat StateThis plugin greatly improves the root AI used by NPCs when they are in combat. Specifically, this mod adds a new "Survival Instinct" feature to the NPC AI.
Survival Instinct is a feature which gives nearly all the friendly and unique NPCs of Skyrim the ability to properly evaluate danger from an aggressor and respond to it more realistically while under attack. In short, if an NPC is attacked and has no chance of winning against an aggressor, that NPC will run away from the aggressor and attempt to find a safe place (a hideout). The hideout is chosen randomly, and the number of hideouts NPCs can access depends on the size of the city in which they live. Hideouts can be an NPC's home, the local temple, the Jarl's stronghold, a mine, the local barrack, etc. This Video will show this feature in action and will explain how it works. A more complete explanation is available below.
How it works: Basic RulesThe basic rules are the following:
- If an NPC is attacked by an aggressor who is 10 levels or more above them, the NPC will flee.
- If the attacked NPC's health is lower than a threshold percentage of that NPC's maximum health, that NPC will flee from the aggressor. At the moment, there are four percentage thresholds: 50, 40, 30 and 25. These thresholds are assigned according to the NPC's resistance to physical damages. For example, an NPC wearing a cloth outfit will flee once his health goes under 50%, while an NPC wearing full heavy armor and a shield will only flee once his health dips below 25%.
- the NPC's current level
- the aggressor's current level
- the NPC's current health
- the NPC's current resistance to physical damage (armor & armor spells)
- NPC(s) WILL NOT use Survival Instinct when they are currently enlisted as followers.
- Survival Instinct will only be used by friendly and unique NPCs.
- NPCs will use Survival Instinct against aggressors added by other plugins (Skyrim Immersive Creatures, Elemental Dragons, etc.).
- NPCs will use Survival Instinct against the player character (PC).
- Friendly NPCs added by other plugins (3DNPC, Inconsequential NPCs, etc) will also use Survival Instinct.
How it works: Advanced Rules
In addition to the rules cited above, special rules have been assigned to several NPCs (but not all) according to their personalities and their social rank. These rules have priority over the general rules when they conflict.
Civilian NPCs: The NPCs within the "Civilian" category never try to counter the aggressor when attacked. If they are attacked, they will flee and try to alert the guards. An NPC falls into the Civilian category when meeting ALL of the following requirements:
- The NPC's maximum level is capped at 10 or less
- The NPC is unarmored
- The NPC is unarmed (EXCEPTION: a dagger alone doesn't count as 'arms')
Strategist NPCs: The NPCs categorized as "Strategist" will tactically retreat for a few seconds once their health is reduced by half. During this move, they will keep their distance while healing themselves and refreshing their protective spells. Once finished, the Strategist NPC will go back into the fight. An NPC falls in this category when meeting ALL of the following requirements:
- The NPC is a member of the College of Winterhold
- The NPC has a mana pool higher than 63
Cautious NPCs: The NPCs categorized as "Cautious" will flee any aggressor who is more than 5 levels higher than them (instead of 10). Furthermore, these NPCs will flee when attacked by an "impressive" aggressor, even if the NPC is a higher level. Specifically, the following creatures are listed as being impressive: dragon, giant, giant spider and mammoth. An NPC is considered cautious when meeting ANY ONE of the following requirements:
- The NPC is a member of the Thieves Guild
- The NPC is a member of the Dark Brotherhood
- The NPC wears a cloth outfit (or is naked) and has no knowledge of protective spells
Fearless NPCs: The NPCs falling in the "Fearless" category fight to the death, regardless of their aggressor's attributes relative to their own. An NPC is considered fearless when meeting ANY ONE of the following requirements:
- The NPC is under the influence of a frenzy spell
- The NPC is dead (reanimated NPCs will fight until they turn to ash)
- The NPC is a member of the inner circle of the Companions
Khajiit Merchant NPCs: Unlike the other NPCs of Skyrim, Khajiit merchants will stay outside cities when they decide to flee. If they are near a city, they will hide inside a guard tower (Solitude, Riften), inside a city wall (Whiterun, Markarth, Windhelm), or inside a mine (Dawnstar). If they decide to flee while traveling between cities, they will flee in the direction of their destination.
Sleeping Agent NPCs: The vampires and Forsworn who hide among the NPCs of Skyrim will act as civilians unless they are attacked by the Dragonborn or if the time has come for them to show their true nature.
Combat StylesAt this time, defensive combat styles have been assigned ONLY to friendly and unique NPCs.
NPCs assigned to the "Warrior" class rely upon counter attacks to survive. For example, most Warrior NPCs will bash their aggressors (with high probability of success) when an aggressor tries to perform a power attack or a rapid succession of regular attacks against the Warrior NPC. Once the aggressor is staggered, the Warrior NPC will only perform one or two regular attacks while the aggressor doesn't have time to block.
Mages & Thieves/ArchersMages and Archers will get out of melee range as soon as possible. Once out of melee range, they will attack behind a cover and they won't pursue their aggressor.
This plugin greatly improves the general behavior of friendly and unique NPCs while not in combat. It gives them new and realistic behaviors and makes them unpredictable (NPCs will act differently day after day). Note that some of the features described below haven't been implemented yet in some NPCs. More details are available in the "Modifications Overview" section.
The AI of each named NPC is customized according to the NPC's personal stories, social rank, personality, and relationships. To keep the description as short as possible, the AI of each NPC is not addressed specifically. Instead, the general concepts and the templates used are described as a starting point.
General BehaviorsThe NPCs will now eat 2 or 3 times per day and sleep at least 6 hours per day. The sleep and meal times (while not sleeping) vary among NPCs within the following confines:
- NPCs to go to bed: between 9pm and 3am
- NPCs wake up: between 5am and 9am
According to their personal stories, social ranks, jobs, personalities, and relationships, some NPCs will regularly perform specific or unique activities. Here some examples of specific activities (most of them are associated with a job).
Hunter: The NPC will hunt game (deer, horker, hare, and fox) in the areas around the NPCs associated city/village. This will occur around 3 times per week during the morning hours. During the hunt, the NPC will check different areas to locate and hunt prey. If successful, the NPC will loot the corpse (pelt, meat, and alchemy components). The hunt process is reiterated until a specific amount of meat is looted, or when the hunt time frame expires. (Screenshots, Video)
Priest of Kynareth: The priests of Kynareth will pray to their goddess several times a day. They will also organize praying sessions with believers. When they are not praying, they will clean the temple and heal the wounded. Sometimes they will go to the market before it closes. (Screenshots)
Priest of Arkay: The priests of Arkay will pray several times per day in front of their altar. They will also bless the dead. Other duties consist of cleaning the temple and graveyard. They might also be found at the market before it closes.
Rambler: Some NPCs will stroll outside their city/village for various reasons:
- to enjoy the view of some landscapes
- to loot some alchemy components
- to travel to another village/city
Lover: NPCs involved in a romance will meet regularly in low-populated areas. If it is a forbidden romance, they will meet outside their city/village. (Screenshots)
Horse Rider: NPCs will use a horse if they have to travel long distances. Therefore, several horses have been added near the stables. (Screenshots)
Swordsman: NPCs using their swords to make their living (i.e., Warrior NPCs) will train themselves regularly in the art of fighting. Some will use their weapons against practice dummies (unless they use two-handed weapons) while others will have a sparring partner. (Screenshots)
Servant: Servants will perform all the tasks that is expected of them. They will cook 2 or 3 times a day and clean the house of their employer daily. Sometimes they will chop wood and carry firewood near their employer's fire pit. During the morning hours, they will go to the market to buy food.
Lumberjack: The lumberjack will use the sawmill daily. If there are several lumberjacks for one sawmill, there will be a turnover. They will also chop wood with an axe and deliver the firewood to the surrounding houses. Sometimes they will fix wooden walls.
Farmer: Farmers will work daily in the field. If a farmer works on a farm with multiple fields, the farmer will randomly choose from among them each day. If there are chickens, he will feed them daily. If there are cows, he will bring them water daily (some animations have been restored). If there is a grain mill, he will use it regularly, and sometimes he will tan an animal's hide or seal barrels containing food. (Screenshots)
Beggar: Beggars will spend most of their time at the market asking for charity. When the market is closed, you will find them drinking or sleeping in marginalized areas.
- Some of the templates described above have been combined and assigned to several NPCs. For example, if an NPC owns a farm and a sawmill, he will act both as a lumberjack and a farmer. Let’s take a more specific example with Uthgerd: she will act as a swordsman, a rambler, and a horse rider. She will also perform more general activities during her free time. In short, all NPCs will have a unique behavior and will act differently day after day.
- I assigned a protected flag to any NPCs which can make the decision to wander in the wild, so only the player can give them the final blow.
To humanize the citizens of Skyrim, every day NPCs will perform one or several activities chosen randomly among a predefined list and customized to many NPCs. The bigger the city in which an NPC lives, the more activities that NPC can access. If an NPC has just one hour of free time, he can only undertake one activity, while if he has five hours free, he can undertake several activities. Here are some examples of activities:
- shopping at the market, a general goods store, or at a specialized store
- praying at the local temple
- drinking at the local tavern
- resting at home
- praying or standing in front of a grave
Enhanced Social Interaction
Random Conversations: To improve the social interaction between NPCs, all vanilla NPC conversations present, but not implemented in the game, are now implemented by this mod. For each city/village, the number of unique conversations will be approximately doubled. (Video, Video 2, Video 3, Video 4)
Family: At least one time per day, the members of the same family will meet to have a meal unless tension exists between them or some of them live in different cities. (Screenshots)
NPC-Dependent Behavior: Some NPCs will change their behavior around other NPCs. This is especially true for children or NPCs engaged in group activities. Thus, if an NPC dies, the behavior of some other NPCs may change.
NPC Greetings: The probability for an NPC to engage in conversation with you has been drastically reduced except in cases where it is part of their job or disposition. In practice, only the merchants, beggars, and messengers will engage regularly in conversation with the player. So when you see Nazeem, you won’t feel the need to kill him or run away from him anymore. This feature also applies to all guards from any city/village and any official DLC.
Weather InfluenceIn Skyrim, the weather is sorted among 4 categories:
- Cloudy (foggy weathers also fall in this category)
- Snowy (sandstorms also fall in this category)
The citizens will adapt their activities according to these weather categories.
Take Shelter: If it is raining or snowing, NPCs will stop outdoor activities unless they can continue under a shelter, or if their work is critical. Otherwise, they will perform an activity taking place inside a building (a shop, temple, tavern, their home, etc.). The activity is chosen randomly from a predefined list. Each NPC will use a list customized according to his personal stories, social rank, personality, and relationships (Video).
Go Home: This feature has been developed for new NPCs added by mods like 3DNPC, Inconsequential NPCs, etc. During snowy or rainy weather, these NPCs will also stop their outdoor activities. However, contrary to the vanilla NPCs, they will just go back to their homes if they are outdoor. If they go back to home between 8am and 8pm, the NPCs will open their doors once inside their home (assuming they have one). However, if a NPC enters in its house while the player is already inside, NPC will ask the player to leave and will lock the door until the next day. If an NPC does not have a home, he/she will take shelter inside a tavern or in another public area. If there is no public area around, he/she will look for a fire camp. Note that NPCs will not use this feature if they are riding a horse or if they have one of the following jobs:
Additional Note: Some vanilla NPCs will use this feature temporally until their AI is fully overhauled. For more information, see "Modifications Overview" below.
Quest givers behaviorWhen an NPC gives the PC a quest, he'll continue to lead a normal life. For now, this applies only to the following quests:
- The Golden Claw
- Trouble in Skyrim, Stealing Plans, Striking the Heart, and all the radiant quests given by the Companions
- The Blessings of Nature
- Missing in Action (Note: Once you accept to help Fralia, she will be in the Gray-Mane's house only between 5pm and 11pm.)
Other BehaviorHeimskr: Instead of annoying you from 5am to 8pm, Heimskr will only annoy you between 2pm and 6pm.
Guards: For now, some guards will spend their money at “The Bannered Mare” at night.
Stupid dog / Good dog: A reset timer of 1 hour has been set for these sentences.
Opening time for services:
- Market: between 6am and 5pm (closed during snowy or rainy weather)
- The Drunken Huntsman: between 8am and midnight
- General goods vendor: between 8am and 8pm
- Apothecary: between 8am and 8pm
- Fletcher: between 8am and 8pm
- Horse dealer: between 6am and 6pm
- Blacksmith: between 6am and 6pm (if he works outdoors), otherwise between 8am and 8pm
The world of Skyrim lacks a lot of essential furnitures such as beds (there is just not enough beds for all citizens in Skyrim vanilla). In order to design interesting and realist AI, I've been compelled to add some shacks (3 in total) and some furnitures (example 1, example 2).
Bug fixThis plugin fixes several hundred of AI bugs not covered by the Unofficial patches. It fixes mainly 3 categories of bug:
The navigation of NPCs has been greatly improved in Whiterun, Riverwood and Rorikstead. It means that this plugin dramatically reduces the number of NPCs teleporting themselves to reach their destination. It also prevents NPCs from getting stuck or making weird decisions in order to reach their destination. For example, thanks to the modifications done by this plugin, Camilla Valerius won't have problems anymore to reach the Riverwood's bridge when she shows you the path to Bleak Falls Barrow.
Scene & Conversation between NPCs
Concretely, It prevents some conversations between NPCs to be repeated continuously. It also fixes bugs preventing NPCs to have random conversations. Several broken scenes (missing NPCs, scenes not starting or starting at the wrong moment) have been also fixed. For now, these fixes only apply to the citizens of Whiterun, Falkreath, Riverwood, Rorikstead and Dark Water Crossing.
It fixes several random encounters (a complete list and more details are available here), notably the patrols famed to get stuck somewhere on a road.
This plugin only affects the NPCs which are friendly and unique (named). Exception: The AI used by some guards in Whiterun has been improved. In total, Immersive Citizens improves the behavior of 601 NPCs.
At this time, Immersive Citizens improves the AI used by NPCs living in the zones shown below and highlighted in green or in yellow.
The color code shows features implemented for each area.
Green: AI fully overhauled (all features have been implemented).
Light Green: The following features have been implemented: Survival Instinct, Go Home, Combat Style and General Behaviors.
Yellow: The following features have been implemented: Survival Instinct, Go Home, and Combat Style.
Grey: No modifications.
Towns: Dragon Bridge | Ivarstead | Karthwasten | Riverwood | Rorikstead | Shor’s Stone | Skaal Village
Settlements: Darkwater Crossing | Honningbrew Meadery | Kolskeggr Mine | Kynesgrove | Left Hand Mine | Nightgate Inn | Old Hroldan Inn | Soljund’s Sinkhole | Stonehills | Tel Mithryn | Whistling Mine
Strongholds: Dushnikh Yal | Largashbur | Mor Khazgur | Narzulbur
Farms and Mills: Anga’s Mill | Battle-Born Farm | Chillfurrow Farm | Half-Moon Mill | Heartwood Mill | Hlaalu Farm | Holly frost Farm | Katla’s Farm | Loreius Farm | Merryfair Farm | Mixwater Mill | Pelagia Farm | Salvius Farm | Sarethi Farm | Snow-Shod Farm | Solitude Sawmill
Faction: Jorrvaskr | College of Winterhold | Dark Brotherhood Sanctuary | Dawnguard Castle | Khajiit Caravan Camps | Thieves Guild HQ | Volkihar Castle
Aditionnal note: Immersive Citizens does not edit the AI used by Delphine, Esbern, adopted children and your spouse.
If you use one or several plugins adding friendly and unique NPCs, due to limitation imposed by Sony, Immersive Citizens won't affect friendly NPCs added by other mods.
The only plugins which can disrupt or disable the AI added by "Immersive Citizens" are the ones modifying the layout of cities, villages, or interior rooms.
The plugins altering some dialogues, scenes or cells settings (image space and sound) can also conflict with Immersive Citizens, however, these conflicts will create minor incidents at best. As far as I know there is no popular mods for Skyrim SE altering dialogues or scenes which are incompatible with Immersive Citizens. Some mods are only compatible if you respect a specific load order, so please don't forget to check the load order section.
All the most popular plugins which are incompatible with Immersive Citizens are listed on this page. If you want to use plugins modifying the layout of cities, villages, or interior rooms, this page will also help you to pick plugins which are compatible with Immersive Citizens.
Interaction with quests and with plugin modifying NPCs AI
The AI temporarily implemented by vanilla quests have a higher priority than the AI implemented by "Immersive Citizens". Therefore, "Immersive Citizens" doesn't prevent the vanilla quests to work as intended. Popular mods improving NPC AI such as Wet & Cold and Holidays implement also AI with a higher priority than the one added by "Immersive Citizens". It's not a problem because AI from these mods are only used under very specific conditions. To summarize, either my AI has priority or my AI is overridden. Here is a concrete example involving the following mods: Wet & Cold, Holidays, Sleeping Innkeepers, My Home Is Your Home (MHIYH), Enhanced Skyrim Factions: The Companions Guild and my plugin. Whatever your load order, the game engine will use the modifications done on the AI by these plugins according to this order of priority (from top to bottom):
- Wet & Cold, conditions: The “go home” feature has been activated in the menu and it’s raining or snowing
- Holidays, condition: Active only during specific dates
- My Home Is Your Home, condition: Active only on followers selected through MHIYH's menu
- Immersive Citizens – AI Overhaul, condition: none
- Enhanced Skyrim Factions – The Companions Guild, condition: none
- Sleeping Innkeepers, condition: none
In practice, this means that the game engine will never use the AI modifications done by the mod “Enhanced Skyrim Factions: The Companions Guild”, because I have already overhauled the AI of all members of the Companions, but it will still use all the other features from this mod. If you have “Wet & Cold” installed, the game engine will use my feature “weather influence” only if the “go home” feature from “Wet & Cold” is disabled.
Interaction with "Follower Overhauls" such as AFT & EFF
If you use EFF, your follower(s) won’t use “Survival Instinct”. If you use AFT, you have the possibility to turn on/off "Survival Instinct" for your follower(s). With AFT, "Survival Instinct" is activated by default. To disable it or to reactivate it, talk to your follower(s), choose "let's talk about your abilities", then choose "change your combat style". Choose a combat style to disable "Survival Instinct" or choose 'None' to reactivate it.
Interaction with plugins altering NPCs
Due to the way Immersive Citizens has been designed, Immersive Citizens is compatible with any plugins altering NPCs (inventory, outfit, appearance, faction, etc.).
Interaction with "Combat Overhauls" such as Requiem, Wildcat, Smilodon & Ultimate Combat
Due to the way Immersive Citizens has been designed, Immersive Citizens is compatible with any combat overhauls. Immersive Citizens is the first and for now the only one to modify the root AI used by NPCs when they are in combat, therefore, if you use a mod which edits combat styles, friendly and unique NPCs will use my combat styles whatever your load order. There is no bad or good synergy with those mods.
Due to the fact that Immersive Citizens alters some cell entries and navigation meshes, I recommend to position Immersive Citizens - AI Overhaul.esp near the bottom of the load order.
Make sure that your load order respects the following constraints:
- The main plugin (Immersive Citizens - AI Overhaul.esp) must be positioned above:
- ELFXEnhancer (optional plugin from Enhanced Lights and FX ; ELFXEnhancer.esp)
- ELFX - Hardcore (optional plugin from Enhanced Lights and FX ; ELFX - Hardcore.esp)
- Enhanced Lighting for ENB (ELE_SSE.esp)
- More Tavern Idles (more idle markers.esp)
- Provincial Courier Service (Provincial Courier Service.esp)
- Relationship dialogue overhaul (Relationship Dialogue Overhaul.esp)
- The provided compatibility patches
- The main plugin (Immersive Citizens - AI Overhaul.esp) must be positioned below:
- any plugin which edits Breezehome, Honeyside, Vlindrel, Hall Hjerim or Proudspire Manor
- Alternate Start - Live Another Life
- Bridges of Skyrim (Bridges of Skyrim.esp)
- Breezehome by Elianora (Eli_Breezehome.esp)
- Civil War Repairs (Civil War Repairs.esp)
- Enhanced Skyrim Factions - The Companions Guild (ESFCompanions.esp)
- Interesting NPCs (3DNPC.esp)
- Requiem (Requiem.esp)
- Routa - Stormcloak and Warrior cabin (Eli_Routa.esp & Eli_Routa - Non-Stormcloak.esp)
- Skyfall Estate (SE) (SkyfallEstate.esp)
Note: When I state that Immersive Citizens - AI Overhaul.esp must be positioned above Relationship Dialogue Overhaul.esp, it means this:
Immersive Citizens - AI Overhaul.esp
Relationship Dialogue Overhaul.esp
Does your plugin disrupt primary/secondary quests?
No, the AI used by quests have priority over my modifications.
Does your plugin have a significant performance impact?
No, no significant performances impact (around 1%).
Can I expect a lot of bugs?
No, all the AI added by Immersive Citizens have been tested by myself. I didn't delegate this task to individuals unrelated to this project due to the fact that it would require that I publish and update regularly the 574 decision trees, which is a tremendous amount of work with no guarantee of results. Therefore, I took the decision to test all the decision trees by myself rather than to spend time publishing decision trees because this assures me guarantee results.
I don't understand why some town overhauls are incompatible?
The word incompatible is not really suited, but it's a popular keyword. "Not designed to work with my plugin" is much more appropriate. Indeed, in order to maximize their realisms, the AIs added by "Immersive Citizens" have been designed to specifically interact with vanilla towns. Keep in mind that SSEedit is not able to detect bad synergies between plugins, so for most of the mods tagged as being incompatible, you won't see direct incompatibilities by using SSEedit. The only direct incompatibilities that you may detect with SSEedit are between navmeshes, but due to the way whom SSEedit displays the data stored in navmesh entries, it's not even possible to design functional compatibility patches with SSEedit to solve these incompatibilities. A town overhaul is incompatible because it meets one or several of the following conditions:
- the plugin moves static objects such as houses, bridges, market stalls, archery targets, counters, tables, or walls. Therefore, the placement of some (or all) of my invisible markers, "idle marker" and "furniture marker" are not relevant anymore. This will lead to NPCs who interact with thin-air, perform actions unrelated to their environment, or who permanently collide themselves against walls or other static objects. This gif should help you to understand.
- the plugin disables or deletes static objects or "idle marker" and "furniture marker" which are used as reference by some of my AI packages. An AI package using disabled or deleted reference becomes nonoperational, so this will lead to NPCs becoming inanimate for a long period of time. Some of my AI packages have also been designed to interact with specific static objects, if they are disabled, then these AI packages will be not relevant anymore, this will lead NPCs to perform actions unrelated to their environment.
- the plugin adds static objects such as houses, bridges, or walls at the same location(s) where I added additional markers or furnitures. This will lead to NPCs becoming inanimate for a long period of time or who permanently collide themselves against walls or other static objects.
- the plugin edits the same navigation meshes without forwarding my modifications and the modifications from USSEP. This will lead to NPCs becoming inanimate for a long period of time, NPCs will be also unable to navigate around the static objects added by Immersive Citizens. In some cases, NPCs will lose access to some city districts and to some houses.
- the plugin disrupts NPCs navigation. If an NPC is unable to go from a point A to a point B, then his AI will be mostly ineffective.
So, if you use Immersive Citizens with a plugin modifying the layout of cities, villages, or interior rooms and it is listed as being incompatible, regardless of your load order, you may notice only minor changes in NPCs behavior and you can have some serious bugs.
Also note that the town overhauls offering a lot of compatibility patches or optional plugins are extremely problematic, because some of those optional plugins or compatibility patches are not compatible with my main plugin or with my compatibility patches.
Do you plan to support mods modifying the layout of cities, villages, or interior rooms and which are tagged as being incompatible?
No, because with my current resources, it would mean the death of the project. In hindsight, it was a mistake to provide plugins modifying Immersive Citizens in order to make it work with incompatible mods such as Open Cities Skyrim while I'm still working on Immersive Citizens. Indeed, at each major update of Immersive Citizens, I have to remake the compatibility patches modifying my work, because the use of an outdated plugin which modifies my work can corrupt your save file or decrease the stability of your game. Due to this mistake, I've already lost a lot of time and I don't intend to repeat the same mistake. Therefore, I chose to try to improve the compatibility and the modularity of Immersive Citizens rather than spending time making compatibility patches. Since the initial release of Immersive Citizens, the compatibility of Immersive Citizens has increased and thus the number of compatibility patches has also diminished.
Why some mods editing navigation meshes such as "Breezehome by Elianora" are only compatible if you position them above 'Immersive Citizens - AI Overhaul.esp" in the load order?
To allow Immersive Citizens to override unnecessary modifications (if they are presents) done on vanilla navmeshes by these plugins. These unnecessary modifications have been created automatically by The Creation Kit (it's a bug). For now, these modifications are not recognised as ITM (More information about ITM here) by SSEedit while they should be recognised as such. If you don't respect my recommandations about load order, then NPCs won't have access anymore to some city districts and thus they will stack in some areas and some quests will be impossible to complete. Immersive Citizens doesn't edit the navigation meshes used inside Breezehome, Honeyside, Vlindrel, Hall Hjerim or Proudspire Manor, therefore, it's perfectly fine to load them above 'Immersive Citizens - AI Overhaul.esp" in the load order. There is a lot of examples on the forum about individuals who had problems because they didn't respect my recommendation about load order. So don't forget to check if your load order is correct.
Did you check yourself all the plugins listed as being compatible or incompatible ?
Yes, I didn't delegate this task to individuals unrelated to this project due to the fact that the time requirement and technical requirements to accomplish the task are extremely high. To determine if Immersive Citizens works correctly with a plugin modifying the environment of the citizens, it requires knowing the 574 decision trees added by Immersive Citizens. To characterize these decision trees, it requires to analyze all my custom AI packages through the Creation Kit, and thus it requires expert knowledge in AI package design. If you don't know what to expect from NPCs, then you won't know what to look at and where to look and in what conditions to perform tests (time of day, type of weather, day of week, NPC in combat state or not, specific quest running or completed, ect.) and thus you won't be able to perform reliable and efficient compatibility tests, because NPCs act differently day after day. Therefore, it's highly probable that I'm the only one who knows how this plugin is supposed to work and thus, I have a huge advantage to be able to determine if a plugin modifying the environment of the citizens is compatible or not. Immersive Citizens has evolved a lot since its release and it will continue to evolve. Due to this, it's highly recommended to use the information that I provide as a reference (the incompatibility list is regularly updated) and to check the compatibility section after any major update.
What issues can I have if I use a mod listed as being incompatible?
Here are the main issues you can have by using "Immersive Citizens" alongside a plugin that modifies the layout or placement of objects in cities, villages, or interior rooms:
- NPCs performing actions with thin-air
- NPCs unable to navigate within cities or within some districts (this will prevent you to complete some quests)
- NPCs unable to enter or to leave a house (this can also prevent the completion of some quests)
- NPCs unable to enter or to leave a city (this will prevent you to complete some quests)
- NPCs permanently colliding into walls or other static objects
- NPCs becoming inanimate for a long period of time
Do you plan to do a tutorial about AI package or Navigation mesh?
Unlikely, mainly for 3 reasons:
- It would take me at least 2 months of work at full time (assuming I work 14 hours per day everyday) to write all I know about AI package and navmesh. Moreover, as I have no teaching skills, there is no guarantee that you'll understand.
- This kind of work does not interest me, otherwise I would have already done it in order to build a team
- I already share with you the result of more than 6 500 hours of work, which is Immersive Citizens.
If I install Immersive Citizens, will I spend my time searching for NPC involved in a quest?
No, because once an NPC is involved in a quest, he will remain near or inside his home, however his behavior will remain realist.
Do you plan to fully overhaul the AI used by all NPCs which are friendly and unique (named)?
Yes, but I cannot give any ETA mainly because I am working alone on this project and because this project is the result of research work.
Is there a way to prevent extra citizen from being affected by your mod?
Yes, I created a faction for that purpose: NPCO_ExclusionFaction.
How long will a hostile stay in front of a citizen's door?
Assuming you do not leave the area, this is determined by the following game setting: fCombatDetectionLostTimeLimit. This game setting has been set to 300 which is 5 minutes. By modifying this value, you can get results which are completely different. For example, with a value of 60, you will have citizens fleeing around you permanently during your fights. This will add a lot of chaos. Some will like it, some will not.
How long will a citizen remain in a combat state once he reached a hideout?
A citizen will not be in combat state anymore if you kill his foe or if X minutes have past where X is equal to the value set for fCombatDetectionLostTimeLimit.
Once a citizen is no longer in a combat state, how long it takes for him to leave his hideout?
With the default time scale, it takes him between 1 & 120 seconds. If you use a timescale of 10, it will takes between 2 & 240 seconds.
What time scale is safe to use?
The AI has been designed to use the default time scale (20). It will work with any values between 0 and 20 (I don't see the point to increase the value unless to perform tests); however, I do not recommend to go under 10 because beyond that there are boring downsides. For example, if you use a value of 10, the time between the dragon attacks is increased by 2, the conversations between the citizens will need twice the time to reset, the citizens will need twice the time to leave their house after an attack, etc. Moreover, a lot of quests or mods (such as "Holiday" from Isoku) use the in-game clock and may stop working as intended if you decrease the time scale too much, so choose wisely.
This section covers all the issues which can be caused by my plugin if you do not use it correctly, it also covers issues present in Skyrim vanilla. If you do not find the issue you have in this section, it means that it is most likely not caused by my mod.
Please remenber that:
- This plugin does not edit the AI used by Delphine, Esbern, adopted children and your spouse.
- This plugin does not edit the detection mechanism.
- Some vanilla AI issues fix themselves when you reboot Skyrim.
You might also require an adaptation time if you are used to find specific NPCs at specific places. For example, I have sometimes a user who complains that the innkeepers are never inside their inn. While in fact the innkeepers stay 22h on 24 inside their inn and when they go out, they stay near the entry and if you enter inside their inn they follow you inside. Just because innkeepers do not spend anymore their life leaning on a bar doesn't mean they are not inside their inn.
If a quest does not work as intended, it is very likely that the culprit is not Immersive Citizens because Immersive Citizens inject to NPCs an AI with a low priority. Most of time the culprit will be a mod injecting to NPCs an AI with a high priority or a mod belonging to one of the following category:
- Town Overhaul
- Interior Overhaul
- Alternate Start
Game Engine Limitations
The game engine is not able to update the position of NPCs during a fast travel. Therefore, if you fast travel directly to Whiterun, most of Whiterun's citizens will be late on their schedule.
For example, if you arrive during night time in a city via the fast travel, you will find in the streets a lot of NPCs walking toward their house in order to sleep. If you arrive during day time, you might find several shops closed.
To bypass this game engine limitation, I use the fast travel to reach a location near the city where I want to go. For example, instead to fast traveling to Whiterun, you should fast traveling to a watchtower near Whiterun. Because it's a game engine limitation, you will have the same problem with the vanilla AI.
The game engine is not able to update the position of NPCs which are not moving when you use the sleep or wait menu. Therefore, if you sleep in an Inn between 10 pm and 8 am, when you wake up, all NPCs who was sitting when you started to sleep will be still there.
To bypass this game engine limitation, if you want to sleep in a public area, I recommend to start to sleep around midnight. You can also use the wait menu or sleep menu twice in a row. For example, you can sleep 7 hours, wait 2 seconds in order to allow the NPCs to stand up and to start moving. Then sleep again 1 hour.
NPC & Door
Sometimes, an NPC can be interrupted when he is opening a door (linked to a teleporter). If an NPC opening a door is interrupted, then he will stay during several seconds in front of the door he tried to open and therefore he will block the path leading to this door. As a result several NPCs may stack temporary in front of this door.
Sometimes, NPCs are no more able to navigate from a room to another room. To fix this issue, reboot Skyrim.
Most NPCs gather in some areas, then they stop to move and remain there for several hours or forever.
Most NPCs do not enter their home or do not leave their home.
NPCs are blocked by invisible walls.
This usually happens when you use mods which are not compatible with Immersive Citizens or when you stack plugins which modify the layout of the same place(s) or if you load order is incorrect. This can also be caused by a single plugin editing navigation meshes. Keep in mind that any plugin which edits navmeshes can potentially disrupts the navigation of NPCs and thus can disrupt the AI used by NPCs. Hopefully it is reversible as soon as you remove the culprit.
- First, make sure that you have respected my recommendations about the load order.
- Then, ensure that you are not using a plugin listed as being incompatible (see this page).
- If the issue persists, remove the plugin(s) which edits the architecture of the area in which the issue occurs.
My follower always runs away while I am fighting against a dragon.
You use a follower overhaul such as AFT. If you use AFT, you have the possibility to turn on/off "Survival Instinct" for your follower(s). With AFT, "Survival Instinct" is activated by default. To disable it or to reactivate it, talk to your follower(s), choose "let's talk about your abilities", then choose "change your combat style". Choose a combat style to disable "Survival Instinct" or choose 'None' to reactivate it.
I can't challenge Uthgerd in a hand to hand duel.
The dialogue to challenge Uthgerd will not show up if she is riding a horse. This has been done on purpose, because if you challenge her while she is riding, the brawl script will not work correctly.
I can't find Bjorlam.
Bjorlam is always around his carriage. At night, he sleeps in a tent near his carriage.
A dialogue does not show up to start a brawl against an NPC or to start a secondary quest.
This kind of bug is usually caused by the use of an alternate start mod. Here are some examples of issues which have been copied from the description of "Alternate Start - Live Another Life" :
- The Thane offer won't be available in every city right away if you use a property owner start. The quest interaction makes doing so impossible without sacrificing too much of the content to it.
- When choosing one of the two civil war starts, you are strongly advised to let the Jagged Crown scene play out. If you don't, the quest may fail to start and the entire civil war quest line will get jammed.
- Some quests in a major city you pick a start for may not be available until after you've left that city and returned later. This is normal. It's due to how "Change Location" events work in the game and there's nothing that can be done about it.
The citizens do not talk to other NPCs or have stopped taking to other NPCs.
Vanilla bug. In the areas fully overhauled, Immersive Citizens prevents this bug to happen with a good efficiently, but it is not perfect. Most of the time rebooting Skyrim is enough to fix this issue.
The bards still sing endlessly (in short they do not go to sleep) unless I ask them to stop singing.
This is how their AI has been designed by Bethesda's designers. I plan to fix this.
Vilkas and Kodlak are still statics.
This is how their AI have been designed by Bethesda when those two NPCs are involved in the quest "Take up Arms". That quest is automatically activated once a new game is started. You have 2 options: either you complete this quest by joining the Companions or you wait until I improve this terrible quest design.
After a fast travel, I found dead NPCs, however I don't know how they died.
It's very likely that they died by falling because they went through a mesh or because they have been loaded far away from the ground. It's a vanilla bug, presents since the release of the game. It has been confirmed by multiple individuals that this bug occurs without mods, click here to get an example. It seems that this bug occurs often when you use the fast travel system. Some NPCs seems to be specifically affected, such as eorlund (source: http://elderscrolls.wikia.com/wiki/Eorlund_Gray-Mane). The use of Open Cities Skyrim might also increase the frequency of this bug.
An NPC is late on his schedule.
Very likely because you have used the sleep menu or a the wait menu more than 1 hour or because you have done a fast travel. To fix this, open the wait menu and wait 1 hour.
TechAngel85, z929669, EssArrBee, DoubleYou & Greg for the decription's correction.
Perseid9 for his authorisation to edit "Inns and Taverns - Realistic Room Rental Enhanced".
The individuals who support my work through donations or endorsements.
Author: Arnaud d'Orchymont.
JawZ for the first FOMOD installer.
Kudix for the banners.
Bethesda for the Creation Kit & The Elder Scrolls V: Skyrim.
The SkyUI Team for SkyUI which allowed me to implement a configuration menu.
ALL RIGHTS RESERVED. This content of this Skyrim game modification may not be copied, modified, reproduced, re-uploaded, or sold in any form, whole or in part, without the express permission of the author. This includes, but is not limited to, all descriptions, files, quests, AI packages, and names.