Env debughistory: Difference between revisions
Jump to navigation
Jump to search
Tip:Adding this entity to fgd is not really needed since it's possible to just click on the classname window and write its name.
(Created page with "{{CD|CDebugHistory}} {{base point|env_debughistory}} It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning. Games this...") |
(position irrelevant so it's logical entity) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{CD|CDebugHistory}} | {{stub}} | ||
{{ | {{Ent not in fgd}} | ||
{{CD|CDebugHistory|file1=env_debughistory.cpp}} | |||
{{This is a|logical entity|name=env_debughistory}} | |||
It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning. | It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning. | ||
Games this entity works in: {{todo}} | Games this entity works in: | ||
{{todo}} | |||
== ConCommands == | == ConCommands == | ||
Line 10: | Line 13: | ||
{{varcom|dbghist_dump|<int>|<category id>|Dump the debug history to the console. Format: <category id> Categories: 0: Entity I/O 1: AI Decisions 2: Scene Print 3: Alyx Blind 4: Log of damage done to player}} | {{varcom|dbghist_dump|<int>|<category id>|Dump the debug history to the console. Format: <category id> Categories: 0: Entity I/O 1: AI Decisions 2: Scene Print 3: Alyx Blind 4: Log of damage done to player}} | ||
{{varcom|end}} | {{varcom|end}} | ||
== FGD == | |||
<pre> | |||
@PointClass = env_debughistory : "To be used with commands dbghist_addline and dbghist_dump" [] | |||
</pre> | |||
{{tip|Adding this entity to fgd is not really needed since it's possible to just click on the classname window and write its name.}} |
Latest revision as of 04:21, 29 April 2025
![]() |
---|
CDebugHistory |
![]() |
env_debughistory
is a logical entity available in all Source games.
It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning.
Games this entity works in: [Todo]
ConCommands
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
dbghist_addline | <int> <string> | <category id> <line> | Add a line to the debug history. Format: <category id> <line> |
dbghist_dump | <int> | <category id> | Dump the debug history to the console. Format: <category id> Categories: 0: Entity I/O 1: AI Decisions 2: Scene Print 3: Alyx Blind 4: Log of damage done to player |
FGD
@PointClass = env_debughistory : "To be used with commands dbghist_addline and dbghist_dump" []
