Game Development Community

Torque 3d Problem Spawning Ai (using alpha).

by StephenBar · in Torque X 3D · 06/07/2010 (9:46 am) · 1 replies

Ok I am trying to get my basic AI working. I have made a path to follow , but Nothing seems to happen. What other things need to be done to get the model to spawn and move on the path?

I have tried using the console but it also cannot be used to create a chracter which will move around.

I have read the aiPlayer.cs.

and activated the code from game.cs using

exec("./aiPlayer.cs"):

I have tried to implement alot of varing different ai in an attempt to get something working.

I have now decided to go to my back up copy to start reintragtion from scrath.

I have tried to implment an aiplayermaker to make a static object but it won;t allow me to create a player when i save , quit reload and neither does the standard aiplayer.cs when making a path called player 1 in simgroup(paths).

I have ensured that the path nodes are above the ground. But still no ai.

Please - Help with my problem.

I am a student.

maybe the physix intergation effected the ai creation. Why is there no aiplayerswawn marker like there is one for player.???? That automatically links to aiPlayer.cs. also why is there aiPlayer.cs in two different places in art/datablocks/aiPlayer.cs and 1 is scripts/sever/aiplayer.cs ?.

Is there away to create players using a trigger ?. without the need of a path?.

#1
08/30/2010 (10:59 am)
Of course there is a way to do it. You just would have to modified the AI Script that when something happens it spawns a ai. Now for not using the Path thing. IDK I just started out doing this as well.