Jump to content

[Release] Walkers Zombies / Disable running on zeds


Zupa

Recommended Posts

This little edit will change the run speed of zombies chasing poeple.

 

Change in your compiles.sqf ( You need an own compiles.sqf ofcourse). If you do not, get it from the epoch pbo's: dayz_code\init\compiles.sqf and change the path in init.sqf)

zombie_generate = ....
wild_spawnZombies = ...

to

zombie_generate =     compile preprocessFileLineNumbers "zupa\walkers\zombie_generate.sqf";
wild_spawnZombies =  compile preprocessFileLineNumbers "zupa\walkers\wild_spawnZombies.sqf";

and place the following files in your missions pbo

 

https://github.com/DevZupa/Walkers

 

 

What did i edit?

 

I simple edited the zombie monitor, it force speed to 2 instead of 10 on chasing zombies.

 

 

 

 

I do not use this on any of my servers. But it's tested and it works.

Link to comment
Share on other sites

Zombie speed is only available at 3 steps: 

- Walking (Loiter Speed) -> speed 2

- Running (Chase Speed) -> speed 10

- Fast Running (faster as the player can run) -> speed >10

 

Other values than this 3 ones dont have any difference.

As example, if you try wo set the "Walking/Loitering" Speed to 3 or 4, it makes the zeds running but not walking more than speed 2. U know what i mean ?

Link to comment
Share on other sites

Zombie speed is only available at 3 steps: 

- Walking (Loiter Speed) -> speed 2

- Running (Chase Speed) -> speed 10

- Fast Running (faster as the player can run) -> speed >10

 

Other values than this 3 ones dont have any difference.

As example, if you try wo set the "Walking/Loitering" Speed to 3 or 4, it makes the zeds running but not walking more than speed 2. U know what i mean ?

 

Ow ok, didnt looked into that tbh, just  thought i was logical ^^

 

i'll remove that part

Link to comment
Share on other sites

It doesn't work at my DayZ Epoch Server (1.0.5.1)

 

My progress:

 

1. Server Stop - Check

 

2. downloading missionsfile from mpmissions: Named "dayz_private_1.epoch.chernarus"

 

3. missionfile extracted (pbo-manager)

 

4. Walkers-Master downloaded

#########################################################################

 

 

5. Replaced  zombie_generate =     compile preprocessFileLineNumbers "zupa\walkers\zombie_generate.sqf";

 

6. copied the zupa folder in to the dayz_private_1.epoch.chernarus-folder.

 

7. dayz_private_1.epoch.chernarus packed with pbo-manager

 

8. copied the pbo to my Server

 

9. Restarted Server!

 

It doesn't work:

 

ONLY WAITING FOR HOST

 

Where's the Mistake?

Link to comment
Share on other sites

Any clues on how to also make wild zombies walk only?? I followed your instructions and it would appear that only zombies in populated areas walk, the ones out in the country still run at you. 

 

The speed change is done in zombie_agent.fsm, but wild_spawnZombies.sqf still references the default file in dayz_code. I think  you just need to change that and include the file in your mission PBO. Not sure if that's the only change needed but it's something to try.

Link to comment
Share on other sites

hi zupa, thx for adding wildzeds! is it possible to make zeds hit harder and make them more clever? I used another script before were zeds are walking but they didn't get aggro and if, they didn't manage to hit someone with the first punch.

would be a great addition to our server!
kind regards, ryker

Link to comment
Share on other sites

I'm getting this error, but zombies do walk and have some loot:

 

File z\addons\dayz_code\compile\spawn_loot_small.sqf, line 81
Error in expression <tNumber(configFile >> "CfgMagazines" >> _loot >> "count");
if(_loot_count>1) the>
  Error position: <_loot >> "count");
if(_loot_count>1) the>
  Error Undefined variable in expression: _loot
File mpmissions\__CUR_MP.Tavi\custom\walkers\zombie_generate.sqf, line 100
Error in expression <CLChances select _index;
_loot = _array select (_weights select (floor(random (c>
  Error position: <select (_weights select (floor(random (c>
  Error Zero divisor
File mpmissions\__CUR_MP.Tavi\custom\walkers\zombie_generate.sqf, line 98

Does it have to do with the customloot for Overpoch?

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...