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 problem

HOT
broken avatar :(
Created 10 years ago
by fanmagic
0 Members and 1 Guest are viewing this topic.
7,454 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Ok thanks. I will learn the scripts when im on my pc ;)
It seems as if it would work, maybe you just have to call it sooner, like you said, or maybe something else if threading at the same time that is messing with your zones. If you try doing it at the end of a round instead and that works then yay.

If you can't get your zones turning on and off quite right with your risers then I read over the script a bit:

So it looks like the risers, if your only using risers, can be manipulated two different ways, regardless on zones. Either by using level.DLC3.riserZombiesInActiveZonesOnly set to true (set in zombiemode_mapname) and the level.zombie_rise_spawners array or by using level.DLC3.riserZombiesInActiveZonesOnly set to false and structs with a targetname of "zombie_rise". So if your using nothing but risers, you could in theory manipulate your structs kvps.

In what you are trying to do, it may work out better setting that level.DLC3.riserZombiesInActiveZonesOnly to false and changing the targetnames of the structs. There would be several ways to do it of course, but in the end you would want all structs you want to spawn in to have targetnames of zombie_rise, and all other structs would not have that target name. So one way would be getting all the structs with the zone name and changing them to it, and then back, and then on to the next zone when the round changes.

So if you make say all the structs script_noteworthy>customrisers, and then make all the ones in the initial spawn have a taretname of zombie_rise and make that level.DLC3.riserZombiesInActiveZonesOnly set to false, you could then change each kvp for each round like this:

Code Snippet
Plaintext
//zone is the one to activate, and lastzone is the one your turning off
UpdateStructs(zone, lastzone){
structs = getstruct( "customrisers","script_noteworthy" );//maps\_utility.gsc:
for( i=0;i<structs.size;i++ ){
if(IsSubStr( structs[i].targetname ,zone )) structs[i].targetname = "zombie_rise";
else if(structs[i].targetname == "zombie_rise") structs[i].targetname = lastzone;
}
}

Its just a theory. Unfortunately, I don't have much experience manipulating zones, and apparently risers make it more difficult since they spawn in any active zone, where if you just use normal spawners the initializing each zone thing would have worked with no issues. It seems to me that you've covered everything to switch zones though, the only other thing I would look into is level.zombie_rise_spawners, since that seems to be what it uses to spawn the zombies.
Last Edit: August 14, 2016, 03:55:56 am by MakeCents
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 2 years ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
Personal Quote
Payback
Signature
Tears Of The Fallen | Join the project https://discord.gg/8gDNQRj
×
fanmagic's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Works fine now. I only added the zones as initial zones in a new test map - that's it. Risers also works fine. Hopefully it works on my main map... Thanks ;)

 
Loading ...