Inside3D!
     

Brand new OrionBots!

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Artificial Intelligence
View previous topic :: View next topic  
Author Message
Orion



Joined: 12 Jan 2007
Posts: 413
Location: Brazil

PostPosted: Sun Jun 10, 2007 6:15 pm    Post subject: Brand new OrionBots! Reply with quote

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
View user's profile Send private message
Teiman



Joined: 03 Jun 2007
Posts: 309

PostPosted: Mon Jun 11, 2007 12:58 pm    Post subject: Re: Brand new OrionBots! Reply with quote

Congrats!!! Very Happy
Back to top
View user's profile Send private message
Orion



Joined: 12 Jan 2007
Posts: 413
Location: Brazil

PostPosted: Mon Jun 11, 2007 4:54 pm    Post subject: Reply with quote

Thanks! Smile

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
View user's profile Send private message
Electro



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

PostPosted: Fri Jun 15, 2007 10:08 pm    Post subject: Reply with quote

hehe why only strafe right in water?!

and... do they support waypoints or what? lots of lava deaths and being lots on dm4 Sad


is there a way to just spectate the bots too?
_________________
Unit reporting!
http://www.bendarling.net/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Orion



Joined: 12 Jan 2007
Posts: 413
Location: Brazil

PostPosted: Fri Jun 15, 2007 10:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Electro



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

PostPosted: Mon Jun 18, 2007 4:05 am    Post subject: Reply with quote

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 Smile
_________________
Unit reporting!
http://www.bendarling.net/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    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