Digital Paint Discussion Board

Development => General Development => Topic started by: Garrett on October 24, 2007, 03:56:00 PM

Title: Bot Language/Scripting Question
Post by: Garrett on October 24, 2007, 03:56:00 PM
I have a quick question.  What scripting language do you use for the bots?  In other words, what do you use to make their navigation scripts?
Title: Re: Watch your language
Post by: y00tz on October 24, 2007, 04:23:32 PM
I think they just run, seek and shoot, I believe, unscripted, but the bots are terrible, to paraphrase from what Jitspoe has said, we're using a crude ACEBot implementation and the AI actually needs a completely re-write.  Have you voted for it in the feature vote?

Edit:

"« Last Edit: Yesterday at 03:49:49 PM by KnacK »"

Haha, thank you, I saw the first title and wanted to change it SO bad.
Title: Re: Watch your language
Post by: Eiii on October 24, 2007, 04:25:01 PM
They supposedly collect data on the map they're running around in as they run around in it, but you have to manually save it, and even then they don't navigate any better.
Title: Re: Watch your language
Post by: Garrett on October 24, 2007, 04:36:32 PM
I want to write a totally new script.  What language should I use to accomplish it?
Title: Re: Watch your language
Post by: Eiii on October 24, 2007, 04:48:51 PM
You can't. If you could get jits to give you the code for the bots, then you'd use C.
Title: Re: Bot Language/Scripting Question
Post by: Garrett on October 24, 2007, 05:16:09 PM
Ahh.  Ok.  Would anything else work?  Jits?
Title: Re: Bot Language/Scripting Question
Post by: Eiii on October 24, 2007, 05:24:54 PM
Not unless the bot system was rewritten, which can be voted for in the feature vote thread.
Title: Re: Bot Language/Scripting Question
Post by: Garrett on October 24, 2007, 05:29:05 PM
Isn't I possible to write the script and then just implement it into the C coding.  What I mean is, can you write the script and then just have the portion of C coding that is for the bot's navigation AI call upon the script? 
Title: Re: Bot Language/Scripting Question
Post by: jitspoe on October 24, 2007, 06:16:15 PM
It's possible, but it would be a lot of work to implement.  I'd have to write a script interface and all that jazz.  It would probably be easier to just write better AI in native C.
Title: Re: Bot Language/Scripting Question
Post by: Garrett on October 24, 2007, 06:19:26 PM
Ook.  If I would write a new bot AI, I wouldn't write it so you would have to do the work.  I'm nice like that ;)  But seriously, writing it in C sounds better.
Title: Re: Bot Language/Scripting Question
Post by: Zorchenhimer on October 24, 2007, 10:36:11 PM
Garrett, go vote for these in the feature vote thread.

Quote
7: Better bot AI - P!nk, jitspoe, ViciouZ, QueeNiE, sk89q, Apocalypse, Fred187
4: Break game code up into multiple libraries and open source parts of it - Cobo, Zorchenhimer, KiLo, Apocalypse
Title: Re: Bot Language/Scripting Question
Post by: Garrett on October 25, 2007, 05:25:16 PM
Oops, didn't see that... well disregard my request.
Title: Re: Bot Language/Scripting Question
Post by: Garrett on October 26, 2007, 07:06:03 PM
Has anyone had any luck making a bot script?
Title: Re: Bot Language/Scripting Question
Post by: Fanoto on November 03, 2007, 07:50:00 PM
Has anyone had any luck making a bot script?

I've made a few very simple ones. At the moment, I'm reading a pretty thick book about AIs at the public library, has a CD and everything, only started recently. So far, it seems kinda simple, but the book goes super advanced with stuff such as having set paths and timings for FPS-type games. Since DP isn't like that, I probably wouldn't need to go all that deep into that section.
Title: Re: Bot Language/Scripting Question
Post by: Garrett on November 05, 2007, 03:35:01 PM
What is the book called?
Title: Re: Bot Language/Scripting Question
Post by: Fanoto on November 11, 2007, 10:58:23 PM
Don't remember, but the library's closed until Tuesday, closed through Monday cause of Veteran's Day.