Game Development Community

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 :)

About the author

Recent Threads


#1
12/26/2004 (7:32 pm)
Have you read this?
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
#2
12/27/2004 (9:39 am)
Sweet! Thanks. That blender section should really be added to the offical torque docs.
(http://www.garagegames.com/docs/torque/general/)
#3
12/27/2004 (11:33 am)
Glad you like it. If you can think of anything else I could add, just let me know.