Game Development Community

Path Creation

by Randy Hearn - Magnum · in Torque Game Engine Advanced · 10/10/2008 (3:46 pm) · 2 replies

Ok,

I have searched this site and found just about everything you can find on pathfinding and markers, but nothing that tells you how to actually add them in the editor, in TGEA 1.7

Later I want to add some of the advanced camera updates, but until I can get it to compile got two things I would like to do with a path.

One create a path and move a bot or vehicle(at this point can be botless) around the path.

The second is to actually have a camera follow a path.


Not sure if these are implemented the same, but if anyone can point to a link or help I would appreciate it.


Randy

About the author

Technical Product Designer (Mechanical Design) for Boeing for over 25 years working with CAD and PLM systems. I have a Associates Degree in Business and a partial B.S. in Game and Simulation, just couldn't see paying the costs for some of the classes.


#1
10/10/2008 (4:11 pm)
Despite the recent improvement in documentation, tutorials and beginners guides there is still a lot to be desired. The only tutorials I ever followed were these: Codesampler.com Torque Game Engine Tutorials. They're dated but can still be followed (for the most part) regardless of engine (TGE or TGEa)

Check out the Bot Path-Finding section.

You can also look in the stronghold game (starter.fps) at the stronghold and barebones map to see how the path markers are set up in game. You basically set up a series of sequentially numbered/named path markers attributed to a common path (parentGroup). WorldEditorCreator -> MissionObjects -> Mission -> path/path marker. The pathed camera will be done differently but in a similar manner, you should be able to see how it's done in the demo example - I also believe that there is a resource for a pathed camera

Hope that helps.
#2
10/10/2008 (4:19 pm)
AHHH!

Thanks... That is the tutorials I remember!.. Yea, I figured not much has changed on them. I have done them before, but every time I try now, my computer just crashes, so I wanted to go back and refresh how they are actually supposed to be done.

It's always my luck when I follow a tutorial. They generally stop right at the point I want them to pick up:)


Thanks