Game Development Community

Footstep Triggers.

by Greg Gardinier · in Torque Game Engine · 07/29/2005 (9:18 pm) · 5 replies

Try as I might I can not get footstep triggers to work.

I know how to create them and I have been looking extensively at the Bravetree Girl content pack to try to figure out what's going on here.

Basically, I created a new character model. I put the model into the game and had it use the existing animations (originally for the Orc). Everything worked fine (foot puffs, footstep sounds, etc).

Soon afterward I created my own animations. I wasn't aware of the trigger system at that time so I didn't have them in there, and, of course, the foot puffs and sounds disappeared. After some research I was able to figure out how the triggers work. I added them and nothing happened.

I basically followed the instructions in the brave tree girl tutorial and the official documentation: www.garagegames.com/docs/tge/general/ch08s05.php

Here is what I did:

www.myworldforge.com/temp/ggposts/triggerexample.jpg
I have a 25 frame animation of my character running. Each time the foot is suppose to hit the ground I set a trigger with a value of either 1 or 2 (2 for the right foot and 1 for the left). Yet, it still doesn't work.

After reading through some of the tutorials I figure there might be a little bit more to this and just setting the triggers, I was reading about the decal offset and some other things but I am still not clear on what I exactly need to do to get my custom animations in, and fully working. Any help would be appreciated.

Thanks

#1
07/30/2005 (6:27 am)
Set the keys on the boundingbox this is how i get it to work .
#2
07/30/2005 (11:47 am)
Set what keys though? I mean do I move the bounding box each time I set a key for the trigger? My run is just in place (so my charcter doesn't move outside of it)...I shouldn't have to move the bounding box...right?
#3
07/30/2005 (2:02 pm)
When i do my walk or run animation i link my boundingbox to the shape , after that i set my foottrigger keys.
#4
07/30/2005 (6:41 pm)
I have had this set up this way all along, and it still isn't working. The skinned shape is the parent of "bounds".
#5
07/31/2005 (2:48 am)
I FIXED IT! :) You were right Billy, I just didn't get how this was suppose to be done. It was all described in detail here www.garagegames.com/mg/forums/result.thread.php?qt=12991