here are the .blends for those who use macs and for those who want to learn how to make the AI.
unfortunatly you will need blender 2.25 to play it, i’ve tested it in blender2.41, on windows xp, it opens but when u try to play it, ppl keep dieing and it pretty much freezes, maybe its something in the python code.
.blends here
http://www.geocities.com/ineedanewbike/war/WarGamesBlend.zip
How the AI works
(if you’re not a bit familiar with python, i woudlnt attempt this, you can learn more about python with the links from the sticky tuturials)
at the moment, every character gets their own script and annouces their xyz location to GameLogic, ei
GameLogic.Red1 = own.getPosition()
everyones script will also compare their distances with all other players using their position and its own position
math.sqrt((x-x1)^2+(y-y1)^2+(z-z1)^2)
Each bot has 4 track to actuators to track on to the 4 opponents, using if statments you can activate the correct track to actuator and have the bot look at the closest enemy. refresh rate of this script is about every 2 seconds
the ai bot jumps to dodge shots when an enemy bullet is seen with a radar infront of it. it also jumps when it is unable to see the closest oppoent after about 15seconds, so that if theres a wall it can jump over it.
the bots have random motions, side strafe left right, advance closer or stop, when far from opponent, it will run closer more and strafe less, when closer to opponent, it will strafe more and advance less, this can be done with math.getRandomFloat() and using if statments
using a ray, if it sees an enemy property such as “blue” it will shoot.
thats pretty much it, the rest is simple logic bricks, theres also an accuracy script in the .blends for the sniper game.
hope that info was helpful