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

Zombies in certain zones not spawning

broken avatar :(
Created 7 years ago
by ProKosovich
0 Members and 1 Guest are viewing this topic.
1,528 views
broken avatar :(
×
broken avatar :(
Location: hrDrvnik
Date Registered: 16 March 2014
Last active: 7 years ago
Posts
16
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
ProKosovich's Groups
ProKosovich's Contact & Social LinksProKosovichProKosovichSlySlavProKosovich
I have encountered a problem with my zones. 4/9 Zones have zombies spawning. All the zones work as intended and don't kill me when I enter any of them. I have made sure everything is spelled correctly in the targets for the zones.

Here is the code in my .gsc file. and below the code is a map of the level with the zones. 1 = Zone1, 2 = Zone2 etc

Code Snippet
Plaintext
function usermap_test_zone_init()
{
zm_zonemgr::add_adjacent_zone( "start_zone", "zone1", "enter_zone1");
    zm_zonemgr::add_adjacent_zone( "zone1", "zone3", "enter_zone3");
    zm_zonemgr::add_adjacent_zone( "zone3", "zone4", "enter_zone4");
    zm_zonemgr::add_adjacent_zone( "zone4", "zone5", "enter_zone5");
    zm_zonemgr::add_adjacent_zone( "zone5", "zone6", "enter_zone6");
    zm_zonemgr::add_adjacent_zone( "zone6", "zone7", "enter_zone7");
    zm_zonemgr::add_adjacent_zone( "zone7", "zone8", "enter_zone8");
    zm_zonemgr::add_adjacent_zone( "start_zone", "zone2", "enter_zone2");
level flag::init( "always_on" );
level flag::set( "always_on" );
}


broken avatar :(
×
broken avatar :(
Location: us?
Date Registered: 21 August 2016
Last active: 2 years ago
Posts
80
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
All0utWar's Groups
All0utWar's Contact & Social Links
If you're doing a split map like this, you should probably stop using numbers for zone names. It'll only confuse you. What you need to do is basically zone twice. One path for the right wing and one path for the left wing. You only have flags to enter from the right side of the map. You need to have something like this:

Code Snippet
Plaintext
function usermap_test_zone_init()
{
zm_zonemgr::add_adjacent_zone( "start_zone", "zone1", "enter_zone1");
    zm_zonemgr::add_adjacent_zone( "zone1", "zone3", "enter_zone3");
    zm_zonemgr::add_adjacent_zone( "zone3", "zone4", "enter_zone4");
    zm_zonemgr::add_adjacent_zone( "zone4", "zone5", "enter_zone5");
    zm_zonemgr::add_adjacent_zone( "zone5", "zone6", "enter_zone6");
    zm_zonemgr::add_adjacent_zone( "zone6", "zone7", "enter_zone7");
    zm_zonemgr::add_adjacent_zone( "zone7", "zone8", "enter_zone8");
    zm_zonemgr::add_adjacent_zone( "start_zone", "zone2", "enter_zone2");

    zm_zonemgr::add_adjacent_zone("zone2", "zone6", "enter_zone6AGAIN");
zm_zonemgr::add_adjacent_zone("zone6", "zone7", "enter_zone7AGAIN");
zm_zonemgr::add_adjacent_zone("zone7", "zone5", "enter_zone5AGAIN");
zm_zonemgr::add_adjacent_zone("zone5", "zone4", "enter_zone4AGAIN");
//etc
level flag::init( "always_on" );
level flag::set( "always_on" );
}

As for any zombies not spawning, I'd check to make sure that they have the correct KVPs on each spawner for that specific zone as well as make sure that the player_volume has the KVP of "target / ZONENAME_spawners"
Last Edit: December 22, 2016, 02:24:32 pm by All0utWar
broken avatar :(
×
broken avatar :(
Location: hrDrvnik
Date Registered: 16 March 2014
Last active: 7 years ago
Posts
16
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
ProKosovich's Groups
ProKosovich's Contact & Social LinksProKosovichProKosovichSlySlavProKosovich
I understand. I thought how I did my zones would be an issue, just wasn't too sure. Thanks, I'll see if it fixes it. All KVP's were correct. I made sure that wasn't the cause.
Last Edit: December 23, 2016, 07:14:19 am by ProKosovich

 
Loading ...