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

lightning states

broken avatar :(
Created 7 years ago
by animallover
0 Members and 1 Guest are viewing this topic.
1,573 views
broken avatar :(
×
broken avatar :(
Location: gbIsle of Man
Date Registered: 17 July 2013
Last active: 4 years ago
Posts
536
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
- It was a clear black night, a clear white moon -
Signature
<3

AnimalLover

Aranda
Aldenrade
Christmas

<3

×
animallover's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
How can i change the lightning state? For example like use a trigger or something and the skybox changes? Is this possible?
broken avatar :(
×
broken avatar :(
Location: usSouth Florida
Date Registered: 10 July 2016
Last active: 12 months ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
Signature
Let he who has not sinned cast the first stone.
×
Archaicvirus's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Archaicvirus's Contact & Social Links
How can i change the lightning state? For example like use a trigger or something and the skybox changes? Is this possible?
Code Snippet
Plaintext
void SetLightingState(<new light state>)

[MANDATORY] <new light state> new state to change to. Lighting state defaults to 1 at start of game
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Changes lighting state for the map
EXAMPLE: SetLightingState( 2 )
trig waittill("trigger");
SetLightingState(2);

ambient lighting
lightning bolt
:accepted:

I haven't done this before, but the tutorials I've seen describe first setting up an additional lighting state within your map using radiant. Your default skybox should be ssi1, out of a total 4 states. You would set up a different skybox on ssi2, so when you switch lighting states... you guessed it. There is a tutorial on this already, here I believe. I don't know the entire process, but hope that helps.

Last Edit: June 16, 2017, 03:54:12 am by Archaicvirus

 
Loading ...