added renaining bot code (modified and adapted from OpenArena)