Replace debug CVARs with Lua
There are various CVARs in the game which are clearly used only for debugging purposes and don’t need to be in a public mod.
Can those be removed from the mod and moved to an optional Lua script as well (see #1238) so devs in need of them can quickly attach them to their game?
CVARs in question:
I’ll populate this ticket with more if I find additional debug CVARs
Maybe rename them all to debug_* and only make them accessible with enabled 'fs_debug’ mode
#2 Updated by Spyhawk about 1 year ago
Ah... not convinced by that one. Debug cvars have the purpose of helping developers. While the’re really useless for players, they’re essential to us (especially when Lua scripts cannot replace them efficiently).
We shoudl probably hide them behind a debug mode though - I believe there is a macro we use for some of these.