parallax

Vars | |
random_layer | A random parallax layer that we sent to every player |
---|---|
random_parallax_weights | Weighted list with the parallax layers we could spawn |
Procs | |
get_parallax_color | Return the most dominant color, if we have a colored background (mostly nebula gas) |
set_random_parallax_layer | Generate a random layer for parallax |
swap_out_random_parallax_layer | Change the random parallax layer after it's already been set. update_player_huds = TRUE will also replace them in the players client images, if it was set |
Var Details
random_layer

A random parallax layer that we sent to every player
random_parallax_weights

Weighted list with the parallax layers we could spawn
Proc Details
get_parallax_color
Return the most dominant color, if we have a colored background (mostly nebula gas)
set_random_parallax_layer
Generate a random layer for parallax
swap_out_random_parallax_layer
Change the random parallax layer after it's already been set. update_player_huds = TRUE will also replace them in the players client images, if it was set