FlyingVehicleData not working for me?
by George Ison · in Torque 3D Professional · 07/09/2012 (12:30 am) · 2 replies
Hello folks,
I have searched this problem, but I cannot seem to find a solution and maybe its my ignorance. I have been away from t3d for a while, t2d has had my attention but I am working on a space like test project and need some space craft. So I go to setup a datablock, but nothing happens. By that I mean, I go to the datablock editor, click the new tab and double click FlyingVehicleDataBlock, window pops up, asks for a name and/or something to copy from, I hit ok and nothing. The window goes away and the datablock editor window where the FlyingVehicleData is suppose to be is completely blank? I thought ok something maybe bugged, so I setup a datablock through script for this and it doesn't show up either, its like any type of vehicle data is not working.
Just for kicks and giggles I setup a new project template full. I opened up the template and went to look and it had wheeledvehicledata in there, so I thought i would try adding a flyingvehilce datablock here, same thing happens, blank datablock window after hitting ok. I tested every other datablock and they are working fine, the UI window populates with the changeable fields except for vehicledata.
So no matter if i create it through my own script or add it from the datablock editor, I cannot get vehicledata to setup a new datablock? I feel like an idiot here, but there must be something simple i have just forgotten? Any advice??
I have searched this problem, but I cannot seem to find a solution and maybe its my ignorance. I have been away from t3d for a while, t2d has had my attention but I am working on a space like test project and need some space craft. So I go to setup a datablock, but nothing happens. By that I mean, I go to the datablock editor, click the new tab and double click FlyingVehicleDataBlock, window pops up, asks for a name and/or something to copy from, I hit ok and nothing. The window goes away and the datablock editor window where the FlyingVehicleData is suppose to be is completely blank? I thought ok something maybe bugged, so I setup a datablock through script for this and it doesn't show up either, its like any type of vehicle data is not working.
Just for kicks and giggles I setup a new project template full. I opened up the template and went to look and it had wheeledvehicledata in there, so I thought i would try adding a flyingvehilce datablock here, same thing happens, blank datablock window after hitting ok. I tested every other datablock and they are working fine, the UI window populates with the changeable fields except for vehicledata.
So no matter if i create it through my own script or add it from the datablock editor, I cannot get vehicledata to setup a new datablock? I feel like an idiot here, but there must be something simple i have just forgotten? Any advice??
About the author
Love to engineer and develop just about anything. Our primary focus though is that of computer games and software tools.
#2
Glad to know im not crazy here. You are right though, I did figure out the problem though but there is very little warning from the engine to tell you the problem. Fact is, trying to create a VehicleData block from the editor from scratch doesn't work, its blank every time under every instance or circumstance. That being said, I went digging in the logs and all the data I could find about building these objects, I re-equipped the model with a cam, eye and mount nodes and whala my custom script version worked. However, creating one from scratch through the data editor still appears broken? This doesn't bother me as now I know to just build with script, but maybe a definite "FYI" for anyone who does.
Thanks again... :-)
07/09/2012 (11:00 am)
Michael,Glad to know im not crazy here. You are right though, I did figure out the problem though but there is very little warning from the engine to tell you the problem. Fact is, trying to create a VehicleData block from the editor from scratch doesn't work, its blank every time under every instance or circumstance. That being said, I went digging in the logs and all the data I could find about building these objects, I re-equipped the model with a cam, eye and mount nodes and whala my custom script version worked. However, creating one from scratch through the data editor still appears broken? This doesn't bother me as now I know to just build with script, but maybe a definite "FYI" for anyone who does.
Thanks again... :-)
Associate Michael Hall
Distracted...
I rarely, if ever, use the built-in editors for the initial creation of any datablock. But I have gotten FlyingVehicles and HoverVehicles working with no issue by adding my own and these datablocks appear to be editable and in turn usable as a datablock template.
Make sure that your new Datablock in question is valid and that the shapefile it points to does exist and does contain all of the specific nodes that the FlyingVehicle class expects. Check the console for errors related to that.