.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   HPB_bot (http://forums.bots-united.com/forumdisplay.php?f=35)
-   -   trouble with mod_id (http://forums.bots-united.com/showthread.php?t=665)

Abraham 09-02-2004 00:37

trouble with mod_id
 
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 ?

Combat 09-02-2004 00:44

Re: trouble with mod_id
 
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.

Abraham 09-02-2004 08:51

Re: trouble with mod_id
 
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

Combat 09-02-2004 09:46

Re: trouble with mod_id
 
No problem. :) Happy to help.


All times are GMT +2. The time now is 02:08.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.