Raised This Month: $ Target: $400
 0% 

List of Useful Locked Cvars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-12-2008 , 15:27   Re: List of Useful Locked Cvars
Reply With Quote #1

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
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 18:22.


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