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

Zoning Problem: Zombie Spawning Randomly

broken avatar :(
Created 12 years ago
by iSayPwn
0 Members and 2 Guests are viewing this topic.
2,478 views
broken avatar :(
×
broken avatar :(
Location: usThe Moon
Date Registered: 29 December 2013
Last active: 8 years ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
iSayPwn's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
iSayPwn's Contact & Social LinksiSayPwniSayPwniSayPwniSayPwniSayPwniSayPwniSayPwn
Hello, everyone. I recently encountered an extremely obnoxious zoning problem. So basically in my map you can take two paths which lead to one location. In Zone 2 you have the option to go to (a) Zone 3 or (b) Zone 4. Once you go to (a) you can proceed to Zone 5 by taking a staircase, same applies to (b) where you proceed to Zone 6. Zone 5 and 6 lead up to Zone 7. (pictures are below) I have also scripted my zones like this:
       
Code Snippet
Plaintext
add_adjacent_zone( "start_zone", "zone1", "enter_zone1" );
add_adjacent_zone( "zone1", "zone2", "enter_zone2" );
add_adjacent_zone( "zone2", "zone3", "enter_zone3" );
add_adjacent_zone( "zone2", "zone4", "enter_zone4" );
add_adjacent_zone( "zone3", "zone5", "enter_zone5" );
add_adjacent_zone( "zone4", "zone6", "enter_zone6" );
add_adjacent_zone( "zone5", "zone7", "enter_zone7" );
add_adjacent_zone( "zone6", "zone7", "enter_zone7" );

Previously I also attempted to make all the zones work vice versa (like this: add_adjacent_zone( "zone7", "zone5", "enter_zone5" );

Once I enter Zone 7 [from either Zone 6 or 5] zombies began spawning on the opposite side which I didn't open.  (If I opened from Zone 5 zombies from Zone 6 would be spawning).

I have also tried to tackle this problem from various different ways:
1) I checked my KVP's
            a) for the zombie spawns. (They were linked to the correct zones)
            b) for the doors + triggers. (Also linked to the correct zones + correct targernames)
2) Checked my volume
       
I tried to change up some random variables too but no luck. Anyone know how to fix this? Thanks.






Last Edit: August 12, 2014, 08:10:01 pm by SajeOne
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 15 March 2014
Last active: 7 years ago
Posts
214
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
WaW Scriptor
Signature
WaW Scriptor
×
PROxFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
PROxFTW's Contact & Social LinksPROxFTWPROxFTWPROxFTWPROxFTW
You seem to have 2 enter_zone7's. I believe only 1 is allowed. So maybe switch one of them to a different name.
broken avatar :(
×
broken avatar :(
Location: usThe Moon
Date Registered: 29 December 2013
Last active: 8 years ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
iSayPwn's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
iSayPwn's Contact & Social LinksiSayPwniSayPwniSayPwniSayPwniSayPwniSayPwniSayPwn
You seem to have 2 enter_zone7's. I believe only 1 is allowed. So maybe switch one of them to a different name.

How would that make sense though? I have seen multiple maps where it takes two paths into a single zone, haha.  How would I rename a zone that has a set name?
Marked as best answer by iSayPwn 12 years ago
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 15 March 2014
Last active: 7 years ago
Posts
214
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
WaW Scriptor
×
PROxFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
PROxFTW's Contact & Social LinksPROxFTWPROxFTWPROxFTWPROxFTW
How would that make sense though? I have seen multiple maps where it takes two paths into a single zone, haha.  How would I rename a zone that has a set name?
Here try. I don't know if this will work but people who usually have problems with zones, this is usually how it is fixed.
Code Snippet
Plaintext
add_adjacent_zone( "start_zone", "zone1", "enter_zone1" );
   add_adjacent_zone( "zone1", "zone2", "enter_zone2" );
   add_adjacent_zone( "zone2", "zone3", "enter_zone3" );
   add_adjacent_zone( "zone2", "zone4", "enter_zone4" );
   add_adjacent_zone( "zone3", "zone5", "enter_zone5" );
   add_adjacent_zone( "zone4", "zone6", "enter_zone6" );
   add_adjacent_zone( "zone5", "zone7", "enter_zone7" );
   add_adjacent_zone( "zone6", "zone7", "enter_zone7_2" );
I really don't know how to set up zones at this point to work from 1 spot to another but.. Maybe someone can help from here.
Last Edit: August 12, 2014, 07:52:00 pm by PROxFTW
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 7 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
@ISayPwn In the future please post all repetitive code or console output in code tags. I have edited the original post. One or two lines isn't an issue but when you are posting more than that there needs to be code tags.
broken avatar :(
×
broken avatar :(
Location: usThe Moon
Date Registered: 29 December 2013
Last active: 8 years ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
iSayPwn's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
iSayPwn's Contact & Social LinksiSayPwniSayPwniSayPwniSayPwniSayPwniSayPwniSayPwn
Here try. I don't know if this will work but people who usually have problems with zones, this is usually how it is fixed.
Code Snippet
Plaintext
add_adjacent_zone( "start_zone", "zone1", "enter_zone1" );
   add_adjacent_zone( "zone1", "zone2", "enter_zone2" );
   add_adjacent_zone( "zone2", "zone3", "enter_zone3" );
   add_adjacent_zone( "zone2", "zone4", "enter_zone4" );
   add_adjacent_zone( "zone3", "zone5", "enter_zone5" );
   add_adjacent_zone( "zone4", "zone6", "enter_zone6" );
   add_adjacent_zone( "zone5", "zone7", "enter_zone7" );
   add_adjacent_zone( "zone6", "zone7", "enter_zone7_2" );
I really don't know how to set up zones at this point to work from 1 spot to another but.. Maybe someone can help from here.

Nice! It worked. I also have found an alternate method.
Code Snippet
Plaintext
add_adjacent_zone("start_zone","zone2","enter_zone2_from_start");
add_adjacent_zone("start_zone","zone3","enter_zone3_from_start");
add_adjacent_zone("zone2","zone3","enter_zone3_from_zone2");
add_adjacent_zone("zone3","zone2","enter_zone2_from_zone3");

But you were right, thanks, man!

Double Post Merge: August 12, 2014, 08:18:08 pm
@ISayPwn In the future please post all repetitive code or console output in code tags. I have edited the original post. One or two lines isn't an issue but when you are posting more than that there needs to be code tags.

Gotcha, will make sure to do so
Last Edit: August 12, 2014, 08:18:08 pm by iSayPwn

 
Loading ...