Game Development Community

Is this ok?? Or am I asking for a headache?

by Donald "Yadot" Harris · in Torque Game Engine · 04/11/2006 (9:02 am) · 7 replies

I have been messing around with the tutorial.base and I wanted to know if it would be a big problem if I redefined the player datablock in player.cs as a flying vehicle and just keep the current model of the blue guy in the game? And switch him out later when I get a new model? The reason I ask this is becuase I have already created this issue for myself:

http://www.garagegames.com/mg/forums/result.thread.php?qt=42484

Which now as I understand it the model I had in place does not have the animation set properly thus cuasing the crash.

Can someone offer some advice.

#1
04/11/2006 (9:18 am)
Flying vehicle and types other than character model's
do not have the hard coded animation constraints that the player model lives under.

so in short, you should not experience the problems you have had working with these other model types.

you can download many usable ready to go models from various locations

I recommend you find a "Working" model and use it.

do not use a character model for a different task (ie: flying vehicle)
it could prolly be done but really you should find a working vehicle model.

if you dig up a flying vehicle tutorial i did Super long time ago.
you can use the model there will need a newer script tho to run it.

if you can find a copy of tribes 2 the vehicles there should load fairly painlessly
#2
04/11/2006 (9:57 am)
I assume you are talking about:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2036

I saw some stuff in the TDN on flying but have yet to give a try. Do you know of any updated (1.4) tutorials on flying?
#3
04/11/2006 (6:55 pm)
Bump any more advice on this?
#4
04/11/2006 (8:34 pm)
Well honestly, I assumed you were looking for a model.
and that model Will do.

however if what you are looking for is a complete plugin example.
I would instead recommend using the "Wheeled" vehicle in the example move that around to your code base

learn the parts involved and get to know how to plug vehicles in.
once you have done that, you could go back to that thread and understand it.
it is still going to work like 90% with the exception of the physics changes which someone has posted a datablock that works in the comments there.

so all in all start with the race car in the demo :)
easy pie!
#5
04/12/2006 (5:16 am)
Thanks I will look into it
#6
04/21/2006 (8:36 am)
Badguy thanks man I took some of your work and some stuff on the TDN and got in the air. Just wanted to say thanks.
#7
04/21/2006 (8:52 am)
Right on man glad to hear it.

:)