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

activating a zone through power

broken avatar :(
Created 11 years ago
by smasher248
0 Members and 1 Guest are viewing this topic.
4,424 views
broken avatar :(
×
broken avatar :(
The Last of Us
Location: scotland
Date Registered: 28 September 2013
Last active: 5 hours ago
Posts
1,470
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
Signature
×
smasher248's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
smasher248's Contact & Social Linkssmasher248smasher248
^ how do i activate a zone and start zombie spawning when electricity is turned on like in kino?
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 5 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
you set up a door like normal but on the trigger you add this extra kvp
Code Snippet
Plaintext
script_noteworthy
electric_door
broken avatar :(
×
broken avatar :(
Location: tr
Date Registered: 1 March 2013
Last active: 3 days ago
Posts
817
Respect
Forum Rank
The Decider
Primary Group
2015 Contest Winner
My Groups
More
My Contact & Social Links
More
Personal Quote
Caw caw caw
×
johndoe's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
2015 Contest Winner
johndoe's Contact & Social Links-johndoemyc153
you set up a door like normal but on the trigger you add this extra kvp
Code Snippet
Plaintext
script_noteworthy
electric_door
this will only open the door. it won't activate the zone. as far as i remember you need to add the flags on your mapname.gsc and add script_flag on the trigger. i might be wrong though.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 5 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
this will only open the door. it won't activate the zone. as far as i remember you need to add the flags on your mapname.gsc and add script_flag on the trigger. i might be wrong though.

youre not wrong, i was just lazy and assumed he knows how to set up a normal door already so i only said to set it up like a normal door and then add the extra kvp to make it into a power door instead of a player activated one
Marked as best answer by smasher248 11 years ago
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
start zombie spawning when electricity is turned on

You could try, in _zombiemode.gsc before level thread round_start(); or in the round_start function, adding flag_wait("electricity_on");

Edit: If that does not work for some reason, you could add a notify to your dlc3_code where it handles the power_switch and a waittill for your round_start.
To activate a zone, you could set the flag for that zone when the electricity_on flag is set in the same function that all the perks are turned on in dlc3_code (using the normal add_adjacent_zone lines in your mapname.gsc, with the flag as this flag).
Last Edit: March 17, 2015, 03:12:04 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
If you're talking about the nova-crawlers, i got that taken care off allready. If you're still interested in using mine that is.. I've just completely redone the scripts and we're testing them now in Stevie's map.
Could also help with activating certain spawners/a zone after power, but will need to check some stuff out for that and i'm not at home right now.. Just need to know if its a zone, or just one (or more) spawners you want to activate
broken avatar :(
×
broken avatar :(
The Last of Us
Location: scotland
Date Registered: 28 September 2013
Last active: 5 hours ago
Posts
1,470
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
×
smasher248's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
smasher248's Contact & Social Linkssmasher248smasher248
when i said start spawning i meant just for 1 zone(main theatre) not initial zone, basically im remaking kino and i have set up all zones and spawners except centre so i was wondering how to do that as the curtain opens when the power is activated and then zombies and creepers start coming.

@Bluntstuffy yes i would still love the creepers, but right now im just setting up normal zombies :)
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
when i said start spawning i meant just for 1 zone(main theatre) not initial zone, basically im remaking kino and i have set up all zones and spawners except centre so i was wondering how to do that as the curtain opens when the power is activated and then zombies and creepers start coming.

@Bluntstuffy yes i would still love the creepers, but right now im just setting up normal zombies :)

Code Snippet
Plaintext
flag_set("enter_zonename");

Add this in script where power is located, probably in _zombiemode.gsc :)
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
×
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

Add this in script where power is located, probably in _zombiemode.gsc :)

It is located in dlc3_code, please look up three comments:
To activate a zone, you could set the flag for that zone when the electricity_on flag is set in the same function that all the perks are turned on in dlc3_code (using the normal add_adjacent_zone lines in your mapname.gsc, with the flag as this flag).
Last Edit: March 17, 2015, 04:36:57 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
It is located in dlc3_code, please look up three comments:

Oh, sorry, I didnt see that and Smasher was still commenting about it, so yeah, lol
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
×
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
Oh, sorry, I didnt see that and Smasher was still commenting about it, so yeah, lol

No prob. Just letting you know. He prob didn't see it anyway since it was an edit, or he is just gonna get blunt to help. Or we're both wrong, lol.
Last Edit: March 17, 2015, 05:16:52 pm by MakeCents
broken avatar :(
×
broken avatar :(
The Last of Us
Location: scotland
Date Registered: 28 September 2013
Last active: 5 hours ago
Posts
1,470
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
×
smasher248's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
smasher248's Contact & Social Linkssmasher248smasher248
No prob. Just letting you know. He prob didn't see it anyway since it was an edit, or he is just gonna get blunt to help. Or we're both wrong, lol.

yeah sorry i never saw it, i must have missed it accidentally anyway thanks to both you and Hitman
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
i did this just by changing the add_addjacentzone() ??

instead of "zone_0_1" or whatever i just did "electricity_on" i think?

activates the zone just like normal

 
Loading ...