Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Brand new OrionBots!

| Inside3d Forums Forum Index -> Artificial Intelligence

View previous topic :: View next topic
Author | Message
--- | ---
Orion Joined: 12 Jan 2007 Posts: 413 Location: Brazil |

Posted: Sun Jun 10, 2007 6:15 pm Post subject: Brand new OrionBots! |

Hi. I'm here to announce my fourth release of OrionBots, with improved AI and movement. They now have some sort of client physics emulation, see bot.qc and search for BotAirMove, BotAccelerate, BotFriction, and BotWaterMove. The file has the source code included and I've added RA support!
Download and enjoy!
http://shub-hub.dreamhosters.com/files/mods_multiplayer/orionbots4rel.zip
_________________
There's no signature here. Stop looking for one.
Last edited by Orion on Wed Jul 04, 2007 4:18 pm; edited 1 time in total

Back to top |

Teiman Joined: 03 Jun 2007 Posts: 309 |

Posted: Mon Jun 11, 2007 12:58 pm Post subject: Re: Brand new OrionBots! |

Congrats!!!

Back to top |

Orion Joined: 12 Jan 2007 Posts: 413 Location: Brazil |

Posted: Mon Jun 11, 2007 4:54 pm Post subject: |

Thanks! And wasn't too tricky to emulate client physics... I've just put the physics functions at BotThink() (bot.qc). The swimming AI was improved, but the bots act more intelligently when combatting out of water instead of in water, because in water when in combat, they only strafe to the right.
_________________
There's no signature here. Stop looking for one.

Back to top |

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

Posted: Fri Jun 15, 2007 10:08 pm Post subject: |

hehe why only strafe right in water?! and... do they support waypoints or what? lots of lava deaths and being lots on dm4 is there a way to just spectate the bots too? _________________ Unit reporting!
http://www.bendarling.net/

Back to top |

Orion Joined: 12 Jan 2007 Posts: 413 Location: Brazil |

Posted: Fri Jun 15, 2007 10:48 pm Post subject: |

They only strafe right in water because if I use random() to alternate the sides, they'll change the side very fast, because they think every frame. No. They don't support waypoints, better play in maps without lava or maps with no easy access to lava.
You can spectate'em by typing impulse 14 at the console. But if you type impulse 14 and want to play again, you should restart the server.
_________________
There's no signature here. Stop looking for one.

Back to top |

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

Posted: Mon Jun 18, 2007 4:05 am Post subject: |

You can still use random and have a random delay as to how often they change strafe direction or something like that if you like. Make a variable like...

Code:
.float strafe_time; if (self.strafe_time < time) { self.strafedirection = rint(random()*2); // or whatever you're doing here self.strafe_time = time + random()*5; // obviously play with this
}

Then you can control how often he changes strafe direction and what direction independantly pretty easily.
Will give spectating a try
_________________
Unit reporting!
http://www.bendarling.net/

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> Artificial Intelligence | All times are GMT
Page 1 of 1

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