From dcb191f4f4b7da94f6e4489c80966f5f8f9f8d4b Mon Sep 17 00:00:00 2001 From: Willian Henrique Date: Thu, 29 Aug 2024 20:24:04 +0100 Subject: 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. --- gamedata/engine.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gamedata/engine.txt') 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 -- cgit v1.2.3