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

Connect Zones Issue

broken avatar :(
Created 10 years ago
by Melcher4
0 Members and 1 Guest are viewing this topic.
3,371 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 August 2015
Last active: 9 years ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Melcher4's Groups
Melcher4's Contact & Social LinksRMelcher12Melcher4
I have been using radient for a couple months, but havent messed with having more than one zone. Tired it but here is the problem. I have my 3 zones set up, and spawners are correctly linked to each zone as far as im concermed (spawners are connected to zones by yellow lines). My doors entering each room are set up and work properly, but when i enter the second and third zone, the zombies do not spawn in the second and third zones.

My target/targetnames for the zones are:
"target_name""start_zone"
"target" "start_zone_spawners"

"target_name" "room1_zone"
"target" "room1_zone_spawners"

"target_name" "room2_zone"
"target" "room2_zone_spawners"

I have a script_flag on the door going from the "start_zone" to "room1_zone" which reads:
"script_flag" "enter_room1_zone"

And the same thing leading from "room1_zone" to "room2_zone" which reads:
"script_flag" "enter_room2_zone"

Then also I edited the .gsc file which reads:
dlc3_zone_init()
{
   //add_adjacent_zone( "start_zone", "room1_zone", "enter_room1_zone" );
        //add_adjacent_zone( "room1_zone", "room2_zone", "enter_room2_zone" );
}

I am completly stumped on what I did wrong, or if I missed something completly!
Marked as best answer by Melcher4 10 years ago
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 5 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
You have // in front of those lines and that will ignore those lines. Try remove the // from the start.
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
You have // in front of those lines and that will ignore those lines. Try remove the // from the start.

Just as he said, // before anything will comment it out, the game doesn't read it. For  future reference too, /* and */ is used if you want to comment multiple lines easier. This is useful if you want to leave a note in a script, for any use that might be handy.
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 3 days ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
I would recommend looking a bit at tutorials for scription, etc, as it will at least give you an idea, just understanding how to call etc.

You don't need to know how to script, but it would be of benefit to understand basic syntax, which is very similar to JS, C++, etc.. :)

http://ugx-mods.com/wiki/index.php?title=Scripting_Guide

broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 August 2015
Last active: 9 years ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Melcher4's Groups
Melcher4's Contact & Social LinksRMelcher12Melcher4
I removed the "//" from the scripting but it still does not work. The zombies continue to spawn from the first zone, but after purchasing the door to the 2nd zone, the zone 2 zombies don't spawn, and the same thing when entering the third zone.

Anything else that I could possible be doing wrong?
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 5 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Have you added the script_flag to the trigger of the door. Your script flag for that zone must match what you have named the flag in GSC. The script flag is the third.

So it goes ....   Name of zone , name of adjacent zone ( one next to it ) then the scipt_flag t activate the zone. The zomb ies will not spawn until the scriptflag has been triggered.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 August 2015
Last active: 9 years ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Melcher4's Groups
Melcher4's Contact & Social LinksRMelcher12Melcher4
Yes I have done so but still nothing.

 I got frustrated and scrapped the little test map I was working on and made a new one. This time around when I had had some better luck. Only made two rooms and when I enter the second room, it gives me a message saying that room two was activated and the zombies spawn.

I don't entirely know what I did differently this time, but it worked.

The only thing I can think of is that the first time I didn't build the mod again after I changed the .gsc file. Does that have anything to do with it?

Thanks for the help!
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 5 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Yes, you must build your mod after changing scripts, unless you change them directly in the built files, and compile after changing your map.
Last Edit: November 21, 2015, 07:21:09 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 August 2015
Last active: 9 years ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Melcher4's Groups
Melcher4's Contact & Social LinksRMelcher12Melcher4
Yes, you must build your mod after changing scripts, unless you change them directly in the built files, and compile after changing your map.

Perfect, got it all figured out. Thanks!
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
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 ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Perfect, got it all figured out. Thanks!
mark makecents answer as "best answer"
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 5 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
mark makecents answer as "best answer"

Nah, pcmodder was right, they just didn't build.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Nah, pcmodder was right, they just didn't build.
lol ok, then can you mark PCmodder please ;)

 
Loading ...