summaryrefslogtreecommitdiffhomepage
path: root/gamedata/engine.txt
diff options
context:
space:
mode:
authorWillian Henrique <wsimanbrazil@yahoo.com.br>2024-08-29 20:24:04 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2024-08-30 12:52:05 +0100
commitdcb191f4f4b7da94f6e4489c80966f5f8f9f8d4b (patch)
treed3a8736c3d53374d2a9a74cc6a4c25922bc2c001 /gamedata/engine.txt
parenteb41c78c9ff23429f054d9cc280c41917acc2736 (diff)
Improve L4D warp testing and add visualisation
sst_l4d_testwarp will now unstick the player unless "staystuck" is specifed as an argument. Additionally, sst_l4d_previewwarp is added to show the positions checked by the unstuck logic as well as the line-of-sight traces performed. Committer's note: the actual box-drawing logic was essentially rewritten by me since I realised the order of drawing didn't matter at all. All the code-digging logic is more-or-less still what bill wrote, though. So, you could say we have joint authorship of this, I suppose. Not that that's a huge deal, but if anyone's ever curious or if it ever legally matters for some reason then, well, there you go.
Diffstat (limited to 'gamedata/engine.txt')
-rw-r--r--gamedata/engine.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/gamedata/engine.txt b/gamedata/engine.txt
index d0d57ae..4be0c96 100644
--- a/gamedata/engine.txt
+++ b/gamedata/engine.txt
@@ -162,4 +162,10 @@ vtidx_HostFrameTime 35
L4D2 38
Portal2 39
+# IVDebugOverlay
+vtidx_AddLineOverlay 3
+vtidx_AddBoxOverlay2
+ L4D1 19
+ L4D2 20
+
# vi: sw=4 ts=4 noet tw=80 cc=80