Jump to content
Sign in to follow this  
White Russian

DayZ Mod 1.83 How to slow down Zed?

Recommended Posts

Hi @all

 

I really enjoyed Romeros Zombie Movie in the late `70s, so I`m searching for a way to slow down zed again on my private hive, which runs Mod 1.83 now.

 

 

This solution for versions before DayZ 1.81 and epoch doesn`t work anymore because of code changes in the zombie_agent.fsm.

 

The important changes have to be done around line 501 following:

      name = "Chase";      init = /*%FSM<STATEINIT""">*/"_timeN = diag_tickTime;" \n       "" \n       "_last = _agent getVariable[""lastAttack"", 0];" \n       "_entHeight = (getPosATL _agent) select 2;" \n       "_pHeight = (getPosATL _target) select 2;" \n       "_delta = _pHeight - _entHeight;" \n       "" \n       "_agent forceSpeed (_agent getVariable [""speedLimit"", 3]);" \n       "" \n       "_target = _agent call zombie_findTargetAgent;" \n       "_isAlive = alive _agent;" \n       "_targetPos = getPosATL _target;" \n       "" \n       "_agent moveTo _targetPos;" \n       "" \n       "//diag_log(str(_agent distance _target));" \n       "" \n       "//diag_log format[""Animation: %1, Speed: %2, TargetSpeed: %3"",(animationState _agent),(speed _agent),(speed _target)];" \n       "" \n

Could someone please explain how to change this to a slower speed?

 

sorry for my bad english, my native language is german.

best regards

Edited by White Russian

Share this post


Link to post
Share on other sites

Didn`t work for me, zombies slowed down but don`t attack anymore. So I have to go into detail :

I want to change the chase speed, I think the variable speedlimit is responsible for the function. Maybe it is set in another file, maybe the player_zombiecheck? Don`t know if it is a global variable at all.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×