White Russian 17 Posted January 16, 2015 (edited) 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 "" \nCould someone please explain how to change this to a slower speed? sorry for my bad english, my native language is german.best regards Edited January 16, 2015 by White Russian Share this post Link to post Share on other sites
facoptere 180 Posted January 17, 2015 Forcespeed 1; Share this post Link to post Share on other sites
White Russian 17 Posted January 18, 2015 Simple as that? Will try this, ty. Share this post Link to post Share on other sites
White Russian 17 Posted January 18, 2015 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