.:: 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
trouble with mod_id
Old
  (#1)
Abraham
Guest
 
Status:
Posts: n/a
Default trouble with mod_id - 09-02-2004

Hi.
I'm trying to make bots for a stargate half life mod , with the HPB bots source.
I can't find where is defined mod_id....
I cant jsute find "int mod_id = 0;" in dll.cpp
I think i need to define it to make the dll working with the mod...
Can you help me ?
  
Reply With Quote
Re: trouble with mod_id
Old
  (#2)
Combat
Guest
 
Status:
Posts: n/a
Default Re: trouble with mod_id - 09-02-2004

well, the different MOD id's are defined in bot.h i believe. As for mod_id, i don't remember, try using "Find in Files" to search your project for "mod_id" you should find it pretty quickly.
  
Reply With Quote
Re: trouble with mod_id
Old
  (#3)
Abraham
Guest
 
Status:
Posts: n/a
Default Re: trouble with mod_id - 09-02-2004

I found it ! (in bot.h)

// define constants used to identify the MOD we are playing...

#define VALVE_DLL 1
#define TFC_DLL 2
#define CSTRIKE_DLL 3
#define GEARBOX_DLL 4
#define FRONTLINE_DLL 5

Thank you
  
Reply With Quote
Re: trouble with mod_id
Old
  (#4)
Combat
Guest
 
Status:
Posts: n/a
Default Re: trouble with mod_id - 09-02-2004

No problem. Happy to help.
  
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