Digital Paint Discussion Board

Paintball 2: The Game => Paintball 2 Discussion => Topic started by: jitspoe on May 18, 2003, 04:10:59 PM

Title: BOTS!
Post by: jitspoe on May 18, 2003, 04:10:59 PM
Well, I decided to add some already existing Quake2 bots (ACEBots) to paintball, since it might be forever before I get around to making my own.  Implementation hasn't been easy, since they're designed for regular q2, and the pb2 game code has been basically rewritten, but they sort of work now in deathmatch mode.  They don't know how to use any items yet, but they're pretty good with just the pgp.  Pretty accurate anyway... too accurate.

Unfortunately my computer keeps hardlocking.  I'm not sure if it's because of the bot code or because ATi sucks.  Most likely the latter.  I should have gotten a GeForce4 instead of a Radeon9700pro.  At least my computer would be stable. :\
Title: Re: BOTS!
Post by: jitspoe on May 20, 2003, 01:03:44 PM
http://www.planetquake.com/digitalpaint/devel/sillybots.dm2
Title: Re: BOTS!
Post by: MasterM on May 20, 2003, 01:40:50 PM
How does it work?
Title: Re: BOTS!
Post by: Eiii on May 20, 2003, 05:41:55 PM
yay! bots!!!
so, i will repeat, how does it work?
Title: Re: BOTS!
Post by: MasterM on May 20, 2003, 07:15:51 PM
I think we make a sub-dir. run pb2 than type in console game wut ever ya put. But that's as far as I can go...
Title: Re: BOTS!
Post by: jitspoe on May 21, 2003, 10:22:35 AM
Heh, that's just a demo.  It's pretty entertaining.  Put it in paintball2\pball\demos (you might have to create the demos folder), fire up paintball2.exe, and type "map sillybots.dm2" at the console.
Title: Re: BOTS!
Post by: MasterM on May 21, 2003, 01:14:05 PM
DOH!!
Title: Re: BOTS!
Post by: FourthX on May 22, 2003, 09:22:54 AM
hey jit i have a hand coded bot kinda working for dp, it just stands and shoots now but it doesnt crash anymore :) Delirious made another one at the same time, his knows how to move sooner or later we're gona get tjhem together. It's hard toi do especially having 0 experience in the area.


FT
Title: Re: BOTS!
Post by: mSparks on June 03, 2003, 10:25:40 AM
hehe, paintball, its been years, I'll have to give it a go again soon.
anyhow, after the next release of ltktbm (irc.enterthegame.com #ltktbm / ltktbm.moddb.com) I'll be pumping out a Q2 bot SDK so you may be better using that (Acebot locks pretty badly)
Title: Re: BOTS!
Post by: jitspoe on June 04, 2003, 11:44:14 PM
Hey! I know you! :)  You're the guy I'm going to "steal" 3d audio code from, hehe.
Title: Re: BOTS!
Post by: mSparks on June 05, 2003, 05:06:39 AM
heh, you cant "steal" it, I've written it to be as easy to add to the Q2 source as possible, heck we can even share adding features once the base codes out :p
Title: Re: BOTS!
Post by: jitspoe on June 05, 2003, 10:07:53 AM
And when will that be? :)

I was tinkering with the demo that came with OpenAL.  It seems to have some glitches.  The reverb effect kinda dies after turning it on and off a few times.  I'm curious if this reverb effect is just a generic effect, or if it's possible to actually make it echo off of world geometry.
Title: Re: BOTS!
Post by: Eiii on June 09, 2003, 05:10:54 AM
re verb?
is that when you look into an areaportal, or into a sky that...isn't...there?
Title: Re: BOTS!
Post by: Eiii on June 09, 2003, 05:12:14 AM
and, jit? could i have everything needed to code a bot for dp? i just want to try, for laughs...i saw a tutorial ;)
Title: Re: BOTS!
Post by: jitspoe on June 10, 2003, 11:38:43 AM
reverb == echo effects.  Like when you fart in the bathroom and it sounds really loud.

The bots are in the server side code, which isn't going to be released for a number of reasons.

Edit: the SOURCE won't be released.  There will be "bots" in the next release though.
Title: Re: BOTS!
Post by: Eiii on June 11, 2003, 04:08:24 PM
can u make bots for 1-player?
and can i just have the .qc file???
Title: Re: BOTS!
Post by: jitspoe on June 12, 2003, 10:36:14 AM
It doesn't use .qc files.  That's quake1 stuff.
Title: Re: BOTS!
Post by: MasterM on June 12, 2003, 04:54:12 PM
Hey Jit, can your botz be any dumber? The way I see it is that those bots will only do good on a free for all match. ;D
Title: Re: BOTS!
Post by: jitspoe on June 13, 2003, 07:19:11 PM
They could be.  I at least made the effort to stop them from killing their teammates right away.

And they were originally deathmatch bots, meaning, yeah, they're basically only good for free for all (though they play decently on dodgeball).
Title: Re: BOTS!
Post by: Eiii on June 14, 2003, 06:37:03 PM
how do they work?
i didn't get the readme
:-/
Title: Re: BOTS!
Post by: MasterM on June 15, 2003, 11:06:41 AM
Did you get the bots eiii? I don't know how you could if you did...
Title: Re: BOTS!
Post by: Eiii on June 15, 2003, 03:44:45 PM
i have the "ace" file...but there's only the nav folder, then the .nod file(s)...is that all i need?
Title: Re: BOTS!
Post by: Eiii on June 19, 2003, 05:08:45 AM
anyone? :'(
Title: Re: BOTS!
Post by: Eiii on June 19, 2003, 06:57:06 PM
nm, i figured it out.
bots=fun(to own)
Title: Re: BOTS!
Post by: MasterM on June 20, 2003, 06:15:37 PM
I played crates with 5 v me ;D. (so it would be fare with the weapons ::)) Man did they know their way around for some reason! One actually got the flag from me! ;D That map must REALLY suck if they know their way around :P ::) :o ;D :D ;).
Title: Re: BOTS!
Post by: jitspoe on June 20, 2003, 09:59:37 PM
"Crates: So simple, even bots can navigate it."

Poor Fryth -- he'll never be able to live crates down. :)
Title: Re: BOTS!
Post by: MasterM on June 21, 2003, 07:58:34 PM
Shouldn't of he requested to have that map deleted from every record on the face the earth right now?
Title: Re: BOTS!
Post by: Eiii on June 22, 2003, 07:56:15 AM
where do they store the "node" files? i can only find midnight2.nod
Title: Re: BOTS!
Post by: jitspoe on June 22, 2003, 02:00:13 PM
The node files are only stored if you type "sv savenodes"
Title: Re: BOTS!
Post by: Eiii on June 23, 2003, 09:59:36 AM
i do...it says
"saving node files (? updated)
"updating node tables"
but...nothing seems to happen.
Title: Re: BOTS!
Post by: jitspoe on June 23, 2003, 02:00:13 PM
It writes the file so that the next time you load the map, the bots have all the nodes.
Title: Re: BOTS!
Post by: Eiii on June 24, 2003, 06:23:13 AM
but where does it write the file? i don't see any other files in the nav folder except midnight2.nod...
Title: Re: BOTS!
Post by: jitspoe on June 24, 2003, 09:43:39 PM
Hmm, that's where it should write them -- paintball2\ace\nav
Title: Re: BOTS!
Post by: Eiii on June 28, 2003, 07:04:36 AM
k, on to a different subject. Do the bots accually try to capture the flag? It seems like they go for the flag some times, but it's hard to tell if that's just were they randomly went, or if its because of code. Jit?
Title: Re: BOTS!
Post by: jitspoe on June 28, 2003, 07:56:10 PM
Bots don't know what a flag is (or any of the pball items, for that matter).  They just run around and shoot.
Title: Re: BOTS!
Post by: MasterM on July 03, 2003, 05:49:44 PM
Arena they seemed to have got to the flag real easy.