![]() |
![]() |
Venom |
![]()
Post
#1
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 82 Joined: 24-July 06 Member No.: 807 ![]() |
Hello,
Well i have been playing TF2 basicly since beta, having been release and after playing it for 3 or 4 weeks solid now, I would like to start to turn towards bot development. After previously working with the older HL version of RCbot on Natural Selection and modifing that bot to support different game types, I will be moving my efforts towards bot development with TF2. Like all source games and mods, they all come with basic source bots any way. The only way to activate this in games like TF2, is to make sure that -console command is on before you launch the game, and simply type "sv_cheats 1" and then "bot_add". Due to the lack of development and customisation of these standard bots, the bots will not do anything even though they can be added to the game. So I will now be looking at RCBot2 to see if i can get bots into TF2. I will keep you posted on my efforts, i am currently downloading the Windows version of the TF2 dedicated server, having a glimps at the RCbot2 forum, people seem to be having problems with dedicated server so i hope I am able to setup and install RCbots correctly. Wish me luck Venom |
![]() ![]() |
Venom |
![]()
Post
#2
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 82 Joined: 24-July 06 Member No.: 807 ![]() |
If you would like, i can still provide you with FTP access to my site for you to upload your files and you can also mirror the current files which you have. I have lots of gigs free of space, so i will be happy for you to use it to mirror and to keep the community updated
![]() Also what version of Visual Studio are you using? with RCBot you used VS6, i take it with this new RCBot your using either 2003 or 2005? I am currently using 2005 but it requires you to convert it which of course produces horrible errors etc...so i would rather you the same version as you ![]() And with the code provided, what does the bots do? just join a team for the moment? I just noticed something too while editting the bot_const.h, the MAXPLAYERS is defined as 32 players, with TF2 this will cause problems as offically the MAXPLAYERS is set to 24, also in CSS the MAXPLAYERS is 64, so maybe a check will have to be performed that based on the mod, the MAXPLAYERS is changed from the default. Also one other thing, because of the layout of the directory setup of the TF2 game, this will affect setup and installation of the bots on clients and server. Current Setup: Server: SOURCEDS\orangebox\tf\ Client: team fortress 2\tf So overall the directory change of TF2 is very different to any other source based game although i am sure its a minor issue and easy to change. |
Cheeseh |
![]()
Post
#3
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
I also forgot one thing though,
patch in bot.cpp CODE // I think this should be transformed into calling the current CBotMod for an array of CBot void CBots :: init () { if ( CBotGlobals::isMod(MOD_CSS) ) m_Bots = new CCSSBot[MAX_PLAYERS]; else if ( CBotGlobals::isMod(MOD_HLDM2) ) m_Bots = new CHLDMBot[MAX_PLAYERS]; else if ( CBotGlobals::isMod(MOD_TF2) ) m_Bots = new CBotTF2[MAX_PLAYERS]; else if ( CBotGlobals::isMod(MOD_FF) ) m_Bots = new CBotFF[MAX_PLAYERS]; else m_Bots = new CBot[MAX_PLAYERS]; } The bots won't do anything yet, thats just the base code ready to get used! There will be some unresolved externals though in bot_fortress.h as the new classes don't have bodies for all the functions in the cpp file yet. The main issue is probably the VS 2003/2005 error thing I'm using 2005 now but used to use 2003, after converting it I got a lot of unresolved externals, managed to fix it I think, had to mess around with the project settings and adding different non-vc7 HL2 files for linking. Will need to debug the source directory setup to check if the current method of game finding is sufficient, some extra code for finding the game might be needed. I've seen games with TF2 having 32 players not sure if thats using some plugin or something though ? MAX PLAYERS is just a limit anyway, it can be set to anything, just big enough to hold the maximum number of players ![]() About FTP, that would be good, I could use it to post updates like this |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 19th July 2025 - 01:19 AM |