summaryrefslogtreecommitdiffhomepage
path: root/gamedata
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2024-08-29 23:03:11 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2024-08-29 23:08:03 +0100
commiteb41c78c9ff23429f054d9cc280c41917acc2736 (patch)
tree7808c171d80e60fe1f55ac07396c5ee7ce9c98f1 /gamedata
parent2d46ad68b0a6759ad3e84d35b87cfb4f4027ec77 (diff)
Add very basic client console messaging for L4D2
This isn't totally ideal - it'd be nice to have a way to get colours working, at least for errors/warnings. But it might not really be possible to do that without custom networking stuff, so this will do for the forseeable future. The main goal is just to be able to have CON_SERVERSIDE commands actually give output to the relevant player.
Diffstat (limited to 'gamedata')
-rw-r--r--gamedata/engine.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/gamedata/engine.txt b/gamedata/engine.txt
index 87a9620..d0d57ae 100644
--- a/gamedata/engine.txt
+++ b/gamedata/engine.txt
@@ -68,8 +68,11 @@ vtidx_DispatchAllStoredGameMessages 16
# VEngineServer
vtidx_PEntityOfEntIndex
OrangeBoxbased 19 # probably OE too but ??
-vtidx_ServerCommand
- OrangeBoxbased 36
+#vtidx_ServerCommand # unused currently
+# OrangeBoxbased 36
+vtidx_ClientPrintf
+ L4D1 45 # same in other engines, probably, but we don't need those for now
+ L4D2 46
sz_edict 20
L4Dbased 16