Flying Question
by Greg Cushing · in Artist Corner · 12/31/2005 (1:46 pm) · 9 replies
Hello, i downloaded the 5071 flying veichle resource and i installed it into Torque 1.4 I got the resource working correctly however when i load my own model as flyer.dts torque automatically crashes. Im new on 3dsmax so i assume its something incorrect with the model and not the code.
If anyone could point me in the right direction id be very grateful.
Here is the picture of max with the hiarchry in top left
[img]http://www.yellowflagstudios.com/dev/question.jpg[img]
here is my dump file
http://www.yellowflagstudios.com/dev/dump.dmp
Torque just exits and quits right here in console.log
Loading compiled script starter.racing/server/scripts/staticShape.cs.
Loading compiled script starter.racing/server/scripts/radiusDamage.cs.
Loading compiled script starter.racing/server/scripts/flyervehicle.cs.
If you replace the model with the one from the flying resource it works just fine and you can fly around.
If anyone could point me in the right direction id be very grateful.
Here is the picture of max with the hiarchry in top left
[img]http://www.yellowflagstudios.com/dev/question.jpg[img]
here is my dump file
http://www.yellowflagstudios.com/dev/dump.dmp
Torque just exits and quits right here in console.log
Loading compiled script starter.racing/server/scripts/staticShape.cs.
Loading compiled script starter.racing/server/scripts/radiusDamage.cs.
Loading compiled script starter.racing/server/scripts/flyervehicle.cs.
If you replace the model with the one from the flying resource it works just fine and you can fly around.
#2
01/04/2006 (11:24 am)
I got the collision to work but im too noob to get the material to work. :-(
#3
Thanks in advance.
01/08/2006 (9:08 pm)
Ok well ive gotten a little farther but still stuck. Ive scaled my object messed with cfg files i give up so if anyone can help me out ID LOVE YOU! Here is my max file and cfg file. When loaded it the mission loads everything until it starts the mission. It is definatly the model because the working flyer with warsparrow pack works fine. Thanks in advance.
#4
Matt
01/09/2006 (10:49 am)
Run a debug version of torque and see what error you get. I almost bet it has somthing to do with the material. You don't have material on the shape. You can use any texture just to get it exporterted.Matt
#5
01/09/2006 (11:07 am)
Well i was told by 1 person it doesnt matter and another said it does now you do. Im new to max and i put a default color on but i will check around. I did read the DTS stuff on tdn but that hasnt got it to work..
#6
Matt
01/09/2006 (1:27 pm)
Well like I said run Debug version of TGE and see what the error is. Do you not have a debug version?Matt
#7
01/09/2006 (1:57 pm)
At the moment nope
#8
So post the model that you exported and the script I guess and I'll look at it in a debug version.
Matt
01/09/2006 (4:18 pm)
I looked at the vehicle and I can't see anything other that the material missing that would casue a crash. So post the model that you exported and the script I guess and I'll look at it in a debug version.
Matt
#9
Thanks for your help anyways Matt
01/09/2006 (6:24 pm)
Its ok i got the warsparrow pack and i cant just give the code to anyone... Plus ive kind of given up on thisThanks for your help anyways Matt
Torque Owner Matthew Jones
Mosat likely its a problem with your collision object. make sure you only have 1 and make sure you have it named collision as well have a detail marker named "col-1". Both should be in the heirachy of the model. The shape should be attached to Start node and the "Col-1" should be attached to base.
From looking at your dump file you don't have one in heirarchy anyway.
Also doesn't look like you have a valid material but that might be wrong.
Matt