
#Source 2 sdk code
All code uses pev->model now to support custom models, although some edge cases may exist Entities now initialize these in OnCreate, if a mapper-provided value exists it will be overridden in DispatchKeyValue. Reworked how the health and model values are set to allow mappers to set custom values for both.Fixed some Opposing Force code sending ScoreInfo messages with incorrect contents causing a fatal error (Opposing Force doesn't send the player class and team index values because it uses a different method of team-based gameplay).The hud color is now saved and restored, allowing it to persist between levels.Opposing Force Updated does this for consistency with the original game, the Unified SDK allows the use of this mode in all game modes just like the Half-Life SDK does (even in singleplayer) This command was made unavailable due to Opposing Force using an older version of the SDK as a base which didn't support spectator mode in all game modes. Re-implemented the spectator client command to function outside of the CTF gamemode.Added virtual destructor to CGameRules so the destructor runs properly.Changed how weapon selection is handled to use a proper named client command (previously any weapon_* command was interpreted as a weapon selection command).Commands can be registered and unregistered at any time, this is done for gamemode-specific commands to simplify command handling Reworked how client commands are handled on the server side to use a map of commands.Added IMPLEMENT_CUSTOM_SCHEDULES and DECLARE_COMMAND macros to Visual Studio hint file so Intellisense stops showing green squiggles under usages.Bunch of code cleanup including removal of redundant forward declarations and extern keyword, removing duplicated code and more.Added IGameSystem interface to help simplify how various systems are initialized and shut down.Added file logging with configuration support in logging.json.Simplified the logging system to remove the need to create loggers in PostInitialize in some game systems.

A fair amount of work has been done in recent weeks.
