Project Zomboid

Project Zomboid

Not enough ratings
Fix PZNS NPC Framework Awkward Movement
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
115.933 KB
Oct 31, 2023 @ 8:31am
1 Change Note ( view )

Subscribe to download
Fix PZNS NPC Framework Awkward Movement

In 2 collections by oZumbiAnalitico
TakeNoPrisoners | PZNS NPCs Mods
9 items
PZNS NPCs Mods
16 items
Description
This is a quick fix for awkward twitching movement for companions NPCs.
Extracted from mod TNP ADDON - Armed Squad.
Eventually this fix will be on main project of PZNS NPC Framework, but for a while ...

Possible Causes of twitching movement on original PZNS Framework:
1. Unnecessary or too frequent calls for "Clear NPC Action Queue" function.
2. Machine dependent tick configuration. As the "render tick event" is dependent of fps, the mod will behave differently with unlocked framerate, vsync, or any different locked framerate configuration.

This mods override the "Companion Job" so any other mod that do the same could conflict with this mod.

Feature:
1. Configure the Tick update for the variable jobTick in PZNS NPC Framework using (mod options) mod. Increasing this variable will decrease the AI updates, so the calls for "clear npc action" and update position etc will be less frequent, decreasing the twitching.

Workshop ID: 3067591143
Mod ID: pzns_fix_awkward_mov
Popular Discussions View All (1)
4
Nov 15, 2023 @ 10:15pm
See Also
oZumbiAnalitico
2 Comments
Cheezus Christ Jan 19, 2024 @ 8:46am 
guys i think we can trust him he said "trust me bro"
ALONE REBEL Dec 2, 2023 @ 7:00am 
source: trust me bro