Task #1240

Replace debug CVARs with Lua

Added by keMoN 22 days ago. Updated 7 days ago.

Status:New% Done:

0%

Priority:Low
Assignee:-
Category:Mod CGAME
Target version:2.78
OS: Arch:

Description

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:
cg_debugAnim
cg_debugEvents
cg_debugPosition
cg_debugSkills
cg_gun_frame
cg_showMiss
cg_stats
cl_debugMove
cl_showmouserate
cl_shownet
cl_shownuments
cl_showSend
cl_showServerCommands
cl_showTimeDelta

I’ll populate this ticket with more if I find additional debug CVARs


Related issues

Related to ET: Legacy Development - Task #1238: Replace medic syringe heal option by Lua Fixed 31.03.2019

History

#1 Updated by keMoN 22 days ago

  • Related to Task #1238: Replace medic syringe heal option by Lua added

#2 Updated by Spyhawk 22 days 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.

#3 Updated by keMoN 22 days ago

  • Description updated (diff)

cg_showMiss
cg_stats

#4 Updated by keMoN 22 days ago

  • Description updated (diff)

#5 Updated by keMoN 17 days ago

  • Description updated (diff)

#6 Updated by keMoN 7 days ago

  • Description updated (diff)

Also available in: Atom PDF