View Single Post
Re: United Bot philosophy and roadmap.
Old
  (#13)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: United Bot philosophy and roadmap. - 24-03-2004

"Do you think it's enough for a first prototype ?"

I assume you mean prototype of what types of modules there will be. There doesn't seem to be any actual content in any of the wiki pages (like diagrams showing how the modules are intended to fit together, etc.)

Can someone put up the proposed "bot core" code showing how you plan to manage multiple bots in the game and what types of functions will be called for each one? Something like this (in pseudocode)...

Code:
for (AllBotsCurrentlyInTheGame)
{
   Call PreThink();  // do any pre-thinking processing here
 
   Call Navigation();  // do we need to find a path or set up movement (this includes turning/jumping/ducking/etc.)
 
   Call ItemUsage();  // do we need to press any buttons or use any world items?
 
   Call EnemySelection();  // are there any enemies nearby?
 
   Call WeaponSelection();  // should we choose a new weapon for the current enemy?
 
   Call AdjustAiming();  // do we need to adjust our aim?
 
   if (bButtonsPressed)  // does the bot need to press any buttons to simulate player input?
	  Call PressButtons();
 
   if (bMovementRequired)  // does the bot need to send movement information to the engine?
	  Call SendMovementInfo();
 
   Call PostThink();  // do any post-thinking processing here
}
Obviously other stuff would need to be added, but let's at least start with some kind of "core" framework that can be discussed in more detail.

botman
  
Reply With Quote