[Server Script] Vehicle Brick Movement Flipping v2

Author Topic: [Server Script] Vehicle Brick Movement Flipping v2  (Read 7627 times)





Video: https://www.youtube.com/watch?v=xx2vTvm4gNM

This is a server script that enables players to rotate vehicles they're driving by making use of their ghost brick movement controls.

Originally made as part of an upgrade to FASTKarts' flip feature, but I thought it was so cool that it deserved to be a standalone add-on.

You can control the force of the flipping with an RTB pref.

Download:
http://piber20.com/downloads/blockland/Server_VehicleBrickMovementFlipping.zip

Mirrors:
https://www.nexusmods.com/blockland/mods/52
https://blocklandglass.com/addons/addon.php?id=773
« Last Edit: November 09, 2017, 03:25:58 PM by Crispy_ »


but can you do a backflip in the air??


amazing
do a barrel roll triple backflip and i will tell you a secret

You should add a server prefence to make it stronger or weaker.

You should add a server prefence to make it stronger or weaker.

Fantastic idea!


v2: Added an RTB pref to control the force. Default = 10

Is this essentially a way to force all vehicles to have rollforce and pitchforce?

I can't test it right now, but it kind of steps all over the script I just used for the Emperor '80's hydraulics. ...and the turn signals for all of my cars.

it kind of steps all over the script I just used for the Emperor '80's hydraulics. ...and the turn signals for all of my cars.
Explain.

They are controlled with brick shift controls. The Emperor lowrider uses almost all brick controls, even super shift.

If the server also has this add-on, I suspect one of them won't work. I keep seeing various add-ons breaking certain features of my cars and it makes me sad

Fantastic idea!

[img ]http://piber20.com/images/blockland/super%20flip.gif[/img]
v2: Added an RTB pref to control the force. Default = 10
http://muskaubarrelroll.ytmnd.com/

They are controlled with brick shift controls. The Emperor lowrider uses almost all brick controls, even super shift.

If the server also has this add-on, I suspect one of them won't work. I keep seeing various add-ons breaking certain features of my cars and it makes me sad
It can't really be helped since there's no better way to do these things, you just gotta use one or the other, not both
« Last Edit: November 09, 2017, 03:40:36 PM by Masterlegodude »

They are controlled with brick shift controls. The Emperor lowrider uses almost all brick controls, even super shift.
Ah. Understandable.

If the server also has this add-on, I suspect one of them won't work. I keep seeing various add-ons breaking certain features of my cars and it makes me sad
All packaged functions here have parents, so any default and modified code should still run. This also means you can build while flipping around.
I suggest you look in your own code to make sure it's actually parenting as well.
Pretty lights and highdraulics are merely visual enhancements, so I don't think it's any big deal anyway.

highdraulics are merely visual enhancements, so I don't think it's any big deal anyway.
you take that back

I know turn signals aren't a huge loss (the lowrider doesn't have them, I just realized) but hydraulics are almost as functional as flipping in the air. are you telling me a lowrider doesn't need hydraulics???

I suggest you look in your own code to make sure it's actually parenting as well.
I put it in a package, I think (??? Uh oh. Did i? I'm at work so I can't actually check) but I don't always parent because I choose to stop the chain of events there so you don't accidentally actually build while using a car because I test things in isolation and lack foresight

I don't always parent because I choose to stop the chain of events there so you don't accidentally actually build while using a car
Uh-oh.

Yeah... that might cause issues there. Your add-on could potentially be breaking the use of the ghost brick controls when the player is in a vehicle. (or depending on how you coded it, only when in one of your vehicles)

And some people might want to build while in a car. I suggest you throw some parents in there. Would make things more compatable as a bonus.

Building from a car is something I intentionally prevented. In retrospect, I'm not sure why; the user can just cancel their ghost brick if they don't want to.

I'm the one who broke it. It's me