UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Menu option for disabling hellhounds bugs out zones?

broken avatar :(
Created 12 years ago
by JR-Imagine
0 Members and 1 Guest are viewing this topic.
2,819 views
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 5 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
Signature
"Deleted code is debugged code." - Jeff Sickel
"Mathematicians stand on each others' shoulders and computer scientists stand on each others' toes." - Richard Hamming
×
JR-Imagine's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
So I've been looking into this issue for quite some time now and I can't seem to get it working in any way, I've changed this:
Code Snippet
Plaintext
	maps\_zombiemode_dogs::init();

Into this:
Code Snippet
Plaintext
	jr_usedogs = getDvarInt("jr_usedogs");
if (jr_usedogs == 1)
{
maps\_zombiemode_dogs::init();
}
In my _zombiemode.gsc.

And for some reason, whenever I disable the hellhounds in the menu, they do get disabled BUT my zones don't work anymore, only the start_zone works. I've rechecked my zones and tried with dogs enabled and everything works just fine. I really want this menu option in Rise and I would greatly appreciate any help.
Last Edit: December 13, 2013, 06:37:49 pm by JR-Imagine
Marked as best answer by JR-Imagine 12 years ago
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
See this line in maps\_zombiemode_dogs.gsc?
Code Snippet
Plaintext
level thread [[level.dog_round_track_override]]();
Add an if there. It should disable dogs properly without disabling zones.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
also keep in mind mixed spawning in later rounds
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 5 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
×
JR-Imagine's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
See this line in maps\_zombiemode_dogs.gsc?
Code Snippet
Plaintext
level thread [[level.dog_round_track_override]]();
Add an if there. It should disable dogs properly without disabling zones.
Thanks dude! Works like a charm now! :D

also keep in mind mixed spawning in later rounds
Yeah I've disabled that. :) (Actually, I'll add an option for that...)

 
Loading ...