// Stephen's pilfered scripts // last modified: Oct. 26, 2008 // // (some taken from N1NJ4's pro config suggestions 2.1) // Save this text as autoexec.cfg and config.cfg and place it in the // base directory of your Sauerbraten install // // New Keys: // MOUSE2 now switches weapons instead of jumps (jump with spacebar) // tap T to speak in chat // tap Q to say "gg" // Zoom (3x): Hold F to zoom. Unzooms on release. // Super Zoom (12x): Hold G to zoom. Unzooms on release. // Fisheye mode: Tap C to activate; tap C/F/G to deactivate. // Suicide: Double-tap B (if you get stuck on the wall or something) name "tangomargarine" team "none" // **lumpypasta // infectedjello // flamingnoob // leichenstarr // **tangomargarine // joeschest // SlushPuppy // TheBrawn // ShawnDawn // neroin // chubbybubby // chabubba // soquiddeath // ipingu // flamingejecta // themightys // sidearmbowler // thesporkofdeath // themightyj // moerised bind W forward bind A left bind S backward bind D right bind UP forward bind DOWN backward bind RIGHT right bind LEFT left bind 2 "weapon 0" // fist bind 3 "weapon 6" // pistol bind 4 "weapon 2 1 0" // enemy close bind 5 "weapon 4 3 6" // enemy far bind 6 "weapon 5" // grenade // ( 0 = fist, 1 = sg, 2 = cg, 3 = rl, 4 = rifle, 5 = gl, 6 = pistol ) bind SPACE jump bind MOUSE1 attack bind MOUSE2 weapon bind MOUSE3 weapon bind R repammo bind TAB showscores bind T "saycommand /say " bind SLASH "saycommand /" bind Q [say gg] bind I taunt bind F12 screenshot bind 0 screenshot //******************************************************************************************* // Extra-custom mods // ~~ Settings ~~ // default: FOV 120, sens 210 // zoom 3x: FOV 40, sens 70 // zoom 12x: FOV 10, sens 18 // (sensitivity proportionally equal across all) // Simple scope (3x) bind F [ fisheyeOff; zoom1; onrelease [ zoom0 ] ] // SuperScope (12x) - hold-to-zoom edition bind G [ fisheyeOff; zoom2; onrelease [ zoom0 ] ] bind "C" fisheyeOn // scope definitions zoom1 = [ fov 40; sensitivity 70 ] zoom2 = [ fov 10; sensitivity 18 ] zoom0 = [ thirdperson 0; fov 120; sensitivity 210 ] // fisheye definitions fisheye = [ thirdperson 1; fov $fisheye_fov; sensitivity $fisheye_sens ] fisheyeOn = [ fisheye; bind "C" fisheyeOff ] fisheyeOff = [ zoom0; bind "C" fisheyeOn ] fisheye_fov = 150 // maximum field of view for fisheye mode fisheye_sens = 270 // sensitivity as above formula // If you want to keep the same feel of sensitivity whether zoomed or unzoomed, // use this formula: z_sens = d_sens * (z_fov / d_fov) bind B suicide suicide = [ echo "Suiciding..."; bind B killMyself ] killMyself = [ kill; bind B suicide ] //******************************************************************************************* //******************************************************************************************* // Magic values :-) specbind MOUSE1 "nextfollow" specbind MOUSE2 "nextfollow -1" specbind MOUSE3 "follow" specbind SPACE "follow" bind F11 "toggleconsole" bind P "edittoggle" bind KP_MINUS "conskip 1" bind KP_PLUS "conskip -1000" bindvar "P" paused // fov and sensitivity - adjust to taste sensitivityscale 10 // finer sensitivity control // reduce detail for more fps and less distraction gamma 130 // increase brightness to make it easier to see (default 100) hudgunsway 0 // no swaying gun maxroll 0 // no view rolling // universal scrollwheel + modifier commands: defaultmodifier = 0 modifier = $defaultmodifier domodifier = [ modifier = $arg1; onrelease [ modifier = $defaultmodifier ] ] universaldelta = [ do [delta_@(if $editing [ result edit ] [ result game ])_@modifier @arg1] ] bind MOUSE4 [ universaldelta 1 ] // also used for editing, see below bind MOUSE5 [ universaldelta -1 ] delta_game_0 = [ if (= $arg1 1) [ weapon 2 3 5 ] [ weapon 4 1 5 ] ] //zfov = 120 //delta_game_1 = [ // zfov = (+ $zfov (* $arg1 (div $zfov -5))) // if (< $zfov 10) [ zfov = 10 ] // if (> $zfov 120) [ zfov = 120 ] // fov $zfov //] // Favourite servers menu for quick connecting newgui fave_servers [ guititle "Favourite servers [F3]" guitext "America" guibutton "Action.us.to" "connect action.us.to" guibutton "ga.wemew.com" "connect ga.wemew.com" guitext "Add your favourite servers here" guibutton "Show servers..." "showgui servers" ] newgui tweaks [ guicheckbox "Show weapon" hudgun guititle "Tweaks (not saved) [F4]" guitext "Mouse sensitivity" guislider sensitivity 50 500 guitext "Field of view" guislider fov ]