About AITweaks
Updates NPCs' stats & behavior aspects to make PVE combat against NPCs much more comfortable.
Details:
- NPCs Gen2 (new NPCs):
-- reduces outgoing damage % based on player's(target) equipped clothes (fix of the default logic)
-- slows down movement speed a bit
-- 'hiding' time is reduced to 30 sec. MAX (no more of annoying infinite sitting in corners logic)
- legacy NPCs:
-- reduces outgoing damage % based on player's(target) equipped clothes (fix of the default logic)
Additional info (examples):
- Damage % reduction:
-- 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
-- 60% damage block is MAX (clothing + 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