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

How To Get Lights To Activate by Power being Turned On?

HOT
broken avatar :(
Created 8 years ago
by SponsoredByCloro
0 Members and 1 Guest are viewing this topic.
13,917 views
broken avatar :(
×
broken avatar :(
Location: auAustralia
Date Registered: 4 October 2016
Last active: 7 years ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
Signature
What is the meaning of life? Dank Memes.
×
SponsoredByCloro's Contact & Social Links
Aight, so i've been trying to figure this out for quite a while, can't seem to get it to work.

I'm trying to get my lights turn on when the power has been turned on, but I don't know the KVPs for it.

Any help is appreciated, thanks :)
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: brCeara
Date Registered: 8 February 2016
Last active: 7 years ago
Posts
6
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
xbrunerohd's Groups
xbrunerohd's Contact & Social Links
That's a good question, I also want to know that.
I already set up my lights to only turn on in Light State 2 which will be the State when the power is on. But always when I start my map everything is already turned on. What can we do here?
broken avatar :(
×
broken avatar :(
Location: usNew Jersey
Date Registered: 5 October 2016
Last active: 7 years ago
Posts
15
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
hallowhead1's Groups
hallowhead1's Contact & Social Links
I was able to do this today after extensive hours spent by creating two lighting states!

Lighting state 1 was just zombie factory, then after you switch the power switch it switches to lighting state 2.
I set all my perk machines to lighting state 2 so when the power switch was flipped the lights turned on.

However it gets a little tricky because you have to copy the zm_giant.gsc power aspects over to your new maps gsc...

If you need any further help i'd be glad to make a video for you

I would almost guarantee there is a quicker and faster way of doing this!  If anyone else knows please shed some light

Double Post Merge: October 05, 2016, 01:04:30 pm
That's a good question, I also want to know that.
I already set up my lights to only turn on in Light State 2 which will be the State when the power is on. But always when I start my map everything is already turned on. What can we do here?

You have to add it to your mapnamehere.gsc file in your usermap folder, that after the power turns on to change your lighting state.

Unless you already have that set properly, then I too have the same error, so I just switched the states, so that everything is off on state 2 (which seems to always be default) and put state 1 as my power on
Last Edit: October 05, 2016, 01:04:30 pm by hallowhead1
broken avatar :(
×
broken avatar :(
Location: auAustralia
Date Registered: 4 October 2016
Last active: 7 years ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
SponsoredByCloro's Contact & Social Links
I was able to do this today after extensive hours spent by creating two lighting states!

Lighting state 1 was just zombie factory, then after you switch the power switch it switches to lighting state 2.
I set all my perk machines to lighting state 2 so when the power switch was flipped the lights turned on.

However it gets a little tricky because you have to copy the zm_giant.gsc power aspects over to your new maps gsc...

If you need any further help i'd be glad to make a video for you
I looked for the zm_giant.gsc, but there doesn't seem to be one.. :/
broken avatar :(
×
broken avatar :(
Location: auAustralia
Date Registered: 4 October 2016
Last active: 7 years ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
SponsoredByCloro's Contact & Social Links
Found the .gsc, I looked through it all, don't understand much though.. :/

I've found
level util::set_lighting_state( 0 );

and
function power_electric_switch()

I'm not to sure how to implement it into my map though.
broken avatar :(
×
broken avatar :(
Location: auAustralia
Date Registered: 4 October 2016
Last active: 7 years ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
SponsoredByCloro's Contact & Social Links
I'd highly recommend for you to make a YouTube video on it, many people don't know how to do it and i've researched everywhere over Google & YouTube and i can't find any info on how to.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community 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.
Community 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 Links[email protected]HarryBo21HarryBo000
I'd highly recommend for you to make a YouTube video on it, many people don't know how to do it and i've researched everywhere over Google & YouTube and i can't find any info on how to.
its not the correct way anyway, as its either "all on or "all off" disregarding solo revive
broken avatar :(
×
broken avatar :(
Location: auAustralia
Date Registered: 4 October 2016
Last active: 7 years ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
SponsoredByCloro's Contact & Social Links
its not the correct way anyway, as its either "all on or "all off" disregarding solo revive
Well i'd still like to know how to do it, I don't want it just for the Perk Machines, I want my entire map to light up when you turn the power on.
broken avatar :(
×
broken avatar :(
Location: brCeara
Date Registered: 8 February 2016
Last active: 7 years ago
Posts
6
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
xbrunerohd's Groups
xbrunerohd's Contact & Social Links
Yeah, I would like to know how to do it too, so I could set up perk lights and all my map lights to turn on with the power. Also if the Light State 2 is the default it should have a way to change that to Light State 1 for being the default one. If you guys could make a video it would be good. Thanks.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 3 years ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
You could just do it through a script by getting all the light ents and setting the kvp for intensity or something like that.

Not sure if thats possible in bo3 though.
broken avatar :(
×
broken avatar :(
Location: usNew Jersey
Date Registered: 5 October 2016
Last active: 7 years ago
Posts
15
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
hallowhead1's Groups
hallowhead1's Contact & Social Links
its not the correct way anyway, as its either "all on or "all off" disregarding solo revive

You say this isn't the right way, yet you don't include the proper way to do so?

If you guys are really interested, i'd be glad to make a quick tutorial - just let me know..
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 1 August 2016
Last active: 7 years ago
Posts
7
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Gondor's Groups
Gondor's Contact & Social Links
Can somebody make a video on this? Best way to learn is by watching a video of someone else doing it and showing you where everything is
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 January 2016
Last active: 7 years ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
xTundra's Groups
xTundra's Contact & Social Links
You say this isn't the right way, yet you don't include the proper way to do so?

If you guys are really interested, i'd be glad to make a quick tutorial - just let me know..

I would greatly appreciate that!
broken avatar :(
×
broken avatar :(
Location: auAustralia
Date Registered: 4 October 2016
Last active: 7 years ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
SponsoredByCloro's Contact & Social Links
You say this isn't the right way, yet you don't include the proper way to do so?

If you guys are really interested, i'd be glad to make a quick tutorial - just let me know..
Yes please do!
broken avatar :(
×
broken avatar :(
Location: usNew Jersey
Date Registered: 5 October 2016
Last active: 7 years ago
Posts
15
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
hallowhead1's Groups
hallowhead1's Contact & Social Links
I will make a video either tonight, or tomorrow!

 
Loading ...