Having an AI control a real player?
by Lally Singh · in Torque Game Engine · 01/01/2007 (8:41 pm) · 1 replies
Hey everyone, I'd like to set up a client to log into a running game on a server, and play according to a script.
The intended use is to provide a source of load for seeing how well the server responds to many users.
I've got the big books on Torque, but don't know where to start for an artificial player -- NPCs seem simple enough, but AIPCs (I guess that's the appropriate term) leave me in a bit of a rut.
If it requires some engine changes, lemme know where to start!
Thanks in advance,
-Lally
The intended use is to provide a source of load for seeing how well the server responds to many users.
I've got the big books on Torque, but don't know where to start for an artificial player -- NPCs seem simple enough, but AIPCs (I guess that's the appropriate term) leave me in a bit of a rut.
If it requires some engine changes, lemme know where to start!
Thanks in advance,
-Lally
About the author
Torque 3D Owner Avid Gamer
$player = new Player() { datablock = playerBody; }; ... (loop somewhere) $player.dostuff ...I think that should accomplish the server/client stress your looking for. If not let me know what im missing! Thanks.
-Jonny