Talk:Developer Console Control: Difference between revisions
| No edit summary | m (Nesciuse moved page Talk:Multipage Base Pages Temp Storage/Developer Console Control to Talk:Developer Console Control without leaving a redirect: Moving back to proper place) | ||
| (9 intermediate revisions by 7 users not shown) | |||
| Line 2: | Line 2: | ||
| --[[User:Megiddo|Megiddo]] 14:53, 2 Jul 2005 (PDT) | --[[User:Megiddo|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? | |||
| --[[User:Spoons|Spoons]] | |||
| == FindVar vs. ConVarRef == | |||
| There should probably be a mention of ConVarRef in the ConVar class section. convar.h states: | |||
| <syntaxhighlight lang="cpp"> | |||
| // Used to read/write convars that already exist (replaces the FindVar method) | |||
| </syntaxhighlight> | |||
| 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. | |||
| --[[User:StaryMaciej|StaryMaciej]] ([[User talk:StaryMaciej|talk]]) 06:15, 21 July 2021 (PDT) | |||
Latest revision as of 16:14, 15 July 2024
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)