Page 1 of 1

DayZ modding - Zombie spawn rate / amount

Posted: Fri Sep 28, 2012 4:07 pm
by Sethioz
I really want to get this one right on my server. i want to make zombies spawn in massive hordes.
so far i managed to find out where it can be done, but not sure how to use the tools properly.

> go to "arma 2 operation arrowhead/@DayZ/addons" (or whereever you installed DayZ)
> find file dayz_code.pbo
> extract it using cPBO (see the other topic about tools)
> now extract config.bin using unRap (see other topic about tools)
> open CfgBuildingLoot.hpp using notepad++
> in there, you will find something like this:

Code: Select all

zombieChance = 0;
minRoaming = 0;
maxRoaming = 2;
Problem is, i don't know how to put all of those files back together. there are lot of topics where people say "oh i edited it blabla" but NO details at all.
using what ? where you find it ? ..etc. that sucks.
so im stuck with this.

Re: Zombie spawn rate / amount

Posted: Sun Sep 30, 2012 4:32 am
by 7Ds
Possible:

Use Eliteness 2.91 to extract dayz_code.pbo by highlighting the directory of where the dayz_code.pbo is located.

Now simply doubleclick the dayz_code.pbo to extract.

Close Eliteness 2.91.

Note:

It extracts a folder structure of dayz_code\z\addons\dayz_code to the same directory of where the source .pbo is.
Browse this directory and open the folder until your in the "z" folder w/ "addons". Move this addons folder to the root of your Harddrive, ie, X:\ , C:\ , etc.


Now use unRap to extract config.bin located in X:\addons\dayz_code folder.
Select "No" when asked about Generating separate files for root classes. An config.cpp file will be created in the X:\addons\dayz_code folder.

Use Notepad++ to edit\save config.cpp.

To repack:

Firstly, delete config.bin from the X:\addons\dayz_code folder since the current config.cpp will be takin its place.
Now open Eliteness 2.91 and select X:\addons\dayz_code folder, right click and select CreatePbo.

Lastly, move the created .pbo file to arma 2 operation arrowhead\@DayZ\addons directory replacing the current.

Re: Zombie spawn rate / amount

Posted: Sun Sep 30, 2012 6:33 am
by Sethioz
excellent, this is exactly what i needed !
i mean i know how to extract the files, i use cPBO and unRap, but i didn't know how to repack them.
will test them out tomorrow.

EDIT
eliteness does NOT run on xp.


UPDATE:
i don't think this works.
seems like zombies are server + client sided.
you need server + client side files in order for it to work.
not 100% sure tho, needs more testing. however at least i was able to modify the file without any errors

Re: Zombie spawn rate / amount

Posted: Mon Oct 01, 2012 4:02 am
by 7Ds
Ahh, I thought you were modifying your own private server? It seemed to work for me on my own server but it kills FPS w/ soo many Zombies swarmin @ u constantly.

Re: Zombie spawn rate / amount

Posted: Mon Oct 01, 2012 2:58 pm
by Sethioz
upload your dayz_anim.pbo into dropbox, i'll test with yours. how much did you put them ?
i changed 2 - 5 times more.

Re: Zombie spawn rate / amount

Posted: Mon Oct 01, 2012 4:00 pm
by MagicalSilence
It does work actually but it would be pointless to increase amount over x5 - x10 as Zombie AI function Rapes your fps as 7Ds stated already, as much the idea is good to have a lot of zombies but it's not very fun if going to get 5-10fps :) with x500 zombies .

Re: Zombie spawn rate / amount

Posted: Mon Oct 01, 2012 4:27 pm
by Sethioz
i didn't notice any zombie increase really.
as about the FPS, i don't get much lag really. mostly dead zombies lag me, not alive ones and this can be solved by reducing the time they show up or max amount of bodies.
for example if there are over 50 bodies, then old ones disappear instantly.
gonna run few more tests today, yesterday i just ended up playing not testing.