This article's documentation is for anything that uses the Source engine. Click here for more information.

Test traceline: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
mNo edit summary
Line 1: Line 1:
{{CD|CTestTraceline|file1=testtraceline.cpp}}
{{CD|CTestTraceline|file1=testtraceline.cpp}}
{{base point|test_traceline}} It is a debugging tool for testing tracelines that draws a line with a green box at the place where it hit something.
{{this is a|e0|name=test_traceline}} It is a debugging tool for testing tracelines that draws a line with a green box at the place where it hit something.


== Keyvalues ==
== Keyvalues ==

Revision as of 09:21, 4 October 2023

C++ Class hierarchy
CTestTraceline
CPointEntity
CBaseEntity
C++ testtraceline.cpp

test_traceline is an e0 available in all Source Source games. It is a debugging tool for testing tracelines that draws a line with a green box at the place where it hit something.

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

ConVars

When spawned it creates cvar traceline_spin 1. If set to 0 it stops spinning.