Raised This Month: $51 Target: $400
 12% 

List of Useful Locked Cvars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-11-2008 , 14:35   List of Useful Locked Cvars
Reply With Quote #1

I only know roughly one or so..

But I was thinking, wouldn't it be great to have a list of useful locked cvars such as spy's cloak time and uber charge time and overheal multipliers and the like?

If any of you agree, please post away all of the useful (and not so useful) locked cvars you know of!

The List ~ the sm_cvar part is what you type in before the command in server.cfg to make it unlocked, the quotes are required.

Miscellaneous
sm_cvar ai_expression_optimization "0" ~ not a locked cvar, but it is useful for server optimization change to 1 to use.
sm_cvar net_compressionvoice "0" ~ I have this set to one for better bandwidth usage on my server.
sm_cvar mp_waitingforplayers_time "10" ~ how long you need to "wait" for other players to join at each server round. Can't be disabled, just shortened.
sm_cvar tf_caplinear "1" ~ set this to 0, and you won't have to capture control points in any kind of order, you still need to get them all, though.

Medic
sm_cvar tf_max_health_boost "1.5" heals to 150%, ~ so change to 2 to make it 200% normal health.
sm_cvar sm_cvar weapon_medigun_damage_modifier "1.5" ~ changes damage you do(1.5x normal) while being healed by a medic unaffected by crits.
sm_cvar weapon_medigun_charge_rate "40" ~ change to a lower value to make Uber's charge faster.
sm_cvar tf_invuln_time "1" ~ changes how long you stay invul for after an uber, "2" = twice as long.

Spy
sm_cvar tf_spy_cloak_consume_rate "10" ~ lower to 5 to make it last twice as long.
sm_cvar tf_spy_cloak_regen_rate "3.3" ~ change to a higher value to make it regenerate faster.
sm_cvar tf_spy_cloak_no_attack_time "2" ~ change to 1 or 0 to shorten how long it takes to be able to attack after decloaking, 0 not recommended unless you have an "insane" modded server.

Engineer
sm_cvar obj_dispenser_heal_rate "10" ~ still working on getting this working right...
sm_cvar tf_sentrygun_damage "16" ~ if you change it to 32 sentries will do twice the normal amount of damage.
sm_cvar tf_sentrygun_metal_per_shell "1" ~ how much metal costs per shell duh. changing to 0 has nasty side-affects.
sm_cvar tf_sentrygun_metal_per_rocket "3" ~ how much metal costs per rocket duh. changing to -1 has really nasty side-affects.
sm_cvar tf_sentrygun_newtarget_dist "300" ~ not sure if this works or not, needs more testing..
sm_cvar tf_sentrygun_ammocheat "0" ~ changing to 1 gives sentries infinite ammo, no need to hit with wrench anymore! mix this with metal_per_etc to 0 for extra measure.
sm_cvar obj_child_damage_factor "1" ~ the damage factor all buildings receive. set to .5 for half damage.
sm_cvar obj_damage_factor "1" ~ not sure as to the difference between these two, so just set them both at once the same value.

Pyro
sm_cvar tf_flamethrower_maxdamagedist "300" ~ tired of valve fucking over your Pyro's? Change this to 350 to make things more fair.

Currently I'm looking for a way to edit the Kritzkrieg's damage multiplier. It's default value I know is 3.

Last edited by Cooltad; 06-12-2008 at 20:16.
Cooltad is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-11-2008 , 19:49   Re: List of Useful Locked Cvars
Reply With Quote #2

http://www.dodbits.com/downloads/cva...r_list_a-z.htm
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-11-2008 , 21:39   Re: List of Useful Locked Cvars
Reply With Quote #3

No.
The locked cvars are not in that list.
I checked already, try again.
Anyways, gonna edit in ones I know of now..
Cooltad is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-11-2008 , 21:46   Re: List of Useful Locked Cvars
Reply With Quote #4

http://de.pastebin.ca/760608
http://vsfgamers.com/forum/showthread.php?t=24845

Plenty more like them.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-11-2008 , 21:50   Re: List of Useful Locked Cvars
Reply With Quote #5

This thread will still be useful for listing actually useful ones and telling what they do and their default values and how to use them etc. =]
Edit:
Also, many useful and cool looking cvars in there are not described or values not shown so this thread IS important.

Last edited by Cooltad; 06-11-2008 at 21:53.
Cooltad is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 06-12-2008 , 00:34   Re: List of Useful Locked Cvars
Reply With Quote #6

Someone made a plugin that lists the hidden ones:

http://forums.alliedmods.net/showthread.php?p=589914

Then you'd just have to experiement with them all to figure out what ones help, and what ones dont work so well.
I found one example of this, I modified tf_boost_drain_time and for some reason people would frequently get stuck in the ground. Didnt seem like it would cause something like that, but there it is.
ratty is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-12-2008 , 15:27   Re: List of Useful Locked Cvars
Reply With Quote #7

For a list of only the locked cvars, I modified one of the plugins I'm using to get this:

PHP Code:
#include <sourcemod>

public Plugin:myinfo =
{
  
name "locked cvar lister",
  
author "bl4nk",
  
description "lists locked cvars",
  
version "1.0.0",
  
url "http://forums.alliedmods.net/"
};

#if !defined FCVAR_DEVELOPMENTONLY
#define FCVAR_DEVELOPMENTONLY    (1<<1)
#endif

public OnPluginStart()
{
    
RegAdminCmd("sm_listlockedcvars"Command_ListCvarsADMFLAG_CHEATS);
}

public 
Action:Command_ListCvars(clientargs)
{
    
decl String:name[64];
    new 
Handle:cvarbool:isCommandflags;

    
cvar FindFirstConCommand(namesizeof(name), isCommandflags);
    if (
cvar == INVALID_HANDLE)
    {
        
PrintToConsole(client"Could not load cvar list");
        return 
Plugin_Handled;
    }

    do
    {
        if (
isCommand || !(flags FCVAR_DEVELOPMENTONLY) || !StrContains(name"bot"))
        {
            continue;
        }

        
PrintToConsole(client"Locked ConVar: %s"name);
    } while (
FindNextConCommand(cvarnamesizeof(name), isCommandflags));

    
CloseHandle(cvar);
    return 
Plugin_Handled;

After running the command (sm_listlockedcvars), I came up with this list:

Code:
Locked ConVar: cl_showanimstate
Locked ConVar: cl_showanimstate_log
Locked ConVar: fx_drawimpactdebris
Locked ConVar: fx_drawimpactdust
Locked ConVar: fx_drawmetalspark
Locked ConVar: tf_debug_weapontrail
Locked ConVar: tf_playersgib_forceup
Locked ConVar: tf_playersgib_force
Locked ConVar: tf_playergib_maxspeed
Locked ConVar: tf_teammate_max_invis
Locked ConVar: tf_tauntcam_yaw
Locked ConVar: tf_tauntcam_pitch
Locked ConVar: tf_tauntcam_dist
Locked ConVar: tf_max_separation_force
Locked ConVar: tf_vm_min_invis
Locked ConVar: tf_vm_max_invis
Locked ConVar: tf_roundinfo_pause
Locked ConVar: cl_showcrit
Locked ConVar: sv_showanimstate
Locked ConVar: sv_showanimstate_log
Locked ConVar: mp_feetyawrate
Locked ConVar: mp_facefronttime
Locked ConVar: mp_ik
Locked ConVar: sv_netvisdist
Locked ConVar: sv_suppress_viewpunch
Locked ConVar: sv_force_transmit_ents
Locked ConVar: sv_optimizedmovement
Locked ConVar: sv_stopspeed
Locked ConVar: sv_maxspeed
Locked ConVar: sv_accelerate
Locked ConVar: sv_airaccelerate
Locked ConVar: sv_wateraccelerate
Locked ConVar: sv_waterfriction
Locked ConVar: sv_footsteps
Locked ConVar: sv_rollspeed
Locked ConVar: sv_rollangle
Locked ConVar: sv_friction
Locked ConVar: sv_bounce
Locked ConVar: sv_maxvelocity
Locked ConVar: sv_stepsize
Locked ConVar: sv_backspeed
Locked ConVar: sv_waterdist
Locked ConVar: sv_pushaway_force
Locked ConVar: sv_pushaway_min_player_speed
Locked ConVar: sv_pushaway_max_force
Locked ConVar: sv_pushaway_clientside
Locked ConVar: sv_pushaway_player_force
Locked ConVar: sv_pushaway_max_player_force
Locked ConVar: sv_unlag
Locked ConVar: sv_maxunlag
Locked ConVar: sv_lagflushbonecache
Locked ConVar: sv_unlag_fixstuck
Locked ConVar: sv_unlag_debug
Locked ConVar: sv_pushaway_clientside_size
Locked ConVar: mp_capstyle
Locked ConVar: mp_blockstyle
Locked ConVar: mp_capdeteriorate_time
Locked ConVar: mp_showroundtransitions
Locked ConVar: mp_showcleanedupents
Locked ConVar: ch_item_name
Locked ConVar: item_quality_chance_unique
Locked ConVar: item_quality_chance_rare
Locked ConVar: item_quality_chance_common
Locked ConVar: tf_obj_build_rotation_speed
Locked ConVar: tf_obj_max_attach_dist
Locked ConVar: sv_ignore_hitboxes
Locked ConVar: anim_showstate
Locked ConVar: anim_showstatelog
Locked ConVar: mp_showgestureslots
Locked ConVar: mp_slammoveyaw
Locked ConVar: tf_maxspeed
Locked ConVar: tf_showspeed
Locked ConVar: tf_avoidteammates
Locked ConVar: tf_solidobjects
Locked ConVar: tf_clamp_back_speed
Locked ConVar: tf_clamp_back_speed_min
Locked ConVar: tf_caplinear
Locked ConVar: tf_stalematechangeclasstime
Locked ConVar: mp_waitingforplayers_time
Locked ConVar: tf_fixedup_damage_radius
Locked ConVar: tf_obj_gib_velocity_min
Locked ConVar: tf_obj_gib_velocity_max
Locked ConVar: tf_obj_gib_maxspeed
Locked ConVar: tf_obj_upgrade_per_hit
Locked ConVar: object_verbose
Locked ConVar: obj_damage_factor
Locked ConVar: obj_child_damage_factor
Locked ConVar: tf_fastbuild
Locked ConVar: tf_obj_ground_clearance
Locked ConVar: tf_sentrygun_damage
Locked ConVar: tf_sentrygun_ammocheat
Locked ConVar: tf_sentrygun_newtarget_dist
Locked ConVar: tf_sentrygun_metal_per_shell
Locked ConVar: tf_sentrygun_metal_per_rocket
Locked ConVar: tf_sentrygun_notarget
Locked ConVar: tf_teleporter_fov_start
Locked ConVar: tf_teleporter_fov_time
Locked ConVar: tf_playerstatetransitions
Locked ConVar: tf_weapon_ragdoll_velocity_min
Locked ConVar: tf_weapon_ragdoll_velocity_max
Locked ConVar: tf_weapon_ragdoll_maxspeed
Locked ConVar: tf_damageforcescale_other
Locked ConVar: tf_damageforcescale_self_soldier
Locked ConVar: tf_damagescale_self_soldier
Locked ConVar: tf_damage_lineardist
Locked ConVar: tf_damage_range
Locked ConVar: tf_max_voice_speak_delay
Locked ConVar: tf_debug_damage
Locked ConVar: tf_spy_invis_time
Locked ConVar: tf_spy_invis_unstealth_time
Locked ConVar: tf_spy_max_cloaked_speed
Locked ConVar: tf_max_health_boost
Locked ConVar: tf_invuln_time
Locked ConVar: tf_boost_drain_time
Locked ConVar: tf_debug_bullets
Locked ConVar: tf_damage_events_track_for
Locked ConVar: tf_useparticletracers
Locked ConVar: tf_spy_cloak_consume_rate
Locked ConVar: tf_spy_cloak_regen_rate
Locked ConVar: tf_spy_cloak_no_attack_time
Locked ConVar: tf_cheapobjects
Locked ConVar: tf_debug_flamethrower
Locked ConVar: tf_flamethrower_velocity
Locked ConVar: tf_flamethrower_drag
Locked ConVar: tf_flamethrower_float
Locked ConVar: tf_flamethrower_flametime
Locked ConVar: tf_flamethrower_vecrand
Locked ConVar: tf_flamethrower_boxsize
Locked ConVar: tf_flamethrower_maxdamagedist
Locked ConVar: tf_flamethrower_shortrangedamagemultiplier
Locked ConVar: tf_flamethrower_velocityfadestart
Locked ConVar: tf_flamethrower_velocityfadeend
Locked ConVar: tf_grenadelauncher_chargescale
Locked ConVar: tf_grenadelauncher_livetime
Locked ConVar: tf_grenadelauncher_min_contact_speed
Locked ConVar: tf_grenade_forcefrom_bullet
Locked ConVar: tf_grenade_forcefrom_buckshot
Locked ConVar: tf_grenade_forcefrom_blast
Locked ConVar: tf_grenade_force_sleeptime
Locked ConVar: tf_pipebomb_force_to_move
Locked ConVar: weapon_medigun_damage_modifier
Locked ConVar: weapon_medigun_construction_rate
Locked ConVar: weapon_medigun_charge_rate
Locked ConVar: weapon_medigun_chargerelease_rate
Locked ConVar: tf_medigun_lagcomp
Locked ConVar: mp_forceactivityset
Locked ConVar: tf_grenade_show_radius
Locked ConVar: tf_grenade_show_radius_time
Locked ConVar: tf_meleeattackforcescale
Locked ConVar: tf_rocket_show_radius
Locked ConVar: sv_instancebaselines
Locked ConVar: sv_useexplicitdelete
Locked ConVar: cl_interpolate
Locked ConVar: r_entity
Locked ConVar: sv_stressbots
Locked ConVar: sv_sendtables
Locked ConVar: sv_creationtickcheck
You guys are probably only interested in the tf_ commands (and a few of the others), though.
bl4nk is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-12-2008 , 19:30   Re: List of Useful Locked Cvars
Reply With Quote #8

Wooh, its gonna take me a while to see what the commands do, what changes to the values do, and what the default values are. -.-;

Edit: Also, the tf_boost_drain_time has nothing to do with people getting stuck. It determines how long it takes for the overheal to wear off, defaulted at 15 seconds. On my server its 120.

Edit 2: Updated the list, have fun!

Last edited by Cooltad; 06-12-2008 at 20:09.
Cooltad is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 06-12-2008 , 22:24   Re: List of Useful Locked Cvars
Reply With Quote #9

Quote:
Locked ConVar: item_quality_chance_unique
Locked ConVar: item_quality_chance_rare
Locked ConVar: item_quality_chance_common
Valve WTF?!?!?!!? Is this World of Team Fortress? WTB healgun enchant

And just so I can actually add something useful to this thread, I took the above list, and piped it into a script to dump out the default values.

First, these said no such cvar when trying it on the server, so they must be client only:

Quote:
cl_showanimstate
cl_showanimstate_log
fx_drawimpactdebris
fx_drawimpactdust
fx_drawmetalspark
tf_debug_weapontrail
tf_playersgib_forceup
tf_playersgib_force
tf_playergib_maxspeed
tf_teammate_max_invis
tf_tauntcam_yaw
tf_tauntcam_pitch
tf_tauntcam_dist
tf_max_separation_force
tf_vm_min_invis
tf_vm_max_invis
tf_roundinfo_pause
cl_showcrit
And these are the ones it could find, with default values:

Quote:
"anim_showstate" "-1"
"anim_showstatelog" "0"
"ch_item_name" ""
"cl_interpolate" "1.0"
"item_quality_chance_common" "1.0"
"item_quality_chance_rare" "0.5"
"item_quality_chance_unique" "0.1"
"mp_blockstyle" "1"
"mp_capdeteriorate_time" "90.0"
"mp_capstyle" "1"
"mp_facefronttime" "3"
"mp_feetyawrate" "720"
"mp_forceactivityset" "-1"
"mp_ik" "1"
"mp_showcleanedupents" "0"
"mp_showgestureslots" "-1"
"mp_showroundtransitions" "0"
"mp_slammoveyaw" "0"
"mp_waitingforplayers_time" "40"
"obj_child_damage_factor" "0.25"
"obj_damage_factor" "0"
"object_verbose" "0"
"r_entity" "-1"
"sv_accelerate" "10"
"sv_airaccelerate" "10"
"sv_backspeed" "0.6"
"sv_bounce" "0"
"sv_creationtickcheck" "1"
"sv_footsteps" "1"
"sv_force_transmit_ents" "0"
"sv_friction" "4"
"sv_ignore_hitboxes" "0"
"sv_instancebaselines" "1"
"sv_lagflushbonecache" "1"
"sv_maxspeed" "320"
"sv_maxunlag" "1.0"
"sv_maxvelocity" "3500"
"sv_netvisdist" "10000"
"sv_optimizedmovement" "1"
"sv_pushaway_clientside" "0"
"sv_pushaway_clientside_size" "15"
"sv_pushaway_force" "30000"
"sv_pushaway_max_force" "1000"
"sv_pushaway_max_player_force" "10000"
"sv_pushaway_min_player_speed" "75"
"sv_pushaway_player_force" "200000"
"sv_rollangle" "0"
"sv_rollspeed" "200"
"sv_sendtables" "0"
"sv_showanimstate" "-1"
"sv_showanimstate_log" "0"
"sv_stepsize" "18"
"sv_stopspeed" "100"
"sv_stressbots" "0"
"sv_suppress_viewpunch" "0"
"sv_unlag" "1"
"sv_unlag_debug" "0"
"sv_unlag_fixstuck" "0"
"sv_useexplicitdelete" "1"
"sv_wateraccelerate" "10"
"sv_waterdist" "12"
"sv_waterfriction" "1"
"tf_avoidteammates" "1"
"tf_boost_drain_time" "15.0"
"tf_caplinear" "1"
"tf_cheapobjects" "0"
"tf_clamp_back_speed" "0.9"
"tf_clamp_back_speed_min" "100"
"tf_damage_events_track_for" "30"
"tf_damageforcescale_other" "6.0"
"tf_damageforcescale_self_soldier" "10.0"
"tf_damage_lineardist" "0"
"tf_damage_range" "0.5"
"tf_damagescale_self_soldier" "0.60"
"tf_debug_bullets" "0"
"tf_debug_damage" "0"
"tf_debug_flamethrower" "0"
"tf_fastbuild" "0"
"tf_fixedup_damage_radius" "1"
"tf_flamethrower_boxsize" "8.0"
"tf_flamethrower_drag" "0.89"
"tf_flamethrower_flametime" "0.5"
"tf_flamethrower_float" "50.0"
"tf_flamethrower_maxdamagedist" "350.0"
"tf_flamethrower_shortrangedamagemultipli er" "1.2"
"tf_flamethrower_vecrand" "0.05"
"tf_flamethrower_velocity" "2300.0"
"tf_flamethrower_velocityfadeend" ".5"
"tf_flamethrower_velocityfadestart" ".3"
"tf_grenade_forcefrom_blast" "0.15"
"tf_grenade_forcefrom_buckshot" "0.75"
"tf_grenade_forcefrom_bullet" "2.0"
"tf_grenade_force_sleeptime" "1.0"
"tf_grenadelauncher_chargescale" "1.0"
"tf_grenadelauncher_livetime" "0.8"
"tf_grenadelauncher_min_contact_speed" "100"
"tf_grenade_show_radius" "0"
"tf_grenade_show_radius_time" "5.0"
"tf_invuln_time" "1.0"
"tf_max_health_boost" "1.5"
"tf_maxspeed" "400"
"tf_max_voice_speak_delay" "1.5"
"tf_medigun_lagcomp" "1"
"tf_meleeattackforcescale" "80.0"
"tf_obj_build_rotation_speed" "250"
"tf_obj_gib_maxspeed" "800"
"tf_obj_gib_velocity_max" "450"
"tf_obj_gib_velocity_min" "100"
"tf_obj_ground_clearance" "32"
"tf_obj_max_attach_dist" "160"
"tf_obj_upgrade_per_hit" "25"
"tf_pipebomb_force_to_move" "1500.0"
"tf_playerstatetransitions" "-2"
"tf_rocket_show_radius" "0"
"tf_sentrygun_ammocheat" "0"
"tf_sentrygun_damage" "16"
"tf_sentrygun_metal_per_rocket" "2"
"tf_sentrygun_metal_per_shell" "1"
"tf_sentrygun_newtarget_dist" "200"
"tf_sentrygun_notarget" "0"
"tf_showspeed" "0"
"tf_solidobjects" "1"
"tf_spy_cloak_consume_rate" "10.0"
"tf_spy_cloak_no_attack_time" "2.0"
"tf_spy_cloak_regen_rate" "3.3"
"tf_spy_invis_time" "1.0"
"tf_spy_invis_unstealth_time" "2.0"
"tf_spy_max_cloaked_speed" "999"
"tf_stalematechangeclasstime" "20"
"tf_teleporter_fov_start" "120"
"tf_teleporter_fov_time" "0.5"
"tf_useparticletracers" "1"
"tf_weapon_ragdoll_maxspeed" "300"
"tf_weapon_ragdoll_velocity_max" "150"
"tf_weapon_ragdoll_velocity_min" "100"
"weapon_medigun_charge_rate" "40"
"weapon_medigun_chargerelease_rate" "8"
"weapon_medigun_construction_rate" "10"
"weapon_medigun_damage_modifier" "1.5"

Last edited by ratty; 06-12-2008 at 22:33.
ratty is offline
Neo Cool Dude
Member
Join Date: Apr 2008
Old 06-30-2008 , 16:41   Re: List of Useful Locked Cvars
Reply With Quote #10

Can someone explain to me the grenade cvars?
Neo Cool Dude is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode