Author Topic: Bot Language/Scripting Question  (Read 5717 times)

Garrett

  • Autococker
  • Posts: 1372
Bot Language/Scripting Question
« on: October 24, 2007, 01: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?
« Last Edit: October 24, 2007, 02:49:49 PM by KnacK »

y00tz

  • Autococker
  • Posts: 2742
Re: Watch your language
« Reply #1 on: October 24, 2007, 02: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.
« Last Edit: October 25, 2007, 12:23:40 AM by y00tz »

Eiii

  • Autococker
  • Posts: 4595
Re: Watch your language
« Reply #2 on: October 24, 2007, 02: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.

Garrett

  • Autococker
  • Posts: 1372
Re: Watch your language
« Reply #3 on: October 24, 2007, 02:36:32 PM »
I want to write a totally new script.  What language should I use to accomplish it?

Eiii

  • Autococker
  • Posts: 4595
Re: Watch your language
« Reply #4 on: October 24, 2007, 02:48:51 PM »
You can't. If you could get jits to give you the code for the bots, then you'd use C.

Garrett

  • Autococker
  • Posts: 1372
Re: Bot Language/Scripting Question
« Reply #5 on: October 24, 2007, 03:16:09 PM »
Ahh.  Ok.  Would anything else work?  Jits?

Eiii

  • Autococker
  • Posts: 4595
Re: Bot Language/Scripting Question
« Reply #6 on: October 24, 2007, 03:24:54 PM »
Not unless the bot system was rewritten, which can be voted for in the feature vote thread.

Garrett

  • Autococker
  • Posts: 1372
Re: Bot Language/Scripting Question
« Reply #7 on: October 24, 2007, 03: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? 
« Last Edit: October 24, 2007, 03:57:09 PM by Garrett »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bot Language/Scripting Question
« Reply #8 on: October 24, 2007, 04: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.

Garrett

  • Autococker
  • Posts: 1372
Re: Bot Language/Scripting Question
« Reply #9 on: October 24, 2007, 04: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.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Bot Language/Scripting Question
« Reply #10 on: October 24, 2007, 08: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

Garrett

  • Autococker
  • Posts: 1372
Re: Bot Language/Scripting Question
« Reply #11 on: October 25, 2007, 03:25:16 PM »
Oops, didn't see that... well disregard my request.

Garrett

  • Autococker
  • Posts: 1372
Re: Bot Language/Scripting Question
« Reply #12 on: October 26, 2007, 05:06:03 PM »
Has anyone had any luck making a bot script?

Fanoto

  • PGP
  • Posts: 15
Re: Bot Language/Scripting Question
« Reply #13 on: November 03, 2007, 05: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.

Garrett

  • Autococker
  • Posts: 1372
Re: Bot Language/Scripting Question
« Reply #14 on: November 05, 2007, 02:35:01 PM »
What is the book called?

Fanoto

  • PGP
  • Posts: 15
Re: Bot Language/Scripting Question
« Reply #15 on: November 11, 2007, 09:58:23 PM »
Don't remember, but the library's closed until Tuesday, closed through Monday cause of Veteran's Day.