Game Development Community

What is the Difference in AIClient & AIPlayer class

by Viren Thambidorai · in Torque Game Engine Advanced · 10/01/2007 (12:24 am) · 7 replies

Hi,
What is the difference in AIClient & AiPlayer classes. Code wise most of the stuff looks similar. Major difference is the parent classes. Which class should I use if I want to create AIPlayers. I haven't seen any reference to AIClient class in any of the demos. Please help me with this.

#1
10/01/2007 (12:43 am)
I believe that AIClient is old depreciated code. AIPlayer is a rewrite and should be used.
#2
10/01/2007 (12:46 am)
I have to put around 100 ai Vehicles. But when I put more than 20 vehicles. The vehicles start jerking. Any solution to this problem. The ai vehicles inherit from wheeledvehicle class but use AI player class code.
#3
10/01/2007 (1:53 am)
I have to put around 100 ai Vehicles. But when I put more than 20 vehicles. The vehicles start jerking. Any solution to this problem. The ai vehicles inherit from wheeledvehicle class but use AI player class code.
#4
10/01/2007 (1:58 am)
I have to put around 100 ai Vehicles. But when I put more than 20 vehicles. The vehicles start jerking. Any solution to this problem. The ai vehicles inherit from wheeledvehicle class but use AI player class code.
#5
10/01/2007 (4:20 am)
The problem you are experiencing with the 100 vehicles is most likely due to the networking load. AIPlayer is allegedly quite network intensive. I would recommend having a look at the RTS kit. I believe there is a more lightweight solution used for the units in that kit.

Gabriel
#6
10/01/2007 (4:25 am)
You simply exceed your network bandwidth it sounds like! :-) Check this resource here.

Btw: For a different question, you should open a new thread.
#7
10/06/2007 (2:43 am)
Thanx guys. Sorry for two questions in one thread. Next time i'll remember this :)