Can any one help me make a AI bot that plays games? And learns from other players. It has to be an actual player or has to control a player so that you can watch it from you pc and override it if you decide a different objective is more important than what the bot is thought to do.
I have see bots for an mmorpg like silkroad that plays that game for you it lvls your player and make gold for you. I want to make something like that for a game like battlefield 2. I would make a server for bots And see whos can play better. I would also like to have it be able to play different games like battlefield 2 and tic tack tow or four in a row and something else.
If the part that it could play many games is hard it is not very important.
AI Bot that plays games.
Started by arthur92710, Dec 03 2007 02:47 AM
6 replies to this topic
#1
Posted 03 December 2007 - 02:47 AM
#2
Posted 03 December 2007 - 07:27 AM
those are usually illegal and if you do get caught, you'll be slapped with a lawsuit from the company of a game or arrested. I recommend you do not attempt this at all! Although, if you got some balls and like adventure, then go on google and search it.
#3
Posted 03 December 2007 - 09:04 AM
There might be some contract stipulations about bot players in MMORPGs, but there are many online games where there is nothing wrong with them. In particular, with games where you can set up your own server (like Battlefield 2), there's no way anyone can stop you from using bots if you like.
Usually bots are designed for a specific game. You wouldn't create a single bot that could play both Battlefield 2 and tic-tac-toe.
Bots for turn-based board games are far easier to do than bots for real-time, 3D, action-oriented kinds of games, so I'd recommend starting with the board games - google for the minimax algorithm and alpha-beta pruning to get started (tic-tac-toe is fairly easy to write a perfect bot for; connect-4 is harder). If you're still interested in developing bots for real-time 3D games, there are plenty out there, for instance the botman's bots for Half-Life 1 (and some of its more popular mods). You can study the code of these bots to learn techniques and algorithms, although the actual code itself obviously won't work with a different game engine; you'll have to learn about writing mods for Battlefield 2 yourself.
Usually bots are designed for a specific game. You wouldn't create a single bot that could play both Battlefield 2 and tic-tac-toe.
reedbeta.com - developer blog, OpenGL demos, and other projects
#4
Posted 03 December 2007 - 01:33 PM
Well I understand that a mmorpg bot is illegal so I want to make one for BF2.
Ok ill check out botmans bots. But How would I get It to work for a game with a different engine?
I went into the BF2 folder and found a folder called AI they files inside are all .ai
but you can open them with notepad! Ill compare this to botmans bot and see if it will help.
Where can i find a copy of the bf2 game engine?
Ok ill check out botmans bots. But How would I get It to work for a game with a different engine?
I went into the BF2 folder and found a folder called AI they files inside are all .ai
but you can open them with notepad! Ill compare this to botmans bot and see if it will help.
Where can i find a copy of the bf2 game engine?
#5
Posted 03 December 2007 - 04:59 PM
arthur92710 said:
How would I get It to work for a game with a different engine?
You likely won't "get it to work" for a different game engine. You'll use it as a pool of concepts, techniques, and algorithms that you can use to write your own bot. But it's not going to be a matter of simply translating code; the engines' APIs are probably way too different for that.
Quote
Where can i find a copy of the bf2 game engine?
You need to own a copy of BF2. Consult the BF2 community on how to make mods for it; it's different for every game and I haven't any idea how they do it specifically.
reedbeta.com - developer blog, OpenGL demos, and other projects
#6
Posted 03 December 2007 - 07:37 PM
I have a copy of bf2. So if i find the right API's it will help?
#7
Posted 03 December 2007 - 08:23 PM
For the third time, you have to talk to their community. I don't have any idea how to make mods for BF2.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











