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 can i add lights taht turn on with power

broken avatar :(
Created 10 years ago
by pmr4
0 Members and 1 Guest are viewing this topic.
3,690 views
broken avatar :(
×
broken avatar :(
Location: peLima
Date Registered: 12 October 2013
Last active: 1 year ago
Posts
22
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
pmr4's Groups
pmr4's Contact & Social Linkspmr360pmr360
I wanted to know if there is a way to make alight turn on when i turn on the power, and if there is a way to make the electricity fx appear just like in der riese.
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
Theres some kvps you can give the lights to make them turn on with power. Look at this topic and scroll a bit down to the part with: stock lights without scripting.
https://ugx-mods.com/forum/index.php/topic,5375.msg59578.html#msg59578

 For the fx you need some scripting and make it wait for the power with:
Code Snippet
Plaintext
flag_wait( "electricity_on" );
Last Edit: September 02, 2016, 08:58:00 am by BluntStuffy
broken avatar :(
×
broken avatar :(
Location: peLima
Date Registered: 12 October 2013
Last active: 1 year ago
Posts
22
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
pmr4's Groups
pmr4's Contact & Social Linkspmr360pmr360
Theres some kvps you can give the lights to make them turn on with power. Look at this topic and scroll a bit down to the part with: stock lights without scripting.
https://ugx-mods.com/forum/index.php/topic,5375.msg59578.html#msg59578

I cant get that to work :/ im following the instructions but nothing happens.

For the fx you need some scripting and make it wait for the power with:
Code Snippet
Plaintext
flag_wait( "electricity_on" );

Im new at this so i really dont know how to do that im using ugx easy fx if that helps.
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
×
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

Quote
I cant get that to work :/ im following the instructions but nothing happens.

Tell what you did exactly, and include screenshots of the kps from the lights in radiant and stuff like that. Ty to be clear on what you did, and if there's any errors or whatever make sure to tell them as well.
You prob didn't set up the lights correctly in radiant, so the screenshots of the kvps would be important..


Quote
Im new at this so i really dont know how to do that im using ugx easy fx if that helps.

I never used easy-fx, not sure if that works. I'll have a look and otherwise tell you how to do it without easy fx
broken avatar :(
×
broken avatar :(
Location: peLima
Date Registered: 12 October 2013
Last active: 1 year ago
Posts
22
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
pmr4's Groups
pmr4's Contact & Social Linkspmr360pmr360
these are the kvp's http://imgur.com/nHnpuCP

and well i just followed what said only in the part of stock lights
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
×
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
you didn't tick the spawnflag PRIMARY_SCRIPTABLE
broken avatar :(
×
broken avatar :(
Location: peLima
Date Registered: 12 October 2013
Last active: 1 year ago
Posts
22
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
pmr4's Groups
pmr4's Contact & Social Linkspmr360pmr360
Ive done that now but sadly it doesnt work :/

 
Loading ...