Updated main post.
Added:
- Created bot manager (ZBotManager). Responsible for creating/destroying bots, and issuing commands to all bots.
- Bots are now derived from the player (ZBotCharacter). Bots are pretty much of type MyZCharacter (The thing you play as), but with some features removed.
- Added bypass for connection check for bots. I suspect this makes the bot client-sided. Need to find a way to test.
- Added bots to peer list with a sentinel IP of "255.255.255.255" and port 0. Should be useful for making server sided bots in the near future.
- Added death mechanics to bots. Bots stay dead until you respawn them with "/bot spawn".
- Added godmode to bots. "/bot god"
- Bots now contain your name.
To be added:
- Need to create ZNetBot so you can see other player's bots and bots in replays.
- Need to consider bots in replays.
- Need to fix player camera controlling bots.
- Need to fix most ranged weapons not damaging bot.
- Need to fix bots not dying in pits.
- Need to add controllability.
Here's an elevator with 0 ping.