This mod makes enemies react to being threatened by placing a weapon next to their neck.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 2.0.2
updated to U12.3
Version 2.0.1
removed now unused honour
added missing config
Version 2.0.0
updated to U12
Version 1.2.5
added chanceOfFlee to change the chance an enemy will be forced to flee after being threatened
Version 1.2.4
once an enemy was threatened to drop their weapons they will be forced to flee
Version 1.2.3
fixed allies being threatened even after death
fixed forever threatened bug when a threatening collider goes inactive/disabled
Version 1.2.2
updated to U11.2
Version 1.2.1
speech recognition engine won't try to load when useSpeech is off (should fix infinite loading screen)
Version 1.2.0
added threatAffectsAllies (on by default) that causes the allies of a threatened enemy to stop attacking
fixed an issue that caused log spam
fixed mages still trying to cast while being threatened
Version 1.1.0
added speech recognition (off by default)
allies will now follow you while they are idle
fixed allies still being part of waves meaning you can't finish them unless you kill your allies
This mod makes enemies react to being threatened by placing a weapon next to their neck. There is also a chance that they turn to your ally when you spare their lives. UPDATE 1.1.0 I have added speech recognition (off by default) to the mod. In the mod folder you will find a file "commands.txt" where you can add phrases to recognise the drop weapon / make ally command. Make sure you have speech recognition set up in Windows and your desired input device is set as default for this to work. If you get a lot of false negatives -> decrease minConfidence and for false positives increase the minConfidence. If you do want to use speech I recommend adjusting the minTime values as well so that they don't take 2 seconds after you tell them to drop their weapon.
Installation Can be installed like any other mod using a mod manager.
Configuration You can configure the mod in the mod settings "minTimeBeforeThreatInSeconds": Determines how long it takes for them to realise they are being threatened (default 0.25 / 0.3 (U12)) "minTimeBeforeDisarmInSeconds": Determines how long it takes for them to drop their weapons while being threatened (default 2.0) "minTimeBeforeAllyInSeconds": Determines how long it takes for them to potentially become your ally (default 5.0) "chanceOfAlly": Determines how likely it is they turn to your ally (default 0.1) "useSpeech": Determines whether to use speech recognition (default false) "minConfidence": Determines the minimum confidence to recognise a phrase (default 0.8) "threatAffectsAllies": Determines whether the allies of a threatened enemy will stop attacking (default true) "chanceOfFlee": Determines how likely it is they are forced to flee after dropping their weapon (default 1.0) Following were removed in U12: "useHonour": Determines whether to use the honour value (default false) "minHonourAmount": Determines the minimum amount of honour you need for them to turn to your ally (default 0) "targetHonourAmount": Determines a target value that calculates a multiplier that stacks with chanceOfAlly (default 0)