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

OrionBots - 1st release Goto page Previous 1, 2

| Inside3d Forums Forum Index -> Artificial Intelligence

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

Posted: Thu Mar 29, 2007 2:47 pm Post subject: |

Yes, the entire bot code in in bot.qc, but have a rankings.qc for displaying on scoreboard, and see StartFrame() at world.qc, it will update the bot's "model" position, because the bot isn't a client entity, see create_bot()/start_bot() at bot.qc, have a float that gets a client entity for the bot.decoy, that is the "model", because the bot has a null model "progs/null.mdl", if I set the bot's model to string_null, the bots won't glow, won't muzzleflash, won't have any light effects, this is why I created a very small pyramid to represent the null.mdl, and if I set the bot's model to null.spr, will have a lot of messages ingame something like this: SV_DrawSprite: no such frame #. At some client.qc/player.qc/weapons.qc/etc functions, have some tweaks because of the bot's model, his aim, etc. But the entire AI is all in bot.qc.
_________________
There's no signature here. Stop looking for one.

Back to top |

Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Fri Mar 30, 2007 9:17 am Post subject: |

Orion: That's what it usually looks like. All AI is in separate files, but important tweaks in existing files. The question is just how many files you have tweaks in . Frikbot did it pretty well. I'd guess only tutorial-bot is more plugin than Frikbot
_________________
Look out for Twigboy

Back to top |

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

Posted: Fri Mar 30, 2007 2:09 pm Post subject: |

Urre: Did you get the second release? http://shub-hub.quaddicted.com/files/mods_multiplayer/orionbots_v2.zip _________________ There's no signature here. Stop looking for one.

Back to top |

Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Fri Mar 30, 2007 2:21 pm Post subject: |

Orion: Internet's still not working for me at home, so no _________________ Look out for Twigboy

Back to top |

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

Posted: Fri Mar 30, 2007 4:25 pm Post subject: |

Try recording it to a pendrive, floppy or something... _________________ There's no signature here. Stop looking for one.

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Fri Mar 30, 2007 5:07 pm Post subject: |

Come on Urre! You gotta want it! _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

FrikaC Site Admin Joined: 08 Oct 2004 Posts: 947 |

Posted: Fri Mar 30, 2007 5:45 pm Post subject: |

Urre wrote:
Hm, I've always thought I follow the community, but I've never heard of the shub hub. I've just tried using Quake Archives on QuakeDev, but it's been suffering from bad management.

I blame A.I. Qaeda.
Last edited by FrikaC on Thu Apr 05, 2007 3:37 am; edited 1 time in total

Back to top |

Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Sat Mar 31, 2007 12:49 pm Post subject: |

Checked out the second release, quite cool stuff. Their strafing was cool and smooth, cool combat movement, okay navigation. I must agree on other people's complaints though, that they seem to move and react too fast. The fact that they don't accelerate or decelerate at all gives them a serious advantage over real players, and their reaction times are insane. Not only do they seem to see with eyes in their neck, they shoot instantly. They also for some reason seemed to act more intelligently when in combat, than when navigating just by themselves. I looked at one of the bots after I died, and it was pretty much running around in circles in the RL area on dm6. Still way better than my bots, so I give it an official Urre thumbs up. Keep at it mate!
_________________
Look out for Twigboy

Back to top |

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

Posted: Sat Mar 31, 2007 6:18 pm Post subject: |

Well, here's an improvement for third release, accelerating/decelerating speed, here's a moving forward example:

Code:
howfar = 320*frametime; movetogoal (howfar); if (self.flags & FL_ONGROUND) { makevectors (self.angles);
self.flags = self.flags - FL_ONGROUND;
self.velocity = self.velocity + v_forward * 10; // this will add velocity
if (vlen(self.velocity) > 320) // this will limit it
self.velocity = v_forward * 320; // this too
}

_________________
There's no signature here. Stop looking for one.

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Sat Mar 31, 2007 7:36 pm Post subject: |

Uhoh. I sense missing frametime multiply. _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

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

Posted: Sat Mar 31, 2007 11:50 pm Post subject: |

Urre, please gimme the link of your bots.. I wanna try'em. Thanks! _________________ There's no signature here. Stop looking for one.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> Artificial Intelligence | All times are GMT Goto page Previous 1, 2
Page 2 of 2

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