Hey man i do not use dogs in my map but i believe this is where you would change that . In zombiemode_dogs.gsc ( which can be located in raw/ maps and added to your mapname/maps folder and ticked in launcher.
Code Snippet
Plaintext
dog_round_aftermath() {
level waittill( "last_dog_down" );
power_up_origin = level.last_dog_origin;
if( IsDefined( power_up_origin ) ) { //level thread randomize_dog_powerup_drop(power_up_origin); for ( i = 0; i < level.zombie_powerup_array.size; i++ ) { if ( level.zombie_powerup_array[i] == "full_ammo" ) <------ in dlc3 code the power ups are listed { level.zombie_powerup_index = i; break; } }
But this will not give a random drop only you may be able to add it there somehow. I did not add dogs to my map as i think not many players like the dogs rounds but i may be wrong ( + i prefer to kill the zombs )
Yes, I found this piece of code. It is necessary to change it.
Unfortunately, I'm not a professional scripter but I care , will take some time until I'll do a function that the randomly power-ups (only two power-ups: max-ammo and insta-kill. That's it.).
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
It does not work because the first dog born in an open area, the other dogs are born in a closed area. Only two power-ups needed to be random: max ammo and the insta-kill.
It does not work because the first dog born in an open area, the other dogs are born in a closed area. Only two power-ups needed to be random: max ammo and the insta-kill.
It sounds like he has dogs spwning in zones that are not activated to me XD Check your dogs are blocked by the script_flag of the trigger for the area
Harry Bo21 your script is ok. Sorry, I made a mistake.
I found the cause of the problem about the stuck dogs. I just copied the dog's script_struct from zone 3 to zone 4 and forgot to rewrite the script_struct's targetname. Therefore, when I activated the zone 3, the dogs born in the zone 4, which of course was closed.
How can I solve that dogs can only give two random powerup (max ammo and insta-kill)?