User:TechAngel85/Sandbox: Difference between revisions

From Step Mods | Change The Game
No edit summary
Line 1: Line 1:
=Example One (EssArrBee's using H4 tags)=


==Code==


<nowiki>====Page Name====</nowiki><br>
== Short Description ==
<nowiki>*Selection Box Name</nowiki><br>
<nowiki>**Recommended Option</nowiki><br>
<nowiki>**Recommended Option</nowiki><br> 
<nowiki>*Selection Box Name</nowiki><br>
<nowiki>**Recommended Option</nowiki><br>
<nowiki>====Page Name====</nowiki><br>
<nowiki>*Selection Box Name</nowiki><br>
<nowiki>**Recommended Option</nowiki><br>


==Result==
<pre>
A script less plugin for “The Elder Scrolls V: Skyrim”
The main objective of this plugin is to greatly improve the Artificial Intelligence (AI) of friendly NPCs (citizens) presents in Skyrim, in order to make them act and react like true humans, thus improving your immersion in game.
</pre>


====Weapons====
*Steel Weapons
**Sword
**Greatsword 
*Iron Weapons 
:*Dagger
====Armor====
*Glass
**Gold


== Long Description ==


&nbsp;<br>
<pre>
[center][font=Times New Roman][size=6][b]Introduction[/b][/size][/font][/center]
[font=Times New Roman][size=3]
[/size][size=3]The main objective of this plugin is to greatly improve the Artificial Intelligence (AI) of friendly NPCs (citizens), in order to make them act and react like true humans, thus improving your immersion in game. Concretely, this plugin deeply overhauls the AI used by the citizens when they are in a “standard state” and in a “combat state”. The “alert state” is left untouched. For reminds, a NPC is in a “standard state” when he isn't aware of the presence of a foe, the “combat state” occurs when a NPC has detected a hostile, while “the alert state” occurs when an NPC is aware of the presence of a hostile but can't locate it.[/size][size=3]




[center][b][size=6]Description[/size][/b][/center][color=#6aa84f][b][size=6]
Combat State[/size][/b][/color]


=Example Two (Tech's - SRB's modified)=
This is the very first plugin that edits at the root the AI used by the NPCs when they are in combat.


==Code==
[color=#cc4125][size=5][b]Survival Instinct[/b][/size][/color]
Almost all the citizens of Skyrim will be able to properly evaluate the danger and to respond to it appropriately when they are under attack. In short, if a citizen is attacked and if he has no chance to win against his opponent, he'll run away inside a hideout.[font=Times New Roman][size=3]
To determine whether or not a citizen has a chance to win, 4 parameters are mainly used:
[/size][/font][list]
[*][font=Times New Roman][size=3]the current level of the citizen[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]the current health of the citizen[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]the resistance of the citizen to physical damages (armor & armor spells)[/size][/font]
[*][font=Times New Roman][size=3]the level of his opponent[/size][/font]
[/list][/size][/font]
[font=Times New Roman][size=3]The hideout is chosen randomly and the number to whom he has access depends on the size of the city in which he lives, it can be a citizen's home, the local temple, the castle of the jarl, a mine, a barracks, etc.[/size][/font][font=Times New Roman][size=3]


<nowiki>====Page Name====</nowiki><br>
[color=#e69138][size=4][b]The basic rules[/b][/size][/color][/size][/font]
<nowiki>*Selection Box Name</nowiki><br>
[list]
<nowiki>:*Recommended Option</nowiki><br>
[*][font=Times New Roman][size=3]If a citizen is attacked by an opponent who has more than 10 levels than him, he will flee.[/size][/font]
<nowiki>:*Recommended Option</nowiki><br> 
[*][font=Times New Roman][size=3]If the citizen's health is lower to a specific percentage, he’ll run away. At the moment, I use 4 thresholds: 50, 40, 30 and 20. These thresholds are assigned according to the citizen's resistance to physical damages. For example, a citizen wearing a cloth outfit will flee once his health goes down under 50%, while if he wears a full heavy armor and uses a shield the threshold will be 20%.[/size][/font]
<nowiki>*Selection Box Name</nowiki><br>
[/list][font=Times New Roman][size=3]
<nowiki>:*Recommended Option</nowiki><br>
Additional Notes:  
<nowiki>====Page Name====</nowiki><br>
<nowiki>*Selection Box Name</nowiki><br>
<nowiki>:*Recommended Option</nowiki><br>


[/size][/font][list]
[*][font=Times New Roman][size=3]Your follower(s) won’t use the feature “Survival Instinct”[/size][/font]
[*][font=Times New Roman][size=3]The feature ‘Survival Instinct” will be only used by friendly and non-generic NPCs (citizens)[/size][/font]
[*][font=Times New Roman][size=3]The citizens will be able to proper evaluate the danger whatever their type of opponent (player included), even if the opponent has been added by another non-official plugin (Skyrim Immersive Creatures, Elemental Dragons, etc.).[/size][/font]
[*][font=Times New Roman][size=3]The citizens added by non-official plugins (3DNPC, Inconsequential NPCs, etc) will use as well the feature “Survival Instinct”[/size][/font]
[/list][font=Times New Roman][size=3][size=4]
[color=#e69138][b]The special rules [/b][/color][/size]
On top of the rules cited above, special rules have been assigned to NPCs according to their personalities and their social rank. These rules have priority over the basic rules.
[/size][/font]
[font=Times New Roman][size=3][color=#f9cb9c][b]Civilian:[/b][/color] The NPCs assigned in the civilian category never try to riposte when attacked. If they are attacked, they’ll flee and try to alert the guards. A NPC falls in this category if he meets the following requirements: [/size][/font]
[list]
[*][font=Times New Roman][size=3]have a maximum level inferior to 10[/size][/font]
[*][font=Times New Roman][size=3]be unarmored[/size][/font]
[*][font=Times New Roman][size=3]be unarmed ( a dagger don't count)[/size][/font]
[/list]
[font=Times New Roman][size=3][color=#f9cb9c][b]Strategist:[/b][/color] The NPCs assigned in the strategist category perform a tactical retreat for a few seconds once they lose half of their healths. During this move, they'll take their distances and at the same time they'll heal themselves and refresh their protective spells. Once they have finished to temporize, they go back to fight. A NPC falls in this category if he meets the following requirements:[/size][/font]
[list]
[*][font=Times New Roman][size=3]be a member of the College of Winterhold[/size][/font]
[*][font=Times New Roman][size=3]have a mana pool superior to 63[/size][/font]
[/list]
[font=Times New Roman][size=3][color=#f9cb9c][b]Cautious:[/b][/color] The NPCs categorized as cautious will flee when attacked by a impressive opponent, even if they have a higher level. Furthermore, these NPCs will flee against any opponent who has more than 5 levels than them (instead of 10). For information, the following creatures are listed as being impressive: dragon, giant, giant spider and mammoth. A NPC is considered cautious if he meets one of the following requirements:[/size][/font]
[list]
[*][font=Times New Roman][size=3]be a member of the Thieves guild[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]be a member of the Dark[/size][/font] BrotherHood[/size][/font]
[*][font=Times New Roman][size=3]wear a cloth outfit (or be naked) and have no knowledge about protective spells[/size][/font]
[/list]
[font=Times New Roman][size=3][color=#f9cb9c][b]Fearless:[/b][/color] The NPCs falling in the fearless category fight back until their death, whatever their opponent, their health and their chance of success. A NPC is considered fearless if he meets one of the following requirements:[/size][/font]
[list]
[*][size=3][font=Times New Roman]be under the influence of a frenzy spell[/font][/size]
[*][size=3][font=Times New Roman]be [size=3][font=Times New Roman]dead [/font][/size](the reanimated citizens will fight until they turn to ash)[/font][/size]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]be a member of the Companions guild (circle only)[/size][/font][/size][/font]
[/list][list]
[*][font=Times New Roman][size=3]be a member of the Imperial legion[/size][/font]
[*][font=Times New Roman][size=3]be a member of the Stormcloacks[/size][/font]
[/list][font=Times New Roman][size=3][color=#f9cb9c][b]
Khajiit merchant:[/b] [/color]Unlike the other citizens of skyrim, the khajiit merchants will stay outside cities when they decide to flee. If they are near a city, they will hide themselves inside a guard tower (Solitude, Riften) or inside a city wall (Whiterun, Markarth, Windhelm) or inside a mine (Dawnstar). If they decide to flee while they was traveling to their next destination, they'll flee in the direction of this destination.[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]
Sleeping agent:[/color][/b] The vampires and the Forsworns infiltrated among the citizens of skyrim will act as civilians unless they're attacked by the Dragonborn or if the time has come for them to show their true nature.[/size][/font]
[font=Times New Roman][size=3]
Screenshots are available [url=http://www.nexusmods.com/skyrim/images/503897/?]here[/url] and a video is available here: [url=http://www.nexusmods.com/skyrim/videos/3898/?]Video 1[/url]


==Result==
[color=#cc4125][size=5][b]Combat style [/b][/size][/color]
[color=#e69138][size=4][b]Warrior[/b] [/size][/color]
Defensive combat styles have been assigned to citizens categorized as warrior. When they’ll try to defend themselves, they’ll rely on counter attacks to survive. In concrete term, most of the time a NPC will bash his opponent (their probability of success is quite high) who try to perform a power attack or a series of regular attacks against him. Once the opponent is staggered, they’ll only perform one or two regular attacks against him to make sure he won't have the time to block.


====Weapons====
[size=4][b][color=#e69138]Sorcerer & Thief (archer) [/color][/b][/size]
*Steel Weapons
The mages and archers will get out of a melee as soon as it’s possible. They’ll stay at range, behind a cover and won’t pursue their opponent.
:*Sword
:*Greatsword 
*Iron Weapons 
:*Dagger
====Armor====
*Glass
:*Gold


[color=#6aa84f][size=6][b]Standard State [WIP][/b][/size][/color]
[color=#cc4125][size=4][b]
[size=5]Human behavior[/size][/b][/size][/color]
The AI of each named NPC is customized according to their personal stories, their social ranks, their personalities and relationships. To keep the description as short as possible, I won’t describe the AI of each NPC. Instead, I’m going to describe the general concepts that I used as well as the templates that I designed and used as starting point.
[color=#e69138][b]
[size=4]Basic behaviors (shared by all the NPCs)[/size][/b][/color]
The NPCs will now eat between 2 and 3 times per day and will sleep at least 6 hours per day. The sleep & meal times vary between each NPCs. Here are the sleep schedules they can have:
[/size][/font][list]
[*][font=Times New Roman][size=3]the schedules to go to bed: between 9 pm and 3 am[/size][/font]
[*][font=Times New Roman][size=3]the schedules to wake up : between 5 am and 9 am[/size][/font]
[/list][font=Times New Roman][size=3]These schedules are mainly assigned according to the job of the NPC. Thus, an Innkeeper will go sleep around 3 am while a stallholders will start to sleep around 9 pm.
[size=4]
[color=#e69138][b]Specific behaviors[/b][/color][/size]
According to their personal stories, their social ranks, their job, their personalities and relationships some NPCs will perform regularly specific or unique activities. Here some examples of specific activities (most of them are associated with a job). [/size][/font][font=Times New Roman][size=3]


&nbsp;<br>
[color=#f9cb9c][b]Hunter:[/b][/color] The NPC will hunt game (deer, horker, hare and fox) in the areas around his city/village. This will occur around 3 times per week during the morning. During his hunt, he will check different areas and as soon as he finds a prey, he'll try to kill it, if he succeeds, he'll loot the corpse (pelt, meat and alchemy compound). He’ll stop his hunt once he'll have looted a specific amount of meats or if he runs out of time. Screenshots are available [url= http://www.nexusmods.com/skyrim/images/500710/?]here[/url] [/size][/font][font=Times New Roman][size=3]and a video is available here: [url=https://www.youtube.com/watch?v=oBT5zAGhjNs]Video[/url]
[color=#f9cb9c][b]Priest of Kynareth:[/b][/color] The priests of Kynareth will pray their goddess several time per day. They will also organize some praying sessions with the believers. When they don’t pray, they'll clean their temple and they'll heal the wounded. Sometimes they'll go at the market before it closes. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/452741/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Priest of Arkay:[/b][/color]  The priests of Arkay will pray several time per day in front of their altar, they will also bless the dead. Another part of their duty will consist in cleaning their temple as well as the graves. You might also find them at the market before it closes. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/502535/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Rambler:[/b] [/color]Some NPCs will stroll themselves outside their city/village for diverse reasons:
[/size][/font][list]
[*][font=Times New Roman][size=3]to enjoy the view of some landscapes[/size][/font]
[*][font=Times New Roman][size=3]to loot some alchemical compounds[/size][/font]
[*][font=Times New Roman][size=3]to get to another village/city.[/size][/font]
[/list][font=Times New Roman][size=3][color=#f9cb9c][b]Lover:[/b][/color] The NPCs having a romance between themselves will meet regularly in low populated areas. If it’s a forbidden romance, they will meet outside their city/village. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/501079/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Horse rider:[/b][/color] The NPCs will use a horse if they have to walk on long distances. Therefore, several horses have been added near the stables. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/456014/?]here[/url]. Video available [url= http://www.nexusmods.com/skyrim/videos/3056/?]here[/url].[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]Swordsman:[/color][/b] The NPCs using their sword to make their living will train themselves regularly in the art of fighting. Some will use their weapon against a dummy (except if they use a two-handed weapon) while others will have a sparring partner. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/457449/?]here[/url] and [url=http://www.nexusmods.com/skyrim/images/498155/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[b][color=#f9cb9c]Servant:[/color] [/b]The servants will perform all the tasks that you expect them to do. They'll cook between 2 and 3 times per day, they will also clean daily the house of their employee. Sometimes they'll chop wood and will carry firewood near the fire pit of their employee. During the morning, they will go at the market to buy some foods.[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Lumberjack:[/b][/color] The lumberjack will use the sawmill daily, if there is several lumberjacks for one sawmill, there will be a turnover. They will also chop wood with an axe and dispatch the firewood to the surrounding houses. Sometimes, they will fix wooden walls.[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]Farmer:[/color] [/b]The farmer will work daily on a field. If a farmer works in a farm owning several fields, he’ll choose randomly a field on which to work. If there are chickens, he’ll feed them daily, if there are cows he'll bring to them some water daily (some animations have been restored). If there is a grain mill, he'll use it regularly and sometimes he’ll tan an animal hide or seal barrels containing foods. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/497877/?]here[/url].[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]Beggar:[/color][/b]The beggars will spend most of their time at the market to ask for charity. When the market is closed, you’ll find them drinking or sleeping in marginalized areas.[/size][/font]
[font=Times New Roman][size=3]
Additional Notes:
Some of the templates described above have been combined and assigned to several NPCs. For example, if a NPC own a farm and a sawmill, he will act as a lumberjack and as 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 his free time. In short, each NPC will have a unique behavior and will act differently day after day.[color=#e69138][size=4][b]


=Example Three (Tech's - no bullets)=
Free time[/b][/size][/color]
To humanize the citizens of Skyrim, every day they’ll choose randomly one or several activities to perform from a predefined list. Each NPC will use a customized list. The more a NPC lives in a big city, the more the number of activities to which he has access will be high. Here some examples of activities:
[/size][/font][list]
[*][font=Times New Roman][size=3]go shopping at the market or at a general goods store or at a specialized store[/size][/font]
[*][font=Times New Roman][size=3]pray at the local temple[/size][/font]
[*][font=Times New Roman][size=3]have a drink at the local tavern[/size][/font]
[*][font=Times New Roman][size=3]have a rest at home[/size][/font]
[*][font=Times New Roman][size=3]pray or stand in front of a grave[/size][/font]
[/list][font=Times New Roman][size=3]In short, each day, the NPCs will act differently. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/460110/?]here[/url] and [url=http://www.nexusmods.com/skyrim/images/500610/?]here[/url][b], [/b]video available here: [url=https://www.youtube.com/watch?v=WfoVRV0eRb4]Video [/url][color=#cc4125][size=4][b][size=5][color=#e69138][size=4]
[/size][/color][/size][/b][/size][/color][size=4][font=Times New Roman][color=#e69138][b]
Enhanced Social Interaction[/b][/color][/font][/size]
[color=#f9cb9c][b]Random conversations[/b]: [/color]To improve the social interaction between the NPCs, I’m restoring all the conversations recorded but not implemented in game. For each city/village, the number of unique conversation will be increased by about 100%.
Videos available here: [url= http://www.nexusmods.com/skyrim/videos/3184/?]Video 1[/url] | [url= http://www.nexusmods.com/skyrim/videos/3279/?]Video 2[/url] | [url= http://www.nexusmods.com/skyrim/videos/3242/?]Video 3[/url].
[color=#f9cb9c][size=4][b][size=3]Family[/size][/b][/size][/color][color=#f9cb9c]: [/color]At least 1 time per day, the members of a same family will meet to have a meal except if there is some tensions between them or if some of them live in different cities. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/457234/?]here[/url] and [url=http://www.nexusmods.com/skyrim/images/500350/?]here[/url]. [size=4]
[b][color=#e69138][color=#f9cb9c][size=3]Behavior NPC dependent[/size][/color][/color][/b][/size][color=#f9cb9c]:[/color] Some NPCs will act according to others NPCs. This is especially true for children or for the NPCs having group activities. Thus if a NPC dies, the behavior of some NPCs will change.
[font=Times New Roman][color=#f9cb9c][size=3][size=4][b][size=3]NPC greetings[/size][/b][/size][/size][/color][/font][color=#f9cb9c]:[/color] The probability for a citizen to engage the conversation with you has been drastically reduced except if it’s a part of their job or hobby. In practice, only the merchants, beggars and messengers will engage regularly the conversation with you. So when you’ll see Nazeem you won’t feel anymore the need to kill him or to run away from him.
[font=Times New Roman][size=3]Additional Note:
This feature applies to all guards from any city/village and any official DLC.[/size][/font]


==Code==
[color=#e69138][size=4][b]Weather influence[/b][/size][/color]
In Skyrim, the weather is sorted in 4 categories:
[/size][/font][list]
[*][font=Times New Roman][size=3]Pleasant[/size][/font]
[*][font=Times New Roman][size=3]Cloudy (the foggy weathers falls in this category)[/size][/font]
[*][font=Times New Roman][size=3]Rainy[/size][/font]
[*][font=Times New Roman][size=3]Snowy (the sand storms falls in this category)[/size][/font]
[/list][font=Times New Roman][size=3]
The citizens will adapt their activities according to these 4 categories of weather.
[b]
[color=#f9cb9c]Take shelter:[/color][/b] If it’s raining or if it's snowing, the citizens will stop their outdoor activities unless they can continue under a shelter or if their work can’t be delayed, otherwise, they’ll perform an activity taking place inside a house (a shop, a temple, a tavern, their home, etc.). The activity is chosen randomly from a predefined list. Each NPC will use a list customized according to their personal stories, their social ranks, their personalities and relationships.
[color=#f9cb9c][b]Go Home:[/b][/color] This feature has been developed for the unofficial NPCs such as 3DNPC, inconsequentialNPCs, ect. During a snowy or rainy weather, these NPCs will stop also their outdoor activities. However, contrary to the official NPCs, they’ll just go back to their homes or in the local inn (if they are homeless). Note that the NPCs won’t use this feature if they have one of the following jobs:
[/size][/font][list]
[*][font=Times New Roman][size=3]Miner[/size][/font]
[*][font=Times New Roman][size=3]Lumberjack[/size][/font]
[*][font=Times New Roman][size=3]Blacksmith[/size][/font]
[*][font=Times New Roman][size=3]Ferryman[/size][/font]
[*][font=Times New Roman][size=3]Carrier[/size][/font]
[/list][font=Times New Roman][size=3]
[font=Times New Roman][size=3]Video available here: [url=https://www.youtube.com/watch?v=pYXJVJdogyA]Video[/url][/size][/font]
Note also that some official NPCs will use this feature temporally until I rebuild completely their AI. For more information, check the "Modifications overview" section below.
[size=4]
[color=#e69138][b]Quest givers behaviors[/b][/color][/size]
When an NPC give you a quest, he'll continue to live. For now, this applies only for the following quests:
[/size][/font][list]
[*][font=Times New Roman][size=3]The Golden Claw[/size][/font]
[*][font=Times New Roman][size=3]Trouble in Skyrim, Stealing Plans, Striking the Heart and all the radiant quests given by the Companions[/size][/font]
[*][font=Times New Roman][size=3]The Blessings of Nature[/size][/font]
[/list][font=Times New Roman][size=3]
This will prevent the apparition of non-immersive situations. One of the most infamous is Lucan Valerius maintaining “The Riverwood Trader” open 24 hour/24 until the quest “The Golden Claw” is completed.


<nowiki>====Page Name====</nowiki><br>
[color=#cc4125][size=5][b]Miscellaneous[/b][/size][/color]
<nowiki>:;Selection Box Name</nowiki><br>
[color=#f9cb9c][b]Opening time for shops:[/b][/color]
<nowiki>::Recommended Option</nowiki><br>
[/size][/font][list]
<nowiki>::Recommended Option</nowiki><br>
[*][font=Times New Roman][size=3]The market: between 6 am and 5 pm (closed during snowy or rainy weather)[/size][/font]
<nowiki>:;Selection Box Name</nowiki><br>
[*][font=Times New Roman][size=3]The Drunken Huntsman: between 8 am and midnight.[/size][/font]
<nowiki>::Recommended Option</nowiki><br>
[*][font=Times New Roman][size=3]General goods vendor: between 8 am and 8 pm[/size][/font]
<nowiki>====Page Name====</nowiki><br>
[*][font=Times New Roman][size=3]Apothecary: between 8 am and 8 pm[/size][/font]
<nowiki>:;Selection Box Name</nowiki><br>
[*][font=Times New Roman][size=3]Fletcher: between 8 am and 8 pm[/size][/font]
<nowiki>::Recommended Option</nowiki><br>
[*][font=Times New Roman][size=3]Blacksmith: 6 am and 6 pm (if he works outdoor), otherwise between 8 am and 8 pm [/size][/font]
[/list][font=Times New Roman][size=3][b][color=#f9cb9c]Heimskr:[/color][/b] Instead to annoy you from 5 am to 8 pm, Heimskr will only annoy you between 2 pm and 6 pm. Screenshots are available [url= http://www.nexusmods.com/skyrim/images/457212/?]here[/url].
[b][color=#f9cb9c]Guard:[/color][/b] I didn’t spend a lot of time on the guards. For now, you’ll find some guards spending their money at “The Bannered Mare” at night.


[color=#6aa84f][size=6][b]Bug fix[/b][/size][/color]
This mod can be seen as an Unofficial AI fix, but on top of that it also fixes a huge amount of navmeshes, scenes and other bugs causing the NPCs to stop moving. I’ll publish later a list containing all the bugs that I’ve fixed (once I find the time and the motivation). [/size][/font]


==Result==


====Weapons====
[font=Times New Roman][size=3][font=Times New Roman][size=3][center][b][size=6]Modifications overview[/size][/b][/center][font=Times New Roman][size=3]
:;Steel Weapons
::Sword
::Greatsword 
:;Iron Weapons 
::Dagger
====Armors====
:;Glass
::Gold


&nbsp;<br>
With some exceptions mentioned above, this plugin only affects the NPCs which are friendly and unique (named).[/size][/font]


[size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][color=#e69138][b][size=4]Official NPCs[/size][/b][/color][/size][/font][/size][/font]
[/size]For now, the AI of citizens has been improved in the zones and factions shown below. The color code shows the features which have been implemented for each area and each faction.
[color=#93c47d]Green:[/color][font=Times New Roman] [size=3][font=Times New Roman][size=3]Survival Instinct, Combat Style, Basic Behavior, Specific Behavior, Free Time, Take Shelter &  [/size][/font][/size][/font]Social Interaction
[color=#ffe599]Yellow:[/color] Survival Instinct, [font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3]Combat Style [/size][/font][/size][/font][/size][/font][/size][/font] & Go Home
[color=#999999]Grey:[/color] The AI of NPCs haven't been modified yet


=Example Four (Tech's - with bullets)=
[b]Cities:[/b][color=#ffe599]Dawntar[/color] | [color=#ffe599]Falkreath[/color] | [color=#ffe599]Markarth[/color] | [color=#ffe599]Morthal[/color] | [color=#ffe599]Raven Rock[/color] | [color=#ffe599]Riften[/color] | [color=#ffe599]Solitude[/color] | [color=#93c47d]Whiterun[/color] | [color=#ffe599]Windhelm[/color] | [color=#ffe599]Winterhold[/color]
[b]Towns:[/b] [color=#ffe599]Dragon Bridge[/color] | [color=#ffe599]Ivarstead[/color] | [color=#ffe599]Karthwasten[/color] | [color=#93c47d]Riverwood[/color] | [color=#ffe599]Rorikstead[/color] | [color=#ffe599]Shor’s Stone[/color] | [color=#ffe599]Skaal Village[/color]
[b]Settlements:[/b] [color=#ffe599]Darkwater Crossing[/color] | [color=#93c47d]Honningbrew Meadery[/color] | [color=#ffe599]Kolskeggr Mine[/color] | [color=#ffe599]Kynesgrove[/color] | [color=#ffe599]Left Hand Mine[/color] | [color=#ffe599]Nightgate Inn[/color] | [color=#ffe599]Old Hroldan Inn[/color] | [color=#ffe599]Soljund’s Sinkhole[/color] | [color=#ffe599]Stonehills[/color] | [color=#ffe599]Tel Mithryn[/color] | [color=#ffe599]Whistling Mine[/color]
[b]Strongholds:[/b] [color=#999999]Dushnikh Yal[/color] | [color=#999999]Largashbur[/color] | [color=#999999]Mor Khazgur[/color] | [color=#999999]Narzulbur[/color] 
[b]Farms and Mills:[/b] [color=#ffe599]Anga’s Mill[/color] | [color=#93c47d]Battle-Born Farm[/color] | [color=#93c47d]Chillfurrow Farm[/color] | [color=#ffe599]Half-Moon Mill[/color] | [color=#ffe599]Heartwood Mill[/color] | [color=#ffe599]Hlaalu Farm[/color] | [color=#ffe599]Holly frost Farm[/color] |
[color=#ffe599]Katla’s Farm[/color] | [color=#ffe599]Loreius Farm[/color] | [color=#ffe599]Merryfair Farm[/color] | [color=#ffe599]Mixwater Mill[/color] |[color=#6aa84f] [color=#93c47d]Pelagia Farm[/color][/color] | [color=#ffe599]Salvius Farm[/color] | [color=#ffe599]Sarethi Farm[/color] | [color=#ffe599]Snow-Shod Farm[/color] | [color=#ffe599]Solitude Sawmill[/color]
[b]Faction:[/b] [color=#93c47d]Companions[/color] | [color=#999999]Dark Brotherhood[/color] | [color=#999999]Dawnguard[/color] | [color=#93c47d]Khajiit Caravan[/color] | [color=#999999]Thieves Guild[/color] | [color=#999999]Volkihar Vampire Clan[/color][/size][/font]


==Code==
[font=Times New Roman][size=3][font=Times New Roman][size=3][color=#e69138][b][size=4]Unofficial NPCs[/size][/b][/color][/size][/font][/size][/font]
If you use one or several plugins which add friendly and unique NPCs, the following features will be implemented in these NPCs: "Survival Instinct" & "Go Home". Note that, like 'Wet & Cold" or "Run for Your Lives", my plugin will handle a limited number of additional NPCs. Here are the limitations:
[/size][/font]
[list]
[*][font=Times New Roman][size=3]For the additional NPCs assigned to official places, the limitation [font=Times New Roman][size=3]is 50 extra NPCs per official cities/towns/settlements. [/size][/font][/size][/font]
[*][font=Times New Roman][size=3]For the [font=Times New Roman][size=3]additional NPCs assigned [/size][/font]to new places, [font=Times New Roman][size=3]the limitation is 100 extra NPCs per hold (region), for reminds, Tamriel is subdivised in 9 hold.[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]Note that if you install on an old save a mod which adds extra NPCs while my plugin is already active in this save, those extra NPCs won't use the features "Survival Instinct" & "Go Home".[/size][/font][/size][/font]
[/list][font=Times New Roman][size=3][font=Times New Roman][size=3]


<nowiki>====Page Name====</nowiki><br>
[center][font=Times New Roman][size=3][font=Times New Roman][size=3][b][size=6]Impact on your gameplay
<nowiki>:'''Selection Box Name'''</nowiki><br>
[/size][/b][/size][/font][/size][/font][/center][font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman][color=#e69138][b][color=#f9cb9c]
<nowiki>::*Recommended Option</nowiki><br>
<nowiki>::*Recommended Option</nowiki><br>
<nowiki>:'''Selection Box Name'''</nowiki><br>
<nowiki>::*Recommended Option</nowiki><br>
<nowiki>====Page Name====</nowiki><br>
<nowiki>:'''Selection Box Name'''</nowiki><br>
<nowiki>::*Recommended Option</nowiki><br>


==Result==
[color=#e69138][size=4]A third way to play thief[/size][/color][/color][/b][/color][/font][/font][/font][/font]
[/size][/font]By default, in Skyrim, there is two efficient ways to burgle a house: either you sneak yourself discreetly or you kill its occupant. My plugin adds a third option.
Indeed, with my feature "Survival Instinct", the player will be also able to perform "violent robberies" or extorsions. All you need to do is to beat the house's occupant until he decides to flee. Even if the beaten citizen decides to flee in a corner of his house, the bounty on your head that you will get by stealing his valuables in front of him will be ridiculously low compared to the value of the stolen items. However keep in mind that if you beat a NPC while there is a guard nearby, the guard will try to arrest you. So you will need to bribe the guard or to analyse the patrol routes used by the guards before to act.


====Weapons====
:'''Steel Weapons'''
::*Sword
::*Greatsword 
:'''Iron Weapons'''
::*Dagger


====Armors====
[center][size=6][b]Compatibility[/b][/size][/center]
:'''Glass'''
[/size][/font][font=Times New Roman][size=3][color=#e69138][b]
::*Gold
[size=4]Interaction with plugins editing also the AI[/size][/b][/color]
My plugin is compatible with almost everything, even with the plugins which  modify the AI. For example, let’s say you use the following list of mod: Wet & Cold, Holidays, Run for Your Lives, When Vampires Attack, Sleeping Innkeepers, 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 the top to the bottom):


&nbsp;<br>
[color=#f9cb9c][b]1[/b][/color]  [b]Run for Your Lives & When Vampires Attack[/b], [color=#6aa84f]condition:[/color] A vampire or a dragon is on the move and the NPCs are out of combat.
[b][color=#f9cb9c]2[/color]  Wet & Cold[/b], [color=#6aa84f]conditions:[/color] The “go home” feature has been activated in the MCM menu and it’s raining or snowing     
[b][color=#f9cb9c]3[/color][/b]  [b]Holidays[/b], [color=#6aa84f]condition:[/color] Active only during specific dates
[b][color=#f9cb9c]4[/color][/b]  [b]Immersive citizens – AI Overhaul[/b], [color=#6aa84f]condition:[/color] none
[b][color=#f9cb9c]5[/color]  Enhanced Skyrim Factions – The Companions Guild[/b], [color=#6aa84f]condition:[/color] none
[color=#f9cb9c][b]6[/b][/color]  [b]Sleeping Innkeepers[/b], [color=#6aa84f]condition:[/color] none
 
As I’ve already overhauled the AI of all members of the Companions, this means that the game engine will never use the AI modifications done by the mod “Enhanced Skyrim Factions: The Companions Guild”, 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 you inactivate the “go home” feature in the “Wet&Cold” Configuration Menu.
[b][size=4]
[/size][font=Times New Roman][size=3][color=#e69138][size=4][b]Interaction with "Touring Carriages" [/b][/size][/color]
[/size][/font][/b]If you use my plugin along with "Touring Carriages", you will get less error messages from "Touring Carriages" because I fix several navmesh bugs. When you use a carriage, all the NPCs (monster included) will regard you as a friend. The carriage driver as well as the followers will be also regarded as friend by all the NPCs. So when you use a carriage, the carriage driver won't flee if an hostile is prowling around.
Once you leave the carriage, this friendship ends, therefore the carriage driver can can be attacked and if need, he can flee.
 
[font=Times New Roman][size=3][b][font=Times New Roman][size=3][color=#e69138][size=4][b]Interaction with "Follower Overhaul" such as UFO, AFT & EFF[/b][/size][/color][/size][/font][/b][/size][/font]
If you use UFO or EFF, your follower(s) won’t use the feature “Survival Instinct”
If you use AFT, you have the possibility to turn on/off the feature"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), go in the tweak menu, then in the combat menu, choose a combat style to disable it or choose 'None' to reactivate it.
[b][size=4]
[color=#e69138]Incompatible plugins[/color][/size][/b]
My plugin is compatible with almost everything, the only mods that may cause issues are mods which edit the architecture of cities or the architecture of interior rooms. Here is the 3 categories of mods which will cause troubles without a compatibility patch: 
[/size][/font][list]
[*][font=Times New Roman][size=3]The mods adding new houses or walls in the following areas: [/size][/font][font=Times New Roman][size=3]Dragon Bridge[/size][/font][font=Times New Roman][size=3], Whiterun[/size][/font][font=Times New Roman][size=3] & Windhelm's Docks[/size][/font]
[*][font=Times New Roman][size=3]The mods moving the position of  houses or walls in the following areas: [font=Times New Roman][size=3]Dawnstar, Dragon Bridge[/size][/font][font=Times New Roman][size=3], Riverwood[/size][/font][font=Times New Roman][size=3], Whiterun, [/size][/font][font=Times New Roman][size=3]Whiterun's outskirt[/size][/font][font=Times New Roman][size=3] & Windhelm's Docks[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]The mods which remove or add furnitures such as tables or chairs in the following houses:[/size][/font][font=Times New Roman][size=3] Shop,[/size][/font][font=Times New Roman][size=3] Inn[/size][/font][font=Times New Roman][size=3], Jorrvaskr[/size][/font][font=Times New Roman][size=3], Dragonsreach[/size][/font]
[/list][font=Times New Roman][size=3]
[font=Times New Roman][size=3]So, it means that mods such Dawn of Skyrim, Beautiful Whiterun, Towns and Villages Enhanced - Whiterun or Perfect Whiterun are fully compatible.[/size][/font]
 
[font=Times New Roman][size=3]A compatibility patch is available for the following mods:
[/size][/font][list]
[*][font=Times New Roman][size=3]Cutting Room Floor[/size][/font]
[*][font=Times New Roman][size=3]Open Cities Skyrim[/size][/font]
[*][font=Times New Roman][size=3]Provincial Courier Service[/size][/font]
[*][font=Times New Roman][size=3]Realistic Room Rental Enhanced (you don't need a compatibility patch for the basic version)[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lights and FX (only required if you use ELFXEnhancer.esp)[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lighting for ENB[/size][/font]
[/list]
 
Here a the list containing mods which are incompatibles and not supported:
[/size][/font][list]
[*][font=Times New Roman][size=3]Better Jorrvaskr [/size][/font]
[*][font=Times New Roman][size=3]Breezehome TNF - Elianora's Flavour (the only breezehome mod which is not compatible, so TNF done by goatk is compatible)[/size][/font]
[*][font=Times New Roman][size=3]ETaC - complete[/size][/font]
[*][font=Times New Roman][size=3]Immersive Settlements (Immersive Whiterun/Dawnstar/Dragon Bridge)[/size][/font]
[*][font=Times New Roman][size=3]JK's Skyrim [/size][/font]
[*][font=Times New Roman][size=3]The Useless Shop and Interior Overhaul[/size][/font]
[*][font=Times New Roman][size=3]Riverwood reborn / [font=Times New Roman][size=3] Riverwood reborn 2[/size][/font] /  [font=Times New Roman][size=3] Riverwood Redux[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]Skyfall Estate - Buildable Edition / [font=Times New Roman][size=3] Skyfall Estate - Multiple Adoption Friendly[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]SkyFix - Riverwood Redeveloped[/size][/font]
[*][font=Times New Roman][size=3]Skyrim Bridges (use Skyrim Better Roads instead)[/size][/font]
[*][font=Times New Roman][size=3]Skyrim Radioactive [/size][/font]
[*][font=Times New Roman][size=3]Thornrock [font=Times New Roman][size=3][font=Times New Roman][size=3](I recommend Elysium Estate[/size][/font])[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]Whiterun Outskirts Market[/size][/font]
[/list][font=Times New Roman][size=3]
[font=Times New Roman][size=3][b][size=4][color=#e69138]TES5Edit[/color][/size][/b][/size][/font]
If you're used to do your own compatibility patches with TES5edit, don't try to do a compatibility patch involving my plugin for the following type of entries:
[/size][/font][list]
[*][font=Times New Roman][size=3]Navmesh[/size][/font]
[*][font=Times New Roman][size=3]Quest[/size][/font]
[*][font=Times New Roman][size=3]Scene[/size][/font]
[*][font=Times New Roman][size=3]Story Manager Quest Node[/size][/font]
[/list][font=Times New Roman][size=3]Due to the way TES5edit displays the informations stocked in these entries, it's impossible to do a functional compatibility patch involving these entries. For information the compatibility patches for OCS, RRR, CRF & PCS have been made with the Creation Kit.[size=3]
 
 
[/size][center][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][b][size=6]Installation & Load Order[/size][/b][/size][/font][/size][/font][/size][/font][/size][/font][/size][/center][font=Times New Roman][size=3][b]
[color=#f9cb9c]
[/color][color=#e69138][color=#f9cb9c]Requirements[/color][/color][/b][/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3]Skyrim 1.9.32.0.8 or greater[/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3]Dawnguard[/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3]Dragonborn[/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3][b][color=#e69138]
[color=#f9cb9c]Intallation[/color]
[/color][/b]You can use any mod installer such as NMM, WB or MO.
For a manual install, download the main file and the compatibility patches (if needed), then extract the file(s) into your Skyrim data directory: ...\Steam\SteamApps\common\Skyrim\data
 
[font=Times New Roman][size=3]Additional Notes: [/size][/font]
[/size][/font][/size][/font][list]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3][color=#ff0000]The first time that you load my plugin, the first loading screen will be frozen for some time (it takes around 30 seconds for me), if you have a low rig, it will take more times. Once this step is over, the loading screen duration will return to normal.[/color][/size][/font][/size][/font]
[/list][list]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]I recommend to start a new game, because an essential fix that I performed is not retroactive. This fix has been done to solve the following bug: by default, a dragon don't regard most of citizens as an enemy, therefore it'll ignore most of citizens when it attacks a city, as a result, most of the citizens will ignore the dragons, which is rather weird.[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use plugins which add extra citizens, the install order as well as the load order doesn't matter. Before to start a new game, make sure that my plugin as well as the plugins which add extra citizens are activated.[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use "Cutting Room Floor" & "Touring Carriage" uninstall the TC-CRF patch and install my compatibility patch for  "Cutting Room Floor".[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use Wet & Cold" and if you want to use my feature "Weather Influence", don't forget to disable the "go home" feature in the MCM Menu dedicated to Wet & Cold.[/size][/font][/size][/font]
[/list][font=Times New Roman][size=3][font=Times New Roman][size=3][b][color=#e69138]
[color=#f9cb9c]Load order[/color][/color][/b][/size][/font]
If you don't know how to use TES5edit to optimise your load order, I recommend you to put this plugin near the bottom of your load order or at the very bottom. Here are the following constraints you must respect:
 
- My plugin must be positionned above:
[/size][/font][list]
[*][font=Times New Roman][size=3]Realistic Lighting Overhaul[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lights and FX[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lighting for ENB[/size][/font]
[/list][font=Times New Roman][size=3]
- My plugin must be positionned below:
[/size][/font][list]
[*][font=Times New Roman][size=3]any plugin which edits Breezehome or Honeyside or Vlindrel or Hall Hjerim or Proudspire Manor[/size][/font]
[*][font=Times New Roman][size=3]any plugins which don't require the plugin Dragonborn to work (the only execptions are RLO, ELE & ELFX). [/size][/font]
[*][font=Times New Roman][size=3]Deadly Dragons[/size][/font]
[*][font=Times New Roman][size=3]Inconsequential NPCs[/size][/font]
[*][font=Times New Roman][size=3]Requiem[/size][/font]
[*][font=Times New Roman][size=3]Touring Carriages[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]Whiterun Mansion [/size][/font][/size][/font]
[/list][font=Times New Roman][size=3]
Additional notes:
[/size][/font][list]
[*][font=Times New Roman][size=3]If you use "Open Cities Skyrim" or Provincial "Courier Service", I recommend to position them right above my plugin.[/size][/font]
[*][font=Times New Roman][size=3]If you use a plugin which is not listed as being incompatible and which edits one or several navmeshes that I've also modified, my plugin has to be the conflicts winner, you don't need do to do a compatibility patch.[/size][/font]
[/list][font=Times New Roman][size=3]
 
[center][b][size=6]TroubleShooting[/size][/b][/center]
 
I strongly recommand to use the USKP as well as UDGP and UDBP. My plugin has been made and tested by using those plugins, so I don't know how if it works without.
The use of  Multiple Floors Sandboxing" is not recommended as that plugin performs harmful modifications [font=Times New Roman][size=3](more explanations are available in the FAQ)[/size][/font] which will cause issues (with or without my plugin), besides that, that plugin loses its interest if you use my mod.
[color=#fce5cd][b]
[color=#f9cb9c]I'm stuck at the loading screen when I try to load your plugin
The loading screen started to freeze as soon I've installed your mod[/color][/b][/color]
The first time that you load my plugin, the first loading screen can be really long. Once this step is over, the loading screen duration will return to normal. This issue will be fixed today or tomorrow.
 
[font=Times New Roman][size=3][color=#f9cb9c][b]My game crashes (CTD) before I reach the main menu[/b][/color][/size][/font]
Either you don't meet the requirements (you don't have dragonborn or dawnguard or use a pirate version) or you have installed a compatibility patch whose you don't need or your plugin load order is wrong. Start [url=http://www.nexusmods.com/skyrim/mods/25859/?]TES5edit[/url], select all your plugins and press OK. If a plugin is missing or if your load order is wrong, TES5edit will give you an error message as well as the name of the missing plugin or the name of the poorly sorted plugin.
[color=#f9cb9c][b]
[/b][/color][color=#f9cb9c][b]Most NPCs gather in some areas, then they stop to move and remain there for several hours or forever.[/b][/color]
[b][color=#f9cb9c][font=Times New Roman][size=3]Most NPCs don't enter in their home or don't leave their home.[/size][/font][/color][/b]
This happens when the game engine uses broken navmeshes, as a result,[font=Times New Roman][size=3] the pathfinding algorithm is stuck in an infinite loop while the NPCs are waiting for an answer from it.[/size][/font] Either it's caused by a single plugin or by a conflict between 2 plugins. Hopefully it's reversible as soon as you remove the culprit.  [/size][/font]
[list]
[*][font=Times New Roman][size=3]First, make sure that you have respected my recommendations about the load order: my plugin should be at the very bottom or almost. [/size][/font]
[*][font=Times New Roman][size=3]Then, check if you don't use a plugin listed as being incompatible such as "Breezehome TNF - Elianora's Flavour".[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use "Multiple Floors Sandboxing", uninstall it[/size][/font][/size][/font][/size][/font]
[*][font=Times New Roman][size=3]If the issue persist, remove the plugins which edit the architecture of the area in which the issue occurs [/size][/font]
[/list][font=Times New Roman][size=3][color=#f9cb9c]
[/color][/size][/font][font=Times New Roman][size=3][color=#f9cb9c][b]The citizens don't talk between them or have stoppped to[/b][/color]
This bug is present in Skyrim by default. Without SKSE it's probably not possible to fix it. However, most of the time, I've been able to prevent it from appearing.
 
[color=#f9cb9c][b]Some citizens aren't afraid when a dragon attack their city.[/b][/color]
By default, a dragon don't regard most of citizens as an enemy, therefore it'll ignore most of citizens, as a result, most of the citizens will ignore the dragons. I've found a way to fix this bug, but the fix isn't retroactive, therefore you need to start a new game to fix this problem.
Also, if you use the plugin "Deadly Dragons", don't forget to put it above my plugin in your load order.
[color=#f9cb9c]
[b]The bards still sing for ages (in short they don't go to sleep)[/b][/color]
I tried a countless times to fix that without editing the scripts involved, but I failed. For now, you need to ask him to stop singing by talking to him.
 
[color=#f9cb9c][b]Vilkas and Kodlak are still statics[/b][/color]
This is how their AI have been designed by Bethesda when those 2 NPCs are involved in the quest "Take Up Arms". That quest is automatically activated once you start a new game. You have 2 options: either you join the Companions by completing this quest or you wait that I improve this terrible quest design.
[color=#f9cb9c][b]
Aela stands in front of a dummy without hitting it or Anoriath uses no arrow while aiming at a prey.[/b][/color]
This bug is caused by a plugin such as "Equipping Overhaul".  If you use "Equipping Overhaul", the NPCs will have problems when they want to switch weapon, this happens especially with archers when they switch their bow by a dagger or conversely. So, this bug occurs with or without my plugin. In the worst case, Aela will stand in front of a dummy for 2 hours (ig). If you use the command resetinventory on her, she won't be stuck anymore in a fight stance. The same command works also for Anoriath.
[color=#f9cb9c][b]
Some NPCs uses their torches while they are in a room.[/b][/color]
I didn't touch the way the NPCs use their torch. This is caused by a plugin such as "Immersive NPC in the dark".
[color=#fce5cd][b]
[color=#f9cb9c]I can't challenge Uthgerd in a hand to hand duel.[/color][/b][/color]
The dialogue to challenge her will only show if Uthgerd is in the Bannered mare. This has been done on purpose, because if you challenge her outside the Bannered mare, the brawl script won't work correctly.
 
 
[center][size=6][b]FAQ[/b][/size][/center]
 
[font=Times New Roman][size=3][b][color=#f9cb9c]Do you use scripts / is it script intensive?
[/color][/b][/size][/font][font=Times New Roman][size=3]No, this plugin uses no scripts.
[/size][/font]
[b][color=#f9cb9c]What time scale is safe to use?[/color][/b]
The AI has been designed by using 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 don't recommend to go under 10, because beyond that, there is boring downsides. For example, if you use a value of 10, it means that the time between the dragon attacks is increased by 2, the conversations between the citizens will need twice more time to reset, the citizens will need twice more time to leave their house after an attack, ect. Moreover, a lot of quests or mods (such as "Holiday" from Isoku) use the clock in game.
Note that some people claim that glitches occurs by using values below X. In my opinion, it's a misinformation spread by people who don't know how the AI works.
[color=#f9cb9c][b]
Is it interesting to keep the following mods:
[color=#fce5cd]When Vampires Attack: [/color][/b][/color]Honestly, I don’t see the point to use both.
[color=#fce5cd][b]Guard Dialogue Overhaul: [/b][/color]It depends, if you like to interact with the guards, yes. Otherwise, no.
[color=#fce5cd][b]Sleeping Innkeepers[/b]: [/color]Yes, until I edit all the Innkeepers.
[color=#fce5cd][b]Run for Your Lives:[/b][/color] Due to the way Bethesda has established the relationships between the citizens and the dragons, I don’t specially recommend to uninstall “Run for your Lives” unless you start a new game. Because by default, a dragon don't regard most of citizens as an enemy, therefore he'll ignore most of citizens, so the citizens won't enter in a combat state and will just look at the fight. I managed to completely fix this problem if you start a new game while this problem is partially fixed if you install my mod on a old save. By partially fixed, I mean that the fix will only apply to the dragons which appear through a official random encounter.
[color=#fce5cd][b]No NPC greeting:[/b] [/color]The more my plugin will be updated, the less it will be interesting to keep "No NPC greeting".
[font=Times New Roman][size=3][color=#f9cb9c][b][font=Times New Roman][color=#fce5cd][size=3][font=Times New Roman][size=3]Multiple Floors Sandboxing[/size][/font][/size]:[/color][/font] [/b][/color][/size][/font]No, the AI present by default as well as my AI have been designed by using the default value of fSandboxCylinderTop & fSandboxCylinderBottom.
When a NPC uses a "sandbox" procedure, he will try to use any furniture in the radius area, even if the furniture is located in an inaccessible area (a locked room for example or an area not covered by navmeshes). When a NPC tries to use a furniture, the NPC sends a request to the pathfinding algorithm, if the furniture is
located in an inaccessible area, the pathfinding won't find any solution, as a result, the NPC will stop to move (waiting for a solution from the pathfinding algorithm) until that his current AI package is discarded. In some cases, if you use the wait menu, the NPC will teleported in a test cell.
Due to the way I've designed the AI, the NPCs won't try to use furnitures located in inaccessible areas. However if you increase fSandboxCylinderTop & fSandboxCylinderBottom, this bug will be back in some areas.
[font=Times New Roman][size=3][font=Times New Roman][size=3][color=#f9cb9c][b][color=#fce5cd]Artificial Intelligence Limit Increaser:[/color] [/b][/color][/size][/font][/size][/font]No, according to my tests, this plugin is useless. A city such as Whiterun contains more than 80 NPCs and the AI of all of them is functional (with the default gamesettings) whatever the context. If you have NPCs that don't move, read the troubleshooting section.
[font=Times New Roman][size=3]
[color=#f9cb9c][b]Will you do a compatibility patch for ETaC?
[/b][/color][/size][/font]Yes, but right now I'm lacking too much sleep to do it.
[font=Times New Roman][size=3][font=Times New Roman][size=3]
[color=#f9cb9c][b]Will you do a compatibility patch for JK's Skyrim?[/b][/color][/size][/font][/size][/font]
It will be much more smart and easy to increase the compatibility of JK's Skyrim rather than to try to make a compatibility patch.
 
[color=#f9cb9c][b]Will you do a compatibility patch for x?[/b][/color]
[/size][size=3]No clue. All I can tell you is that I can't do a compatibility patch for mods such as "Skyrim Radioactive" & "The Useless Shop and Interior Overhaul" because they contain deleted navmeshes. It's easy for me to fix them, but I'm not the author of these mods, so I won't do it unless I have their permission.
[/size][/font]
[size=3][font=Times New Roman][color=#f9cb9c][b]What are the main differences between your mod and the mod called "AI Overhaul project"? [/b][/color][/font]
[font=Times New Roman]Here are the main differences:
[/font][/size][list]
[*][font=Times New Roman][size=3]For now, my mod improves the AI of [b][color=#ff0000]574[/color] [/b]NPCs (without counting the unofficial NPCs) while "AI Overhaul project" only edits [color=#ff0000][b]76[/b][/color] NPCs and doesn't support the unofficial NPCs. [/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman]My mod improves the AI used by the NPCs when they are in combat while[/font] [font=Times New Roman]"AI Overhaul project"[/font] doesn't touch the AI used in combats.[/size][/font]
[*][font=Times New Roman][size=3]With my mod, the citizens act differently when it's raining or when it's snowing, while with "AI Overhaul project" the NPCs act the same way whatever the weather. [/size][/font]
[*][font=Times New Roman][size=3]My mod restores a lot of random conversations while [font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font] doesn't.[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font] doesn't have something comparable to my feature "Specific Behavior".[/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman]Contrary to [/font][font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font][/font][/font], my mod is compatible with almost everything, due to the fact that I use quest aliases to inject my AI, while [font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font][/font][/font][/font] [font=Times New Roman]edits the entries related to NPCs[/font].[/size][/font]
[/list][size=3][font=Times New Roman][color=#f9cb9c][b]
Why x isn't compatible with your mod?[/b][/color]
A mod isn't compatible either because he:
[/font][/size][list]
[*][size=3][font=Times New Roman]breaks connections between navmeshes[/font][/size]
[*][size=3][font=Times New Roman]corrupts navmeshes or add corrupted navmeshes[/font][/size]
[*][size=3][font=Times New Roman]adds a deleted flag to navmeshes (this is really annoying because it prevents me to do compatibility patches)    [/font][/size]
[*][size=3][font=Times New Roman]removes essential fixes that I've done on some navmeshes    [/font][/size]
[*][size=3][font=Times New Roman]performs drastic changes on the architecture of cities/villages (an AI is designed according to a city architecture)[/font][/size]
[/list][size=3][font=Times New Roman][b]
[color=#f9cb9c]Why X is compatible with your mod while Y isn't compatible?[/color][/b]
Because they have not been done in the same way.[/font][/size]
</pre>

Revision as of 14:06, July 6, 2015


Short Description

A script less plugin for “The Elder Scrolls V: Skyrim”
The main objective of this plugin is to greatly improve the Artificial Intelligence (AI) of friendly NPCs (citizens) presents in Skyrim, in order to make them act and react like true humans, thus improving your immersion in game. 


Long Description

[center][font=Times New Roman][size=6][b]Introduction[/b][/size][/font][/center]
[font=Times New Roman][size=3]
[/size][size=3]The main objective of this plugin is to greatly improve the Artificial Intelligence (AI) of friendly NPCs (citizens), in order to make them act and react like true humans, thus improving your immersion in game. Concretely, this plugin deeply overhauls the AI used by the citizens when they are in a “standard state” and in a “combat state”. The “alert state” is left untouched. For reminds, a NPC is in a “standard state” when he isn't aware of the presence of a foe, the “combat state” occurs when a NPC has detected a hostile, while “the alert state” occurs when an NPC is aware of the presence of a hostile but can't locate it.[/size][size=3]


[center][b][size=6]Description[/size][/b][/center][color=#6aa84f][b][size=6]
Combat State[/size][/b][/color]

This is the very first plugin that edits at the root the AI used by the NPCs when they are in combat. 

[color=#cc4125][size=5][b]Survival Instinct[/b][/size][/color]
Almost all the citizens of Skyrim will be able to properly evaluate the danger and to respond to it appropriately when they are under attack. In short, if a citizen is attacked and if he has no chance to win against his opponent, he'll run away inside a hideout.[font=Times New Roman][size=3] 
To determine whether or not a citizen has a chance to win, 4 parameters are mainly used: 
[/size][/font][list]
[*][font=Times New Roman][size=3]the current level of the citizen[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]the current health of the citizen[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]the resistance of the citizen to physical damages (armor & armor spells)[/size][/font]
[*][font=Times New Roman][size=3]the level of his opponent[/size][/font]
[/list][/size][/font]
[font=Times New Roman][size=3]The hideout is chosen randomly and the number to whom he has access depends on the size of the city in which he lives, it can be a citizen's home, the local temple, the castle of the jarl, a mine, a barracks, etc.[/size][/font][font=Times New Roman][size=3]

[color=#e69138][size=4][b]The basic rules[/b][/size][/color][/size][/font]
[list]
[*][font=Times New Roman][size=3]If a citizen is attacked by an opponent who has more than 10 levels than him, he will flee.[/size][/font]
[*][font=Times New Roman][size=3]If the citizen's health is lower to a specific percentage, he’ll run away. At the moment, I use 4 thresholds: 50, 40, 30 and 20. These thresholds are assigned according to the citizen's resistance to physical damages. For example, a citizen wearing a cloth outfit will flee once his health goes down under 50%, while if he wears a full heavy armor and uses a shield the threshold will be 20%.[/size][/font]
[/list][font=Times New Roman][size=3]
Additional Notes: 

[/size][/font][list]
[*][font=Times New Roman][size=3]Your follower(s) won’t use the feature “Survival Instinct”[/size][/font]
[*][font=Times New Roman][size=3]The feature ‘Survival Instinct” will be only used by friendly and non-generic NPCs (citizens)[/size][/font]
[*][font=Times New Roman][size=3]The citizens will be able to proper evaluate the danger whatever their type of opponent (player included), even if the opponent has been added by another non-official plugin (Skyrim Immersive Creatures, Elemental Dragons, etc.).[/size][/font]
[*][font=Times New Roman][size=3]The citizens added by non-official plugins (3DNPC, Inconsequential NPCs, etc) will use as well the feature “Survival Instinct”[/size][/font]
[/list][font=Times New Roman][size=3][size=4]
[color=#e69138][b]The special rules [/b][/color][/size]
On top of the rules cited above, special rules have been assigned to NPCs according to their personalities and their social rank. These rules have priority over the basic rules.
[/size][/font]
[font=Times New Roman][size=3][color=#f9cb9c][b]Civilian:[/b][/color] The NPCs assigned in the civilian category never try to riposte when attacked. If they are attacked, they’ll flee and try to alert the guards. A NPC falls in this category if he meets the following requirements: [/size][/font]
[list]
[*][font=Times New Roman][size=3]have a maximum level inferior to 10[/size][/font]
[*][font=Times New Roman][size=3]be unarmored[/size][/font]
[*][font=Times New Roman][size=3]be unarmed ( a dagger don't count)[/size][/font]
[/list]
[font=Times New Roman][size=3][color=#f9cb9c][b]Strategist:[/b][/color] The NPCs assigned in the strategist category perform a tactical retreat for a few seconds once they lose half of their healths. During this move, they'll take their distances and at the same time they'll heal themselves and refresh their protective spells. Once they have finished to temporize, they go back to fight. A NPC falls in this category if he meets the following requirements:[/size][/font]
[list]
[*][font=Times New Roman][size=3]be a member of the College of Winterhold[/size][/font]
[*][font=Times New Roman][size=3]have a mana pool superior to 63[/size][/font]
[/list]
[font=Times New Roman][size=3][color=#f9cb9c][b]Cautious:[/b][/color] The NPCs categorized as cautious will flee when attacked by a impressive opponent, even if they have a higher level. Furthermore, these NPCs will flee against any opponent who has more than 5 levels than them (instead of 10). For information, the following creatures are listed as being impressive: dragon, giant, giant spider and mammoth. A NPC is considered cautious if he meets one of the following requirements:[/size][/font]
[list]
[*][font=Times New Roman][size=3]be a member of the Thieves guild[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]be a member of the Dark[/size][/font] BrotherHood[/size][/font]
[*][font=Times New Roman][size=3]wear a cloth outfit (or be naked) and have no knowledge about protective spells[/size][/font]
[/list]
[font=Times New Roman][size=3][color=#f9cb9c][b]Fearless:[/b][/color] The NPCs falling in the fearless category fight back until their death, whatever their opponent, their health and their chance of success. A NPC is considered fearless if he meets one of the following requirements:[/size][/font]
[list]
[*][size=3][font=Times New Roman]be under the influence of a frenzy spell[/font][/size]
[*][size=3][font=Times New Roman]be [size=3][font=Times New Roman]dead [/font][/size](the reanimated citizens will fight until they turn to ash)[/font][/size]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]be a member of the Companions guild (circle only)[/size][/font][/size][/font]
[/list][list]
[*][font=Times New Roman][size=3]be a member of the Imperial legion[/size][/font]
[*][font=Times New Roman][size=3]be a member of the Stormcloacks[/size][/font]
[/list][font=Times New Roman][size=3][color=#f9cb9c][b]
Khajiit merchant:[/b] [/color]Unlike the other citizens of skyrim, the khajiit merchants will stay outside cities when they decide to flee. If they are near a city, they will hide themselves inside a guard tower (Solitude, Riften) or inside a city wall (Whiterun, Markarth, Windhelm) or inside a mine (Dawnstar). If they decide to flee while they was traveling to their next destination, they'll flee in the direction of this destination.[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]
Sleeping agent:[/color][/b] The vampires and the Forsworns infiltrated among the citizens of skyrim will act as civilians unless they're attacked by the Dragonborn or if the time has come for them to show their true nature.[/size][/font]
[font=Times New Roman][size=3]
Screenshots are available [url=http://www.nexusmods.com/skyrim/images/503897/?]here[/url] and a video is available here: [url=http://www.nexusmods.com/skyrim/videos/3898/?]Video 1[/url]

[color=#cc4125][size=5][b]Combat style [/b][/size][/color]
[color=#e69138][size=4][b]Warrior[/b] [/size][/color]
Defensive combat styles have been assigned to citizens categorized as warrior. When they’ll try to defend themselves, they’ll rely on counter attacks to survive. In concrete term, most of the time a NPC will bash his opponent (their probability of success is quite high) who try to perform a power attack or a series of regular attacks against him. Once the opponent is staggered, they’ll only perform one or two regular attacks against him to make sure he won't have the time to block.

[size=4][b][color=#e69138]Sorcerer & Thief (archer) [/color][/b][/size]
The mages and archers will get out of a melee as soon as it’s possible. They’ll stay at range, behind a cover and won’t pursue their opponent.

[color=#6aa84f][size=6][b]Standard State [WIP][/b][/size][/color]
[color=#cc4125][size=4][b]
[size=5]Human behavior[/size][/b][/size][/color]
The AI of each named NPC is customized according to their personal stories, their social ranks, their personalities and relationships. To keep the description as short as possible, I won’t describe the AI of each NPC. Instead, I’m going to describe the general concepts that I used as well as the templates that I designed and used as starting point.
[color=#e69138][b]
[size=4]Basic behaviors (shared by all the NPCs)[/size][/b][/color]
The NPCs will now eat between 2 and 3 times per day and will sleep at least 6 hours per day. The sleep & meal times vary between each NPCs. Here are the sleep schedules they can have:
[/size][/font][list]
[*][font=Times New Roman][size=3]the schedules to go to bed: between 9 pm and 3 am[/size][/font]
[*][font=Times New Roman][size=3]the schedules to wake up : between 5 am and 9 am[/size][/font]
[/list][font=Times New Roman][size=3]These schedules are mainly assigned according to the job of the NPC. Thus, an Innkeeper will go sleep around 3 am while a stallholders will start to sleep around 9 pm.
[size=4]
[color=#e69138][b]Specific behaviors[/b][/color][/size]
According to their personal stories, their social ranks, their job, their personalities and relationships some NPCs will perform regularly specific or unique activities. Here some examples of specific activities (most of them are associated with a job). [/size][/font][font=Times New Roman][size=3]

[color=#f9cb9c][b]Hunter:[/b][/color] The NPC will hunt game (deer, horker, hare and fox) in the areas around his city/village. This will occur around 3 times per week during the morning. During his hunt, he will check different areas and as soon as he finds a prey, he'll try to kill it, if he succeeds, he'll loot the corpse (pelt, meat and alchemy compound). He’ll stop his hunt once he'll have looted a specific amount of meats or if he runs out of time. Screenshots are available [url= http://www.nexusmods.com/skyrim/images/500710/?]here[/url] [/size][/font][font=Times New Roman][size=3]and a video is available here: [url=https://www.youtube.com/watch?v=oBT5zAGhjNs]Video[/url]
[color=#f9cb9c][b]Priest of Kynareth:[/b][/color] The priests of Kynareth will pray their goddess several time per day. They will also organize some praying sessions with the believers. When they don’t pray, they'll clean their temple and they'll heal the wounded. Sometimes they'll go at the market before it closes. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/452741/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Priest of Arkay:[/b][/color]  The priests of Arkay will pray several time per day in front of their altar, they will also bless the dead. Another part of their duty will consist in cleaning their temple as well as the graves. You might also find them at the market before it closes. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/502535/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Rambler:[/b] [/color]Some NPCs will stroll themselves outside their city/village for diverse reasons:
[/size][/font][list]
[*][font=Times New Roman][size=3]to enjoy the view of some landscapes[/size][/font]
[*][font=Times New Roman][size=3]to loot some alchemical compounds[/size][/font]
[*][font=Times New Roman][size=3]to get to another village/city.[/size][/font]
[/list][font=Times New Roman][size=3][color=#f9cb9c][b]Lover:[/b][/color] The NPCs having a romance between themselves will meet regularly in low populated areas. If it’s a forbidden romance, they will meet outside their city/village. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/501079/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Horse rider:[/b][/color] The NPCs will use a horse if they have to walk on long distances. Therefore, several horses have been added near the stables. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/456014/?]here[/url]. Video available [url= http://www.nexusmods.com/skyrim/videos/3056/?]here[/url].[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]Swordsman:[/color][/b] The NPCs using their sword to make their living will train themselves regularly in the art of fighting. Some will use their weapon against a dummy (except if they use a two-handed weapon) while others will have a sparring partner. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/457449/?]here[/url] and [url=http://www.nexusmods.com/skyrim/images/498155/?]here[/url].[/size][/font][font=Times New Roman][size=3]
[b][color=#f9cb9c]Servant:[/color] [/b]The servants will perform all the tasks that you expect them to do. They'll cook between 2 and 3 times per day, they will also clean daily the house of their employee. Sometimes they'll chop wood and will carry firewood near the fire pit of their employee. During the morning, they will go at the market to buy some foods.[/size][/font][font=Times New Roman][size=3]
[color=#f9cb9c][b]Lumberjack:[/b][/color] The lumberjack will use the sawmill daily, if there is several lumberjacks for one sawmill, there will be a turnover. They will also chop wood with an axe and dispatch the firewood to the surrounding houses. Sometimes, they will fix wooden walls.[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]Farmer:[/color] [/b]The farmer will work daily on a field. If a farmer works in a farm owning several fields, he’ll choose randomly a field on which to work. If there are chickens, he’ll feed them daily, if there are cows he'll bring to them some water daily (some animations have been restored). If there is a grain mill, he'll use it regularly and sometimes he’ll tan an animal hide or seal barrels containing foods. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/497877/?]here[/url].[/size][/font][font=Times New Roman][size=3][b]
[color=#f9cb9c]Beggar:[/color][/b]The beggars will spend most of their time at the market to ask for charity. When the market is closed, you’ll find them drinking or sleeping in marginalized areas.[/size][/font]
[font=Times New Roman][size=3]
Additional Notes: 
Some of the templates described above have been combined and assigned to several NPCs. For example, if a NPC own a farm and a sawmill, he will act as a lumberjack and as 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 his free time. In short, each NPC will have a unique behavior and will act differently day after day.[color=#e69138][size=4][b]

Free time[/b][/size][/color]
To humanize the citizens of Skyrim, every day they’ll choose randomly one or several activities to perform from a predefined list. Each NPC will use a customized list. The more a NPC lives in a big city, the more the number of activities to which he has access will be high. Here some examples of activities:
[/size][/font][list]
[*][font=Times New Roman][size=3]go shopping at the market or at a general goods store or at a specialized store[/size][/font]
[*][font=Times New Roman][size=3]pray at the local temple[/size][/font]
[*][font=Times New Roman][size=3]have a drink at the local tavern[/size][/font]
[*][font=Times New Roman][size=3]have a rest at home[/size][/font]
[*][font=Times New Roman][size=3]pray or stand in front of a grave[/size][/font]
[/list][font=Times New Roman][size=3]In short, each day, the NPCs will act differently. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/460110/?]here[/url] and [url=http://www.nexusmods.com/skyrim/images/500610/?]here[/url][b], [/b]video available here: [url=https://www.youtube.com/watch?v=WfoVRV0eRb4]Video [/url][color=#cc4125][size=4][b][size=5][color=#e69138][size=4]
[/size][/color][/size][/b][/size][/color][size=4][font=Times New Roman][color=#e69138][b]
Enhanced Social Interaction[/b][/color][/font][/size]
[color=#f9cb9c][b]Random conversations[/b]: [/color]To improve the social interaction between the NPCs, I’m restoring all the conversations recorded but not implemented in game. For each city/village, the number of unique conversation will be increased by about 100%. 
Videos available here: [url= http://www.nexusmods.com/skyrim/videos/3184/?]Video 1[/url] | [url= http://www.nexusmods.com/skyrim/videos/3279/?]Video 2[/url] | [url= http://www.nexusmods.com/skyrim/videos/3242/?]Video 3[/url].
[color=#f9cb9c][size=4][b][size=3]Family[/size][/b][/size][/color][color=#f9cb9c]: [/color]At least 1 time per day, the members of a same family will meet to have a meal except if there is some tensions between them or if some of them live in different cities. Screenshots are available [url=http://www.nexusmods.com/skyrim/images/457234/?]here[/url] and [url=http://www.nexusmods.com/skyrim/images/500350/?]here[/url]. [size=4]
[b][color=#e69138][color=#f9cb9c][size=3]Behavior NPC dependent[/size][/color][/color][/b][/size][color=#f9cb9c]:[/color] Some NPCs will act according to others NPCs. This is especially true for children or for the NPCs having group activities. Thus if a NPC dies, the behavior of some NPCs will change.
[font=Times New Roman][color=#f9cb9c][size=3][size=4][b][size=3]NPC greetings[/size][/b][/size][/size][/color][/font][color=#f9cb9c]:[/color] The probability for a citizen to engage the conversation with you has been drastically reduced except if it’s a part of their job or hobby. In practice, only the merchants, beggars and messengers will engage regularly the conversation with you. So when you’ll see Nazeem you won’t feel anymore the need to kill him or to run away from him.
[font=Times New Roman][size=3]Additional Note: 
This feature applies to all guards from any city/village and any official DLC.[/size][/font]

[color=#e69138][size=4][b]Weather influence[/b][/size][/color]
In Skyrim, the weather is sorted in 4 categories:
[/size][/font][list]
[*][font=Times New Roman][size=3]Pleasant[/size][/font]
[*][font=Times New Roman][size=3]Cloudy (the foggy weathers falls in this category)[/size][/font]
[*][font=Times New Roman][size=3]Rainy[/size][/font]
[*][font=Times New Roman][size=3]Snowy (the sand storms falls in this category)[/size][/font]
[/list][font=Times New Roman][size=3]
The citizens will adapt their activities according to these 4 categories of weather.
[b]
[color=#f9cb9c]Take shelter:[/color][/b] If it’s raining or if it's snowing, the citizens will stop their outdoor activities unless they can continue under a shelter or if their work can’t be delayed, otherwise, they’ll perform an activity taking place inside a house (a shop, a temple, a tavern, their home, etc.). The activity is chosen randomly from a predefined list. Each NPC will use a list customized according to their personal stories, their social ranks, their personalities and relationships. 
[color=#f9cb9c][b]Go Home:[/b][/color] This feature has been developed for the unofficial NPCs such as 3DNPC, inconsequentialNPCs, ect. During a snowy or rainy weather, these NPCs will stop also their outdoor activities. However, contrary to the official NPCs, they’ll just go back to their homes or in the local inn (if they are homeless). Note that the NPCs won’t use this feature if they have one of the following jobs:
[/size][/font][list]
[*][font=Times New Roman][size=3]Miner[/size][/font]
[*][font=Times New Roman][size=3]Lumberjack[/size][/font]
[*][font=Times New Roman][size=3]Blacksmith[/size][/font]
[*][font=Times New Roman][size=3]Ferryman[/size][/font]
[*][font=Times New Roman][size=3]Carrier[/size][/font]
[/list][font=Times New Roman][size=3]
[font=Times New Roman][size=3]Video available here: [url=https://www.youtube.com/watch?v=pYXJVJdogyA]Video[/url][/size][/font]
Note also that some official NPCs will use this feature temporally until I rebuild completely their AI. For more information, check the "Modifications overview" section below.
[size=4]
[color=#e69138][b]Quest givers behaviors[/b][/color][/size]
When an NPC give you a quest, he'll continue to live. For now, this applies only for the following quests:
[/size][/font][list]
[*][font=Times New Roman][size=3]The Golden Claw[/size][/font]
[*][font=Times New Roman][size=3]Trouble in Skyrim, Stealing Plans, Striking the Heart and all the radiant quests given by the Companions[/size][/font]
[*][font=Times New Roman][size=3]The Blessings of Nature[/size][/font]
[/list][font=Times New Roman][size=3]
This will prevent the apparition of non-immersive situations. One of the most infamous is Lucan Valerius maintaining “The Riverwood Trader” open 24 hour/24 until the quest “The Golden Claw” is completed.

[color=#cc4125][size=5][b]Miscellaneous[/b][/size][/color]
[color=#f9cb9c][b]Opening time for shops:[/b][/color]
[/size][/font][list]
[*][font=Times New Roman][size=3]The market: between 6 am and 5 pm (closed during snowy or rainy weather)[/size][/font]
[*][font=Times New Roman][size=3]The Drunken Huntsman: between 8 am and midnight.[/size][/font]
[*][font=Times New Roman][size=3]General goods vendor: between 8 am and 8 pm[/size][/font]
[*][font=Times New Roman][size=3]Apothecary: between 8 am and 8 pm[/size][/font]
[*][font=Times New Roman][size=3]Fletcher: between 8 am and 8 pm[/size][/font]
[*][font=Times New Roman][size=3]Blacksmith: 6 am and 6 pm (if he works outdoor), otherwise between 8 am and 8 pm [/size][/font]
[/list][font=Times New Roman][size=3][b][color=#f9cb9c]Heimskr:[/color][/b] Instead to annoy you from 5 am to 8 pm, Heimskr will only annoy you between 2 pm and 6 pm. Screenshots are available [url= http://www.nexusmods.com/skyrim/images/457212/?]here[/url].
[b][color=#f9cb9c]Guard:[/color][/b] I didn’t spend a lot of time on the guards. For now, you’ll find some guards spending their money at “The Bannered Mare” at night.

[color=#6aa84f][size=6][b]Bug fix[/b][/size][/color]
This mod can be seen as an Unofficial AI fix, but on top of that it also fixes a huge amount of navmeshes, scenes and other bugs causing the NPCs to stop moving. I’ll publish later a list containing all the bugs that I’ve fixed (once I find the time and the motivation). [/size][/font]


[font=Times New Roman][size=3][font=Times New Roman][size=3][center][b][size=6]Modifications overview[/size][/b][/center][font=Times New Roman][size=3]

With some exceptions mentioned above, this plugin only affects the NPCs which are friendly and unique (named).[/size][/font]

[size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][color=#e69138][b][size=4]Official NPCs[/size][/b][/color][/size][/font][/size][/font]
[/size]For now, the AI of citizens has been improved in the zones and factions shown below. The color code shows the features which have been implemented for each area and each faction. 
[color=#93c47d]Green:[/color][font=Times New Roman] [size=3][font=Times New Roman][size=3]Survival Instinct, Combat Style, Basic Behavior, Specific Behavior, Free Time, Take Shelter &  [/size][/font][/size][/font]Social Interaction
[color=#ffe599]Yellow:[/color] Survival Instinct, [font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3]Combat Style [/size][/font][/size][/font][/size][/font][/size][/font] & Go Home
[color=#999999]Grey:[/color] The AI of NPCs haven't been modified yet

[b]Cities:[/b][color=#ffe599]Dawntar[/color] | [color=#ffe599]Falkreath[/color] | [color=#ffe599]Markarth[/color] | [color=#ffe599]Morthal[/color] | [color=#ffe599]Raven Rock[/color] | [color=#ffe599]Riften[/color] | [color=#ffe599]Solitude[/color] | [color=#93c47d]Whiterun[/color] | [color=#ffe599]Windhelm[/color] | [color=#ffe599]Winterhold[/color]
[b]Towns:[/b] [color=#ffe599]Dragon Bridge[/color] | [color=#ffe599]Ivarstead[/color] | [color=#ffe599]Karthwasten[/color] | [color=#93c47d]Riverwood[/color] | [color=#ffe599]Rorikstead[/color] | [color=#ffe599]Shor’s Stone[/color] | [color=#ffe599]Skaal Village[/color]
[b]Settlements:[/b] [color=#ffe599]Darkwater Crossing[/color] | [color=#93c47d]Honningbrew Meadery[/color] | [color=#ffe599]Kolskeggr Mine[/color] | [color=#ffe599]Kynesgrove[/color] | [color=#ffe599]Left Hand Mine[/color] | [color=#ffe599]Nightgate Inn[/color] | [color=#ffe599]Old Hroldan Inn[/color] | [color=#ffe599]Soljund’s Sinkhole[/color] | [color=#ffe599]Stonehills[/color] | [color=#ffe599]Tel Mithryn[/color] | [color=#ffe599]Whistling Mine[/color]
[b]Strongholds:[/b] [color=#999999]Dushnikh Yal[/color] | [color=#999999]Largashbur[/color] | [color=#999999]Mor Khazgur[/color] | [color=#999999]Narzulbur[/color]   
[b]Farms and Mills:[/b] [color=#ffe599]Anga’s Mill[/color] | [color=#93c47d]Battle-Born Farm[/color] | [color=#93c47d]Chillfurrow Farm[/color] | [color=#ffe599]Half-Moon Mill[/color] | [color=#ffe599]Heartwood Mill[/color] | [color=#ffe599]Hlaalu Farm[/color] | [color=#ffe599]Holly frost Farm[/color] | 
[color=#ffe599]Katla’s Farm[/color] | [color=#ffe599]Loreius Farm[/color] | [color=#ffe599]Merryfair Farm[/color] | [color=#ffe599]Mixwater Mill[/color] |[color=#6aa84f] [color=#93c47d]Pelagia Farm[/color][/color] | [color=#ffe599]Salvius Farm[/color] | [color=#ffe599]Sarethi Farm[/color] | [color=#ffe599]Snow-Shod Farm[/color] | [color=#ffe599]Solitude Sawmill[/color]
[b]Faction:[/b] [color=#93c47d]Companions[/color] | [color=#999999]Dark Brotherhood[/color] | [color=#999999]Dawnguard[/color] | [color=#93c47d]Khajiit Caravan[/color] | [color=#999999]Thieves Guild[/color] | [color=#999999]Volkihar Vampire Clan[/color][/size][/font]

[font=Times New Roman][size=3][font=Times New Roman][size=3][color=#e69138][b][size=4]Unofficial NPCs[/size][/b][/color][/size][/font][/size][/font]
If you use one or several plugins which add friendly and unique NPCs, the following features will be implemented in these NPCs: "Survival Instinct" & "Go Home". Note that, like 'Wet & Cold" or "Run for Your Lives", my plugin will handle a limited number of additional NPCs. Here are the limitations:
[/size][/font]
[list]
[*][font=Times New Roman][size=3]For the additional NPCs assigned to official places, the limitation [font=Times New Roman][size=3]is 50 extra NPCs per official cities/towns/settlements. [/size][/font][/size][/font]
[*][font=Times New Roman][size=3]For the [font=Times New Roman][size=3]additional NPCs assigned [/size][/font]to new places, [font=Times New Roman][size=3]the limitation is 100 extra NPCs per hold (region), for reminds, Tamriel is subdivised in 9 hold.[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]Note that if you install on an old save a mod which adds extra NPCs while my plugin is already active in this save, those extra NPCs won't use the features "Survival Instinct" & "Go Home".[/size][/font][/size][/font]
[/list][font=Times New Roman][size=3][font=Times New Roman][size=3]

[center][font=Times New Roman][size=3][font=Times New Roman][size=3][b][size=6]Impact on your gameplay
[/size][/b][/size][/font][/size][/font][/center][font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman][color=#e69138][b][color=#f9cb9c]

[color=#e69138][size=4]A third way to play thief[/size][/color][/color][/b][/color][/font][/font][/font][/font]
[/size][/font]By default, in Skyrim, there is two efficient ways to burgle a house: either you sneak yourself discreetly or you kill its occupant. My plugin adds a third option.
 Indeed, with my feature "Survival Instinct", the player will be also able to perform "violent robberies" or extorsions. All you need to do is to beat the house's occupant until he decides to flee. Even if the beaten citizen decides to flee in a corner of his house, the bounty on your head that you will get by stealing his valuables in front of him will be ridiculously low compared to the value of the stolen items. However keep in mind that if you beat a NPC while there is a guard nearby, the guard will try to arrest you. So you will need to bribe the guard or to analyse the patrol routes used by the guards before to act.


[center][size=6][b]Compatibility[/b][/size][/center]
[/size][/font][font=Times New Roman][size=3][color=#e69138][b]
[size=4]Interaction with plugins editing also the AI[/size][/b][/color]
My plugin is compatible with almost everything, even with the plugins which  modify the AI. For example, let’s say you use the following list of mod: Wet & Cold, Holidays, Run for Your Lives, When Vampires Attack, Sleeping Innkeepers, 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 the top to the bottom):

[color=#f9cb9c][b]1[/b][/color]   [b]Run for Your Lives & When Vampires Attack[/b], [color=#6aa84f]condition:[/color] A vampire or a dragon is on the move and the NPCs are out of combat.
[b][color=#f9cb9c]2[/color]   Wet & Cold[/b], [color=#6aa84f]conditions:[/color] The “go home” feature has been activated in the MCM menu and it’s raining or snowing      
[b][color=#f9cb9c]3[/color][/b]   [b]Holidays[/b], [color=#6aa84f]condition:[/color] Active only during specific dates
[b][color=#f9cb9c]4[/color][/b]   [b]Immersive citizens – AI Overhaul[/b], [color=#6aa84f]condition:[/color] none
[b][color=#f9cb9c]5[/color]   Enhanced Skyrim Factions – The Companions Guild[/b], [color=#6aa84f]condition:[/color] none
[color=#f9cb9c][b]6[/b][/color]   [b]Sleeping Innkeepers[/b], [color=#6aa84f]condition:[/color] none

As I’ve already overhauled the AI of all members of the Companions, this means that the game engine will never use the AI modifications done by the mod “Enhanced Skyrim Factions: The Companions Guild”, 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 you inactivate the “go home” feature in the “Wet&Cold” Configuration Menu.
[b][size=4]
[/size][font=Times New Roman][size=3][color=#e69138][size=4][b]Interaction with "Touring Carriages" [/b][/size][/color]
[/size][/font][/b]If you use my plugin along with "Touring Carriages", you will get less error messages from "Touring Carriages" because I fix several navmesh bugs. When you use a carriage, all the NPCs (monster included) will regard you as a friend. The carriage driver as well as the followers will be also regarded as friend by all the NPCs. So when you use a carriage, the carriage driver won't flee if an hostile is prowling around.
Once you leave the carriage, this friendship ends, therefore the carriage driver can can be attacked and if need, he can flee. 

[font=Times New Roman][size=3][b][font=Times New Roman][size=3][color=#e69138][size=4][b]Interaction with "Follower Overhaul" such as UFO, AFT & EFF[/b][/size][/color][/size][/font][/b][/size][/font]
If you use UFO or EFF, your follower(s) won’t use the feature “Survival Instinct”
If you use AFT, you have the possibility to turn on/off the feature"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), go in the tweak menu, then in the combat menu, choose a combat style to disable it or choose 'None' to reactivate it. 
[b][size=4]
[color=#e69138]Incompatible plugins[/color][/size][/b]
My plugin is compatible with almost everything, the only mods that may cause issues are mods which edit the architecture of cities or the architecture of interior rooms. Here is the 3 categories of mods which will cause troubles without a compatibility patch:   
[/size][/font][list]
[*][font=Times New Roman][size=3]The mods adding new houses or walls in the following areas: [/size][/font][font=Times New Roman][size=3]Dragon Bridge[/size][/font][font=Times New Roman][size=3], Whiterun[/size][/font][font=Times New Roman][size=3] & Windhelm's Docks[/size][/font]
[*][font=Times New Roman][size=3]The mods moving the position of  houses or walls in the following areas: [font=Times New Roman][size=3]Dawnstar, Dragon Bridge[/size][/font][font=Times New Roman][size=3], Riverwood[/size][/font][font=Times New Roman][size=3], Whiterun, [/size][/font][font=Times New Roman][size=3]Whiterun's outskirt[/size][/font][font=Times New Roman][size=3] & Windhelm's Docks[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]The mods which remove or add furnitures such as tables or chairs in the following houses:[/size][/font][font=Times New Roman][size=3] Shop,[/size][/font][font=Times New Roman][size=3] Inn[/size][/font][font=Times New Roman][size=3], Jorrvaskr[/size][/font][font=Times New Roman][size=3], Dragonsreach[/size][/font]
[/list][font=Times New Roman][size=3]
[font=Times New Roman][size=3]So, it means that mods such Dawn of Skyrim, Beautiful Whiterun, Towns and Villages Enhanced - Whiterun or Perfect Whiterun are fully compatible.[/size][/font]

[font=Times New Roman][size=3]A compatibility patch is available for the following mods:
[/size][/font][list]
[*][font=Times New Roman][size=3]Cutting Room Floor[/size][/font]
[*][font=Times New Roman][size=3]Open Cities Skyrim[/size][/font]
[*][font=Times New Roman][size=3]Provincial Courier Service[/size][/font]
[*][font=Times New Roman][size=3]Realistic Room Rental Enhanced (you don't need a compatibility patch for the basic version)[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lights and FX (only required if you use ELFXEnhancer.esp)[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lighting for ENB[/size][/font]
[/list]

Here a the list containing mods which are incompatibles and not supported:
[/size][/font][list]
[*][font=Times New Roman][size=3]Better Jorrvaskr [/size][/font]
[*][font=Times New Roman][size=3]Breezehome TNF - Elianora's Flavour (the only breezehome mod which is not compatible, so TNF done by goatk is compatible)[/size][/font]
[*][font=Times New Roman][size=3]ETaC - complete[/size][/font]
[*][font=Times New Roman][size=3]Immersive Settlements (Immersive Whiterun/Dawnstar/Dragon Bridge)[/size][/font]
[*][font=Times New Roman][size=3]JK's Skyrim [/size][/font]
[*][font=Times New Roman][size=3]The Useless Shop and Interior Overhaul[/size][/font]
[*][font=Times New Roman][size=3]Riverwood reborn / [font=Times New Roman][size=3] Riverwood reborn 2[/size][/font] /  [font=Times New Roman][size=3] Riverwood Redux[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]Skyfall Estate - Buildable Edition / [font=Times New Roman][size=3] Skyfall Estate - Multiple Adoption Friendly[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]SkyFix - Riverwood Redeveloped[/size][/font]
[*][font=Times New Roman][size=3]Skyrim Bridges (use Skyrim Better Roads instead)[/size][/font]
[*][font=Times New Roman][size=3]Skyrim Radioactive [/size][/font]
[*][font=Times New Roman][size=3]Thornrock [font=Times New Roman][size=3][font=Times New Roman][size=3](I recommend Elysium Estate[/size][/font])[/size][/font][/size][/font]
[*][font=Times New Roman][size=3]Whiterun Outskirts Market[/size][/font]
[/list][font=Times New Roman][size=3]
[font=Times New Roman][size=3][b][size=4][color=#e69138]TES5Edit[/color][/size][/b][/size][/font]
If you're used to do your own compatibility patches with TES5edit, don't try to do a compatibility patch involving my plugin for the following type of entries:
[/size][/font][list]
[*][font=Times New Roman][size=3]Navmesh[/size][/font]
[*][font=Times New Roman][size=3]Quest[/size][/font]
[*][font=Times New Roman][size=3]Scene[/size][/font]
[*][font=Times New Roman][size=3]Story Manager Quest Node[/size][/font]
[/list][font=Times New Roman][size=3]Due to the way TES5edit displays the informations stocked in these entries, it's impossible to do a functional compatibility patch involving these entries. For information the compatibility patches for OCS, RRR, CRF & PCS have been made with the Creation Kit.[size=3]


[/size][center][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3][b][size=6]Installation & Load Order[/size][/b][/size][/font][/size][/font][/size][/font][/size][/font][/size][/center][font=Times New Roman][size=3][b]
[color=#f9cb9c]
[/color][color=#e69138][color=#f9cb9c]Requirements[/color][/color][/b][/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3]Skyrim 1.9.32.0.8 or greater[/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3]Dawnguard[/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3]Dragonborn[/size][/font][/size][/font]
[font=Times New Roman][size=3][font=Times New Roman][size=3][b][color=#e69138]
[color=#f9cb9c]Intallation[/color]
[/color][/b]You can use any mod installer such as NMM, WB or MO.
For a manual install, download the main file and the compatibility patches (if needed), then extract the file(s) into your Skyrim data directory: ...\Steam\SteamApps\common\Skyrim\data 

[font=Times New Roman][size=3]Additional Notes: [/size][/font]
[/size][/font][/size][/font][list]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3][color=#ff0000]The first time that you load my plugin, the first loading screen will be frozen for some time (it takes around 30 seconds for me), if you have a low rig, it will take more times. Once this step is over, the loading screen duration will return to normal.[/color][/size][/font][/size][/font]
[/list][list]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]I recommend to start a new game, because an essential fix that I performed is not retroactive. This fix has been done to solve the following bug: by default, a dragon don't regard most of citizens as an enemy, therefore it'll ignore most of citizens when it attacks a city, as a result, most of the citizens will ignore the dragons, which is rather weird.[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use plugins which add extra citizens, the install order as well as the load order doesn't matter. Before to start a new game, make sure that my plugin as well as the plugins which add extra citizens are activated.[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use "Cutting Room Floor" & "Touring Carriage" uninstall the TC-CRF patch and install my compatibility patch for  "Cutting Room Floor".[/size][/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use Wet & Cold" and if you want to use my feature "Weather Influence", don't forget to disable the "go home" feature in the MCM Menu dedicated to Wet & Cold.[/size][/font][/size][/font]
[/list][font=Times New Roman][size=3][font=Times New Roman][size=3][b][color=#e69138]
[color=#f9cb9c]Load order[/color][/color][/b][/size][/font]
If you don't know how to use TES5edit to optimise your load order, I recommend you to put this plugin near the bottom of your load order or at the very bottom. Here are the following constraints you must respect:

- My plugin must be positionned above:
[/size][/font][list]
[*][font=Times New Roman][size=3]Realistic Lighting Overhaul[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lights and FX[/size][/font]
[*][font=Times New Roman][size=3]Enhanced Lighting for ENB[/size][/font]
[/list][font=Times New Roman][size=3]
- My plugin must be positionned below: 
[/size][/font][list]
[*][font=Times New Roman][size=3]any plugin which edits Breezehome or Honeyside or Vlindrel or Hall Hjerim or Proudspire Manor[/size][/font]
[*][font=Times New Roman][size=3]any plugins which don't require the plugin Dragonborn to work (the only execptions are RLO, ELE & ELFX). [/size][/font]
[*][font=Times New Roman][size=3]Deadly Dragons[/size][/font]
[*][font=Times New Roman][size=3]Inconsequential NPCs[/size][/font]
[*][font=Times New Roman][size=3]Requiem[/size][/font]
[*][font=Times New Roman][size=3]Touring Carriages[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3]Whiterun Mansion [/size][/font][/size][/font]
[/list][font=Times New Roman][size=3]
Additional notes: 
[/size][/font][list]
[*][font=Times New Roman][size=3]If you use "Open Cities Skyrim" or Provincial "Courier Service", I recommend to position them right above my plugin.[/size][/font]
[*][font=Times New Roman][size=3]If you use a plugin which is not listed as being incompatible and which edits one or several navmeshes that I've also modified, my plugin has to be the conflicts winner, you don't need do to do a compatibility patch.[/size][/font]
[/list][font=Times New Roman][size=3]

[center][b][size=6]TroubleShooting[/size][/b][/center]

I strongly recommand to use the USKP as well as UDGP and UDBP. My plugin has been made and tested by using those plugins, so I don't know how if it works without. 
The use of  Multiple Floors Sandboxing" is not recommended as that plugin performs harmful modifications [font=Times New Roman][size=3](more explanations are available in the FAQ)[/size][/font] which will cause issues (with or without my plugin), besides that, that plugin loses its interest if you use my mod. 
[color=#fce5cd][b]
[color=#f9cb9c]I'm stuck at the loading screen when I try to load your plugin 
The loading screen started to freeze as soon I've installed your mod[/color][/b][/color]
The first time that you load my plugin, the first loading screen can be really long. Once this step is over, the loading screen duration will return to normal. This issue will be fixed today or tomorrow.

[font=Times New Roman][size=3][color=#f9cb9c][b]My game crashes (CTD) before I reach the main menu[/b][/color][/size][/font]
Either you don't meet the requirements (you don't have dragonborn or dawnguard or use a pirate version) or you have installed a compatibility patch whose you don't need or your plugin load order is wrong. Start [url=http://www.nexusmods.com/skyrim/mods/25859/?]TES5edit[/url], select all your plugins and press OK. If a plugin is missing or if your load order is wrong, TES5edit will give you an error message as well as the name of the missing plugin or the name of the poorly sorted plugin.
[color=#f9cb9c][b]
[/b][/color][color=#f9cb9c][b]Most NPCs gather in some areas, then they stop to move and remain there for several hours or forever.[/b][/color]
[b][color=#f9cb9c][font=Times New Roman][size=3]Most NPCs don't enter in their home or don't leave their home.[/size][/font][/color][/b]
This happens when the game engine uses broken navmeshes, as a result,[font=Times New Roman][size=3] the pathfinding algorithm is stuck in an infinite loop while the NPCs are waiting for an answer from it.[/size][/font] Either it's caused by a single plugin or by a conflict between 2 plugins. Hopefully it's reversible as soon as you remove the culprit.  [/size][/font]
[list]
[*][font=Times New Roman][size=3]First, make sure that you have respected my recommendations about the load order: my plugin should be at the very bottom or almost. [/size][/font]
[*][font=Times New Roman][size=3]Then, check if you don't use a plugin listed as being incompatible such as "Breezehome TNF - Elianora's Flavour".[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][size=3][font=Times New Roman][size=3]If you use "Multiple Floors Sandboxing", uninstall it[/size][/font][/size][/font][/size][/font]
[*][font=Times New Roman][size=3]If the issue persist, remove the plugins which edit the architecture of the area in which the issue occurs [/size][/font]
[/list][font=Times New Roman][size=3][color=#f9cb9c]
[/color][/size][/font][font=Times New Roman][size=3][color=#f9cb9c][b]The citizens don't talk between them or have stoppped to[/b][/color]
This bug is present in Skyrim by default. Without SKSE it's probably not possible to fix it. However, most of the time, I've been able to prevent it from appearing. 

[color=#f9cb9c][b]Some citizens aren't afraid when a dragon attack their city.[/b][/color]
By default, a dragon don't regard most of citizens as an enemy, therefore it'll ignore most of citizens, as a result, most of the citizens will ignore the dragons. I've found a way to fix this bug, but the fix isn't retroactive, therefore you need to start a new game to fix this problem.
Also, if you use the plugin "Deadly Dragons", don't forget to put it above my plugin in your load order.
[color=#f9cb9c]
[b]The bards still sing for ages (in short they don't go to sleep)[/b][/color]
I tried a countless times to fix that without editing the scripts involved, but I failed. For now, you need to ask him to stop singing by talking to him.

[color=#f9cb9c][b]Vilkas and Kodlak are still statics[/b][/color]
This is how their AI have been designed by Bethesda when those 2 NPCs are involved in the quest "Take Up Arms". That quest is automatically activated once you start a new game. You have 2 options: either you join the Companions by completing this quest or you wait that I improve this terrible quest design.
[color=#f9cb9c][b]
Aela stands in front of a dummy without hitting it or Anoriath uses no arrow while aiming at a prey.[/b][/color]
This bug is caused by a plugin such as "Equipping Overhaul".  If you use "Equipping Overhaul", the NPCs will have problems when they want to switch weapon, this happens especially with archers when they switch their bow by a dagger or conversely. So, this bug occurs with or without my plugin. In the worst case, Aela will stand in front of a dummy for 2 hours (ig). If you use the command resetinventory on her, she won't be stuck anymore in a fight stance. The same command works also for Anoriath.
[color=#f9cb9c][b]
Some NPCs uses their torches while they are in a room.[/b][/color]
I didn't touch the way the NPCs use their torch. This is caused by a plugin such as "Immersive NPC in the dark". 
[color=#fce5cd][b]
[color=#f9cb9c]I can't challenge Uthgerd in a hand to hand duel.[/color][/b][/color]
The dialogue to challenge her will only show if Uthgerd is in the Bannered mare. This has been done on purpose, because if you challenge her outside the Bannered mare, the brawl script won't work correctly. 


[center][size=6][b]FAQ[/b][/size][/center]

[font=Times New Roman][size=3][b][color=#f9cb9c]Do you use scripts / is it script intensive?
[/color][/b][/size][/font][font=Times New Roman][size=3]No, this plugin uses no scripts.
[/size][/font]
[b][color=#f9cb9c]What time scale is safe to use?[/color][/b]
The AI has been designed by using 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 don't recommend to go under 10, because beyond that, there is boring downsides. For example, if you use a value of 10, it means that the time between the dragon attacks is increased by 2, the conversations between the citizens will need twice more time to reset, the citizens will need twice more time to leave their house after an attack, ect. Moreover, a lot of quests or mods (such as "Holiday" from Isoku) use the clock in game.
Note that some people claim that glitches occurs by using values below X. In my opinion, it's a misinformation spread by people who don't know how the AI works. 
[color=#f9cb9c][b]
Is it interesting to keep the following mods:
[color=#fce5cd]When Vampires Attack: [/color][/b][/color]Honestly, I don’t see the point to use both.
[color=#fce5cd][b]Guard Dialogue Overhaul: [/b][/color]It depends, if you like to interact with the guards, yes. Otherwise, no.
[color=#fce5cd][b]Sleeping Innkeepers[/b]: [/color]Yes, until I edit all the Innkeepers.
[color=#fce5cd][b]Run for Your Lives:[/b][/color] Due to the way Bethesda has established the relationships between the citizens and the dragons, I don’t specially recommend to uninstall “Run for your Lives” unless you start a new game. Because by default, a dragon don't regard most of citizens as an enemy, therefore he'll ignore most of citizens, so the citizens won't enter in a combat state and will just look at the fight. I managed to completely fix this problem if you start a new game while this problem is partially fixed if you install my mod on a old save. By partially fixed, I mean that the fix will only apply to the dragons which appear through a official random encounter.
[color=#fce5cd][b]No NPC greeting:[/b] [/color]The more my plugin will be updated, the less it will be interesting to keep "No NPC greeting".
[font=Times New Roman][size=3][color=#f9cb9c][b][font=Times New Roman][color=#fce5cd][size=3][font=Times New Roman][size=3]Multiple Floors Sandboxing[/size][/font][/size]:[/color][/font] [/b][/color][/size][/font]No, the AI present by default as well as my AI have been designed by using the default value of fSandboxCylinderTop & fSandboxCylinderBottom. 
When a NPC uses a "sandbox" procedure, he will try to use any furniture in the radius area, even if the furniture is located in an inaccessible area (a locked room for example or an area not covered by navmeshes). When a NPC tries to use a furniture, the NPC sends a request to the pathfinding algorithm, if the furniture is
located in an inaccessible area, the pathfinding won't find any solution, as a result, the NPC will stop to move (waiting for a solution from the pathfinding algorithm) until that his current AI package is discarded. In some cases, if you use the wait menu, the NPC will teleported in a test cell.
Due to the way I've designed the AI, the NPCs won't try to use furnitures located in inaccessible areas. However if you increase fSandboxCylinderTop & fSandboxCylinderBottom, this bug will be back in some areas.
[font=Times New Roman][size=3][font=Times New Roman][size=3][color=#f9cb9c][b][color=#fce5cd]Artificial Intelligence Limit Increaser:[/color] [/b][/color][/size][/font][/size][/font]No, according to my tests, this plugin is useless. A city such as Whiterun contains more than 80 NPCs and the AI of all of them is functional (with the default gamesettings) whatever the context. If you have NPCs that don't move, read the troubleshooting section.
[font=Times New Roman][size=3]
[color=#f9cb9c][b]Will you do a compatibility patch for ETaC?
[/b][/color][/size][/font]Yes, but right now I'm lacking too much sleep to do it.
[font=Times New Roman][size=3][font=Times New Roman][size=3]
[color=#f9cb9c][b]Will you do a compatibility patch for JK's Skyrim?[/b][/color][/size][/font][/size][/font]
It will be much more smart and easy to increase the compatibility of JK's Skyrim rather than to try to make a compatibility patch.

[color=#f9cb9c][b]Will you do a compatibility patch for x?[/b][/color]
[/size][size=3]No clue. All I can tell you is that I can't do a compatibility patch for mods such as "Skyrim Radioactive" & "The Useless Shop and Interior Overhaul" because they contain deleted navmeshes. It's easy for me to fix them, but I'm not the author of these mods, so I won't do it unless I have their permission.
[/size][/font]
[size=3][font=Times New Roman][color=#f9cb9c][b]What are the main differences between your mod and the mod called "AI Overhaul project"? [/b][/color][/font]
[font=Times New Roman]Here are the main differences:
[/font][/size][list]
[*][font=Times New Roman][size=3]For now, my mod improves the AI of [b][color=#ff0000]574[/color] [/b]NPCs (without counting the unofficial NPCs) while "AI Overhaul project" only edits [color=#ff0000][b]76[/b][/color] NPCs and doesn't support the unofficial NPCs. [/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman]My mod improves the AI used by the NPCs when they are in combat while[/font] [font=Times New Roman]"AI Overhaul project"[/font] doesn't touch the AI used in combats.[/size][/font]
[*][font=Times New Roman][size=3]With my mod, the citizens act differently when it's raining or when it's snowing, while with "AI Overhaul project" the NPCs act the same way whatever the weather. [/size][/font]
[*][font=Times New Roman][size=3]My mod restores a lot of random conversations while [font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font] doesn't.[/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman][font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font] doesn't have something comparable to my feature "Specific Behavior".[/font][/size][/font]
[*][font=Times New Roman][size=3][font=Times New Roman]Contrary to [/font][font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font][/font][/font], my mod is compatible with almost everything, due to the fact that I use quest aliases to inject my AI, while [font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman][font=Times New Roman]"AI Overhaul project"[/font][/font][/font][/font][/font] [font=Times New Roman]edits the entries related to NPCs[/font].[/size][/font]
[/list][size=3][font=Times New Roman][color=#f9cb9c][b]
Why x isn't compatible with your mod?[/b][/color]
A mod isn't compatible either because he:
[/font][/size][list]
[*][size=3][font=Times New Roman]breaks connections between navmeshes[/font][/size]
[*][size=3][font=Times New Roman]corrupts navmeshes or add corrupted navmeshes[/font][/size]
[*][size=3][font=Times New Roman]adds a deleted flag to navmeshes (this is really annoying because it prevents me to do compatibility patches)    [/font][/size]
[*][size=3][font=Times New Roman]removes essential fixes that I've done on some navmeshes    [/font][/size]
[*][size=3][font=Times New Roman]performs drastic changes on the architecture of cities/villages (an AI is designed according to a city architecture)[/font][/size]
[/list][size=3][font=Times New Roman][b]
[color=#f9cb9c]Why X is compatible with your mod while Y isn't compatible?[/color][/b]
Because they have not been done in the same way.[/font][/size]