About AITweaks
Updates NPCs' stats & behavior aspects to make PVE combat against NPCs much more comfortable.
Details:
- NPCs Gen2 (new NPCs):
-- only 1 / 3 chance to throw a smoke grenade
-- when throwing a smoke grenade: 80% to self smoke, 20% to throw the grenade to player's direction with applying random shift velocity,
i.e. no more always perfect grenade throws.
-- slows down movement speed a bit
-- 'hiding' time is reduced to 30 sec. MAX (no more of annoying infinite sitting in corners logic)
-- base damage is reduced by 15%
-- adrenaline distance: 40 meters
- legacy NPCs:
-- adrenaline distance: 25 meters
- common:
-- delayed healing is not cancelled in time of receiving damage from NPCs (syringes, medkits, food, ..)
-- reduces outgoing damage % based on player's(target) equipped clothes (fix of the default logic) plus the adrenaline effect(s)
-- while player is wounded: receiving damage is only 1 / 10 plus clothing protection
-- adrenaline 2 factor additional protection:
I) by distance: up to 15% additional protection, the closer NPC the less total damage
II) by low HP(less than 50% of MAX): up to 15% additional protection, the less HP left the less total damage
Additional info (examples):
- Damage % reduction:
-- max damage block: best clothes + adrenaline effect(s) is about 70%
-- only projectile(i.e. bullets) attacks are processed
-- the % formula in simplified way may be declared as: ((HEAD + BODY + LEGS) / 3) * MAX%
-- damage block % examples: (base projectile protection without inserted armor plates)
I) hazmat: 30% * 0.6(60%) = 18%
II) full heavy set gear: (HEAD: 90% | BODY: 75% | LEGS: 75%) / 3 = (240% / 3) * 0.6(60%) = 80% * 0.6(60%) = 48%
III) high tier armor set: ((HEAD: 50% | BODY: 25% + 20% + 10% | LEGS: 20% + 15% + 10%) / 3) * 0.6(60%) = (150% / 3) * 0.6(60%) = 50% * 0.6(60%) = 30%
-- inserting armor plates are also taken into account
-- clothes: 60% damage block is MAX (+ inserting plates). Default damage block is not yet disabled, so the total damage block will be a bit higher.
-- player's armor has 3 sections: HEAD | BODY | LEGS, each of the sections may be protected by 1 or more clothing item(s),
and to reach MAX % effect it's needed to have at least 1 equipped armor item for each the section,
OR to equip any item which protects entire the body (like: hazmat).
Usage:
Copy the downloaded DLL file into server/HarmonyMods folder
Compatibility:
Should work both with: Oxide & Carbon, or as Harmony the only installed mod
Dependencies:
No
Known bugs:
- NPCs Gen2 : may teleport to a close point or to receive extra(unreal) movement velocity, it's because of bugs in cur. official code base, hope 'Facepunch' will fix the bugs, or will try to do it by myself in next ~3 months.
Support:
Use private messages on this site