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's not working

broken avatar :(
Created 11 years ago
by swakking
0 Members and 1 Guest are viewing this topic.
1,684 views
broken avatar :(
×
broken avatar :(
Location: usAlabama
Date Registered: 20 June 2013
Last active: 4 years ago
Posts
40
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
swakking's Groups
swakking's Contact & Social LinksAFK_GUYMan Baby
so i just got into mapping and i put up my zone's and made the kpv's for the door's and zombie's and they spawn but when i go past room 3 into room 4 the zombie's turn back and go to spawn can anyone help. Also my guns turn red when i pap them.
Marked as best answer by swakking 11 years ago
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
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.
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
Quote
Also my guns turn red when i pap them.

Place a light grid and a reflection node

Quote
past room 3 into room 4 the zombie's turn back and go to spawn can anyone help

Is dynamic paths checked on the door?
broken avatar :(
×
broken avatar :(
Location: usAlabama
Date Registered: 20 June 2013
Last active: 4 years ago
Posts
40
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
swakking's Groups
swakking's Contact & Social LinksAFK_GUYMan Baby
I'm so dumb i forgot to do that. but i have one more problem i got the ugx sa and script placer but i don't understand how to set up my map's zone's in the .gsc    example       
Code Snippet
Plaintext
 ///ScriptDocBegin
"Name: add_adjacent_zone( <zone_1>, <zone_2>, <flag>, <one_way> )"
"Summary: Sets up adjacent zones."
"MandatoryArg: <zone_1>: Name of first Info_Volume"
"MandatoryArg: <zone_2>: Name of second Info_Volume"
"MandatoryArg: <flag>: Flag to be set to initiate zones"
"OptionalArg: <one_way>: Make <zone_1> adjacent to <zone_2>. Defaults to false."
"Example: add_adjacent_zone( "receiver_zone", "outside_east_zone", "enter_outside_east" );"
///ScriptDocEnd



WTF do i do
Last Edit: August 19, 2015, 08:27:20 am by lukkie1998
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 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
Code Snippet
Plaintext
dlc3_zone_init()
{
        //Start
        add_adjacent_zone( "start_zone",      "hall_zone",            "enter_start_right"); --- Start room to right
        add_adjacent_zone( "start_zone",      "stairs_zone",            "enter_start_left");     ---Start room to left
       
        //Hall
        add_adjacent_zone( "hall_zone",       "warehouse_zone",            "enter_warehouse_building");
        add_adjacent_zone( "hall_zone",       "start_zone",            "enter_start_rear");
       

        //Stairs
        add_adjacent_zone( "stairs_zone",     "tower_zone",            "enter_tower_stair");
        add_adjacent_zone( "hall_zone",       "start_zone",            "enter_start_front");
         
        //Warehouse
        add_adjacent_zone( "warehouse_zone",  "control_zone",              "enter_control_left");
        add_adjacent_zone( "warehouse_zone",  "hall_zone",                 "enter_hall_right");

        //Control
        add_adjacent_zone( "control_zone",    "mainframe_zone",            "enter_mainframe_area");
        add_adjacent_zone( "control_zone",    "tower_zone",                "enter_tower_main");
        add_adjacent_zone( "control_zone",    "warehouse_zone",            "enter_warehouse_right");
       
        //Tower
        add_adjacent_zone( "tower_zone",      "roof_zone",                 "enter_roof_left");
        add_adjacent_zone( "tower_zone",      "stairs_zone",               "enter_stairs_top");
        add_adjacent_zone( "tower_zone",      "wuen_zone",                 "enter_wuen_left");
        add_adjacent_zone( "tower_zone",      "control_zone",              "enter_control_main");
       
        //Roof
        add_adjacent_zone( "roof_zone",       "tele_zone",                 "enter_tele_area");
        add_adjacent_zone( "roof_zone",       "tower_zone",                "enter_roof_exit");
        add_adjacent_zone( "roof_zone",       "bar_zone",                  "enter_bar_area");
       
        //Bar
        add_adjacent_zone( "bar_zone",        "roof_zone",                 "enter_roof_right");
        add_adjacent_zone( "bar_zone",        "wuen_zone",                 "enter_wuen_building");
       
        //Wuen
        add_adjacent_zone( "wuen_zone",       "tower_zone",                "enter_tower_return");
        add_adjacent_zone( "wuen_zone",       "bar_zone",                  "enter_bar_rear");

        //Tele
        add_adjacent_zone( "tele_zone",       "roof_zone",                "enter_tele_rear");

}

So u have to put the zone that you are in  , then add the adjacent zone will be the ones closest to the zone you are in, and then the final part is the script_flag which is what is on the door or blocker you put in radiant to activate that zone.

Then depending on the type of area , like my "tele" area is a room with no other exit , so it is nly used once. Where as from the start zone there are 2 ways to go so we write the line 2 times to add the zones as adjacent.


 
Loading ...