Page 4 of 4

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Tue Sep 11, 2018 17:32
by gpcf
Also, we need some tools to break open the locks, that might send you to jail if you get caught (with some random chance component).

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Tue Sep 11, 2018 18:02
by Hume2
voxelproof wrote:what about improving physics of the bike movement i.e. adding gravitational acceleration/deceleration?

When I saw the code last time, i got the impression that GreenDimond has already implemented such feature. I'll look again and see what I can do.

GreenDimond wrote:Next on my todo list is bike racks/locks if Hume isn't already working on it.
After I do that I will mess around with the physics and see what I can do.

I thought, I'll work on this after I test the bikes a little and have some time. However, if you are willing to do that, you are welcome.

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Tue Sep 11, 2018 19:37
by GreenDimond
Hume2 wrote:
voxelproof wrote:what about improving physics of the bike movement i.e. adding gravitational acceleration/deceleration?

When I saw the code last time, i got the impression that GreenDimond has already implemented such feature. I'll look again and see what I can do.

The only thing I added physics-wise was sudden-stop detection. Which includes step-up detection to avoid glitches, but none of this is related to the physics stuff voxel wants.

GreenDimond wrote:Next on my todo list is bike racks/locks if Hume isn't already working on it.
After I do that I will mess around with the physics and see what I can do.

I thought, I'll work on this after I test the bikes a little and have some time. However, if you are willing to do that, you are welcome.

By all means, go ahead! (its your mod :P)
My ideas were: Bike rack is a singular node that can hold one bike. So you can put a few together to make a bigger rack. Bikes placed on a rack would only be able to be taken by the placer. However, there are some interaction problems (ownership, who can dig what, public racks) that I havent solved yet.

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Tue Sep 11, 2018 22:42
by Lone_Wolf
GreenDimond wrote:
Hume2 wrote:
voxelproof wrote:what about improving physics of the bike movement i.e. adding gravitational acceleration/deceleration?

When I saw the code last time, i got the impression that GreenDimond has already implemented such feature. I'll look again and see what I can do.

The only thing I added physics-wise was sudden-stop detection. Which includes step-up detection to avoid glitches, but none of this is related to the physics stuff voxel wants.

GreenDimond wrote:Next on my todo list is bike racks/locks if Hume isn't already working on it.
After I do that I will mess around with the physics and see what I can do.

I thought, I'll work on this after I test the bikes a little and have some time. However, if you are willing to do that, you are welcome.

By all means, go ahead! (its your mod :P)
My ideas were: Bike rack is a singular node that can hold one bike. So you can put a few together to make a bigger rack. Bikes placed on a rack would only be able to be taken by the placer. However, there are some interaction problems (ownership, who can dig what, public racks) that I havent solved yet.

Do the racks like chests, locked and regular

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Wed Sep 12, 2018 03:57
by voxelproof
GreenDimond wrote:
Hume2 wrote:
voxelproof wrote:what about improving physics of the bike movement i.e. adding gravitational acceleration/deceleration?

When I saw the code last time, i got the impression that GreenDimond has already implemented such feature. I'll look again and see what I can do.

The only thing I added physics-wise was sudden-stop detection. Which includes step-up detection to avoid glitches, but none of this is related to the physics stuff voxel wants.


I've worked out a simple pseudo-code for skis. I think it may work also for bikes. The idea is not to make it a very realistic model of physics neither modelling the surfaces' curvature, but by simple trick simulating the behaviour of the object so that it would resemble real features of movement -- just checking whether the player's character decreased it's y coordinate and then adding about 5% to the current velocity (it should be tweaked so that the speed increases slightly in spite of friction).

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Mon Sep 17, 2018 19:14
by voxelproof
I've checked out the newest version. Well done :) Bike goes smoothly, it's nicely steerable, the game doesn't crash anymore. And I think that adding gravitational acceleration, however it would make the play harder and maybe more funny, isn't so important when a player can switch into auto-key "W". Thanks a lot, excellent mod, my favourite :)

EDIT: and most importantly, now the bike can be picked up from the bottom of a stream :D

Image

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Sun Nov 18, 2018 19:02
by maxx
What about an extension?
Roadbikes run faster on ground like stone but not that fast on dirt.
Mountainbikes run faster on dirt, gravel and sand but are slower on stone.

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Mon Nov 19, 2018 19:08
by neoh4x0r
GreenDimond wrote:The latest update now includes a "bike painter" tool.
This allows you to choose any of 4.2 billion colors to paint your bikes :D


Actually the alpha value is the opacity of the color (how transparent or opaque the color is).
There are actually only 17 million possible color combinations (RGB).

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Thu Nov 29, 2018 09:37
by Lord_Vlad
Goes really well with [the_lower_road]

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Thu Dec 13, 2018 18:58
by Gibeinumo
I really like the bike and made textures to make it fit to my texture pack. I noticed that you don't use "bike_" as a prefix for all textures of this mod. I created a merge request with changed names on gitlab.

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Fri Dec 14, 2018 01:55
by rgspro
Love this Mod! However, I tried the unstable version with the painter option and get the following errors,

2018-12-13 15:41:19: INFO[Main]: Irrlicht: Loaded mesh: bike.b3d
2018-12-13 15:41:19: ERROR[Main]: Invalid color: ""
2018-12-13 15:41:19: ERROR[Main]: generateImage(): Failed to generate "[colorize::"
2018-12-13 15:41:19: INFO[Main]: GenericCAO: Got init data
2018-12-13 15:41:19: INFO[Main]: ClientEnvironment::addActiveObject(): added (id=176)


These errors only happen when the Bike mod is used with Dreambuilder Mod. I have tried to narrow down the conflicting mod in Dreambuilder but have not found it yet. The only errors in the debug file are above. The Bike mod does work great as long as Dreambuilder is not active. The form for the paint tool opens and the sliders move but the values do not change. The stable Bike mod works great with Dreambuilder active.

My question is has anyone else run into this and what did anyone find to correct it?

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Sat Jan 05, 2019 18:37
by Fixer
Can I go up with it? (full block up)

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Mon Jan 14, 2019 04:10
by Sokomine
I've seen this mod in action on the Gallifrey server. The mod works very nice, and the bike has a very good animation. Well done!

Re: [mod] Bike for Minetest [1.1.1] [bike]

PostPosted: Wed Jan 16, 2019 02:14
by AleksSyntek
Yeah! Now I can do a bicycle race! (viewtopic.php?p=311476#p311476)

Thanks Hume2, GreenDimond an gpcf for this mod!!!