Author Topic: New Bot AI Progress  (Read 38968 times)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
New Bot AI Progress
« on: October 19, 2013, 11:01:27 AM »
For the next version, I'm focusing on AI.  This is going to be a challenge, and I'm not sure when I'll have anything worth releasing, so I figured I'd create this thread to keep everybody updated on what the status is:

Done:

- Remove/Disable ACEBots
- Create new DLL
- Load DLL from game and update it
- Spawn AI player
- Wandering with no navmesh

To Do:

- Awareness of other players
- Game mode objectives
- Aiming
- Shooting
- Basic navigation
- Storage and loading of map navigation info
- Strafe jumping
- Dodging
- Neural network learning behavior?
- Personality
- Communication
- Handle map switching
- Linux support
- Probably a whole lot more
« Last Edit: October 21, 2013, 10:12:06 AM by jitspoe »

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: New Bot AI Progress
« Reply #1 on: October 19, 2013, 11:54:21 AM »
When you've finalised the interface could you release a gamex86.DLL and put the AI library source up in the CVS? Would love to have a go at this

luckmore

  • 68 Carbine
  • Posts: 391
Re: New Bot AI Progress
« Reply #2 on: October 19, 2013, 12:23:20 PM »
I really dont understand why people voted for this. There are so many other things that could be done before this.

BASEBALLDUDE

  • Autococker
  • Posts: 703
Re: New Bot AI Progress
« Reply #3 on: October 19, 2013, 01:09:54 PM »
Good luck Jitspoe! It will be epic when the new bot system is released to the public.

Bitius

  • VM-68
  • Posts: 104
Re: New Bot AI Progress
« Reply #4 on: October 19, 2013, 01:17:00 PM »
Also, good luck jitspoe.Have fun developing :)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: New Bot AI Progress
« Reply #5 on: October 19, 2013, 02:02:44 PM »
When you've finalised the interface could you release a gamex86.DLL and put the AI library source up in the CVS? Would love to have a go at this
I doubt it will ever be "finalized".  There will likely be a frequent need to add or change things.  I probably won't be able to release it until the next version is about done.

I really dont understand why people voted for this. There are so many other things that could be done before this.
A lot of people don't want to jump right in and get murdered by experienced players.  I believe it's the most requested thing on the uninstall survey.

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: New Bot AI Progress
« Reply #6 on: October 19, 2013, 03:03:29 PM »
I really dont understand why people voted for this. There are so many other things that could be done before this.

Bots are useless. Jump Mod would be much better

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: New Bot AI Progress
« Reply #7 on: October 19, 2013, 09:55:53 PM »
Already better than acebots?  ;)

Bitius

  • VM-68
  • Posts: 104
Re: New Bot AI Progress
« Reply #8 on: October 20, 2013, 12:32:37 AM »
They're celebrating about the new AI they're getting :D

TRION

  • 68 Carbine
  • Posts: 290
Re: New Bot AI Progress
« Reply #9 on: October 20, 2013, 06:59:30 AM »
Please add a customizable pathways too like .naz files.. So mappers can make a file for bots too :)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: New Bot AI Progress
« Reply #10 on: October 20, 2013, 01:09:36 PM »
http://www.youtube.com/watch?v=QCUpvfAZ4l8 - better with music. ;D

I haven't decided how I'm going to handle the navigation stuff yet.  It's probably going to be a mixture of "learning" player paths and blindly stumbling around places that don't have player paths.

My initial thought was to record player input as they strafe jumped around the map, then develop paths of recorded input, so the bots could strafe jump like players.  Problems with that include:
 - Bot paths limited to exactly the paths players have taken.  No room for slight variations to avoid lines and such.
 - Data storage for these paths could be really large.
 - Bots won't discover new, non-recorded paths.
 - Aiming and shooting while on a strafe-jump path will break it, since strafe jumping depends on look direction.

JMR

  • Map Committee
  • Autococker
  • Posts: 574
Re: New Bot AI Progress
« Reply #11 on: October 20, 2013, 01:23:50 PM »
Haha! Very nice jitspoe.
- Aiming and shooting while on a strafe-jump path will break it, since strafe jumping depends on look direction.
Hmm, for bots, maybe make up a separate way they shoot? So the player model rotates to the way they are looking, but the way they are aiming doesn't effect the path they go. So you basically have two different systems, 1 for aiming and rotating player model, the other just for moving the bot towards the navigation file, with maybe a spread of some kind (record multiple variations of the same jump and randomize it.)

BASEBALLDUDE

  • Autococker
  • Posts: 703
Re: New Bot AI Progress
« Reply #12 on: October 21, 2013, 07:30:14 AM »
Haha! Very nice jitspoe.Hmm, for bots, maybe make up a separate way they shoot? So the player model rotates to the way they are looking, but the way they are aiming doesn't effect the path they go. So you basically have two different systems, 1 for aiming and rotating player model, the other just for moving the bot towards the navigation file, with maybe a spread of some kind (record multiple variations of the same jump and randomize it.)
That's a good idea, but there's one major flaw with that idea. If the boys were to pivot and aim somewhere else while maintaining the strafe jump, that would give them an unfair advantage over the humans because we can't do that.

Instead, I'd like to propose an alternate solution. Jitspoe was talking about giving the bots "personalities" so that not all bots behave the same way. I like this idea, and depending on the bot's personality, it would either neglect to shoot in order to maintain the strafe or break the strafe to shoot.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: New Bot AI Progress
« Reply #13 on: October 21, 2013, 10:14:04 AM »
Updated the original post.

Completed:

- Wandering with no navmesh

Bots send out traces to avoid running into walls and aimlessly wander around the map randomly.

To Do:

- Handle map switching

Currently, on map switches, all the bots drop out but do not get reloaded (but the botlib still thinks they're there).

CyberZTec

  • PGP
  • Posts: 5
Re: New Bot AI Progress
« Reply #14 on: October 21, 2013, 12:10:12 PM »
Jump Mod would be much better
This.

BASEBALLDUDE

  • Autococker
  • Posts: 703
Re: New Bot AI Progress
« Reply #15 on: November 02, 2013, 07:38:19 PM »
Keep up the good work Jitspoe!

Foxhound

  • Autococker
  • Posts: 952
Re: New Bot AI Progress
« Reply #16 on: November 03, 2013, 10:34:10 AM »
I really dont understand why people voted for this. There are so many other things that could be done before this.

Horde mode!!!! I'll play again.

BASEBALLDUDE

  • Autococker
  • Posts: 703
Re: New Bot AI Progress
« Reply #17 on: November 22, 2013, 07:10:24 PM »
How's the progress going jitspoe?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: New Bot AI Progress
« Reply #18 on: November 23, 2013, 06:06:42 PM »
Haven't been working on the bots much recently.  I've been messing around with stars and trying to fix bsp compiler issues.

I've started on a system to record player input, but haven't gotten very far on it.

FusSioN

  • Autococker
  • Posts: 603
Re: New Bot AI Progress
« Reply #19 on: November 23, 2013, 06:46:13 PM »
Should fix this: Players can get into a passworded server full of bots :p