summaryrefslogtreecommitdiffhomepage
path: root/gamedata/entprops.kv
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-03 04:20:27 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-03 16:55:46 +0100
commit6d0db0d5bee0201b732149616a691827367cfb35 (patch)
tree842936f4ec6cb8e27ce10682de77728a4ea93bf9 /gamedata/entprops.kv
parent19d96b65e1a840407a7280ab1f99d48d62932620 (diff)
Add entity property finding and L4D warp testing
This was a lot more code than expected, but it might be finally close to time to release the next beta... We'll see if any more rabbit holes present themselves to jump into, though.
Diffstat (limited to 'gamedata/entprops.kv')
-rw-r--r--gamedata/entprops.kv9
1 files changed, 9 insertions, 0 deletions
diff --git a/gamedata/entprops.kv b/gamedata/entprops.kv
new file mode 100644
index 0000000..cd19ae8
--- /dev/null
+++ b/gamedata/entprops.kv
@@ -0,0 +1,9 @@
+// This follows a different format to the other gamedata files.
+// It simply assigns variable names to network table property name strings.
+// Network names are classname/propname, e.g. CBasePlayer/m_fWhatever
+
+off_entpos CBaseEntity/m_vecOrigin
+// look angles, currently just for L4D1/2, can add other games as needed
+off_eyeang "CCSPlayer/m_angEyeAngles[0]"
+
+// vi: sw=4 ts=4 noet tw=80 cc=80