Author Topic: [Request] Vehicle .blend file  (Read 900 times)

Could someone who has successfully packaged a vehicle add-on (released or not) please PM me or post the .blend file they used? Attempting to follow the forum tutorials and existing help posts hasn't yielded good news, since Blockland keeps crashing when I try to spawn the vehicle in-game, so I'd like to try to learn by example.

Thanks in advance.

Did you make the collision correctly? When my pumpkin was crashing the game I messed up the collision.

The collision model needs to be convex and on the second layer/different layer from the visual model. When exporting you need to add a new detail level and select the layer with the collision mesh.


The collision model needs to be convex and on the second layer/different layer from the visual model. When exporting you need to add a new detail level and select the layer with the collision mesh.

I did know that was the error, since when searching the forums I found a previous post of yours that explained it. I just didn't understand how to do that, which is why I was asking for a working, Blockland-specific example that I could check out.

Anyway, Barnabas sent me a .blend file and now mine works in-game. Thanks so much!
« Last Edit: December 22, 2012, 01:53:11 PM by Truce »

Can we see your vehicle? :)

Can we see your vehicle? :)

Not yet! I want to release it Christmas day (or New Year's day with all the trouble I'm having, sheesh).

The problem I'm having now is the vehicle is constantly vibrating in-game. Is this an error with the collision mesh setup? To test it, I've been using the jeep script as-is with my model. I am probably still missing steps going from my static model to one that has a driver's seat, four wheels, and a collision mesh.

If someone has a few minutes, could you create a simple list of steps that you take to turn the default cube model when you open blender into a working vehicle model that has the 3 things I mentioned? Remember, I'm super new to this, so don't leave out any steps you assume I might already take. Or if you think it's easier, I can list the steps I attempted to take which might reveal what I missed.

I think the vibration is a model issue which can be rectified with the script. It is related to the mass centre of the vehicle. What I normally do is the following:

-Get the median value of the wheel mounts (y and z median values are needed, as x is 0 normally)
-Look for the massCenter line in the script
-Change 0 0 0 (x,y,z) to 0, y-median value, z-median value-0.1 (or more)

Enjoy a vibration free vehicle!

I think the vibration is a model issue which can be rectified with the script. It is related to the mass centre of the vehicle. What I normally do is the following:

-Get the median value of the wheel mounts (y and z median values are needed, as x is 0 normally)
-Look for the massCenter line in the script
-Change 0 0 0 (x,y,z) to 0, y-median value, z-median value-0.1 (or more)

Enjoy a vibration free vehicle!

Unfortunately I don't believe this is the case, especially because the center of my 4 wheels is 0 0 0.1 which would translate to the default of 0 0 0, correct? It does look like an error related to the wheels though: they jump up and down briefly when the vehicle is spawned (from the spawn brick), the chasis becomes tilted slightly, then the wheels stop jumping and the whole model vibrates.

Also, I'm currently working with a cube to make sure it wasn't my model, and that still doesn't work.

I need to see this in action. Can you PM me how things look like for you in Blender?

Also, you should check your suspension too. And make sure all hubs are on the same level.