.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
Simple help compiling hpb 4.0/sdk/metamod
Old
  (#1)
jim
Member
 
Status: Offline
Posts: 2
Join Date: Dec 2004
Default Simple help compiling hpb 4.0/sdk/metamod - 10-12-2004

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
  
Reply With Quote
Re: Simple help compiling hpb 4.0/sdk/metamod
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Simple help compiling hpb 4.0/sdk/metamod - 10-12-2004

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Simple help compiling hpb 4.0/sdk/metamod
Old
  (#3)
jim
Member
 
Status: Offline
Posts: 2
Join Date: Dec 2004
Default Re: Simple help compiling hpb 4.0/sdk/metamod - 10-12-2004

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
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com