AI Conection Limit
by Ryan Mick · in Torque Game Engine · 08/08/2004 (8:58 am) · 3 replies
I am just wondering if there is a limit on the number of AI Player/Bots that is supported. I have been looking and have not found anything about it.
#3
08/10/2004 (6:17 am)
In Ken Finney's book I noticed in the function description for AIConnect(id) that the reference number was from 0 to 20. After poking around the latest version of the source I noticed that the AI connections are hardcoded to this range. I am a newbie but from my understanding each AI player has it's own AI connection which would mean a maximum of 21 bots. I have been thinking of a single player game and 21 opponents at a time seems very limiting. If I am wrong please correct me.
#4
08/10/2004 (8:55 am)
I agree that does seem rather limiting.
#5
08/11/2004 (6:18 am)
Well, I think that since the game will run slow with that many bots you should do like they did in the first Half Life. Once you get to a certain point a little "Loading..." comes up in the middle of the screen and it just loads a new mission from exactly where you were with new bots and more map every time. same thing when you go back through the place.
Torque 3D Owner William Gooding
In theory there is no limit in the number of bots you can have in your game.
The limitation in this number should be basically driven by the complexity in the AI (processing time) of the active bots, or the number of them in the same area the player is(Frame Rate) depending on the number of polygons and the complexity of the animations.