Simple help compiling hpb 4.0/sdk/metamod
Hello, Sorry for my lack of knowledge but I was wondering, how am I supposed to compile all this junk together. I have coded before but never in msvc and never on a huge project like this. How do the project files work and what not? Could someone help me understand how to get started on this?
Thank you for your help |
Re: Simple help compiling hpb 4.0/sdk/metamod
The latest HPB_bot is now a metamod plugin, and as such it is no longer "self-contained", i.e. you cannot compile it alone without a minimum of dependencies that it needs to find.
These dependencies are the Half-Life SDK version 2.3 (i.e the latest), and the metamod SDK (i.e, simply the metamod source code). You must include the paths to these header files in the HPB_bot project settings. A path already exist, but it will probably not match your needs, since you may not have these SDKs put at the same location on your hard disk. You'll probably have to change the include paths to match your setup. These two SDKs with the latest patches are available from the Bots United filebase, btw... I recommend you grab them, since these are the ones we use. |
Re: Simple help compiling hpb 4.0/sdk/metamod
Thanks very much. I downloaded the bot sdk from the filebase and needed to change a few things but it is working now.
For those of you that download the sdk here is what I changed to get it to compile with msvc. open ./BU-hl-bot-build-example/metamod/hpb_bot_plugin/HPB_bot_mm.dsp then goto Project > settings > c/c++ select Prepocessor from the drop-down change all the ../../dev-tools/hlsdk-2.3/ to ../../hlsdk-2.3/ then open ./BU-hl-bot-build-example/hlsdk-2.3/singleplayer/common/entity_state.h and change line 125 from #include "pm_info.h" to #include "../pm_shared/pm_info.h" Hope this helps. Thanks a lot PMB |
All times are GMT +2. The time now is 16:05. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.