UGX-Mods

Call of Duty 5: World at War => Help Desk => Topic started by: gustoman on May 10, 2017, 10:57:32 pm

Title: problem with zoning
Post by: gustoman on May 10, 2017, 10:57:32 pm
Hello, I'm working on big map. I know how to make zones and how to activate them with trigger (when u buy doors or debris) . But problem is that my map is big and there are many ways go around. I'm in zone1 and I want make debris when u buy it, it will activate zone2. But also if you go other way and I will buy debris from other side zone2 to zone1 it works? ..... I have some problem with it.

I'm not talking about 1 area with 2 ways out. I'm talking about 1 area that have debris and if u can buy it same debris from both sites?
Title: Re: problem with zoning
Post by: Riptide1106 on May 11, 2017, 12:26:39 am
in your script list arguments for every condition or order that may occur. Zones with multiple entrances or exits must be set up for every possible outcome. Look at this excerpt from requiem:
Code Snippet
Plaintext
        maps\_zombiemode_zone_manager::add_adjacent_zone( "barn",		"barn_backyard",	"enter_barn_backyard" );
maps\_zombiemode_zone_manager::add_adjacent_zone( "barn", "truck_yard", "enter_truck_yard" );
maps\_zombiemode_zone_manager::add_adjacent_zone( "underground_power", "underground_farmhouse", "enter_underground_farmhouse" );
maps\_zombiemode_zone_manager::add_adjacent_zone( "farmhouse_zone", "underground_farmhouse", "enter_underground_farmhouse" );

notice the barn has multiple exits so each condition must be listed. Also the underground farmhouse has two entrances, so each way in must be listed. 

setting up your zones in script may be really long, but every possible order a player might open needs to be listed
Title: Re: problem with zoning
Post by: gustoman on May 11, 2017, 02:14:28 am
in your script list arguments for every condition or order that may occur. Zones with multiple entrances or exits must be set up for every possible outcome. Look at this excerpt from requiem:
Code Snippet
Plaintext
        maps\_zombiemode_zone_manager::add_adjacent_zone( "barn",		"barn_backyard",	"enter_barn_backyard" );
maps\_zombiemode_zone_manager::add_adjacent_zone( "barn", "truck_yard", "enter_truck_yard" );
maps\_zombiemode_zone_manager::add_adjacent_zone( "underground_power", "underground_farmhouse", "enter_underground_farmhouse" );
maps\_zombiemode_zone_manager::add_adjacent_zone( "farmhouse_zone", "underground_farmhouse", "enter_underground_farmhouse" );

notice the barn has multiple exits so each condition must be listed. Also the underground farmhouse has two entrances, so each way in must be listed. 

setting up your zones in script may be really long, but every possible order a player might open needs to be listed
thanks you and that's what I did what I tried maybe I  did something bad I was doing my zones all day and its not working. Some of them activate more zones and for some of them its not working. I really need special help here who can do this for me. If you have experience with this please can u help me I will credit u. I'm working on Dust2 if u know that map so there are many ways.