Make a tank?
by Dennis Whipstock · in Torque Game Engine · 06/14/2004 (10:19 am) · 6 replies
Would making a tank be as easy as making a 2 wheeled vehicle? Does anyone know of an example of a tank script + the DTS - model?
Thanks for any help
Thanks for any help
#2
Might be an idea :)
06/15/2004 (11:23 am)
I believe the Bravetree guys actually derived thier tank from gamebase and bypassed all the vehicle code and its issues :) just did a quick raycast down to determine the tank position and had some angle stuff in there too.Might be an idea :)
#3
06/16/2004 (5:52 am)
Hmmm I think I'm too much a n00b to try doing it all the way from scratch ATM. Maybe in a month or so... Well hopefully Bravetree will have a tank pack out by then.
#4
I would suggest the following :
1) modify the dune bug datablock in the racing example to have just two wheels.
2) tweak the physics part of the datablock until the buggy behaves as a tank
3) model your tank, don't forget to add the nodes for the wheels mount ( i beleive they should be named bob0 and bob1, not 100% certain of that ), a cam node, an eye node and a mount0 node for your player.
4) change the buggy DTS for your tank DTS and see how it behaves with the buggy's wheels.
5) Model the tracks
HTH
06/16/2004 (6:35 am)
Dennis,I would suggest the following :
1) modify the dune bug datablock in the racing example to have just two wheels.
2) tweak the physics part of the datablock until the buggy behaves as a tank
3) model your tank, don't forget to add the nodes for the wheels mount ( i beleive they should be named bob0 and bob1, not 100% certain of that ), a cam node, an eye node and a mount0 node for your player.
4) change the buggy DTS for your tank DTS and see how it behaves with the buggy's wheels.
5) Model the tracks
HTH
#5
06/18/2004 (9:40 am)
Thanks Bruno. I'm going to give that a try. The other deal is the turret.
#6
When moddeling the tank, create a mount0 node for the player and a mount1 node for the weapon. Don't forget the eye and cam nodes. The wheel nodes should be named bob0 and bob1 ( I think, but I'm not sure ).
06/18/2004 (10:10 am)
The turret should mount as a weapon with blended animations.When moddeling the tank, create a mount0 node for the player and a mount1 node for the weapon. Don't forget the eye and cam nodes. The wheel nodes should be named bob0 and bob1 ( I think, but I'm not sure ).
Torque Owner Conny Landstedt
I actually got the intention of implementing this down the road however that might take some time, if someone else would do it it would be cool.