Author Topic: Vehicle Crashes Blockland?  (Read 1466 times)

Hey, I just finished modeling and scripting my first vehicle with a lot of help from Ben Grapevine. One problem: When the vehicle is spawned in-game, Blockland crashes before the model even appears. Are there multiple possible causes for this, or is this an easily fixable bug? I'm using Blender 2.49b if that helps at all.

Make sure you have a collision box.

Quote
Make sure you have a collision box.

I have a collision box.

what exporter are you using?

Collision box must be in Blender layer 2 and named col0. When exporting you need to add a new collision detail level and then select the second layer. Remember to disable layer 2/only select layer 1 in the Detail1 visible detail level.

Quote
what exporter are you using?

DTS Exporter .097 BETA or something


Quote
Now, for collision. This has to be a low poly outline of your model, preferably just a cube. And in order for it to work you must make a new empty and name it Col0. Then parent your cube to Col0 and parent Col0 to shape.

Quote
Make sure you name your cube Col, I don't know why but the game will start complaining in the console that it needs to be named Col, or LosCol. It does no harm but people don't like having console spam in their console.

Last 2 quotes are from Darkstar's tutorial, which is pinned. Demian, you say I must name the collision box Col0 when Darkstar says Col or LosCol. And I didn't even know about the layers.





DTS Exporter .097 BETA or something

 
Last 2 quotes are from Darkstar's tutorial, which is pinned. Demian, you say I must name the collision box Col0 when Darkstar says Col or LosCol. And I didn't even know about the layers.
Col0 works for me. I'm pretty sure you must have separate layers for the collision to work properly. I'm not sure if that is causing the crash though.


The latest exporter requires you to use layers to specify what is collision and what is detail, it doesn't matter what you call it if your using this exporter.


Ok, I'll see if I can move the collision box from layer 1 to layer 2. How do I parent the collision box to Col0 if it is on the 2nd layer?  Is the collision box the only thing that needs to be on layer 2?

You don't parent the collision box or the mesh. I don't know how the mount points work though.

Collision mesh goes on the 2nd layer, rest remain on the 1st.