Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know source example source codes and tutorials to start writing an intelligent bot for Open Arena?

share|improve this question

closed as off-topic by Byte56 Dec 17 '13 at 17:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started" or "what should I learn next" cannot reasonably be answered with anything other than opinion polling and therefore are off topic for the site. For more information on how to ask a better question, see the help center" – Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

It's good practice with this site to do your own search first, and include what you may have already found. – Amplify91 May 21 '12 at 16:17
An artificial bot?! – Arcane Engineer Jun 24 '12 at 14:19

Actual tutorials on the specific subject are sparse, but I did find a paper on a specific bot:

As well as a list of commands for a quake 3 bot:

The basic AI could be very simple, just a Finite State Machine with states for:

  • hunting other bots or players
  • Fighting target
  • running from other bots or players when low on resources
  • looking for resources when low and not engaged

Writing the logic for each state, and the entrances and exits to each is where it can go from simple "fire gun at target" to complex "aim at target at rate X while moving to cover at position Y and fire once reticule is within Z of target".

share|improve this answer

Quake 3 source code and UDK are the best examples.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.