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 problems

broken avatar :(
Created 5 years ago
by Pappinator97
0 Members and 1 Guest are viewing this topic.
1,631 views
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 27 March 2016
Last active: 2 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Pappinator97's Groups
Pappinator97's Contact & Social Links
Hello folks. I'm relatively new to the WaW modding; I'm trying to make my map and I worked on it for a year and I almost finished to mapping all the different areas. So, some days ago, I focussed myself on the Zoning part of the map. And I have some issues: I don't know why but the adjacent doors don't work as they should, I cannot buy them in game but the Triggers and the Brushmodels are correct, they have all the keys and all the stuff which they need. I don't know so much about this part of build a map and I tried disperatly to link all the zones togheter, but in all the tries I did, they never worked. An hand is welcome, I thank you all beforehand! :D

This is a rapid sketch I made of the playble areas:
https://imgur.com/Fi8TM5n

And this is what I declared in the mapname.gsc:

add_adjacent_zone( "start_zone",          "palestra_zone",   "enter_palestra_zone");
add_adjacent_zone( "start_zone",          "est1_zone",          "enter_est1_zone" );
add_adjacent_zone( "palestra_zone",    "scale_zone",        "enter_scale_zone");
add_adjacent_zone( "palestra_zone",    "fuori_zone",         "enter_fuoriPalestra_zone");
add_adjacent_zone( "scale_zone",         "lab_zone",            "enter_lab_zone");
add_adjacent_zone( "scale_zone",         "fuori_zone",         "enter_fuoriScale_zone" );
add_adjacent_zone( "est1_zone",           "est2_zone",         "enter_est2_zone" );
add_adjacent_zone( "est1_zone",          "fuori_zone",         "enter_fuoriEst1_zone" );
add_adjacent_zone( "est2_zone",          "fuori_zone",         "enter_fuoriEst2_zone" );
add_adjacent_zone( "lab_zone",            "lab_info_zone",   "enter_lab_info_zone" );
 [img]
broken avatar :(
×
broken avatar :(
Location: alDurrës
Date Registered: 6 June 2017
Last active: 9 months ago
Posts
222
Respect
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
My published cod maps:

Mansion of the Undead
Buros Der Toten
Minions by k3nt
×
klevi's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Well, here is a tutorial about zoning ---> https://www.youtube.com/watch?v=nEvuyhU-sPw&list=PLwlA8xZdjWAg0o9EGpticKPRm8LYZ6yk2&index=24Also be carefull you don't do      //   before zone lines because it will ignore that line and of course the zone won't work. 
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 27 March 2016
Last active: 2 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Pappinator97's Groups
Pappinator97's Contact & Social Links
Well, here is a tutorial about zoning ---> https://www.youtube.com/watch?v=nEvuyhU-sPw&list=PLwlA8xZdjWAg0o9EGpticKPRm8LYZ6yk2&index=24Also be carefull you don't do      //   before zone lines because it will ignore that line and of course the zone won't work.
I saw exactly this tutorial for making my zones. I know that the // lines are  comments in  C++.
I did some debugs with the noclip in-game to test some doors only some of them works correctly. This is what I declared in the trigger of the enter_palestra_zone (which is one of the first door that the player can buy, near the spawn zone, and it doesn't work, I cannot open it in game, same for a lot of other doors)

This is the Trigger flags:

https://imgur.com/6g9AGBV

And this is the Brushmodel flags:

https://imgur.com/zBBhuTt

(The doors are all similar to this of course, I changed only the Target and the Flags for each of them)
The really strange thing is that I tried to comments all the zones except for the palestra_zone and the start_zone just for testing the door, but it didn't worked anyway
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 5 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
I saw exactly this tutorial for making my zones. I know that the // lines are  comments in  C++.
I did some debugs with the noclip in-game to test some doors only some of them works correctly. This is what I declared in the trigger of the enter_palestra_zone (which is one of the first door that the player can buy, near the spawn zone, and it doesn't work, I cannot open it in game, same for a lot of other doors)

This is the Trigger flags:

https://imgur.com/6g9AGBV

And this is the Brushmodel flags:

https://imgur.com/zBBhuTt

(The doors are all similar to this of course, I changed only the Target and the Flags for each of them)
The really strange thing is that I tried to comments all the zones except for the palestra_zone and the start_zone just for testing the door, but it didn't worked anyway
It's difficult to read what's the problem here so I am gonna ask you for more detail.
Does the door not open because you have money problems?
Does the door not open and you see a hand symbol on it without text?
Does the door open but zombies do not spawn?
Does the door open but you will get a massive frame drop?

The kvps seems to look good but maybe the target is wrong?
Before you try anything first check it on a door without using zoning and if that works try it the zoning door again.
Last Edit: April 23, 2019, 05:40:51 pm by gympie6
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 27 March 2016
Last active: 2 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Pappinator97's Groups
Pappinator97's Contact & Social Links
It's difficult to read what's the problem here so I am gonna ask you for more detail.Does the door not open because you have money problems?
Does the door not open and you see a hand symbol on it without text?Does the door open but zombies do not spawn?Does the door open but you will get a massive frame drop?

The kvps seems to look good but maybe the target is wrong?
Before you try anything first check it on a door without using zoning and if that works try it for that door again.
Thank you for the response! Nope,  simply it cannot be opened and it doesn't show any pop-up in-game when I approach it, even with the trigger right configured. And that's strange beacouse some other doors in the map has the same issue, but I controlled all the KVPS and they are all targeting the right enter_zone\door.
Nothing of that you write happens. It simply cannot be opened in-game.
I leave you an image:



This is the (in)famous door I showed the KVPS. As you can see, even if I approach it, nothing is showed to the player. This other one, for example, works correctly:



 The KVPS for this other door was the same as the other of course.
The last thing I could try is to remake the door that didn't work to zero
Last Edit: April 23, 2019, 05:49:39 pm by Pappinator97
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 5 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
Thank you for the response! Nope,  simply it cannot be opened and it doesn't show any pop-up in-game when I approach it, even with the trigger right configured. And that's strange beacouse some other doors in the map has the same issue, but I controlled all the KVPS and they are all targeting the right enter_zone\door.
Nothing of that you write happens. It simply cannot be opened in-game.
I leave you an image:

(Image removed from quote.)

This is the (in)famous door I showed the KVPS. As you can see, even if I approach it, nothing is showed to the player. This other one, for example, works correctly:

(Image removed from quote.)

 The KVPS for this other door was the same as the other of course.
The last thing I could try is to remake the door that didn't work to zero
I think I know what your problem is, look at this screenshot
You see my triggers are placed outside the clip.

I did that because if you walk into a trigger you need to touch the middle point of that trigger.
If you can't do that because the trigger is too small or the door is too huge then it could be you can't not find that trigger.
It's a stupid thing...



Last Edit: April 23, 2019, 05:57:28 pm by gympie6
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 27 March 2016
Last active: 2 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Pappinator97's Groups
Pappinator97's Contact & Social Links
oooh my bad! You're right, that was the problem. I feel soo stupid in this moment. :trex:
I'd like to ask you another simple question: in the screen you've posted you have two different triggers. Do they open the same door but from different directions, right? I want to do a thing like this in my map, how can I do that? Simply I need to add a "reverse zone" (for example from palestra_zone to start_zone calling the flag enter_start_zone) and I can link that trigger to the same door?
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 5 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
oooh my bad! You're right, that was the problem. I feel soo stupid in this moment. :trex:
I'd like to ask you another simple question: in the screen you've posted you have two different triggers. Do they open the same door but from different directions, right? I want to do a thing like this in my map, how can I do that? Simply I need to add a "reverse zone" (for example from palestra_zone to start_zone calling the flag enter_start_zone) and I can link that trigger to the same door?
No problem at all, I also fall for that thing sometimes. :)
Yes and yes you can copy the trigger and change the script_flag.
Don't forget to change the zoning in your MAPNAME.gsc

Example:
add_adjacent_zone( "parcour_zone", "binnenhof_zone", "enter_binnenhof_zone" );
add_adjacent_zone( "binnenhof_zone", "parcour_zone", "enter_parcour_zone" );
Last Edit: April 23, 2019, 06:47:11 pm by gympie6

 
Loading ...