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

Zones | need help

broken avatar :(
Created 11 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
1,887 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
So im planning on making a SNN Survival mod and i have moved spawn so far but zombies dont spawn and im guessing this because of the zones

anyone know the zone names for SNN if not is there a way i can get the current zone the player is in?
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Get the zones by the info_volume classname(assuming thats what they use):

Code Snippet
Plaintext
zones = getentarray("info_volume", "classname"); 
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Get the zones by the info_volume classname(assuming thats what they use):

Code Snippet
Plaintext
zones = getentarray("info_volume", "classname"); 
ill try this but do zones have any special kvps that could narrow this down by doing something like this
Code Snippet
Plaintext
zones = GetEntArray("info_volume", "classname");

for(i = 0; i < zones.size; i++)
{
        if(zones[i].key == "specified_key")
        {
                IPrintLN("Found zone with key: " + zones[i].key);
        }
}
or are all info_volumes zones (sorry about any noob question dont really know much about zones)
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
ill try this but do zones have any special kvps that could narrow this down by doing something like this
Code Snippet
Plaintext
zones = GetEntArray("info_volume", "classname");

for(i = 0; i < zones.size; i++)
{
        if(zones[i].key == "specified_key")
        {
                IPrintLN("Found zone with key: " + zones[i].key);
        }
}
or are all info_volumes zones (sorry about any noob question dont really know much about zones)

They are all zones. Each one just controls its own spawners for the area.

The only zone that i can find the script is the initial spawn zone called "center_building_upstairs". The names for the others are probably be somewhere in the scripts. Alternatively, you can print the targetnames and script_noteworthy for each zone using iprintln.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
They are all zones. Each one just controls its own spawners for the area.

The only zone that i can find the script is the initial spawn zone called "center_building_upstairs". The names for the others are probably be somewhere in the scripts. Alternatively, you can print the targetnames and script_noteworthy for each zone using iprintln.
im a gonna try this now and thanks for the help

Double Post Merge: May 13, 2015, 03:02:35 am
They are all zones. Each one just controls its own spawners for the area.

The only zone that i can find the script is the initial spawn zone called "center_building_upstairs". The names for the others are probably be somewhere in the scripts. Alternatively, you can print the targetnames and script_noteworthy for each zone using iprintln.
right i think i found the right zone name but how would i go about activating it (yet again this might be another noob question)

nevermind i worked it out

Code Snippet
Plaintext
maps\nazi_zombie_sumpf_zone_management::activate_building_zones("northeast_building","targetname");	
maps\nazi_zombie_sumpf_zone_management::activate_outdoor_zones("northeast_outside","targetname");

 
Loading ...