sharpgamers4you

Black Ops III Modtools Skybox Day/Night Cycle Every Round

Jun 21st, 2021 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.47 KB | None | 0 0
  1. Okay first of all I messed it up in the video,
  2. This is an extra step if you get errors.
  3.  
  4. If you want to watch the tutorial video click on the following link,
  5. https://youtu.be/Jn3BBGZydR4
  6.  
  7. Now follow the following step if you have errors after adding the rest.
  8. You did everything and you get errors?
  9. Put this under your last #using
  10.  
  11. //sg4y lui script shared function,
  12. #using scripts\shared\lui_shared;
  13.  
  14.  
  15. Now copy the following script and paste it under "zm_usermap::main();"
  16.  
  17. //sg4y's Lightstate changes every round!
  18. thread changing_the_lighstates();
  19.  
  20. Now scroll all the way down and paste the following,
  21.  
  22. //sg4y's Lightstate changes every round!
  23. function changing_the_lighstates()
  24. {
  25.  
  26.     level util::set_lighting_state(0);
  27.  
  28.  
  29.     while(1)
  30.     {
  31.     level waittill( "between_round_over" );
  32.     wait(5);
  33.     self thread lui::screen_fade_out(1.5);
  34.     wait(1.5);
  35.     level util::set_lighting_state(2);
  36.     wait(0.5);
  37.     self thread zm::screen_fade_in(1.5);
  38.     wait(1.5);
  39.     level waittill( "between_round_over" );
  40.     self thread lui::screen_fade_out(1.5);
  41.     wait(1.5);
  42.     level util::set_lighting_state(0);
  43.     wait(0.5);
  44.     self thread zm::screen_fade_in(1.5);
  45.     wait(1.5);
  46.     }
  47. }
  48.  
  49. And finally, go into radiant.
  50. Select the sun volume and set your morning/day skybox to SSI 1
  51. And set the night skybox to SSI 3.
  52.  
  53. Fully compile your map (compile, Light, and Link) and it should work!.
  54.  
  55. If you get errors such as external using or references or anything like that
  56. Follow the extra step mentioned above!
Add Comment
Please, Sign In to add comment