Vehicles
by Jason Cwik · in Artist Corner · 12/25/2004 (8:21 pm) · 3 replies
Does anyone have a basic .blend that can be instantiated as a Vehicle? When I try my object I get an error in the console:
Object 'DefaultShip' is not a member of the 'GameBaseData' data block class
starter.racing/server/scripts/game.cs (299): Register object failed for object (null) of class FlyingVehicle.
(It works if I substitute my model with buggy.dts in shapeName)
My model does load properly in the dts viewer.
Here's what I've got:
A 'Bounds' mesh&object not parented to anything.
My shape under a Detail2 object with bones 'Eye', 'Mass', and 'Mount0'.
A 'Col-1' Empty under 'Shape' for the vehicle collision mesh&object (just a cube right now). According to the DTS object reference, Vehicles supposedly need -1. I tried Col0 too, but that didn't seem to help.
What am I missing? If someone has a sample vehicle .blend (even a box with the requiste stuff), I'd be eternally grateful :)
Object 'DefaultShip' is not a member of the 'GameBaseData' data block class
starter.racing/server/scripts/game.cs (299): Register object failed for object (null) of class FlyingVehicle.
(It works if I substitute my model with buggy.dts in shapeName)
My model does load properly in the dts viewer.
Here's what I've got:
A 'Bounds' mesh&object not parented to anything.
My shape under a Detail2 object with bones 'Eye', 'Mass', and 'Mount0'.
A 'Col-1' Empty under 'Shape' for the vehicle collision mesh&object (just a cube right now). According to the DTS object reference, Vehicles supposedly need -1. I tried Col0 too, but that didn't seem to help.
What am I missing? If someone has a sample vehicle .blend (even a box with the requiste stuff), I'd be eternally grateful :)
Sean Beck
www.kitsuneaye.co.uk/out.blender/ch11s07.html
and this?
www.blendedpixels.com/torque/
I don't recall where I found that tute from originally, but it has a screeny of the OOPS scheme, so that may answer your question more specifically