Talk:Developer Console Control

From Valve Developer Community
Jump to navigation Jump to search

I think it's worth noting that Msg() only outputs to the server console, and you use ClientPrint() for output to clients. --Megiddo 14:53, 2 Jul 2005 (PDT)


I'm fairly certain that "engine->Cmd_Argc" is deprecated and was replaced by "args.ArgC." But, When I attempt to use "args", the class is unidentified. Is there any header I am missing?

--Spoons

FindVar vs. ConVarRef

There should probably be a mention of ConVarRef in the ConVar class section. convar.h states:

// Used to read/write convars that already exist (replaces the FindVar method)

I get the impression this is a faster method of using FindVar. I'd rather wait for someone with more experience before editing what is there, though.

viewmodel_fov treated as cheat after being set to FCVAR_ARCHIVE

I'm making a multiplayer mod and I'm trying to make the viewmodel_fov command editable by the client without sv_cheats activated. I changed the CVAR flag to archive but it didn't work and I don't know what is causing this.

FCVAR_DEVELOPMENTONLY

We should add new FCVAR flag - FCVAR_DEVELOPMENTONLY

I noticed that cvars with this flag still works, but calling them in Console is no longer possible - their values are presetted in game source code. --StaryMaciej (talk) 06:15, 21 July 2021 (PDT)