Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

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
Sign in to follow this  

×