Mod articles
-
Trespassing Mechanic Research Findings
Figuring out how to make this mod work was somewhat painful. I wanted to share my findings for the community.
How does trespassing work?
The trespassing mechanic appears to be a hardcoded event triggered by AI packages that include the LockDoors (Procedure) option as selected, thus flagging a location and changing AI behavior for if the player is spotted. There is a non-modifiable value which can be retrieved by the IsTrespassing function. There is no method to set the value, only get the value.
In the vanilla game, this is typically (exclusively?) seen for Sleep packages.
The dialogue is contained in:
DialogueGeneric quest > PlayerDialogue > DialogueGenericTrespassingBlocking
DialogueGeneric quest > Comb...