-
hpb_bot_plugin is the HPB Bot Plugin for Metamod from Half Life 1
-
The hpb_bot supports: Half-Life deathmatch (and teamplay), Team Fortress Classic (TF 1.5), Front Line Force, Half-Life Opposing Force, Holy Wars, Counter-Strike (but the bots don't buy weapons), Deathmatch Classic
-
The dependencies of this code are half life sdk and metamod
-
in engine/eiface.h:
from "char" to "const char"
add "#undef ARRAYSIZE" before "#define ARRAYSIZE(p) (sizeof(p)/sizeof(p[0]))"
-
in dlls/Makefile.make
add flags for the case of DO_C
add the following flags for compiling optimization
-Wall -Wno-non-virtual-dtor -Wno-invalid-offsetof -Werror -m486 -O1 C_FLAGS=$(BASE_CFLAGS) -Wall -Werror
-
in dlls/h_export:
redefine DLLEXPORT
add extern "C" for the function GiveFnptrsToDll
- no changes, be sure for the files not to be in MAC text format
-
in h_export.cpp; util.cpp; waypoint.cpp:
POSIX name of functions from "stricmp" to "_stricmp"
POSIX name of functions from "access" to "_access"
-
in engine.cpp:
in functions pfnXXX change from "char" to "const char"
To build de project, open the "HPB_bot_mm.dsp" with Visual Studio
Readme in detail here
Official site here
- Implement Day of Defeat Bots
- Enable Counter Strike bot weapon purchase