Byakuya
11-29-2010, 07:40 AM
As of late I've been looking into scripting for CSS to enhance game play once more since I left the CAL divisions.
Well I've come up with the following scripts that others may or may not find handy, I myself use them avidly and think it kinda helps. The reload script is my custom coding and the others may or may not be taken from another source. More will be added into this topic when found, feel free to post yours if you want to share.
echo -------------------------
echo 'Byakuya's Reload Script'
echo -------------------------
echo ...................Loading
alias +recov "+reload; wait; radio1; menuselect 1; say_team ***-(I'm Reloading, Cover me!)-***"
alias -recov "slot10; wait; wait; slot10; -reload"
bind "KEY" "+recov"
echo -------------------------
echo 'Byakuya's Reload Script'
echo -------------------------
echo ...................Loaded
Instructions:
Copy and paste above code wrap into a txt document, change it to what ever name you want but it has to have .cfg at the end for the file extention. I suggest reload.cfg. Also if you want a different text instead of what I have then change everything after 'say_team' to what ever you want. IE: ; say_team what ever text you want here". This script will automatically open the radio 1 menu and select the voice command "Cover Me!" without you pressing anything else but your reload key. Change "key" to what ever your reload key is.
From there you can either load it on demand via ingame using "exec filename.cfg" without the "s or just place it into your C:/Program Files/Steam/Steamapps/username/Counter Strike Source/cstrike/cfg/autoexec.cfg anywhere you want it, preferably at the bottom or top to make it easy to locate incase you want to remove it from the cfg. If you do not have an autoexec.cfg then make a new text document and name it to that.
----------------------------------------------------------------------
Low FPS Problems, want to gain abit more FPS, or just want to remove annoying details? I have the solution to this, just copy and paste the coded material below into your autoexec.cfg (read above to find it's location incase you don't know) and restart CSS. If there is something you don't want or need in the script below then just put "//" before the command to null it out.
//-RATES CVARS
rate 300000 // Maximum bytes/sec your internet connection can receive.
cl_updaterate 67 // The amount of updates the clients receive per second.
cl_cmdrate 67 // Max number of command packets sent to server per second
cl_interp 0.01 // Delay between sv time, and cl time.
cl_interp_ratio 1 // Interpolation delay calculated based off of the clients cl_updaterate.
cl_lagcompensation 1 // [I/O] Client-side lag compensation.
cl_smooth 1 // [I/O] Attempts to smooth out prediction errors in player positions
cl_smoothtime 0.01 // Time over which to smooth the view after prediction errors.
cl_predictweapons 1 // "0" = Serverside Calculation, "1" = Clientside Calculation
echo -RATES CVARS- Loaded
//-CROSSHAIR CVARS
cl_legacy_crosshair_scale 1 // [I/O] Enables legacy crosshair behavior
cl_legacy_crosshair_recoil 1 // [I/O] Enables FPS Independent Crosshair Spread
cl_crosshaircolor 0 // "0" = Green, "5" = Custom color [Specified by CVARS: (cl_crosshaircolor_r 0), (cl_crosshaircolor_g 0), and (cl_crosshaircolor_b 0)]
cl_crosshairsize 0 // Size of the crosshair in 'px' @ 640x480 res. [DEFAULT = 6]
cl_crosshairthickness 0 // Thickness of the crosshair in 'px' @ 640x480 res. [DEFAULT = 0.5]
cl_crosshairscale 3000 // Xhair size
cl_crosshairusealpha 1 // [I/O] Makes use below cmd
cl_crosshairalpha 9999 // Xhair color intensity
cl_dynamiccrosshair 0 // [I/O] Xhair control
sensitivity 3.0
echo -CROSSHAIR CVARS- Loaded
//-RENDERING CVARS
//r_mmx 1 // [I/O] Processor Instruction Setting [Enables MMX CPU Instruction set - Obsolete]
//r_sse 1 // [I/O] Processor Instruction Setting [Enables SSE CPU Instruction set - Obsolete]
r_sse2 1 // [I/O] Processor Instruction Setting [Enables SSE2 CPU Instruction set]
r_3dnow 1 // [I/O] Processor Instruction Setting [Enables 3DNow CPU Instruction set]
r_3dsky 0 // [I/O] Renders the 3D skybox projection
r_drawflecks 1 // [I/O] Renders bullet impacts on stone or metal surfaces
r_decals 2048 // Rendering of bullet and explosion marks/bomb-site indicators
r_drawmodeldecals 1 // [I/O] Renders blood spatter on models
r_propsmaxdist 0 // Sets range at which non-interactive props show up
r_eyes 0 // [I/O] Rendering of player eyes
r_teeth 0 // [I/O] Rendering of player teeth
r_renderoverlayfragment 0 // Rendering of surface decals such as graffiti
props_break_max_pieces 0
rope_rendersolid 0 // Enables/Disables rendering of ropes. [I/O]
//-----------
//-----------
r_rootlod 1 // MODEL DETAIL "0" = High, "1" = Medium, "2" = Low
r_waterforceexpensive 0 // WATER DETAIL "0" disables high-quality water
r_waterforcereflectentities 0 // WATER REFLECTIVITY "0" = Low, "1" = High
r_shadowrendertotexture 1 // SHADOW DETAIL "0" = Low, "1" = High
echo -RENDERING CVARS- Loaded
//-MATERIALS CVARS
mat_motion_blur_enabled 0 // MOTION BLUR [I/O]
mat_monitorgamma 1.6 // BRIGHTNESS 1.6 Min (brightest}
mat_vsync 0 // VERTICAL SYNC [I/O]
mat_colorcorrection 0 // COLOR CORRECTION [I/O]
mat_queue_mode 0 // MULTITHREADED RENDERING (CURRENTLY CAN CAUSE STUTTERING, FPS LOSS, LEAVE 0]"-1" = Autodetect, "0" = Disabled, "2" = Forced multithreaded rendering
mat_trilinear 1 // TRILINEAR FILTERING "0" = Bilinear, "1" = Trilinear
mat_reducefillrate 1 // SHADER DETAIL "0" = High, "1" = Low.
mat_picmip -1 // TEXTURE DETAIL "-1" Very High, "0" = High, "1" = Medium, "2" = Low
mat_hdr_level 1 // HDR EFFECTS "0" = Disabled, "2" = Full HDR
mat_disable_bloom 1 // "0" = Bloom Enabled, "1" = Bloom Disabled
mat_bumpmap 0 // Enables/Disables bumpmapping [I/O]
mat_specular 0 // Enables/Disables specular lighting [I/O]
//mat_compressedtextures 0
//mat_software_aa_strength 1
//mat_software_aa_strength_vgui 1.0
//mat_antialias 8 // 8
//mat_aaquality 0
//mat_parallaxmap 1
//mat_forceaniso 16 // Use Trilinear Mode [2, 4, 8, or 16] Higher levels of filtering require more system resources
//-MISC CVARS
muzzleflash_light 1 // Enable/Disables dynamic lighting effect from barrel when firing [I/O]
cl_forcepreload 1 // [I/O] Preload all content at once.
//cl_logofile "materials/vgui/logos/spray.vtf" // Default location of custom spray file.
hud_fastswitch 1 //[I/O] Fast weapon switching
jpeg_quality 100 // Screenshot quality, 0-100)
fps_max 999 // MAX FPS RATING
net_graph 1 // Enable/disable netgraph (2-4 advanced modes)
net_graphheight 48 // Height of netgraph
net_graphpos 1 // Position of netgraph (3-left 2-middle 1-right)
echo -MISC CVARS- Loaded
//-EXPERIMENTAL CVARS
weapon_showproficiency 1
echo -EXPERIMENTAL CVARS- Loaded
echo -------------------------
mat_configcurrent
echo Run mat_configcurrent...
echo -------------------------
Well I've come up with the following scripts that others may or may not find handy, I myself use them avidly and think it kinda helps. The reload script is my custom coding and the others may or may not be taken from another source. More will be added into this topic when found, feel free to post yours if you want to share.
echo -------------------------
echo 'Byakuya's Reload Script'
echo -------------------------
echo ...................Loading
alias +recov "+reload; wait; radio1; menuselect 1; say_team ***-(I'm Reloading, Cover me!)-***"
alias -recov "slot10; wait; wait; slot10; -reload"
bind "KEY" "+recov"
echo -------------------------
echo 'Byakuya's Reload Script'
echo -------------------------
echo ...................Loaded
Instructions:
Copy and paste above code wrap into a txt document, change it to what ever name you want but it has to have .cfg at the end for the file extention. I suggest reload.cfg. Also if you want a different text instead of what I have then change everything after 'say_team' to what ever you want. IE: ; say_team what ever text you want here". This script will automatically open the radio 1 menu and select the voice command "Cover Me!" without you pressing anything else but your reload key. Change "key" to what ever your reload key is.
From there you can either load it on demand via ingame using "exec filename.cfg" without the "s or just place it into your C:/Program Files/Steam/Steamapps/username/Counter Strike Source/cstrike/cfg/autoexec.cfg anywhere you want it, preferably at the bottom or top to make it easy to locate incase you want to remove it from the cfg. If you do not have an autoexec.cfg then make a new text document and name it to that.
----------------------------------------------------------------------
Low FPS Problems, want to gain abit more FPS, or just want to remove annoying details? I have the solution to this, just copy and paste the coded material below into your autoexec.cfg (read above to find it's location incase you don't know) and restart CSS. If there is something you don't want or need in the script below then just put "//" before the command to null it out.
//-RATES CVARS
rate 300000 // Maximum bytes/sec your internet connection can receive.
cl_updaterate 67 // The amount of updates the clients receive per second.
cl_cmdrate 67 // Max number of command packets sent to server per second
cl_interp 0.01 // Delay between sv time, and cl time.
cl_interp_ratio 1 // Interpolation delay calculated based off of the clients cl_updaterate.
cl_lagcompensation 1 // [I/O] Client-side lag compensation.
cl_smooth 1 // [I/O] Attempts to smooth out prediction errors in player positions
cl_smoothtime 0.01 // Time over which to smooth the view after prediction errors.
cl_predictweapons 1 // "0" = Serverside Calculation, "1" = Clientside Calculation
echo -RATES CVARS- Loaded
//-CROSSHAIR CVARS
cl_legacy_crosshair_scale 1 // [I/O] Enables legacy crosshair behavior
cl_legacy_crosshair_recoil 1 // [I/O] Enables FPS Independent Crosshair Spread
cl_crosshaircolor 0 // "0" = Green, "5" = Custom color [Specified by CVARS: (cl_crosshaircolor_r 0), (cl_crosshaircolor_g 0), and (cl_crosshaircolor_b 0)]
cl_crosshairsize 0 // Size of the crosshair in 'px' @ 640x480 res. [DEFAULT = 6]
cl_crosshairthickness 0 // Thickness of the crosshair in 'px' @ 640x480 res. [DEFAULT = 0.5]
cl_crosshairscale 3000 // Xhair size
cl_crosshairusealpha 1 // [I/O] Makes use below cmd
cl_crosshairalpha 9999 // Xhair color intensity
cl_dynamiccrosshair 0 // [I/O] Xhair control
sensitivity 3.0
echo -CROSSHAIR CVARS- Loaded
//-RENDERING CVARS
//r_mmx 1 // [I/O] Processor Instruction Setting [Enables MMX CPU Instruction set - Obsolete]
//r_sse 1 // [I/O] Processor Instruction Setting [Enables SSE CPU Instruction set - Obsolete]
r_sse2 1 // [I/O] Processor Instruction Setting [Enables SSE2 CPU Instruction set]
r_3dnow 1 // [I/O] Processor Instruction Setting [Enables 3DNow CPU Instruction set]
r_3dsky 0 // [I/O] Renders the 3D skybox projection
r_drawflecks 1 // [I/O] Renders bullet impacts on stone or metal surfaces
r_decals 2048 // Rendering of bullet and explosion marks/bomb-site indicators
r_drawmodeldecals 1 // [I/O] Renders blood spatter on models
r_propsmaxdist 0 // Sets range at which non-interactive props show up
r_eyes 0 // [I/O] Rendering of player eyes
r_teeth 0 // [I/O] Rendering of player teeth
r_renderoverlayfragment 0 // Rendering of surface decals such as graffiti
props_break_max_pieces 0
rope_rendersolid 0 // Enables/Disables rendering of ropes. [I/O]
//-----------
//-----------
r_rootlod 1 // MODEL DETAIL "0" = High, "1" = Medium, "2" = Low
r_waterforceexpensive 0 // WATER DETAIL "0" disables high-quality water
r_waterforcereflectentities 0 // WATER REFLECTIVITY "0" = Low, "1" = High
r_shadowrendertotexture 1 // SHADOW DETAIL "0" = Low, "1" = High
echo -RENDERING CVARS- Loaded
//-MATERIALS CVARS
mat_motion_blur_enabled 0 // MOTION BLUR [I/O]
mat_monitorgamma 1.6 // BRIGHTNESS 1.6 Min (brightest}
mat_vsync 0 // VERTICAL SYNC [I/O]
mat_colorcorrection 0 // COLOR CORRECTION [I/O]
mat_queue_mode 0 // MULTITHREADED RENDERING (CURRENTLY CAN CAUSE STUTTERING, FPS LOSS, LEAVE 0]"-1" = Autodetect, "0" = Disabled, "2" = Forced multithreaded rendering
mat_trilinear 1 // TRILINEAR FILTERING "0" = Bilinear, "1" = Trilinear
mat_reducefillrate 1 // SHADER DETAIL "0" = High, "1" = Low.
mat_picmip -1 // TEXTURE DETAIL "-1" Very High, "0" = High, "1" = Medium, "2" = Low
mat_hdr_level 1 // HDR EFFECTS "0" = Disabled, "2" = Full HDR
mat_disable_bloom 1 // "0" = Bloom Enabled, "1" = Bloom Disabled
mat_bumpmap 0 // Enables/Disables bumpmapping [I/O]
mat_specular 0 // Enables/Disables specular lighting [I/O]
//mat_compressedtextures 0
//mat_software_aa_strength 1
//mat_software_aa_strength_vgui 1.0
//mat_antialias 8 // 8
//mat_aaquality 0
//mat_parallaxmap 1
//mat_forceaniso 16 // Use Trilinear Mode [2, 4, 8, or 16] Higher levels of filtering require more system resources
//-MISC CVARS
muzzleflash_light 1 // Enable/Disables dynamic lighting effect from barrel when firing [I/O]
cl_forcepreload 1 // [I/O] Preload all content at once.
//cl_logofile "materials/vgui/logos/spray.vtf" // Default location of custom spray file.
hud_fastswitch 1 //[I/O] Fast weapon switching
jpeg_quality 100 // Screenshot quality, 0-100)
fps_max 999 // MAX FPS RATING
net_graph 1 // Enable/disable netgraph (2-4 advanced modes)
net_graphheight 48 // Height of netgraph
net_graphpos 1 // Position of netgraph (3-left 2-middle 1-right)
echo -MISC CVARS- Loaded
//-EXPERIMENTAL CVARS
weapon_showproficiency 1
echo -EXPERIMENTAL CVARS- Loaded
echo -------------------------
mat_configcurrent
echo Run mat_configcurrent...
echo -------------------------