Author Topic: Blockland Seatbelt mod  (Read 2669 times)

/title
Basically I want a mod where you enter a command to put on a seatbelt, and if you don't have it on you can go flying out of the car when you hit something too fast, and also have it so you have to take it off before you can get out.

I like it.

I've got the seatbelt part working, putting on the seatbelt and taking it off again via /seatbelt or /sb. You can't exit the vehicle when you've put on your seatbelt, it tells you this when you try to exit.

I've just got started on detecting the collision.
I'm also thinking of adding seatbelt clip on/off sounds as well.

I like it.

I've got the seatbelt part working, putting on the seatbelt and taking it off again via /seatbelt or /sb. You can't exit the vehicle when you've put on your seatbelt, it tells you this when you try to exit.

I've just got started on detecting the collision.
I'm also thinking of adding seatbelt clip on/off sounds as well.
just an idea: there's already default support for speed-based collision detection - look at how vehicles have soft/hard impact speed. You might want to see if you can trace and package this function.

just an idea: there's already default support for speed-based collision detection - look at how vehicles have soft/hard impact speed. You might want to see if you can trace and package this function.

yeah I'm using onImpact for the collision detection.

just an idea: there's already default support for speed-based collision detection - look at how vehicles have soft/hard impact speed. You might want to see if you can trace and package this function.
Nice! In in addition, if possible can you put a seatbelt-like object on the players decal with nodes?

make the player tumble when you eject out

Nice! In in addition, if possible can you put a seatbelt-like object on the players decal with nodes?
this is a confusing request. the most you can do is attach a model to the players' chest, but since players can swing back and forth and as passengers can do full rotations and such it would look bad. If you mean editing the players chest decal, that's not possible.

yeah I'm using onImpact for the collision detection.
imho you should be using left click to put on seatbelts and stuff

make the player tumble when you eject out

it is done.

imho you should be using left click to put on seatbelts and stuff

I'll try that now and see how it works out.

Nice! In in addition, if possible can you put a seatbelt-like object on the players decal with nodes?

sorry, I don't model.



I'm going to find seatbelt clip on/off sounds after I've experimented with the left click option for seatbelts, after that it should be done.

It's done and uploaded to BLG pending approval.
I'll make a thread in Add-Ons when it has been approved.

It's done and uploaded to BLG pending approval.
I'll make a thread in Add-Ons when it has been approved.
thanks!

It's done and uploaded to BLG pending approval.
I'll make a thread in Add-Ons when it has been approved.

Ooh ooh! Does this mean AI and players in driver seats get dismounted on hard impacts if they don't have their seatbelts on?!?!
I hope Players have the chance of dieing if they hit surfaces too quickly.. Like sliding on the ground not from fall damage.

Have it work for all vehicles, not just a specific vehicle.

Ooh ooh! Does this mean AI and players in driver seats get dismounted on hard impacts if they don't have their seatbelts on?!?!

forcibly ejected, yes.

I hope Players have the chance of dieing if they hit surfaces too quickly.. Like sliding on the ground not from fall damage.

maybe in a later version.

Have it work for all vehicles, not just a specific vehicle.

it already does.



I'm currently abstaining from making a thread in the Add-Ons section until I fix a bug involving the SpeedKart gamemode, I mean it's on BLG now if you want to use it but just don't try and use it in SpeedKart for now.

I'm currently abstaining from making a thread in the Add-Ons section until I fix a bug involving the SpeedKart gamemode, I mean it's on BLG now if you want to use it but just don't try and use it in SpeedKart for now.
speedkart: sudden death mode