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 ? |
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.
|
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 |
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.