Skip to content

Instantly share code, notes, and snippets.


gpoulter/autoexec.cfg Secret

Created Jun 17, 2018
What would you like to do?
Optimized Quake 3 autoexec.cfg for LAN gaming
seta s_musicvolume "0.0"
seta r_detailtextures "1"
seta r_drawSun "1"
seta r_dynamiclight "1"
seta r_fastsky "0"
seta r_finish "1"
seta r_flares "0"
seta r_picmip "1"
seta r_vertexLight "0"
seta cg_runroll "0.0"
seta cg_runpitch "0.0"
seta cg_bobroll "0.0"
seta cg_bobpitch "0.0"
seta cg_brassTime "0"
seta cg_drawammowarning "1"
seta cg_drawattacker "1"
seta cg_drawCrosshair "6"
seta cg_drawGun "0"
seta cg_drawStatus "1"
seta cg_gibs "0"
seta cg_marks "1"
seta cg_noProjectileTrail "0"
seta cg_shadows "1"
seta cg_simpleItems "0"
seta com_blood "0"
// cmdlist, cvarlist to list commands and variables
// Mouse bindings
bind MOUSE1 "+attack"
bind MOUSE2 "+zoom"
bind MOUSE3 "vstr zoomtoggle"
bind MWHEELDOWN "weapprev"
bind MWHEELUP "weapnext"
// Keyboard bindings
bind SHIFT "+speed"
bind ALT "vstr rocketjump"
bind TAB "+scores"
bind a "+moveup"
bind s "+moveleft"
bind d "+back"
bind f "+moveright"
bind g "vstr zoomcycle"
bind q "weapprev"
bind w "weapnext"
bind e "+forward"
bind r "+button3" // gesture
bind t "messagemode"
bind y "+button2" // use item
bind o "say Good shot!"
bind p "say I'll be back!"
bind z "vstr rocktoggle"
bind x "vstr railtoggle"
bind c "toggle cg_drawGun"
bind v "toggle cg_drawStatus"
bind F3 "vstr spectoggle"
bind F7 "vstr modelcycle"
bind F8 "toggle cg_drawfps"
bind F9 "toggle cg_drawtimer"
// Models
seta model_1 "set model ranger; set headmodel ranger; set color red; echo MODEL RANGER; set modelcycle vstr model_2"
seta model_2 "set model sarge; set headmodel sarge; set color blue; echo MODEL SARGE; set modelcycle vstr model_3"
seta model_3 "set model bones/bones; set headmodel bones/bones; set color yellow; echo MODEL BONES; set modelcycle vstr model_4"
seta model_4 "set model xaero; set headmodel xaero; set color green; echo MODEL XAERO; set modelcycle vstr model_5"
seta model_5 "set model razor; set headmodel razor; set color red; echo MODEL RAZER; set modelcycle vstr model_1"
seta modelcycle "vstr model_1"
// Spectator
seta spec_on "team s; echo SPECTATOR MODE ON; set spectoggle vstr spec_off"
seta spec_off "team r; echo SPECTATOR MODE OFF; set spectoggle vstr spec_on"
seta spectoggle "vstr spec_on"
// Rocket jump
seta rocketjump "centerview; cl_pitchspeed 99990000; +lookdown; +moveup; +attack; wait 2; -lookdown; -moveup; -attack; cl_pitchspeed 140; centerview"
// Zoom & Sensitivity Levels
seta sens_low "set sensitivity 3"
seta sens_norm "set sensitivity 6"
seta sens_zoom "vstr sens_low"
seta zoom_1 "set cg_zoomfov 22; echo ZOOMFOV 22; set sens_zoom vstr sens_low; set zoomcycle vstr zoom_2"
seta zoom_2 "set cg_zoomfov 30; echo ZOOMFOV 30; set sens_zoom vstr sens_low; set zoomcycle vstr zoom_3"
seta zoom_3 "set cg_zoomfov 40; echo ZOOMFOV 40; set sens_zoom vstr sens_norm; set zoomcycle vstr zoom_1"
seta zoomcycle "vstr zoom_1"
seta zoomin "+zoom; vstr sens_zoom; echo ZOOMING IN; set zoomtoggle vstr zoomout"
seta zoomout "-zoom; vstr sens_norm; echo ZOOMING OUT; set zoomtoggle vstr zoomin"
seta zoomtoggle "vstr zoomin"
vstr sens_norm
vstr zoom_2
// weapon toggle
// 1=fist 2=gun 3=shotgun
// 4=grenade 5=rocket 6=lightning
// 7=rail 8=plasma 9=bfg
seta rock_on "weapon 5; set rocktoggle vstr rock_off; echo ROCKET LAUNCHER"
seta rock_off "weapon 2; set rocktoggle vstr rock_on; echo MACHINE GUN"
seta rocktoggle "vstr rock_off"
seta rail_on "weapon 7; set railtoggle vstr rail_off; echo RAIL GUN"
seta rail_off "weapon 2; set railtoggle vstr rail_on; echo MACHINE GUN"
seta railtoggle "vstr rail_off"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment