Skip to content

Component Reference

citrusCS edited this page Mar 9, 2019 · 1 revision
Clone this wiki locally

bots.addct

Aliases: add_ct

Add a bot to the Counter-Terrorist team.

Info
Default Name Add CT
Default Description Add a bot to the Counter-Terrorist team.
Flags None
Definition component.bots.AddCT - source
Base component.generic.FireableCmd - source
Parameters

bots.addt

Aliases: add_t

Add a bot to the Terrorist team.

Info
Default Name Add T
Default Description Add a bot to the Terrorist team.
Flags None
Definition component.bots.AddT - source
Base component.generic.FireableCmd - source
Parameters

bots.allowrogues

Aliases: allow_rogues, rogues

Allow bots to go 'rogue', i.e. stop listening to other team members.

Info
Default Name Allow Rogues
Default Description Allow bots to go 'rogue', i.e. stop listening to other team members.
Flags None
Definition component.bots.AllowRogues - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.allweapons

Aliases: all_weapons

Allow bots to use all weapons available.

Info
Default Name Allow All Weapons
Default Description Allow bots to use all weapons available.
Flags None
Definition component.bots.AllWeapons - source
Base component.generic.FireableCmd - source
Parameters

bots.chatter

Control how bots talk.

Info
Default Name Chatter Level
Default Description Control how bots talk.
Flags None
Definition component.bots.Chatter - source
Base component.generic.ChoiceVar - source
Parameters

bots.difficulty

Change the skill level of bots.

Info
Default Name Difficulty Level
Default Description Change the skill level of bots.
Flags None
Definition component.bots.Difficulty - source
Base component.generic.Bar - source
Parameters

bots.dontshoot

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: dont_shoot, noshoot

Toggle whether bots will shoot or not.

Info
Default Name Don't Shoot
Default Description Toggle whether bots will shoot or not.
Flags cheat
Definition component.bots.DontShoot - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.freeze

This component is a cheat or triggers a cheat and cannot be used on most servers.

Toggle the freezing of bots.

Info
Default Name Freeze
Default Description Toggle the freezing of bots.
Flags cheat
Definition component.bots.Freeze - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.ignoreplayers

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: ignore_players

Toggle bots ignoring players when determining shooting.

Info
Default Name Ignore Players
Default Description Toggle bots ignoring players when determining shooting.
Flags cheat
Definition component.bots.IgnorePlayers - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.jointeam

Aliases: join_team

Control which team bots will join into.

Info
Default Name Join Team
Default Description Control which team bots will join into.
Flags None
Definition component.bots.JoinTeam - source
Base component.generic.ChoiceVar - source
Parameters

bots.kick

Kick all bots.

Info
Default Name Kick All
Default Description Kick all bots.
Flags None
Definition component.bots.Kick - source
Base component.generic.FireableCmd - source
Parameters

bots.kill

This component is a cheat or triggers a cheat and cannot be used on most servers.

Kill all bots, regardless of team

Info
Default Name Kill All
Default Description Kill all bots, regardless of team
Flags cheat
Definition component.bots.Kill - source
Base component.generic.FireableCmd - source
Parameters

bots.kill.ct

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: kill_ct

Kill all Counter-Terrorist bots.

Info
Default Name Kill CT
Default Description Kill all Counter-Terrorist bots.
Flags cheat
Definition component.bots.KillCT - source
Base component.generic.FireableCmd - source
Parameters

bots.kill.t

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: kill_t

Kill all Terrorist bots.

Info
Default Name Kill T
Default Description Kill all Terrorist bots.
Flags cheat
Definition component.bots.KillT - source
Base component.generic.FireableCmd - source
Parameters

bots.mimic

This component is a cheat or triggers a cheat and cannot be used on most servers.

Toggle bot mimicking, allowing bots to mimic your every move.

Info
Default Name Mimic
Default Description Toggle bot mimicking, allowing bots to mimic your every move.
Flags cheat
Definition component.bots.Mimic - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.place

This component is a cheat or triggers a cheat and cannot be used on most servers.

Teleport a bot directly to you.

Info
Default Name Place
Default Description Teleport a bot directly to you.
Flags cheat
Definition component.bots.Place - source
Base component.generic.FireableCmd - source
Parameters

bots.quota

Change the amount of usable bots.

Info
Default Name Quota
Default Description Change the amount of usable bots.
Flags None
Definition component.bots.Quota - source
Base component.generic.Bar - source
Parameters

bots.randombuy

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: random_buy

Toggle bots choosing buys randomly.

Info
Default Name Random Buy
Default Description Toggle bots choosing buys randomly.
Flags cheat
Definition component.bots.RandomBuy - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.stop

This component is a cheat or triggers a cheat and cannot be used on most servers.

Stop all bot processing.

Info
Default Name Stop
Default Description Stop all bot processing.
Flags cheat
Definition component.bots.Stop - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.grenades

Aliases: nades

Toggle the ability for bots to use grenades.

Info
Default Name Allow Grenades
Default Description Toggle the ability for bots to use grenades.
Flags None
Definition component.bots.Grenades - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.machineguns

Aliases: machine_guns

Toggle the ability for bots to use machine guns.

Info
Default Name Allow Machine Guns
Default Description Toggle the ability for bots to use machine guns.
Flags None
Definition component.bots.MachineGuns - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.pistols

Toggle the ability for bots to use pistols.

Info
Default Name Allow Pistols
Default Description Toggle the ability for bots to use pistols.
Flags None
Definition component.bots.Pistols - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.rifles

Toggle the ability for bots to use rifles.

Info
Default Name Allow Rifles
Default Description Toggle the ability for bots to use rifles.
Flags None
Definition component.bots.Rifles - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.shotguns

Toggle the ability for bots to use shotguns.

Info
Default Name Allow Shotguns
Default Description Toggle the ability for bots to use shotguns.
Flags None
Definition component.bots.Shotguns - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.snipers

Toggle the ability for bots to use snipers.

Info
Default Name Allow Snipers
Default Description Toggle the ability for bots to use snipers.
Flags None
Definition component.bots.Snipers - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.weapon_type.submachineguns

Aliases: sub_machine_guns, smgs

Toggle the ability for bots to use sub-machine guns

Info
Default Name Allow SMGS
Default Description Toggle the ability for bots to use sub-machine guns
Flags None
Definition component.bots.SubMachineGuns - source
Base component.generic.ChoiceVarBinary - source
Parameters

bots.zombie

This component is a cheat or triggers a cheat and cannot be used on most servers.

Toggle bot idle mode, meaning they won't attack when on.

Info
Default Name Zombie
Default Description Toggle bot idle mode, meaning they won't attack when on.
Flags cheat
Definition component.bots.Zombie - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.buddha

This component is a cheat or triggers a cheat and cannot be used on most servers. The action triggered by this component modifies some internal write-only state. Thus, the behavior of this component may be inpredictable if used as a choice menu.

Enable/disable buddha mode for all players.

Info
Default Name Buddha Mode
Default Description Enable/disable buddha mode for all players.
Flags cheat needs_fireable
Definition component.cheats.Buddha - source
Base component.generic.FireableCmd - source
Parameters

cheats.crosshairrecoil

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: crosshair_recoil, xhairrecoil, xhair_recoil

Toggle the showing of recoil/aimpunch by moving the crosshair.

Info
Default Name Crosshair Recoil
Default Description Toggle the showing of recoil/aimpunch by moving the crosshair.
Flags cheat
Definition component.cheats.CrosshairRecoil - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.drawhud

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: draw_hud

Toggle the rendering of the HUD.

Info
Default Name Draw HUD
Default Description Toggle the rendering of the HUD.
Flags cheat
Definition component.cheats.DrawHUD - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.drawviewmodel

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: draw_viewmodel

Toggle the drawing of the player's viewmodel.

Info
Default Name Draw Viewmodel
Default Description Toggle the drawing of the player's viewmodel.
Flags cheat
Definition component.cheats.DrawViewmodel - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.enable

This component is a cheat or triggers a cheat and cannot be used on most servers.

Toggle sv_cheats between 0 and 1.

Info
Default Name Server Cheats
Default Description Toggle sv_cheats between 0 and 1.
Flags cheat
Definition component.cheats.Enable - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.explode

This component is a cheat or triggers a cheat and cannot be used on most servers.

Explode yourself.

Info
Default Name Explode
Default Description Explode yourself.
Flags cheat
Definition component.cheats.Explode - source
Base component.generic.FireableCmd - source
Parameters

cheats.fogenable

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: fog_enable

Toggle fog rendering.

Info
Default Name Fog Enable
Default Description Toggle fog rendering.
Flags cheat
Definition component.cheats.FogEnable - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.giveammo

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: give_ammo, givecurrentammo, give_current_ammo

Give yourself ammo for your currently held weapon.

Info
Default Name Give Ammo
Default Description Give yourself ammo for your currently held weapon.
Flags cheat
Definition component.cheats.GiveAmmo - source
Base component.generic.FireableCmd - source
Parameters

cheats.giveweapon

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: give_weapon

Give yourself a weapon.

Info
Default Name Give Weapon
Default Description Give yourself a weapon.
Flags cheat
Definition component.cheats.GiveWeapon - source
Base menu.fireablecmd.FireableCmd - source
Parameters

weapon

The weapon to be given.


cheats.god

This component is a cheat or triggers a cheat and cannot be used on most servers. The action triggered by this component modifies some internal write-only state. Thus, the behavior of this component may be inpredictable if used as a choice menu.

Enable/disable player godmode.

Info
Default Name God Mode
Default Description Enable/disable player godmode.
Flags cheat needs_fireable
Definition component.cheats.God - source
Base component.generic.FireableCmd - source
Parameters

cheats.gods

This component is a cheat or triggers a cheat and cannot be used on most servers. The action triggered by this component modifies some internal write-only state. Thus, the behavior of this component may be inpredictable if used as a choice menu.

Aliases: teamgod, team_god

Enable/disable godmode for all players.

Info
Default Name Gods Mode
Default Description Enable/disable godmode for all players.
Flags cheat needs_fireable
Definition component.cheats.Gods - source
Base component.generic.FireableCmd - source
Parameters

cheats.gravity

This component is a cheat or triggers a cheat and cannot be used on most servers.

Change the server's gravity scale, in units per second squared.

Info
Default Name Gravity
Default Description Change the server's gravity scale, in units per second squared.
Flags cheat
Definition component.cheats.Gravity - source
Base component.generic.Bar - source
Parameters

cheats.grenadetrajectory

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: grenade_trajectory

Toggle the rendering of grenade paths when they are thrown.

Info
Default Name Grenade Trajectory
Default Description Toggle the rendering of grenade paths when they are thrown.
Flags cheat
Definition component.cheats.GrenadeTrajectory - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.hurtme

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: hurt_me

Hurt yourself for a set amount of damage.

Info
Default Name Hurt Me
Default Description Hurt yourself for a set amount of damage.
Flags cheat
Definition component.cheats.HurtMe - source
Base menu.fireablecmd.FireableCmd - source
Parameters

damage

The default value for this parameter is 10. Values for this parameter should be clamped to integer values.

The amount of damage that firing this should accrue.


cheats.noclip

This component is a cheat or triggers a cheat and cannot be used on most servers.

Toggle physics clipping.

Info
Default Name Noclip
Default Description Toggle physics clipping.
Flags cheat
Definition component.cheats.Noclip - source
Base component.generic.ChoiceVarBinary - source
Parameters

cheats.noclip.speed

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: noclip_speed

Change physics clipping speed.

Info
Default Name Noclip Speed
Default Description Change physics clipping speed.
Flags cheat
Definition component.cheats.NoclipSpeed - source
Base component.generic.Bar - source
Parameters

cheats.parachute

This component is a cheat or triggers a cheat and cannot be used on most servers.

Equip a parachute from DZ maps.

Info
Default Name Equip Parachute
Default Description Equip a parachute from DZ maps.
Flags cheat
Definition component.cheats.Parachute - source
Base component.generic.FireableCmd - source
Parameters

cheats.recoilscale

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: recoil_scale

Change recoil scale. 0 for no recoil.

Info
Default Name Recoil Scale
Default Description Change recoil scale. 0 for no recoil.
Flags cheat
Definition component.cheats.RecoilScale - source
Base component.generic.Bar - source
Parameters

cheats.thirdperson

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: third_person

Toggle between third and first person.

Info
Default Name Third Person
Default Description Toggle between third and first person.
Flags cheat
Definition component.cheats.Thirdperson - source
Base component.generic.Choice - source
Parameters

cheats.timescale

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: time_scale

Change the server's time scale. 0 does not make the game stop.

Info
Default Name Time Scale
Default Description Change the server's time scale. 0 does not make the game stop.
Flags cheat
Definition component.cheats.TimeScale - source
Base component.generic.Bar - source
Parameters

config.autobuys

Aliases: autobuy, auto_buys, auto_buy

Choose between autobuy presets.

Info
Default Name Autobuys
Default Description Choose between autobuy presets.
Flags None
Definition component.config.Autobuys - source
Base component.generic.PresetChooser - source
Parameters

config.crosshair

Aliases: crosshairs, xhair, xhairs

Choose from crosshair presets.

Info
Default Name Crosshair
Default Description Choose from crosshair presets.
Flags None
Definition component.config.Crosshair - source
Base component.generic.PresetChooser - source
Parameters

config.hud

Aliases: huds

Choose from HUD presets.

Info
Default Name HUD
Default Description Choose from HUD presets.
Flags None
Definition component.config.HUD - source
Base component.generic.PresetChooser - source
Parameters

config.mode

Aliases: modes, gamemodes, game_modes

Choose between different user-defined gamemode presets.

Info
Default Name Game Modes
Default Description Choose between different user-defined gamemode presets.
Flags None
Definition component.config.Mode - source
Base component.generic.PresetChooser - source
Parameters

config.viewmodel

Aliases: viewmodels, view_model, view_models

Choose from viewmodel presets.

Info
Default Name Viewmodel
Default Description Choose from viewmodel presets.
Flags None
Definition component.config.Viewmodel - source
Base component.generic.PresetChooser - source
Parameters

debug.debugmenu

This component is a cheat or triggers a cheat and cannot be used on most servers. The action triggered by this component modifies some internal write-only state. Thus, the behavior of this component may be inpredictable if used as a choice menu.

Aliases: debug_menu

Open/Close the debug menu.

Info
Default Name Debug Menu
Default Description Open/Close the debug menu.
Flags cheat needs_fireable
Definition component.debug.DebugMenu - source
Base component.generic.FireableCmd - source
Parameters

debug.drawskeleton

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: draw_skeleton

Draw bone entity skeletons in wireframe form.

Info
Default Name Draw Skeletons
Default Description Draw bone entity skeletons in wireframe form.
Flags cheat
Definition component.debug.DrawSkeleton - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.drawvguitree

Aliases: draw_vgui_tree, vguitree, vgui_tree, vguidrawtree, vgui_draw_tree

Draw a tree of all VGUI widgets and their info.

Info
Default Name Draw VGUI Tree
Default Description Draw a tree of all VGUI widgets and their info.
Flags None
Definition component.debug.DrawVGUITree - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.drawwireframe

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: draw_wireframe

Draw a wireframe over the scene.

Info
Default Name Draw Wireframe
Default Description Draw a wireframe over the scene.
Flags cheat
Definition component.debug.DrawWireframe - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.entityreport

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: entity_report

Show a list of all entities in the scene.

Info
Default Name Entity Report
Default Description Show a list of all entities in the scene.
Flags cheat
Definition component.debug.EntityReport - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.lockpvs

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: lock_pvs

Lock/Unlock the PVS (Partially Visible Set) of polygons.

Info
Default Name Lock PVS
Default Description Lock/Unlock the PVS (Partially Visible Set) of polygons.
Flags cheat
Definition component.debug.LockPVS - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.netgraph

Aliases: net_graph

Show network stats and frames per second.

Info
Default Name Net Graph
Default Description Show network stats and frames per second.
Flags None
Definition component.debug.NetGraph - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showbudget

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: show_budget

Show information about the current render budget, which tracks the amounts of time each stage of rendering takes.

Info
Default Name Show Render Budget
Default Description Show information about the current render budget, which tracks the amounts of time each stage of rendering takes.
Flags cheat
Definition component.debug.ShowBudget - source
Base component.generic.Choice - source
Parameters

debug.showbullethits

This component modifies a console variable that is replicated, meaning it can only be modified by server operators and it is changed (replicated) on all connected clients.

Aliases: show_bullet_hits

Show bullet hits as red cylinders when they hit an entity.

Info
Default Name Show Bullet Hits
Default Description Show bullet hits as red cylinders when they hit an entity.
Flags replicated
Definition component.debug.ShowBulletHits - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showevents

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: show_events

Show entity event firing info in the top right of the screen.

Info
Default Name Show Events
Default Description Show entity event firing info in the top right of the screen.
Flags cheat
Definition component.debug.ShowEvents - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showfps

Aliases: show_fps

Show the FPS and map name in the top left of the screen.

Info
Default Name Show FPS
Default Description Show the FPS and map name in the top left of the screen.
Flags None
Definition component.debug.ShowFPS - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showimpacts

This component modifies a console variable that is replicated, meaning it can only be modified by server operators and it is changed (replicated) on all connected clients.

Aliases: show_impacts

Show impacts as red/blue boxes wherever the bullet hits.

Info
Default Name Show Impacts
Default Description Show impacts as red/blue boxes wherever the bullet hits.
Flags replicated
Definition component.debug.ShowImpacts - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showlagcompensation

Aliases: show_lag_compensation

Show a lag compensated hitboxes, clientside.

Info
Default Name Show Lag Compensation
Default Description Show a lag compensated hitboxes, clientside.
Flags None
Definition component.debug.ShowLagCompensation - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showpos

Aliases: show_pos

Show the player's position in the top left of the screen.

Info
Default Name Show Position
Default Description Show the player's position in the top left of the screen.
Flags None
Definition component.debug.ShowPos - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.showsound

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: show_sound

Show a list of currently playing sounds and their info in the top right of the screen.

Info
Default Name Show Sound
Default Description Show a list of currently playing sounds and their info in the top right of the screen.
Flags cheat
Definition component.debug.ShowSound - source
Base component.generic.ChoiceVarBinary - source
Parameters

debug.visualizetraces

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: visualize_traces

Show raycast visualizations as lines.

Info
Default Name Visualize Traces
Default Description Show raycast visualizations as lines.
Flags cheat
Definition component.debug.VisualizeTraces - source
Base component.generic.ChoiceVarBinary - source
Parameters

demo.play

Play a Demo.

Info
Default Name Play
Default Description Play a Demo.
Flags None
Definition component.demo.Play - source
Base menu.slotchooser.SlotChooser - source
Parameters

slots

The default value for this parameter is 10. Values for this parameter should be kept under 30. Values for this parameter should be kept above 1.

The number of slots to be made.


demo.record

Record a Demo.

Info
Default Name Record
Default Description Record a Demo.
Flags None
Definition component.demo.Record - source
Base menu.slotchooser.SlotChooser - source
Parameters

slots

The default value for this parameter is 10. Values for this parameter should be kept under 30. Values for this parameter should be kept above 1.

The number of slots to be made.


demo.stop

Stop playing a demo.

Info
Default Name Stop
Default Description Stop playing a demo.
Flags None
Definition component.demo.Stop - source
Base component.generic.FireableCmd - source
Parameters

demo.ui

Open the demo UI.

Info
Default Name UI
Default Description Open the demo UI.
Flags None
Definition component.demo.UI - source
Base component.generic.FireableCmd - source
Parameters

folder

A folder to organize components in.

Info
Default Name Folder
Default Description A folder to organize components in.
Flags None
Definition menu.folder.Folder - source
Base menu.menu.Menu - source
Parameters

tree

The child components of this folder or hierarchy.

type

The default value for this parameter is "...".

The type (or function) of the child component.


generic.bar

Set a value visually.

Info
Default Name Generic Bar
Default Description Set a value visually.
Flags None
Definition component.generic.Bar - source
Base menu.bar.Bar - source
Parameters

convar

The convar that will be changed.

default

The default value for this parameter is 0.

The default number shown.

max

The maximum value for the bar (right value).

min

The minimum value for the bar (left value).

steps

Values for this parameter should be clamped to integer values.

The number of steps between the min and max values.

strleft

The default value for this parameter is "".

For style 'str', what string to be displayed on the left side of the bar.

strright

The default value for this parameter is "".

For style 'str', what string to be displayed on the right side of the bar.

style

Values for this parameter should be one of int, percent, str.

How the number will be displayed.


generic.choice

Choose between different sets of commands.

Info
Default Name Generic Chooser
Default Description Choose between different sets of commands.
Flags None
Definition component.generic.Choice - source
Base menu.choice.Choice - source
Parameters

choices

Anonymous sub-values will be interpreted as the key None.

The different choices that make up this component's contents.

commands

The default value for this parameter is . Value types for this sequence parameter should be one of String. Values for this sequence parameter may be  zero in length.

The commands that make up this choice.

name

The choice's name.


generic.choicevar

Aliases: choice_var

Choose between different states for a convar.

Info
Default Name Generic Var Chooser
Default Description Choose between different states for a convar.
Flags None
Definition component.generic.ChoiceVar - source
Base menu.choicevar.ChoiceVar - source
Parameters

choices

Value types for this sequence parameter should be one of String.

The different states for the convar.

convar

The variable to be changed.


generic.choicevarbinary

Aliases: choice_var_binary

Choose between different two different states for a convar.

Info
Default Name Generic Binary Var Chooser
Default Description Choose between different two different states for a convar.
Flags None
Definition component.generic.ChoiceVarBinary - source
Base menu.choicevarbinary.ChoiceVarBinary - source
Parameters

convar

The variable to be changed.

default

Values for this parameter should be one of 0, 1. The default value for this parameter is False.

The default value.


generic.fireable

Run a one-off set of commands.

Info
Default Name Generic Fireable
Default Description Run a one-off set of commands.
Flags None
Definition component.generic.Fireable - source
Base menu.fireable.Fireable - source
Parameters

commands

Value types for this sequence parameter should be one of String.

The different commands that should be run.

text

The text that will be shown in the UI.


generic.fireablecmd

Aliases: fireable_cmd

Run a single command.

Info
Default Name Generic Fireable
Default Description Run a single command.
Flags None
Definition component.generic.FireableCmd - source
Base menu.fireablecmd.FireableCmd - source
Parameters

concmd

The command that will be run.

text

The default value for this parameter is None.

The text that will be shown in the UI.


generic.message

A message box.

Info
Default Name Generic Message
Default Description A message box.
Flags None
Definition component.generic.Message - source
Base menu.message.Message - source
Parameters

text

The text that will be shown in the UI.


multiplayer.autokick

Aliases: auto_kick

Toggle kicking idle, team-killing, or team-hurting players.

Info
Default Name Auto Kick
Default Description Toggle kicking idle, team-killing, or team-hurting players.
Flags None
Definition component.multiplayer.AutoKick - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.buyanywhere

Aliases: buy_anywhere

Toggle allowing players to buy weapons anywhere on the map.

Info
Default Name Buy Anywhere
Default Description Toggle allowing players to buy weapons anywhere on the map.
Flags None
Definition component.multiplayer.BuyAnywhere - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.c4enabled

Aliases: c4_enabled, c4enable, c4_enable

Toggle giving Terrorist players C4.

Info
Default Name C4 Enabled
Default Description Toggle giving Terrorist players C4.
Flags None
Definition component.multiplayer.C4Enabled - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.dropknives

Aliases: drop_knives

Toggle making players to drop knives on death.

Info
Default Name Drop Knives
Default Description Toggle making players to drop knives on death.
Flags None
Definition component.multiplayer.DropKnives - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.forcerespawn

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: force_respawn

Force players to respawn.

Info
Default Name Force Respawn
Default Description Force players to respawn.
Flags cheat
Definition component.multiplayer.ForceRespawn - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.forcewin

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: force_win

Force your team to win.

Info
Default Name Force Win
Default Description Force your team to win.
Flags cheat
Definition component.multiplayer.ForceWin - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.friendlyfire

Aliases: friendly_fire

Toggle allowing friendly fire.

Info
Default Name Friendly Fire
Default Description Toggle allowing friendly fire.
Flags None
Definition component.multiplayer.FriendlyFire - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.randomspawns

Aliases: random_spawns, randomspawn, random_spawn

Toggle making players spawn in random locations.

Info
Default Name Random Spawns
Default Description Toggle making players spawn in random locations.
Flags None
Definition component.multiplayer.RandomSpawns - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.restartgame

Aliases: restart_game

Trigger a game restart.

Info
Default Name Restart Game
Default Description Trigger a game restart.
Flags None
Definition component.multiplayer.RestartGame - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.teams.flag1preset

Aliases: flag_1_preset

Choose team 1 flag presets.

Info
Default Name Flag 1
Default Description Choose team 1 flag presets.
Flags None
Definition component.multiplayer.TeamFlag1Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.flag2preset

Aliases: flag_2_preset

Choose team 2 flag presets.

Info
Default Name Flag 2
Default Description Choose team 2 flag presets.
Flags None
Definition component.multiplayer.TeamFlag2Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.logo1preset

Aliases: logo_1_preset

Choose team 1 logo presets.

Info
Default Name Logo 1
Default Description Choose team 1 logo presets.
Flags None
Definition component.multiplayer.Logo1Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.logo2preset

Aliases: logo_2_preset

Choose team 2 logo presets.

Info
Default Name Logo 2
Default Description Choose team 2 logo presets.
Flags None
Definition component.multiplayer.TeamLogo2Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.matchstat1preset

Aliases: matchstat_1_preset

Choose team 1 matchstat presets.

Info
Default Name MatchStat 1
Default Description Choose team 1 matchstat presets.
Flags None
Definition component.multiplayer.MatchStat1Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.matchstat2preset

Aliases: matchstat_2_preset

Choose team 2 matchstat presets.

Info
Default Name MatchStat 2
Default Description Choose team 2 matchstat presets.
Flags None
Definition component.multiplayer.TeamMatchStat2Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.name1preset

Aliases: tname_1_preset

Choose team 1 name presets.

Info
Default Name Name 1
Default Description Choose team 1 name presets.
Flags None
Definition component.multiplayer.TeamName1Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.name2preset

Aliases: name_2_preset

Choose team 2 name presets.

Info
Default Name Name 2
Default Description Choose team 2 name presets.
Flags None
Definition component.multiplayer.TeamName2Preset - source
Base component.generic.ChoiceVar - source
Parameters

multiplayer.teams.odds

Aliases: matchodds, match_odds

Change the match odds.

Info
Default Name Match Odds
Default Description Change the match odds.
Flags None
Definition component.multiplayer.TeamMatchOdds - source
Base component.generic.Bar - source
Parameters

multiplayer.teams.scramble

Aliases: scrambeleggs_without_moms_help

Scramble the teams and trigger a game restart.

Info
Default Name Scramble Teams
Default Description Scramble the teams and trigger a game restart.
Flags None
Definition component.multiplayer.ScrambleTeams - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.teams.swap

Swap the teams and trigger a game restart.

Info
Default Name Swap
Default Description Swap the teams and trigger a game restart.
Flags None
Definition component.multiplayer.SwapTeams - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.teams.switch

Switch the teams and trigger a game restart.

Info
Default Name Switch
Default Description Switch the teams and trigger a game restart.
Flags None
Definition component.multiplayer.SwitchTeams - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.tkpunish

Aliases: tk_punish

Toggle punishing teamkillers/hurters the next round.

Info
Default Name TK Punish
Default Description Toggle punishing teamkillers/hurters the next round.
Flags None
Definition component.multiplayer.TKPunish - source
Base component.generic.ChoiceVarBinary - source
Parameters

multiplayer.warmup.end

End the warmup session

Info
Default Name End
Default Description End the warmup session
Flags None
Definition component.multiplayer.EndWarmup - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.warmup.pause

Pause the warmup session.

Info
Default Name Pause
Default Description Pause the warmup session.
Flags None
Definition component.multiplayer.PauseWarmup - source
Base component.generic.FireableCmd - source
Parameters

multiplayer.warmup.start

Start the warmup session.

Info
Default Name Start
Default Description Start the warmup session.
Flags None
Definition component.multiplayer.StartWarmup - source
Base component.generic.FireableCmd - source
Parameters

server.bhopenable

Aliases: bhop, bunnyhopenable, bunny_hop_enable, allowbunnyhopping, allow_bunny_hopping

Enable bunny hopping.

Info
Default Name BHop Enable
Default Description Enable bunny hopping.
Flags None
Definition component.server.BHopEnable - source
Base component.generic.Choice - source
Parameters

server.coachingenable

Aliases: coaching_enable, coaching

Toggle spectators talking to players.

Info
Default Name Coaching Enable
Default Description Toggle spectators talking to players.
Flags None
Definition component.server.CoachingEnable - source
Base component.generic.ChoiceVarBinary - source
Parameters

server.deadtalkenable

Aliases: dead_talk_enable, deadtalk

Toggle dead players being able to talk to alive players.

Info
Default Name Dead Talk Enable
Default Description Toggle dead players being able to talk to alive players.
Flags None
Definition component.server.DeadTalkEnable - source
Base component.generic.ChoiceVarBinary - source
Parameters

server.falldamagescale

Aliases: fall_damage_scale, falldamage, fall_damage, falldmg, fall_dmg

Change the fall damage multiplier.

Info
Default Name Fall Damage Scale
Default Description Change the fall damage multiplier.
Flags None
Definition component.server.FallDamageScale - source
Base component.generic.Bar - source
Parameters

server.outofammoindicator

Aliases: out_of_ammo_indicator, noammoindicator, no_ammo_indicator, nai, ooai

Toggle the no-ammo sound.

Info
Default Name No Ammo Indicator
Default Description Toggle the no-ammo sound.
Flags None
Definition component.server.OutOfAmmoIndicator - source
Base component.generic.ChoiceVarBinary - source
Parameters

server.surfenable

Aliases: surf, surf_enable

Enable and change surf difficulty. Harder values have lower sv_airaccelerate values.

Info
Default Name Surf Enable
Default Description Enable and change surf difficulty. Harder values have lower sv_airaccelerate values.
Flags None
Definition component.server.SurfEnable - source
Base component.generic.Choice - source
Parameters

sound.gain

This component is a cheat or triggers a cheat and cannot be used on most servers.

Adjust gain (multiplier) of volume.

Info
Default Name Master Gain
Default Description Adjust gain (multiplier) of volume.
Flags cheat
Definition component.sound.Gain - source
Base component.generic.FireableCmd - source
Parameters

sound.reloaddsp

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: reload_dsp

For troubleshooting, reload the DSP.

Info
Default Name Reload DSP
Default Description For troubleshooting, reload the DSP.
Flags cheat
Definition component.sound.ReloadDSP - source
Base component.generic.FireableCmd - source
Parameters

sound.reloadsnd

This component is a cheat or triggers a cheat and cannot be used on most servers.

Aliases: reload_snd

For troubleshooting, reload the sound system.

Info
Default Name Reload Sound
Default Description For troubleshooting, reload the sound system.
Flags cheat
Definition component.sound.ReloadSND - source
Base component.generic.FireableCmd - source
Parameters

sound.volume.dangerzone

Aliases: danger_zone

Change relative volume of all Danger Zone(TM) music.

Info
Default Name Danger Zone Volume
Default Description Change relative volume of all Danger Zone(TM) music.
Flags None
Definition component.sound.DangerZoneVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.deathcam

Aliases: death_cam, deathcamera, death_camera

Change relative volume of all death camera music.

Info
Default Name Death Camera Volume
Default Description Change relative volume of all death camera music.
Flags None
Definition component.sound.DeathCam - source
Base component.generic.Bar - source
Parameters

sound.volume.master

Aliases: volume

Change the master volume of the game.

Info
Default Name Master Volume
Default Description Change the master volume of the game.
Flags None
Definition component.sound.MasterVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.menu

Change relative volume of all menu music.

Info
Default Name Menu Music Volume
Default Description Change relative volume of all menu music.
Flags None
Definition component.sound.MenuVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.mvp

Aliases: mostvaluableplayer, most_valuable_player

Change relative volume of all MVP music.

Info
Default Name MVP Volume
Default Description Change relative volume of all MVP music.
Flags None
Definition component.sound.MVPVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.objective

Aliases: bomb_hostage

Change relative volume of all objective messages/sounds.

Info
Default Name Objective Volume
Default Description Change relative volume of all objective messages/sounds.
Flags None
Definition component.sound.ObjectiveVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.roundend

Aliases: round_end

Change relative volume of all round end messages.

Info
Default Name Round End Volume
Default Description Change relative volume of all round end messages.
Flags None
Definition component.sound.RoundEndVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.roundstart

Aliases: round_start

Change relative volume of all round start messages.

Info
Default Name Round Start Volume
Default Description Change relative volume of all round start messages.
Flags None
Definition component.sound.RoundStartVolume - source
Base component.generic.Bar - source
Parameters

sound.volume.tensecond

Aliases: ten_second, 10second, 10_second

Change relative volume of all ten-second warnings.

Info
Default Name 10s Warning Volume
Default Description Change relative volume of all ten-second warnings.
Flags None
Definition component.sound.TenSecond - source
Base component.generic.Bar - source
Parameters

sound.volume.voice

Change relative volume of all voice chat.

Info
Default Name Voice Volume
Default Description Change relative volume of all voice chat.
Flags None
Definition component.sound.VoiceVolume - source
Base component.generic.Bar - source
Parameters