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

dayz247

Creating zombie spawn points

Recommended Posts

My apologies if this is within another forum post, I've been searching all day and haven't found anything that would work.

I am trying to create zombie spawn points, without having a "visible" building and no loot spawns.

I have tried placing dog houses under ground, but they seem to end up above ground once merged and uploaded to the server.

I have tried created invisible Heli spots (H-invisible) then modifying config.cpp with the code below to have it spawn zombies, but this caused the game to get stuck at "waiting for host"

H-invisible spawn code:


class ForestRoaming: Default {
lootChance = 0;
zombieChance = 0.9;
zombieClass[] = {"zZombie_Base","zZombie_Base","z_teacher","z_suit1","z_suit2","z_soldier","z_soldier_heavy","z_policeman"};
minRoaming = 0;
maxRoaming = 10;
};
class HeliHEmpty: ForestRoaming {};

Does anyone know of a working way (or how to fix either of the above two issues) to create zombie spawn points without visible buildings and loot?

Share this post


Link to post
Share on other sites

Theres a post on OpenDayZ.net that talks about this, and thanks "Mamu1234" for this:

In your config.cpp


class Woodspawn { // Woodpawn-Test
zombieChance = 0.45;
minRoaming = 1;
maxRoaming = 5;
zombieClass[] = {"zZombie_Base","z_hunter","z_villager1"};
};

then


class HeliHEmpty: Woodspawn {};

Edit: Maybe since you have that loot has a percentage to spawn (even if 0) the server expects their to be loot and since you dont have any set loot thats causing the server to not load. Im still learning code so this theory may be wrong, just an idea!

Edited by *Exile* Sami

Share this post


Link to post
Share on other sites

Theres a post on OpenDayZ.net that talks about this, and thanks "Mamu1234" for this:

In your config.cpp


class Woodspawn { // Woodpawn-Test
zombieChance = 0.45;
minRoaming = 1;
maxRoaming = 5;
zombieClass[] = {"zZombie_Base","z_hunter","z_villager1"};
};

then


class HeliHEmpty: Woodspawn {};

Both of these are placed in the config.cpp right?

Share this post


Link to post
Share on other sites

well, that solved the server hanging issue, but still no zombie spawn lol.

Share this post


Link to post
Share on other sites

Hmm, check your server.RPT and see if theirs anything fishy in there

Just normal junk showing my login, write[pass] etc etc .... i spawned 500m from the helihempty , ran to it... no zombies lol.

Driving me up the wall.

Share this post


Link to post
Share on other sites

×