Actually, you can do most of that, if not all of it. The part I'm not sure of is giving the bots weapons.
Space Guy made fully working DM Ai in v8. Heres what the Ai could do;
-Walk around, avoid walls, walk through hallways
-If a bullet goes past the bot, it looks around for whoever fired the bullet and attacks them
-If the bot sees a weapon it doesn't have it picks it up, if the bot already has 5 weapons it ignores it
-The bot could tell if the weapon was automatic or not. so it knew how to fire the gun
-The bot could tell if it was a weapon like the spear, so it knew to hold the weapon for a second before
releasing
In short, its possible.