Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Okay first of all I messed it up in the video,
- This is an extra step if you get errors.
- If you want to watch the tutorial video click on the following link,
- https://youtu.be/Jn3BBGZydR4
- Now follow the following step if you have errors after adding the rest.
- You did everything and you get errors?
- Put this under your last #using
- //sg4y lui script shared function,
- #using scripts\shared\lui_shared;
- Now copy the following script and paste it under "zm_usermap::main();"
- //sg4y's Lightstate changes every round!
- thread changing_the_lighstates();
- Now scroll all the way down and paste the following,
- //sg4y's Lightstate changes every round!
- function changing_the_lighstates()
- {
- level util::set_lighting_state(0);
- while(1)
- {
- level waittill( "between_round_over" );
- wait(5);
- self thread lui::screen_fade_out(1.5);
- wait(1.5);
- level util::set_lighting_state(2);
- wait(0.5);
- self thread zm::screen_fade_in(1.5);
- wait(1.5);
- level waittill( "between_round_over" );
- self thread lui::screen_fade_out(1.5);
- wait(1.5);
- level util::set_lighting_state(0);
- wait(0.5);
- self thread zm::screen_fade_in(1.5);
- wait(1.5);
- }
- }
- And finally, go into radiant.
- Select the sun volume and set your morning/day skybox to SSI 1
- And set the night skybox to SSI 3.
- Fully compile your map (compile, Light, and Link) and it should work!.
- If you get errors such as external using or references or anything like that
- Follow the extra step mentioned above!
Add Comment
Please, Sign In to add comment