Character placement in torque
by Travis Vroman · in General Discussion · 10/24/2003 (12:48 pm) · 2 replies
Okay, let's say I have all of the modeling done for an additional character in the game finished. This is just somebody that stands in the village, who you can go up to and talk to. I have already gotten rpg dialogs working, so that's not this issue here. My problem is this: I have no idea how to code the character in to work with the game, nor do I know how to spawn him into the stage. How is this done? I am using TGE, respectfully. Any help is greatly appreciated.
-Barzahd
-Barzahd
#2
It would take some time to study the scripts supplied with the content pack and you'd also have to look at the AIPlayer script to add functionality to your npc. There are better ways but this way you may see results faster if your just beginning to learn the engine.
At least that method worked for me since my eyes tend to glaze over whenever I look at C++ code heh.
10/24/2003 (1:19 pm)
One method would be to look at the content pack from bravetree with fish and birds moving around via markers. You could substitute the player char for the fish say.. It would take some time to study the scripts supplied with the content pack and you'd also have to look at the AIPlayer script to add functionality to your npc. There are better ways but this way you may see results faster if your just beginning to learn the engine.
At least that method worked for me since my eyes tend to glaze over whenever I look at C++ code heh.
Torque Owner Johnny Hill