Game Development Community

How do I add a bot to the game?

by Casey Wylde · in Torque Game Engine · 09/03/2004 (8:25 am) · 2 replies

I've created a model that works when i plug it into the aiplayer.cs and have created a custom script for my character but don't know how to add bots in the mission editor.

#1
09/03/2004 (2:55 pm)
The way to add bots is through the scripts. You can add them using the mission editor but you first need to bind a key to the function that adds the bots.
Check out Beffy's tutorials, they should help you out.
tork.beffy.de/modules.php?op=modload&name=ToRKTutorials&file=index

So when you say that "it works when I plug it into the aiplayer.cs" you mean that you got it to spawn in the game?

Nick
#2
09/04/2004 (5:52 am)
I mean I changed player.cs to usemy model, and since the aiplayer.cs uses the same model as the player it showed up in game.