Re: single/multiplayer source? -
14-01-2004
The other big difference between the single player source and the multiplayer source is that the single player souce code has all of the Monster AI code. The multiplayer source code just has stubs (empty functions) for the Monster AI code (see mpstub.cpp in the multiplayer source as an example).
The code in the Single Player directory will allow you to build a DLL that will support both single player and multiplayer (exactly like the valve\dlls\hl.dll file does). If you want a MOD that has single player levels and multiplayer maps, use the Single Player source). If you want a MOD that's just multiplayer only, use the Multiplayer source.
The problem with the HPB bot hooking the game DLL caused problems with the Save/Restore code and you couldn't transition between maps (since this game feature automatically used the save/restore code). I had to modify the HPB bot hook code so that people could still play Half-Life single player whenever they had the HPB bot installed in the 'valve' directory.
botman
|