bind - "exec autoexec.cfg -silent; echo Autoexec reloaded"
// default multiplayer settings
name "I'll Begin"
color red
servername "I'll Begin's Public Netgame"
// character toggle script
// 2.x breaks toggling non-boolean values so it must be done this way
alias skin_sonic "skin sonic; bind h skin_tails; echo Character changed to Sonic The Hedgehog"
alias skin_tails "skin tails; bind h skin_knuckles; echo Character changed to Miles 'Tails' Prower"
alias skin_knuckles "skin knuckles; bind h skin_sonic; echo Character changed to Knuckles The Echidna"
bind h skin_tails
alias aaa "say Add SMS; say Add SMS; say Add SMS; say Add SMS; say Add SMS; say Add SMS; say Add SMS; say Add SMS; say Add SMS; say Add SMS"
// self-explanitory
bind 1 "screenshot"
screenshot_folder "D:\Program Files\Sonic Team Jr\SRB2 2.0\screenshots"
screenshot_option 3
bind 2 "cls"
// camera setting toggles
bind v "toggle chasecam"
bind b "toggle analog"
bind f "toggle alwaysmlook"
// exitlevel script with confirmation
alias exitlevel_confirm "echo Exit level? Press PAGE UP to confirm, press END to cancel; bind PgUp exitlevel_yes; bind end exitlevel_no"
alias exitlevel_yes "exitlevel; exitlevel_reset"
alias exitlevel_no "echo Level exit cancelled; exitlevel_reset"
alias exitlevel_reset "bind PgUp exitlevel_confirm; bind end nothing"
bind end "exitlevel_confirm"
alias exitlevel_off "bind PgUp nothing; bind end nothing"
// pause bindings
bind scrolllock "pause"
bind joy10 "pause"
alias joypause_on "bind joy10 pause; bind pgdn joypause_off; echo Pause with gamepad Start button - on"
alias joypause_off "bind joy10 nothing; bind pgdn joypause_on; echo Pause with gamepad Start button - off"
bind pgdn joypause_off
// Toggles inttime between 0 and 10, contrary to the default 15
alias inttime_0 "inttime 0; bind l inttime_10; echo inttime 0"
alias inttime_10 "inttime 10; bind l inttime_0; echo inttime 10"
bind l inttime_0
// OpenGL settings
// These don't work anymore but I can't bring myself to remove them
gr_filtermode "Nearest"
bind 3 "toggle gr_filtermode"
bind 4 "toggle gr_fog"
alias minifog "gr_fogdensity 800"
bind m "toggle gr_md2"
// camera scripts
alias cam_reset "viewsize 11; chasecam on; analog off; crosshair cross; cam_rotate 0; cam_dist 128; cam_height 20; cam_speed 0.25; cam_rotspeed 10; cam_still off; echo camera reset"
bind 0 "cam_reset"
alias cam_SA "viewsize 11; chasecam on; analog off; crosshair cross; cam_rotate 0; cam_dist 192; cam_height 64; cam_speed 0.25; cam_rotspeed 10; cam_still off; echo SA Mode camera (w/o Analog) activated"
bind 9 "cam_SA"
alias cam_paused "chasecam on; cam_speed 0; cam_still on; analog on; echo camera movement paused"
bind 8 cam_paused
bind 7 "toggle showhud"
//