From eb41c78c9ff23429f054d9cc280c41917acc2736 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 29 Aug 2024 23:03:11 +0100 Subject: 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. --- gamedata/engine.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gamedata') 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 -- cgit v1.2.3