Talk:List of Left 4 Dead 2 console commands and variables

From Valve Developer Community
(Redirected from Talk:List of L4D2 Cvars)
Jump to navigation Jump to search

Here's a (hopefully) growing list of commands that cvar list fails to list, which I'm sure is much larger than this. --ThaiGrocer 17:37, 13 February 2011 (UTC):

shotgunefx recommended looking at server.dll with a text editor. This allowed me to find a bunch more commands, although they don't all appear to be fully realized, connected, or need further testing. --ThaiGrocer 02:48, 21 February 2011 (UTC)

  • activitylist - activity list of the model character that you're playin
  • bashed
  • boom - drop a pipe bomb like a chicken dropping an egg
  • burn - burning overlay on player
  • choose_closedoor - Closes a door even if you're incapacitated. TODO: Check if works if you're dead.
  • choose_drag
  • choose_lockdoor
  • choose_opendoor - Opens a door even if you're incapacitated. TODO: Check if works if you're dead.
  • choose_revive
  • choose_unlockdoor
  • cl_consistencycheck
  • damage_me - takes away about 25 HP from player with temporary health available
  • dance
  • ent_count - provides account of all the entities currently spawned
  • fire - drops a Molotov onto the ground like a chicken
  • fullpull - pushed forward, similar to command stagger_forward
  • ghost
  • give_survivor - starts out player with pistol
  • give_tank - starts out player with nothing at all
  • incap - incapacitates you, use the command revive to revive yourself
  • it - you're it!
  • it_fp
  • joingame
  • jointeam - ex: jointeam 2 ellis
  • limp - changes player health to 0 with about 50 temporary health
  • materialize
  • red - displays red flash damage effect
  • rescue
  • respawn
  • respawn_all
  • revive - using the command alone allows players to revive themselves
  • saliva - smoker saliva overlay for survivor players
  • scrimmage
  • skipouttro - appears to skip the outtro
  • smoke - generates a puff of smoke
  • stagger_forward - causes player to stagger forward
  • suppress
  • unstick
  • vocalize - no longer works
  • z_abort

Here are some more clientcommands from CTerrorPlayer taken from the dll. Excuse me though, I didn't try out which work or are even accepted...

PlayerUnlock
PlayerLock
host_validate_session
SkipOutro
smartlook
PlayerHelp
vocalize
z_abort
choose_unlockdoor
choose_lockdoor
choose_revive
PlayerTaunt
ent_count
burn
boom
scrimmage
ghost
materialize
respawn_all
suppress
respawn
rescue
bashed
salvia
it_fp
it
revive
incap
limp
damage_me
fullpull
smoke
give_survivor
ability_throw
give_tank
stagger_forward
dance
survival_record
invprev
invnext
spec
dsp
red
unstick

--Biohazard 02:11, 21 February 2011 (UTC)

Sourcemod commands on the list

Why are there Sourcemod commands being listed? That's the ones with sm_ prefixes. Should they be removed? --Anijatsu (talk) 14:52, 16 January 2016 (UTC)

Don’t pointlessly edit this page

No need to “cleanup” this page into tables. It’s readable just fine and easy to copy from. Nescius (talk) 06:37, 2 February 2024 (PST)

These changes are aimed at improving the page structure. In addition, adding tables has been proposed as an improvement to page formatting.--NOUG4AT (talk) 07:04, 2 February 2024 (PST)
This is the second time nougat insisted on using tables, started converting them and then didn't finish it. I finished it because i'm sick of this guy here wanting to be different and i know he'll insult me like he already did on the CS2 cvar talk page.
But i wouldn't mind just undoing all of the table nonsense because its literally useless and just adds work. --MrFunreal (talk) 18:12, 26 February 2024 (PST)
I vote for revert. There is no point in page like this being tables. Its purpose is just quick way to easily search and see available cvars. The custom ** descriptions are already pushing it imo. Selected cvars being in tables when they are on relevant entity pages for examble are completely fine to be in tables with custom descriptions but this list of all cvars should be as raw as possible Nescius (talk) 02:14, 27 February 2024 (PST)
I think if anyone disagrees, we can take a vote to see what users want to see more of here. But while the main reasons for making this are standardization, improving visibility
In addition, creating tables is a common practice on similar wikis.[1][2][3][4][5][6][7][8][9], other[10][11]
Such changes are not aimed at making things more complicated or anything like that; formatting may not be necessary at all. You can start canceling such changes and deleting tables from such pages
--NOUG4AT (talk) 02:23, 27 February 2024 (PST)
Tables make things much easier to read. If you are planning to add tables, it might be better to do the conversion on a sandbox page then merge with this page once the changes are done. I will say this tho, don't mark a page as cleanup unless you are intending to update it. -Equalizer (talk) 12:47, 28 February 2024 (PST)
Thanks. Perhaps marking the pages for cleanup was unnecessary. Nevertheless, all such pages currently contain tables.--NOUG4AT (talk) 21:27, 28 February 2024 (PST)