Inside3D!
     

good tutorial for making a bot from scratch?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Tue Apr 21, 2009 8:45 pm    Post subject: good tutorial for making a bot from scratch? Reply with quote

based off the player model.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Wazat



Joined: 15 Oct 2004
Posts: 732
Location: Middle 'o the desert, USA

PostPosted: Tue Apr 21, 2009 9:09 pm    Post subject: Reply with quote

I wonder if Coffee's site is still up. My understanding is Tutor Bot was a wonderful way to learn AI and bot building.

Someone may know of the link and/or have an archive.
_________________
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
Back to top
View user's profile Send private message MSN Messenger
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Tue Apr 21, 2009 9:36 pm    Post subject: Reply with quote

this should be his site right? http://minion.planetquake.gamespy.com/index2.html

or this?

http://minion.planetquake.gamespy.com/index3.html
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Tue Apr 21, 2009 9:57 pm    Post subject: Reply with quote

Yes, the AI cafe is without a doubt the best site for this. It doesn't start from scratch, it starts with a simple template bot called the tutor bot then each tutorial adds a new feature to the bot. The tutorials are very well written and I (and many others) learnt an awful lot from them. I highly recommend them.

The link to the tutorial page seems to be broken in the site, so here's a direct link to the tutorials page:

http://minion.planetquake.gamespy.com/tutorial/main.htm

And here's a link to the tutor bot page for the download:

http://minion.planetquake.gamespy.com/tutor.htm
_________________
Apathy Now!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Tue Apr 21, 2009 10:12 pm    Post subject: Reply with quote

i found those... iv applied the tutor bot to a vannilla quake mod directory, and the bot doesnt seem to spawn.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Tue Apr 21, 2009 10:30 pm    Post subject: Reply with quote

Did you read the instructions in tutor.qc? If you follow them correctly it will work.
_________________
Apathy Now!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Tue Apr 21, 2009 10:44 pm    Post subject: Reply with quote

got it working, wasnt paying attention. my next problem seems that tutor bot completely changes some aspects of the game. such as i noticed i started getting random weapons on spawn . some that wernt even on the map. also the bots dont show up in the scoreboard o.O?
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Electro



Joined: 29 Dec 2004
Posts: 241
Location: Brisbane, Australia

PostPosted: Tue Apr 21, 2009 11:33 pm    Post subject: Reply with quote

I'd highly recommend stripping the bot RIGHT back, get rid of all the player animation and think stuff in it.

Then implement proper botclient stuff that is supported by FTE and Darkplaces. This will allow the bots to use real player physics, and show them on the scoreboard. As well as keeping the amount of bs pollution in your qc to get things working to a minimum.
_________________
Unit reporting!
http://www.bendarling.net/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Tue Apr 21, 2009 11:45 pm    Post subject: Reply with quote

The tutor bot is initially rubbish, the downloaded version supports basically nothing, has fake weapon pickups, not on the scoreboard etc.

The idea is that you follow the tutorials and gradually add these features to the bot, learning in the process. The resulting bot is a lot better, though still not brilliant, but it teaches you an awful lot in the process.

If you want to make a DP only bot the tutor bot isn't a great place to start. I have a project called MauveBot that is roughly speaking a DP specific tutor bot equivilent; a plugin bot written to be as simple and short as possible. I wrote it for Nexuiz but it should work fine for Quake. I'll see if I can dig it up.
_________________
Apathy Now!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Wed Apr 22, 2009 12:34 am    Post subject: Reply with quote

awsome thanks.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Wed Apr 22, 2009 2:06 am    Post subject: Reply with quote

Ok, here's the MauveBot: http://elf.planetquake.gamespy.com/mauvebot.zip.

It's a very, very simple bot for Darkplaces that can be plugged into any mod incredibly easily. The bot is dumb as hell, but that's because there are only 250ish lines of code in the whole thing Smile

It should be a decent framework for building a DP bot, as it has nothing but the basics scetched out.
_________________
Apathy Now!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Wed Apr 22, 2009 2:13 am    Post subject: Reply with quote

awsome thanks!
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Team Xlink



Joined: 25 Jun 2009
Posts: 320

PostPosted: Fri Sep 04, 2009 11:02 pm    Post subject: Reply with quote

I hope this isn't a topic bump, it was on the first page still.

MauveBib, in the MauveBot, what exactly makes it DarkPlaces specific?

I assume these things might tie it to be DarkPlaces specific.

DP Extensions
(I am not sure if it uses this or not but a lot of DarkPlaces specific mods do.)

And

sv_user.qc
(This one I am not 100% sure on, but it is very good for AI it results ins some very realistic looking bots, the best example of a good use of it for AI is Electro's ShockBot, the most realistic bot I have seen so far it doesn't look like a bot, it looks like a human player.)


A bot that requires only 250 lines of code, is a very good base for a bot.

The MauveBot is as close to a bot template/skeleton that I could find.
_________________
Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!
Back to top
View user's profile Send private message
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Sat Sep 05, 2009 12:34 am    Post subject: Reply with quote

Team Xlink: The whole thing is hugely DP dependant, especially the botclient and movement code etc, which is entirely handled by DP.
_________________
Apathy Now!
Back to top
View user's profile Send private message
FrikaC
Site Admin


Joined: 08 Oct 2004
Posts: 947

PostPosted: Tue Sep 08, 2009 1:44 pm    Post subject: Reply with quote

FrikBot was supposed to be a bot template/skeleton. I guess I failed.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group