Skip to content

Instantly share code, notes, and snippets.

@hemebond
Last active September 27, 2018 05:21
Show Gist options
  • Save hemebond/53a8303b0bb2a712e2c4412a4f6f823a to your computer and use it in GitHub Desktop.
Save hemebond/53a8303b0bb2a712e2c4412a4f6f823a to your computer and use it in GitHub Desktop.
Quake configuration for rtlights editing
gl_finish 1
bind q "exec default.cfg"
bind e "exec rtlights.cfg"
bind ESCAPE "togglemenu"
bind SPACE "+jump"
bind / "impulse 10"
bind 0 "impulse 0"
bind 1 "impulse 1"
bind 2 "impulse 2"
bind 3 "impulse 3"
bind 4 "impulse 4"
bind 5 "impulse 5"
bind 6 "impulse 6"
bind 7 "impulse 7"
bind 8 "impulse 8"
bind BACKQUOTE "toggleconsole"
bind a "+moveleft"
bind d "+moveright"
bind g "god"
bind n "notarget"
bind s "+back"
bind t "messagemode"
bind w "+forward"
bind TILDE "toggleconsole"
bind ALT "+movedown"
bind CTRL "+moveup"
bind SHIFT "+speed"
bind F1 "help"
bind F2 "menu_save"
bind F3 "menu_load"
bind F4 "menu_options"
bind F5 "save quicksave"
bind F6 "echo Quicksaving...; wait; save quick"
bind F9 "load quicksave"
bind F10 "quit"
bind F11 "toggle r_drawviewmodel; toggle crosshair; toggle showfps"
bind F12 "screenshot"
bind PAUSE "pause"
bind MOUSE1 "+attack"
bind MWHEELUP "impulse 12"
bind MWHEELDOWN "impulse 10"
// Turn off noclip
noclip
fly
fly
r_editlights 0
// enable HUD stuff
r_drawviewmodel 1
crosshair 1
showfps 1
// Torch
bind 1 "r_editlights_edit color 1 .7 .4; r_editlights_edit diffuse 1.0; r_editlights_edit ambient 0.6; r_editlights_edit radius 256; r_editlights_edit style 1; r_editlights_edit shadows yes; r_editlights_edit cubemap \"\""
// Flame Small
bind 2 "r_editlights_edit color 1 .7 .4; r_editlights_edit diffuse 1.0; r_editlights_edit ambient 0.6; r_editlights_edit radius 320; r_editlights_edit style 6; r_editlights_edit shadows yes; r_editlights_edit cubemap \"\""
// Flame Large
bind 3 "r_editlights_edit color 1 .7 .4; r_editlights_edit diffuse 1.0; r_editlights_edit ambient 0.6; r_editlights_edit radius 480; r_editlights_edit style 6; r_editlights_edit shadows yes; r_editlights_edit cubemap \"\""
// Ambient light
bind 0 "r_editlights_edit color 1 1 1; r_editlights_edit diffuse .4; r_editlights_edit ambient .1; r_editlights_edit specular 0; r_editlights_edit radius 256; r_editlights_edit style 0; r_editlights_edit shadows no; r_editlights_edit cubemap \"\""
// Purple Sky
bind 9 "r_editlights_edit color 1 .7 1; r_editlights_edit diffuse .2; r_editlights_edit ambient .05; r_editlights_edit radius 1280; r_editlights_edit style 0; r_editlights_edit shadows yes; r_editlights_edit cubemap \"\""
// Wall Face Light
bind 8 "r_editlights_edit color 1 1 0.9; r_editlights_edit radius 128; r_editlights_edit corona 0; r_editlights_edit style 129; r_editlights_edit shadows yes; r_editlights_edit cubemap \"\"; r_editlights_edit ambient 0.5; r_editlights_edit diffuse 0.5"
// Lava
bind 7 "r_editlights_edit color 1 0.5 0.2; r_editlights_edit radius 256; r_editlights_edit corona 0; r_editlights_edit style 130; r_editlights_edit shadows yes; r_editlights_edit cubemap \"\"; r_editlights_edit ambient 1; r_editlights_edit diffuse 1; r_editlights_edit specular 1"
bind c "r_editlights_copyinfo"
bind v "r_editlights_pasteinfo"
bind UPARROW "r_editlights_edit movey +1"
bind DOWNARROW "r_editlights_edit movey -1"
bind LEFTARROW "r_editlights_edit movex -1"
bind RIGHTARROW "r_editlights_edit movex +1"
bind INS "r_editlights_spawn"
bind DEL "r_editlights_remove"
bind PGDN "r_editlights_edit movez -32"
bind PGUP "r_editlights_edit movez +32"
bind KP_INS "r_editlights_edit radius 0"
bind KP_END "r_editlights_edit movez -1"
bind KP_DOWNARROW "r_editlights_edit movey -4"
bind KP_PGDN "r_editlights_edit movez -4"
bind KP_LEFTARROW "r_editlights_edit movex -4"
bind KP_RIGHTARROW "r_editlights_edit movex +4"
bind KP_HOME "r_editlights_edit movez +1"
bind KP_UPARROW "r_editlights_edit movey +4"
bind KP_PGUP "r_editlights_edit movez +4"
bind KP_DEL "toggle r_editlights_drawproperties"
bind KP_SLASH "r_editlights_toggleshadow"
bind KP_MULTIPLY "r_editlights_togglecorona "
bind KP_MINUS "r_editlights_edit radiusscale 0.8"
bind KP_PLUS "r_editlights_edit radiusscale 1.25"
bind KP_ENTER "r_editlights_save"
bind MOUSE2 "toggle r_shadow_realtime_world"
bind SPACE "+moveup"
// Turn on noclip
fly
fly
noclip
r_editlights 1
// disable HUD stuff
r_drawviewmodel 0
crosshair 0
showfps 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment