.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   Question (http://forums.bots-united.com/showthread.php?t=9912)

Munckeyz 04-10-2013 02:12

Question
 
I am interested in making a bot for Team Fortress 2 that would essentially run the game on auto-pilot for me. I think it would be interesting to see how it would fare on an average online server, and to see if anyone picks up on it.

Now, I know next to nothing about coding, especially something as presumably complicated as an AI engine for a first-person shooter with such diverse classes (although I was thinking of somehow having a program that would pretty much replace me with one of the official integrated bots), so I would just like to know how I would even get started on doing something like this.

I would also be interested in making a similar type of program for any other first-person shooter games (preferably free ones), because like you all I am very enthused about artificial intelligence.

I realise this forum hasn't been posted on since the dark ages, but I thought it best to ask here anyway.

The Storm 04-10-2013 22:41

Re: Question
 
You seems to know you have to learn coding to achieve your goal. So why are you asking a question that you know the answer?

You have to learn C++. Good book is C++ Primer.
After that you can read some publications about AI. There is pretty much on the net for that. Very interesting and complicated topic is navigation(A* and such).
Once you have at least lightly understanding of these things, you can start modifying existing bot sources to get more familiar with the things.

After that you can pick a game that have development SDK for plugins and start playing around. ;)

Munckeyz 06-10-2013 23:35

Re: Question
 
Is there any way to modify the code for Valve's TF2 bots so I could have it automate movement, aiming and shooting for me?

I will look for C++ Primer online.

The Storm 07-10-2013 00:52

Re: Question
 
Yea, just use the magic wand and done...

Come on man. Do you really thing is that simple?

There is always a way. The question is does it worth? As I said this is not simple stuff at all.
If I remember correct Valve released official TF2 bot integrated in the game. Sorry no sources but you can actually use them to play.

Munckeyz 07-10-2013 19:18

Re: Question
 
The problem is that the stuff is so complicated and I'm really not sure where to begin with all this.

The Storm 10-10-2013 21:55

Re: Question
 
As I pointed out:

1. Learn some C++.
2. If you want to skip AI stuff you can download Source SDK and begin exploring code. Valve also have developers wiki.
3. Do simple bot plugin.

Munckeyz 10-10-2013 22:16

Re: Question
 
Okay. Thank you for your help!

Munckeyz 19-11-2013 02:42

Re: Question
 
I'm still having trouble making this client-side bot; I've learned a little C++ but I still don't know what code to root around in Source SDK.

The Storm 19-11-2013 22:16

Re: Question
 
You can't create client side bot using the SDK. Actually here in our Bots-United community client side bots are not welcome(also mentioned in the rules). We support only server side bots, that can be used to play with you when there is no real players, not to play instead of you.

In the SDK there is sample bot source. Just check it out.

Munckeyz 20-11-2013 01:41

Re: Question
 
Oh! My apologies, I guess I didn't read the rules thoroughly enough. Sorry about that. Is there any other forum I can ask about this stuff? Sorry to trouble you.


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

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