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

Need help with 3 zones

broken avatar :(
Created 9 years ago
by Lambo5888
0 Members and 1 Guest are viewing this topic.
2,268 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 7 March 2015
Last active: 3 years ago
Posts
43
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I make Music and like lambos and bmw and adidas
Signature
Rick And Morty
×
Lambo5888's Groups
ok so im in my game and all the zombies come out then when i open the second door the zombies that were there at the time go throught the windows and then no more come out. for the zombies to come out i have to walk back into the room for them to come out. in zone 2 i have 2 windows were the zombies come out and they dont come out, thats probley has to do with zone 2 and 3 not working. if you can help thank you.
Code Snippet
Plaintext
zone 1 i have
target
start_zone_spawners
targetname
start_zone
the zombie is targetname start_zone_spawners
2
target
zone_1_spawners
targetname
zone_1
the zombie is targetname zone_1_spawners

3
target
zone_2_spawners
targetname zone_2
the Zombie is targetname zone_2_spawners



ZOMBIES-----------------------------------------------------------------------------
zone 1 zombies i put it in the text but here is the photo also


zone2


zone3
Last Edit: January 04, 2017, 05:15:28 pm by Lambo5888
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
did you also add the new zone's to your mapname.gsc?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 7 March 2015
Last active: 3 years ago
Posts
43
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I make Music and like lambos and bmw and adidas
×
Lambo5888's Groups
NO how do i do that thank you
Marked as best answer by Lambo5888 9 years ago
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
You give the trigger for the door that leads into the zone a script_flag, something like 'enter_zone_1'  then you open your mapname.gsc and look for this:

Code Snippet
Plaintext
	add_adjacent_zone( "initial_zone", "zone1", "enter_zone1" );
add_adjacent_zone( "zone1", "zone2", "enter_zone2" );

both of those lines you can delete, and you put the ones for your zones in there:

Code Snippet
Plaintext
	add_adjacent_zone( "start_zone", "zone_1", "enter_zone_1" );
add_adjacent_zone( "zone_1", "zone_2", "enter_zone_2" );

the syntax is:

Code Snippet
Plaintext
	add_adjacent_zone( FIRST ZONE, SECOND ZONE, SCRIPT FLAG );
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 7 March 2015
Last active: 3 years ago
Posts
43
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I make Music and like lambos and bmw and adidas
×
Lambo5888's Groups
hey thanks man glad you were here to help out

Double Post Merge: January 04, 2017, 06:15:39 pm
Code Snippet
Plaintext
so do it like this
add_adjacent_zone( "start_zone_spawners", "zone_1_spawners", "enter_zone_1_spawners" );
add_adjacent_zone( "zone_1_spawners", "zone_2_spawners", "enter_zone_2_spawners" );

Double Post Merge: January 04, 2017, 06:20:10 pm
ok this is whats in my mapname.gsc

Code Snippet
Plaintext
// Outside East Door
//add_adjacent_zone( "start_zone_spawners", "zone_1_spawners", "enter_zone_1_spawners" );
//add_adjacent_zone( "zone_1_spawners", "zone_2_spawners", "enter_zone_2_spawners" );
//add_adjacent_zone( "zone_2_spawners", "zone_2_spawners", "enter_zone_2_spawners" );
Last Edit: January 04, 2017, 06:20:10 pm by Lambo5888
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
no, you put the targetnames of the spawners there, you need to put the targetname of the actual zone ( the info_volume )

 
Loading ...