Game Development Community

Couple questions

by Christian · in Torque Game Engine · 12/07/2006 (10:57 pm) · 2 replies

A couple quick questions. Couldn't find any answers to these when I searched all the forums.

1) to add a second bot to a game, what do I need to change in aiplayer, I made an aiPlayer2 and put him on a second path, but only 1 bot shows up.

2) i've been trying to add a lot of the tutorials such as grapple hook, laser, to my games and most of them aren't working. I don't know enough about the code to know how to fix them, since they are written way before 1.5 and that is what I have is there a way or would I just have to know what to code and redo them all?

3) and finally is there any way to make your character come out of a jump by hitting space again, to go and hit a character or object you are pointing at?

Thanks a lot.

#1
12/08/2006 (6:35 am)
1) Spawn another one. You do not have to change AIPlayer for that. Kork (the AIPlayer which runs around Stronghold - not sure about 1.5 though) is spawned in scripts, probably in the AIManager somewhere.

2) Most of the time you do not have to redo them, just make note of the differences between 1.5 and your previous version, then put in the resource piece by piece until it lines up.

3) Yes.
#2
12/08/2006 (12:27 pm)
Cool, got the bot spawning working thanks.