Does anyone know source example source codes and tutorials to start writing an intelligent bot for Open Arena?
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
Actual tutorials on the specific subject are sparse, but I did find a paper on a specific bot: http://www.scribd.com/doc/20585341/The-Quake-III-Arena-Bot
As well as a list of commands for a quake 3 bot: http://www.quake3world.com/q3guide/bots.html
The basic AI could be very simple, just a Finite State Machine with states for:
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".