Adds a whole variety of coloured motorbikes to Minetest!
Extra special thanks to Melkor for the AMAZING model.
And thanks to Lone_Wolf for helping me with a glitch!!
Press space to do a wheelie
Shift to activate cruise control (No acceleration No decrease)
And one secret feature
Spoiler
• Ability to preform jumps (off of ramps)
• Add sounds (could I get help with this? Someone with sound hunting experience see Sounds spoiler)
Spoiler
Starting up
And 3 or more sounds at different speeds
Braking sound effect
Burnout sound effect
Optional dependencies: signs
Browse code: https://github.com/Extex101/motorbike
Download: here
Spoiler
I'm working on a mod which adds motorbikes.
Anyway this is how they'll behave:
If you have any more ideas or tips on how to do these I'd love to hear back from you!
- The bike will turn based on the player yaw. But only when the bike is moving.
- Rotate the steering when the player turns
- When you press space the bike does a wheelie and disables the yaw turning
- Catapult the player after crash (Motorbikes are dangerous :P)
- Optional license plate. See here (taken care of)
- Rotate the bike depending on the slope its on
Special thanks to Melkor for the motorbike!