diff options
author | Willian Henrique <wsimanbrazil@yahoo.com.br> | 2024-08-29 20:24:04 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2024-08-30 12:52:05 +0100 |
commit | dcb191f4f4b7da94f6e4489c80966f5f8f9f8d4b (patch) | |
tree | d3a8736c3d53374d2a9a74cc6a4c25922bc2c001 /gamedata/entprops.txt | |
parent | eb41c78c9ff23429f054d9cc280c41917acc2736 (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/entprops.txt')
-rw-r--r-- | gamedata/entprops.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gamedata/entprops.txt b/gamedata/entprops.txt index 5d6bd7c..b3029ca 100644 --- a/gamedata/entprops.txt +++ b/gamedata/entprops.txt @@ -4,5 +4,7 @@ off_entpos CBaseEntity/m_vecOrigin # look angles, currently just for L4D1/2, can add other games as needed off_eyeang CCSPlayer/m_angEyeAngles[0] +off_teamnum CBaseEntity/m_iTeamNum +off_collision CBaseEntity/m_Collision # vi: sw=4 ts=4 noet tw=80 cc=80 |