summaryrefslogtreecommitdiffhomepage
path: root/gamedata/gamelib.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/gamelib.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/gamelib.kv')
-rw-r--r--gamedata/gamelib.kv26
1 files changed, 25 insertions, 1 deletions
diff --git a/gamedata/gamelib.kv b/gamedata/gamelib.kv
index 7d8978b..e7a4302 100644
--- a/gamedata/gamelib.kv
+++ b/gamedata/gamelib.kv
@@ -9,7 +9,31 @@ vtidx_CheckJumpButton {
}
off_mv 8
+// IServerGameDLL
+vtidx_GetAllServerClasses {
+ default 10
+ 2013 11
+ // TODO(compat): BMS 11
+}
+
// I(Server|Client)Unknown
-vtidx_GetBaseEntity 4
+vtidx_GetBaseEntity "4 + NVDTOR"
+
+// CBaseEntity or CBasePlayer or something
+off_netprop_statechanged { L4D 88 }
+off_simtime { L4D 128 }
+vtidx_Teleport {
+ L4D "104 + NVDTOR"
+ L4D2 {
+ default "116 + NVDTOR" // TODO(linux): might actually be 119!?!?
+ // TODO(compat): would like to be able to specify this here.
+ // see also engineapi.c
+ //TLS "117 + NVDTOR"
+ }
+}
+
+// CGlobalVars
+off_curtime 12
+off_edicts { L4D 88 }
// vi: sw=4 ts=4 noet tw=80 cc=80