Re: Making Zombies slow.
Posted by brado on Feb 17, 2013; 10:23pm
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/Making-Zombies-slow-tp3601p3640.html
opened dayz_code / system / zombie_agent.fsm with Eliteness
did a search in note++ for "agent forceSpeed"
This was the only one that was higher then 2 ..so changed this from 5 to 2 (all others were 2)
name = "Chase";
init = /*%FSM<STATEINIT""">*/"_timeN = time;" \n
"" \n
"if (speed _agent < 0.1) then {_countr = _countr + 1} else {_countr = 0};" \n
"_target = _agent call zombie_findTargetAgent;" \n
"_isAlive = alive _agent;" \n
"_targetPos = getPosATL _target;" \n
"" \n
"//Move to target" \n
"_agent moveTo _targetPos;" \n
"_agent forceSpeed 5;" \n
"" \n
"//Check if LOS" \n
"if (_losCheck == 2) then {" \n
" _losCheck = 0;" \n
" _cantSee = [_agent,_target] call dayz_losCheck;" \n
"};" \n
Put the new PBO file into both @DayZ folder and @DaiyZ folder as i have 2 Chernarus games still loaded and didnt know which folder ran which game DaiyZ_X_AEG.Chernarus or dayz_wasteland.Chernarus.
Did a restart to both games ..both games zombies ran at top speed ..with no slowing down ???
any ideas guys