Scripts - Misc Scrips & Cvars
____________________________
Hides chat text:
// Say mode om/off toggle
alias smon "motdfile echo.txt; motd_write Saytext ON; hud_saytext 1; developer 1; motd; developer 0; motdfile motd.txt; alias sm smoff"
alias smoff "motdfile echo.txt; motd_write Saytext OFF; hud_saytext 0; developer 1; motd; developer 0; motdfile motd.txt; alias sm smon"
alias sm "smon"
bind "]" "sm"
Volume control:
// Volume Control
//--------------------------------
// SpawNyK`s VoL ScripT v2
//--------------------------------
alias de.vol0 "volume 0.0; de.modtde; motd_write Volume: Mute (__________); de.motdit; alias de.volup de.vol1; alias de.voldn de.vol0"
alias de.vol1 "volume 0.05; de.modtde; motd_write Volume: 10% ([]_________); de.motdit; alias de.volup de.vol2; alias de.voldn de.vol0"
alias de.vol2 "volume 0.1; de.modtde; motd_write Volume: 20% (_[]________); de.motdit; alias de.volup de.vol3; alias de.voldn de.vol1"
alias de.vol3 "volume 0.2; de.modtde; motd_write Volume: 30% (__[]_______); de.motdit; alias de.volup de.vol4; alias de.voldn de.vol2"
alias de.vol4 "volume 0.3; de.modtde; motd_write Volume: 40% (___[]______); de.motdit; alias de.volup de.vol5; alias de.voldn de.vol3"
alias de.vol5 "volume 0.4; de.modtde; motd_write Volume: 50% (____[]_____); de.motdit; alias de.volup de.vol6; alias de.voldn de.vol4"
alias de.vol6 "volume 0.5; de.modtde; motd_write Volume: 60% (_____[]____); de.motdit; alias de.volup de.vol7; alias de.voldn de.vol5"
alias de.vol7 "volume 0.6; de.modtde; motd_write Volume: 70% (______[]___); de.motdit; alias de.volup de.vol8; alias de.voldn de.vol6"
alias de.vol8 "volume 0.7; de.modtde; motd_write Volume: 80% (_______[]__); de.motdit; alias de.volup de.vol9; alias de.voldn de.vol7"
alias de.vol9 "volume 1; de.modtde; motd_write Volume: 90% (________[]_); de.motdit; alias de.volup de.vol10; alias de.voldn de.vol8"
alias de.vol10 "volume 2.0; de.modtde; motd_write Volume: Max (_________[]); de.motdit; alias de.volup de.volmax; alias de.voldn de.vol9"
alias de.volmax "de.modtde; motd_write No higher volume; de.motdit"
alias de.volup "de.vol6"
alias de.voldn "de.vol4"
alias de.motdit "dev1; motd; dev0; motdfile motd.txt"
alias de.modtde "motdfile echo.txt"
alias dev1 "developer 1"
alias dev0 "developer 0"
bind "=" de.volup; //Volume goes up [key +]
bind "-" de.voldn; //Volume goes down [key -]
Cycle though the net graphs:
//Net Graph Cycle Script
alias graph "graph1"
alias graph1 "net_graph 1; alias graph graph2"
alias graph2 "net_graph 2; alias graph graph3"
alias graph3 "net_graph 3; alias graph graph4"
alias graph4 "net_graph 0; alias graph graph1"
bind "F6" "graph"
Hide weapons:
//Hide Weaps
alias hideon "r_drawviewmodel 0; alias hide hideoff"
alias hideoff "r_drawviewmodel 1; alias hide hideon"
hideoff
bind "f10" "hide"
Updaterate cycle & interp toggle. I suggest you read pages on the front page under "Net":
//Updaterate Cycle Script
// ** In short Hold TAB, pump INS, starting from 100 go down until the yellow dots go away. Done.
// If players are still choppy press Del and use 0.08. Each server is different. I recommend using 100 and use 0.08 interp and forgoet about it.
alias updatexx "update100"
alias update100 "cl_updaterate 100; ex_interp 0; alias updatexx update90"
alias update90 "cl_updaterate 90; ex_interp 0; alias updatexx update80"
alias update80 "cl_updaterate 80; ex_interp 0; alias updatexx update70"
alias update70 "cl_updaterate 70; ex_interp 0; alias updatexx update60"
alias update60 "cl_updaterate 60; ex_interp 0; alias updatexx update50"
alias update50 "cl_updaterate 50; ex_interp 0; alias updatexx update40"
alias update40 "cl_updaterate 40; ex_interp 0; alias updatexx update30"
alias update30 "cl_updaterate 30; ex_interp 0; alias updatexx update20"
alias update20 "cl_updaterate 20; ex_interp 0; alias updatexx update100"
bind F4 "updatexx"
(Use interp 0 for skills and 0.8 for regular gameplay)
//ex_interp toggle
alias interpxx "interp0"
alias interp0 "ex_interp 0; developer 1; developer 0; motdfile; alias interpxx interp08"
alias interp08 "motdfile echo.txt; motd_write [ex_interp 0.08]; ex_interp 0.08; developer 1; motd; developer 0; motdfile motd.txt; alias interpxx interp00"
bind "F5" "interpxx"
Disable weapon bobbing:
//Remove the bobbing
cl_rollangle "0"
cl_bobcycle "0"
cl_bobup "0"
cl_bob "0"
Best visual quality - Trilinear texturing filtering & Multi-texturing:
gl_texturemode "GL_LINEAR_MIPMAP_LINEAR"
Enables higher quality models....
I had this set to 1 since I can remember. Whilst doing this page I compared it on/off and I can't see a difference. I knew it was for HL Multiplayer, but I also cannot see a difference in that. Until I bother to look into it here it is anyway:
cl_himodels "1"
Old player models:
tfc_newmodels "0"
Sets the default the field of view. 110 and 120 are common:
default_fov "110"
Reduces zoom sensitivity. 0.8. Feels good to me for Sniper:
zoom_sensitivity_ratio "0.8"
White text:
con_color "255 255 255"
Player name is shown in middle of the screen. You can actaully play with the possition on this one. Example: -10 or 10:
hud_centerid "1"
Lightgamma - The gamma of lighting:
I used to use 0 before it was locked at 2.5. Well, that is what I thought, because that is what it would crash and revert back to. You can actually go as low as "1.9". Only a tiny adjustment, but still something.:
I can actually get away with using default brightness/gamma.:
lightgamma "1.9"
Nicer Graphics
Credits to equinox from The Catacombs
Download comparison shots here
Looks good. Lighting is just right on my monitor.
You only need the stuff under "display" really.
//----------------------------------------------------------------display
texgamma "3"
lightgamma "2"
gamma "3"
bitmapfonts "1"
brightness "1"
cl_gibcount "10"
cl_giblife "0"
cl_gibvelscale "1"
cl_showfps "0"
cl_minmodels "0"
cl_shadows "1"
cl_dynamiclights "1"
cl_himodels "1"
fps_max "60"
gl_affinemodels "0"
gl_alphamin "0.250"
gl_clear "0"
gl_cull "1"
gl_d3dflip "0"
gl_dither "0"
gl_flipmatrix "0"
gl_keeptjunctions "1"
gl_lightholes "1"
gl_max_size "512"
gl_monolights "0"
gl_nobind "0"
gl_nocolors "0"
gl_overbright "0"
gl_palette_tex "1"
gl_picmip "0"
gl_playermip "0"
gl_polyoffset "4"
gl_reporttjunctions "0"
gl_round_down "0"
gl_smoothmodels "1"
gl_spriteblend "1"
gl_texsort "1"
gl_texturemode "GL_LINEAR_MIPMAP_LINEAR"
gl_wateramp "1"
gl_zmax "4096"
gl_ztrick "0"
r_mirroralpha "1"
r_detailtextures "1"
r_detailtexturessupported "1"
hpk_maxsize "1.5"
//----------------------------------------------------------------multiplayer
violence_ablood "1"
violence_hblood "1"
violence_agibs "1"
violence_hgibs "1"
//precache "1" // Doesn't exist anymore
fs_lazy_precache "0"
mp_decals "200"
r_decals "200"
//----------------------------------------------------------------network
//cl_nopred "0" // Doesn't exist anymore
cl_lw "1"
cl_lb "1"
cl_lc "1"
cl_download_ingame "1"
cl_allowdownload "1"
cl_allowupload "0"
//----------------------------------------------------------------sound
s_a3d "0"
s_eax "1"
s_reverb "0"
voice_dsound "1"
highsound "1"
//----------------------------------------------------------------voice
voice_forcemicrecord "1.000000"
voice_modenable "1"
voice_loopback "1"
voice_maxgain "5"
voice_avggain "0.500"
voice_scale "5"
voice_fadeouttime "0"
voice_profile "0"
voice_showchannels "0"
voice_showincoming "0"
voice_enable "1"
voice_dsound "0"
voice_overdrive "2"
voice_overdrivefadetime "0.400"
voice_recordtofile "0"
voice_inputfromfile "0"
voice_modenable "1"
voice_clientdebug "0"