He means rounds, where there is both zombies and dogs, which use spawn_zombie thing, same thing as here:
That ^
I dont know if you could update it where if the value is -1 or less the percentage is automatically sent to 0, it wont fix the counter but it will fix the progress bar so it is less noticeable
Last Edit: November 21, 2015, 07:30:29 pm by CreepersAreEpic
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
Yes. This is because when it's a zombie round this will get the maximum amount of zombies that spawn in that round and when it's a dog round it will get the maximum amount of dogs that spawn in that round. Because call of duty uses 2 different spawning function for dog rounds / zombie round i have added it twice. These two functions will never be called together in 1 round. So therefore there shouldn't be a problem.
Yes. This is because when it's a zombie round this will get the maximum amount of zombies that spawn in that round and when it's a dog round it will get the maximum amount of dogs that spawn in that round. Because call of duty uses 2 different spawning function for dog rounds / zombie round i have added it twice. These two functions will never be called together in 1 round. So therefore there shouldn't be a problem.
ok fair enough, but what about mixed rounds? Will it actually count the dogs? They are spawned "alongside" a zombie if i recall the code correctly like :
Spawning logic() { can i spawn a zombie? yes - can i spawn a dog, if so spawn dog + zombie if no - just spawn zombie }
Yes because before a dog or zombie is spawned in a mixed round there is already a maximum enemies(Zombies/Dogs) defined. So for example the maximum enemies is 72. When a zombie spawns, 71 enemies still have to spawn(These enemies can be dogs or zombies). When a dog spawns, 70 enemies still have to spawn(These enemies can also be dogs or zombies). This will go on and on. Until it reaches 0 and no enemies will be spawned, then it will wait until all the enemies are dead and the next round will start.
My counter only grabs the maximum enemies that can spawn in that round.
Yes because before a dog or zombie is spawned in a mixed round there is already a maximum enemies(Zombies/Dogs) defined. So for example the maximum enemies is 72. When a zombie spawns, 71 enemies still have to spawn(These enemies can be dogs or zombies). When a dog spawns, 70 enemies still have to spawn(These enemies can also be dogs or zombies). This will go on and on. Until it reaches 0 and no enemies will be spawned, then it will wait until all the enemies are dead and the next round will start.
My counter only grabs the maximum enemies that can spawn in that round.
hmm... well if you say so but the way i read it was
can i spawn 1 zombie? If yes, then also try to spawn a dog, regardless of the remaining count. which would leave you on -1
But i dont remember and cant check atm. If your sure its ok, it prob is
Last Edit: November 24, 2015, 02:24:54 am by Harry Bo21
i'm sure because when a zombie is spawned the maxium is lowerd with -1, and when a mixed dog is spawned it's again lowered with -1. Before either one of those spawns it first check if it can spawn(It check if the maxium is higher than 0). Doesn't matter if it spawn first the zombie and then checks if it can spawn a dog and then spawns a dog.
i'm sure because when a zombie is spawned the maxium is lowerd with -1, and when a mixed dog is spawned it's again lowered with -1. Before either one of those spawns it first check if it can spawn(It check if the maxium is higher than 0). Doesn't matter if it spawn first the zombie and then checks if it can spawn a dog and then spawns a dog.
I really don't know what I'm doing wrong, I've followed this tutorial about 10 times, but every time I go in game, the counter stays at 0, doesn't matter how many zombies spawn... Anyone know what I did wrong?
I really don't know what I'm doing wrong, I've followed this tutorial about 10 times, but every time I go in game, the counter stays at 0, doesn't matter how many zombies spawn... Anyone know what I did wrong?
Im a noob in scripting and i managed to do it easily. Make sure you edit the script correctly. Also try to rebuild the mod
Last Edit: November 27, 2015, 07:28:34 pm by LegendHugo
I have rebuilt the mod, several times even. But it didn't make a difference, sadly.
It's very important you copy your _zombiemode.gsc / _zombiemode_dogs.gsc to your wawroot/mods/MODNAME/maps and include them in your launcher! This means checking them in the iwd file list
Last Edit: November 27, 2015, 09:23:43 pm by WhiteDevil