Blade & Sorcery
0 of 0

File information

Last updated

Original upload

Created by

HuJohner

Uploaded by

HuJohner

Virus scan

Safe to use

Tags for this mod

About this mod

This mod makes enemies react to being threatened by placing a weapon next to their neck.

Permissions and credits
Changelogs
Donations


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)


Video Showcase