Game Development Community

Steering and Trigger Demo Video

by Teddy Setiawan Wijaya · in Torque Game Builder · 07/18/2007 (1:57 am) · 9 replies

Steering Demo Video

www.youtube.com/watch?v=RcFj9xeVuEQ

developed to demonstrate:

- seek behavior
- obstacle avoidance behavior
- leader following behavior
- separation behavior
- avoid close neighbour behavior

trigger is used to fade out and fade in the tree

#1
07/18/2007 (4:40 pm)
Any plans to release source or a compiled version of this?
#2
07/18/2007 (5:29 pm)
This is great! Would be perfect for RPG or action/adventure games. If you don't end up sharing the code I hope you will at least tell us more about how you did it :D
#3
07/18/2007 (8:11 pm)
Actually the demo was developed based on Sickhead Games - TGB Adventure Kit ;-)

Much of additional steering code was adapted from OpenSteer

My code is far from perfect though, in certain cases the NPC just won't stop moving although the leader (player) has reached her destination. The walking animation also looks weird in other cases.

I'll release the steering code after I nail down the bugs...;-(
#4
07/19/2007 (9:31 am)
Neat, I didn't even know about OpenSteer. I also have the Adventure Kit, but the NPCs don't move all that realistically so something like this can be pretty useful. I'd definitely try it out if you were to release the code.
#5
07/19/2007 (9:42 am)
Cool stuff Teddy!
#6
10/13/2007 (12:53 am)
Here's another video, showing a patrolling grunt.

http://www.youtube.com/watch?v=lsr7tfOtjJU

There are two particle effect. One is used when the grunt is litting his cigarette, the second one while he is enjoying his cigarette.

TGB Adventure Kit is really great! Wouldn't be able to develop the demo without it...

I haven't really get a hang of the particle engine. How do I control the rhytm of the puffing?
#7
10/13/2007 (2:42 pm)
It looks really alive, it's great ^^
#8
10/13/2007 (5:56 pm)
@Teddy - That's really cool stuff once again.
#9
10/14/2007 (10:51 pm)
Wow. I had been using openSteer in my project as well!