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

Zone Help

broken avatar :(
Created 10 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
2,685 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Anyone know of a good way of doing my zones?

Dont really know how zones work, i think i did it right but knowing me i prob did something wrong

RED - Out of bounds
WHITE - Lower Level
WHITE-CROSS - Door / Debris

Zones 2-7 are above start_zone and Zone1

Layout


start_zone - 2 Spawn rooms from Verruckt
zone1 - Thompson room
zone2 - Room above Thompson room
zone3 - Speed coal room
zone4 - Kitchen (Room inbetween power and Speed cola)
zone5 - Power room
zone6 - STG44 room (Showers / Toilet)
zone7 - MP40 room (Room above Juggernog spawn room)

My current zone setup
Code Snippet
Plaintext
add_adjacent_zone("start_zone", "zone1", "enter_zone1");
add_adjacent_zone("start_zone", "zone7", "enter_zone7");
add_adjacent_zone("zone1", "zone2", "enter_zone2");
add_adjacent_zone("zone1", "start_zone", "enter_start_zone");
add_adjacent_zone("zone2", "zone3", "enter_zone3");
add_adjacent_zone("zone2", "zone1", "enter_zone1");
add_adjacent_zone("zone3", "zone4", "enter_zone4");
add_adjacent_zone("zone3", "zone2", "enter_zone2");
add_adjacent_zone("zone4", "zone5", "enter_zone5");
add_adjacent_zone("zone4", "zone3", "enter_zone3");
add_adjacent_zone("zone5", "zone6", "enter_zone6");
add_adjacent_zone("zone4", "zone4", "enter_zone4");
add_adjacent_zone("zone6", "zone7", "enter_zone7");
add_adjacent_zone("zone6", "zone5", "enter_zone5");
add_adjacent_zone("zone7", "zone6", "enter_zone6");
add_adjacent_zone("zone7", "start_zone", "enter_start_zone");
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
That looks correct, but isn't zone 7 also a start zone?  will enter_start_zone work with a door that opens on power?

Edit: You're connecting start_zone to zone_7, then later connecting zone_7 to start_zone. Don't think you need both?
Last Edit: February 01, 2016, 09:07:08 am by Exofile
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
That looks correct, but isn't zone 7 also a start zone?  will enter_start_zone work with a door that opens on power?

Edit: You're connecting start_zone to zone_7, then later connecting zone_7 to start_zone. Don't think you need both?

I probally explained this all wrong basicly how would i go about making zones for Verruckt i tried looking at Verruckts scripts but there seems to be no zoning system in Verruckt anyways heres abit more infomation

RED - Out of bounds
WHITE - Lower Level
WHITE-CROSS - Door / Debris

Zones 2-7 are above start_zone and Zone1

Layout


start_zone - 2 Spawn rooms from Verruckt
zone1 - Thompson room
zone2 - Room above Thompson room
zone3 - Speed coal room
zone4 - Kitchen (Room inbetween power and Speed cola)
zone5 - Power room
zone6 - STG44 room (Showers / Toilet)
zone7 - MP40 room (Room above Juggernog spawn room)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
I'm confused on whether you're saying your zones are setup different or you want something special to happen or not, but basic zoning is much simpler.

Nate put together a decent video explaining a pretty simple method of zoning:
http://ugx-mods.com/forum/index.php/topic,9875.0.html

If your looking to do something else, then ignore this.

Currently you are activating zone 1, zone 7 and start_zone (which is already activated of course) at the same time with one door, which doesn't seem right to me based on your layout, unless I am missunderstanding. Same goes with a few others, and you have many being told to be adjacent more than once by multiple flags.


What I think you want:

Code Snippet
Plaintext
add_adjacent_zone("start_zone","zone1","start_zone1");
add_adjacent_zone("start_zone","zone7","start_zone7");
add_adjacent_zone("zone1",zone2","zone1_zone2");
add_adjacent_zone("zone2","zone3","zone2_zone3");
add_adjacent_zone("zone3","zone4","zone3_zone4");
add_adjacent_zone("zone4","zone5","zone4_zone5");
add_adjacent_zone("zone5","zone6","zone5_zone6");
add_adjacent_zone("zone6","zone7","zone6_zone7");


So any trigger between the two zones that are adjacent would have the same script_flag kvp as seen above. If your map is linear anyway. If not, please correct me. (if say zone 5 can go to zone 7, then that needs added)
Last Edit: February 01, 2016, 03:34:31 pm by MakeCents
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
I'm confused on whether you're saying your zones are setup different or you want something special to happen or not, but basic zoning is much simpler.

Nate put together a decent video explaining a pretty simple method of zoning:
http://ugx-mods.com/forum/index.php/topic,9875.0.html

If your looking to do something else, then ignore this.

Currently you are activating zone 1, zone 7 and start_zone (which is already activated of course) at the same time with one door, which doesn't seem right to me based on your layout, unless I am missunderstanding. Same goes with a few others, and you have many being told to be adjacent more than once by multiple flags.


What I think you want:

Code Snippet
Plaintext
add_adjacent_zone("start_zone","zone1","start_zone1");
add_adjacent_zone("start_zone","zone7","start_zone7");
add_adjacent_zone("zone1",zone2","zone1_zone2");
add_adjacent_zone("zone2","zone3","zone2_zone3");
add_adjacent_zone("zone3","zone4","zone3_zone4");
add_adjacent_zone("zone4","zone5","zone4_zone5");
add_adjacent_zone("zone5","zone6","zone5_zone6");
add_adjacent_zone("zone6","zone7","zone6_zone7");


So any trigger between the two zones that are adjacent would have the same script_flag kvp as seen above. If your map is linear anyway. If not, please correct me. (if say zone 5 can go to zone 7, then that needs added)

What im wanting is just simple zones that will allow the player to go which ever way they want around the map (BTW this is my Verruckt remake if you didnt notice so the whole map is a giant circle)

after speaking whith HitmanVere in UGX chat he said to do something like this

Code Snippet
Plaintext
add_adjacent_zone("start_zone", "zone1", "start_zone_TO_zone1");
add_adjacent_zone("start_zone", "zone7", "start_zone_TO_zone7");

add_adjacent_zone("zone1", "start_zone", "zone1_TO_start_zone");
add_adjacent_zone("zone1", "zone2", "zone1_TO_zone2");

add_adjacent_zone("zone2", "zone1", "zone2_TO_zone1");
add_adjacent_zone("zone2", "zone3", "zone2_TO_zone3");

add_adjacent_zone("zone3", "zone2", "zone3_TO_zone2");
add_adjacent_zone("zone3", "zone4", "zone3_TO_zone4");

add_adjacent_zone("zone4", "zone3", "zone4_TO_zone3");
add_adjacent_zone("zone4", "zone5", "zone4_TO_zone5");

add_adjacent_zone("zone5", "zone4", "zone5_TO_zone4");
add_adjacent_zone("zone5", "zone6", "zone5_TO_zone6");

add_adjacent_zone("zone6", "zone5", "zone6_TO_zone5");
add_adjacent_zone("zone6", "zone7", "zone6_TO_zone7");

add_adjacent_zone("zone7", "zone6", "zone7_TO_zone6");
add_adjacent_zone("zone7", "start_zone", "zone7_TO_start_zone");

Im mainly askign since i dont know how the zoning system works and dont want to fuck anything up
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
That's too much. All you need is what I did.

Edit:
You can use the same flag for both directions between zones. That's why it was too much. You don't need 5 to 6 and 6 to 5 and have separate script_flags. Although I don't see why it wouldn't work, just much more work and chance for errors.


Code Snippet
Plaintext
add_adjacent_zone("start_zone", "zone1", "start_zone_TO_zone1");
add_adjacent_zone("start_zone", "zone7", "start_zone_TO_zone7");

//add_adjacent_zone("zone1", "start_zone", "zone1_TO_start_zone");
add_adjacent_zone("zone1", "zone2", "zone1_TO_zone2");

//add_adjacent_zone("zone2", "zone1", "zone2_TO_zone1");
add_adjacent_zone("zone2", "zone3", "zone2_TO_zone3");

//add_adjacent_zone("zone3", "zone2", "zone3_TO_zone2");
add_adjacent_zone("zone3", "zone4", "zone3_TO_zone4");

//add_adjacent_zone("zone4", "zone3", "zone4_TO_zone3");
add_adjacent_zone("zone4", "zone5", "zone4_TO_zone5");

//add_adjacent_zone("zone5", "zone4", "zone5_TO_zone4");
add_adjacent_zone("zone5", "zone6", "zone5_TO_zone6");

//add_adjacent_zone("zone6", "zone5", "zone6_TO_zone5");
add_adjacent_zone("zone6", "zone7", "zone6_TO_zone7");

//add_adjacent_zone("zone7", "zone6", "zone7_TO_zone6");
//add_adjacent_zone("zone7", "start_zone", "zone7_TO_start_zone");


Each door would have the same trigger on both sides. Just copy it and put it on the other side of door, no need for different script_flags. Unless you make it a one way zone, its added to each adjacent array. That tut with a vid link should help explain it better if you haven't watched it yet.
Last Edit: February 01, 2016, 03:57:38 pm by MakeCents

 
Loading ...