Advertisement
Guest User

Untitled

a guest
Oct 4th, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
q/kdb+ 1.19 KB | None | 0 0
  1. // Q2Pro Color Richness ... Stuff, very cool.
  2.  
  3. // binds
  4.  
  5. bind f7 increase_magicness_of_colors
  6. bind f6 decrease_magicness_of_colors
  7.  
  8. // variables
  9.  
  10. set gl_satinc1 0.04
  11. set gl_satinc2 0.1
  12. set gl_clminc 0.1
  13. // set is for user-defined variables only because it makes it just that much more apparent.
  14. gl_saturation 0.2
  15. gl_coloredlightmaps 0.5 // I like to increase the color of the lights first, because it's more even and overall effect. at 100% the saturation which means the saturation of the textures themselves is at only 40%, which is fine.
  16.  
  17. // increments
  18.  
  19. alias increase_magicness_of_colors "if $gl_coloredlightmaps < 1 then gl_magic_up1 else gl_magic_up2; gl_magic_echo"
  20. alias gl_magic_up1 "inc gl_coloredlightmaps $gl_clminc; inc gl_saturation $gl_satinc1"
  21. alias gl_magic_up2 "inc gl_saturation $gl_satinc2"
  22.  
  23. // decreasinglies
  24.  
  25. alias decrease_magicness_of_colors "if $gl_saturation <= 0.4 then gl_magic_down1 else gl_magic_down2; gl_magic_echo"
  26. alias gl_magic_down1 "dec gl_coloredlightmaps $gl_clminc; dec gl_saturation $gl_satinc1"
  27. alias gl_magic_down2 "dec gl_saturation $gl_satinc2"
  28.  
  29. // the magic echo
  30.  
  31. alias gl_magic_echo "echo sat[ $gl_saturation ] clm[ $gl_coloredlightmaps ]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement