BetterDeadThanZed Posted May 27, 2014 Report Share Posted May 27, 2014 I'm trying to increase the number of zedz that spawn on my server to levels that they will present a challenge. I've already modified them to be walking zedz with increased damage, but I can't seem to get a lot to spawn. I've done the following: Set these values in init.sqf: dayz_maxLocalZombies = 80; dayz_maxGlobalZombiesInit = 80; dayz_maxGlobalZombiesIncrease = 20; dayz_maxZeds = 1000; I went into the loottables and adjusted the CfgBuildingLoot.hpp and adjusted the spawn chances for each zombie type to spawn. ie: zombieChance = 1; I also increased the minRoaming and maxRoaming numbers: minRoaming = 8; //2 maxRoaming = 18; //6 I'm just not getting the numbers of zedz spawning that I want. Anyone have any suggestions? Link to comment Share on other sites More sharing options...
0 Pro_Speedy Posted May 27, 2014 Report Share Posted May 27, 2014 This seems odd, Works fine for me. Have you tried going into the variables.sqf and changing it as it may be just reading from their and ignoring the init? That's my only suggestion sorry Link to comment Share on other sites More sharing options...
0 insertcoins Posted May 27, 2014 Report Share Posted May 27, 2014 I'm trying to increase the number of zedz that spawn on my server to levels that they will present a challenge. I've already modified them to be walking zedz with increased damage, but I can't seem to get a lot to spawn. I've done the following: Set these values in init.sqf: dayz_maxLocalZombies = 80; dayz_maxGlobalZombiesInit = 80; dayz_maxGlobalZombiesIncrease = 20; dayz_maxZeds = 1000; I went into the loottables and adjusted the CfgBuildingLoot.hpp and adjusted the spawn chances for each zombie type to spawn. ie: zombieChance = 1; I also increased the minRoaming and maxRoaming numbers: minRoaming = 8; //2 maxRoaming = 18; //6 I'm just not getting the numbers of zedz spawning that I want. Anyone have any suggestions? Tbh I have the same problem. It just spawns 6 max, no matter how ridiculous I make those settings Link to comment Share on other sites More sharing options...
0 Mochan Posted May 27, 2014 Report Share Posted May 27, 2014 hmm i did the same thing and i have a noticably amount of zombies that have increased :S ill try and look into what i did more, just hope i can get a solution for you guys :o Umm SadPanda; maybe what you could do is steal the solution from a mission file. But in all seriousness dude, I thought these variables work, will go try find something for you :D Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 27, 2014 Author Report Share Posted May 27, 2014 This seems odd, Works fine for me. Have you tried going into the variables.sqf and changing it as it may be just reading from their and ignoring the init? That's my only suggestion sorry Not really sure what you mean.... SadPanda 1 Link to comment Share on other sites More sharing options...
0 Pro_Speedy Posted May 27, 2014 Report Share Posted May 27, 2014 I'm on about this section in variables.sqf if(isNil "dayz_maxGlobalZombiesInit") then { dayz_maxGlobalZombiesInit = 15; }; if(isNil "dayz_maxGlobalZombiesIncrease") then { dayz_maxGlobalZombiesIncrease = 50; }; if(isNil "dayz_maxZeds") then { dayz_maxZeds = 100; }; Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 27, 2014 Author Report Share Posted May 27, 2014 hes saying that the variables.sqf might be calling the zombies, ergo go in there and see if you cna change the zombie settings (i highly doubt it as i do through the init like normal xD) I don't see anything in my variables.sqf that is overwriting the zombie settings. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 27, 2014 Author Report Share Posted May 27, 2014 I'm on about this section in variables.sqf if(isNil "dayz_maxGlobalZombiesInit") then { dayz_maxGlobalZombiesInit = 15; }; if(isNil "dayz_maxGlobalZombiesIncrease") then { dayz_maxGlobalZombiesIncrease = 50; }; if(isNil "dayz_maxZeds") then { dayz_maxZeds = 100; }; That just sets the defaults if they aren't defined in init.sqf. All of those values are set higher than those in my init.sqf. Link to comment Share on other sites More sharing options...
0 RimBlock Posted May 28, 2014 Report Share Posted May 28, 2014 Just had a quick search on GitHub for dayz_maxZeds and it appears in two sqf files and the variables.sqf. Take a look at SQF/dayz_code/compile/building_spawnZombies.sqf (lines 4-6) and SQF/dayz_code/compile/player_spawnCheck.sqf (Lines 132-151). I would custom compile.sqf them to local copies and add diag_log lines to confirm the values of "dayz_maxGlobalZombiesInit", "dayz_maxGlobalZombiesIncrease" and "dayz_maxZeds" when the scripts are called. It may turn out globally the 'world' is hitting a limit, even though there are only a few around your player or something is reducing values it thinks are way too high somewhere. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 28, 2014 Author Report Share Posted May 28, 2014 Thanks for the reply RimBlock. I had a look at those files, but it doesn't seem like anything there would affect the problem. Anyone else have any ideas for increasing the number of zedz that spawn? Link to comment Share on other sites More sharing options...
0 RimBlock Posted May 29, 2014 Report Share Posted May 29, 2014 The files are most likely not the problem but they do the checks before spawning zombies so would be a good starting place to work back from and find out what is going wrong. Putting in diag_log lines to report on the current zombie counts when the script is called will tell you why more zombies are not being spawned and then you can work back and find out what is calling the script and what is amending the zombie count. It is not likely to be an easy fix if changing the global variables values is not working though as something, somewhere muct be affecting either the alive' zombie count or the max zombies alive count. Link to comment Share on other sites More sharing options...
0 insertcoins Posted May 29, 2014 Report Share Posted May 29, 2014 What map you running? Link to comment Share on other sites More sharing options...
0 Brutus Posted May 29, 2014 Report Share Posted May 29, 2014 You may also use a triger sensor to spawn some more zed in some specified area ( and only in those specified area). Then you can use as many triger as you want Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 29, 2014 Author Report Share Posted May 29, 2014 What map you running? Napf. Link to comment Share on other sites More sharing options...
0 insertcoins Posted May 29, 2014 Report Share Posted May 29, 2014 You may also use a triger sensor to spawn some more zed in some specified area ( and only in those specified area). Then you can use as many triger as you want Just make the whole map one repeating trigger, spawning in 400 zeds at server start, and 400 extra for every person joining. If only the server could handle it :( Link to comment Share on other sites More sharing options...
0 Brutus Posted May 29, 2014 Report Share Posted May 29, 2014 Maybe not at this point but you can use a triger sensor on some city or specific point and let it spawn 10 more zed for each player entering the sensor area. Anyway, increasing the number of zed trought the maximumzed limits is risky as some lag may appear, especially if you use more zed+AI+missions and get a server with a lot of player in BetterDeadThanZed 1 Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 29, 2014 Author Report Share Posted May 29, 2014 I realize having too many zedz could affect performance but my plan was to edit the numbers for stability and if I was happy with their levels I'd replace the DZAI with the zeds. Unfortunately changing those numbers made no difference. Link to comment Share on other sites More sharing options...
0 insertcoins Posted May 29, 2014 Report Share Posted May 29, 2014 I realize having too many zedz could affect performance but my plan was to edit the numbers for stability and if I was happy with their levels I'd replace the DZAI with the zeds. Unfortunately changing those numbers made no difference. You could for a test remove all weapons from Dzai, and edit the skins to zedskins. As a matter of fact, Ima do this with missions in a bit, see what happens :p Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted May 29, 2014 Author Report Share Posted May 29, 2014 I modded the zedz to be slow but more powerful so I wanted to increase their count to make it more of a walking dead feeling. I don't think modded DZAI would fit that bill. Link to comment Share on other sites More sharing options...
0 insertcoins Posted May 29, 2014 Report Share Posted May 29, 2014 well, paradrop just drops emty chutes and custom spawns just.. stand there. Link to comment Share on other sites More sharing options...
0 insertcoins Posted June 8, 2014 Report Share Posted June 8, 2014 class Hospital : Default { zombieChance = 1; minRoaming = 8; maxRoaming = 10; ? Link to comment Share on other sites More sharing options...
0 Incar Posted June 8, 2014 Report Share Posted June 8, 2014 I made zombies spawn in increased amounts through custom loot like noted in the above post. Still isn't the greatest method though since they only spawn from loot spawns. Would be nice to run into large random groups in wilderness and w/e. Link to comment Share on other sites More sharing options...
0 axeman Posted June 8, 2014 Report Share Posted June 8, 2014 A decent client could quite possibly handle a fair horde of zed agents with no FSM.. It is how to mix in the reactive zeds to make them look realistic.. And who's to say all zeds must attack ? Link to comment Share on other sites More sharing options...
Question
BetterDeadThanZed
I'm trying to increase the number of zedz that spawn on my server to levels that they will present a challenge. I've already modified them to be walking zedz with increased damage, but I can't seem to get a lot to spawn. I've done the following:
Set these values in init.sqf:
I went into the loottables and adjusted the CfgBuildingLoot.hpp and adjusted the spawn chances for each zombie type to spawn. ie:
I also increased the minRoaming and maxRoaming numbers:
Link to comment
Share on other sites
22 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now