[mod] Motorboat [motorboat]
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
[mod] Motorboat [motorboat]
Hi all!
This is the "Motorboat", an hybrid of "Not So Simple Helicopter" and "Sailing Kit". It's water dynamics comes from Sailing Kit (by TheTermos). So it depends on mobkit. And It dependes on the biofuel mod for fuel making. It starts anchored, so press sneak key to remove anchor. With keyboard you can move the boat. When you press E key (aux), it starts the engine and you can navigate fast, but it consumes fuel. With engine off you use paddles. You can refuel only with the engine turned off. And you can set anchor by pressing shift key (sneak), but it only works when the boat is near completely stopped (when the anchor is sucessfull, you receive a message on chat). To center the rudder, use sneak key (shift). Space (jump) key turns the auto mode on. To deactivate, just press up or down.
It can be painted using dye of any color you want, you must punch the seat with the dye.
The mod can be found here: https://github.com/APercy/motorboat
Biofuel mod can be found here: https://github.com/APercy/minetest_biofuel
Licences:
It uses some code from Sailing Kit (by TheTermos)
License of source code: MIT (see file LICENSE)
License of media (textures and sounds):
engine.ogg and collision.ogg by APercy. See License file
boat model by APercy. See License file
Credits:
TheTermos by the sailing kit code used.
This is the "Motorboat", an hybrid of "Not So Simple Helicopter" and "Sailing Kit". It's water dynamics comes from Sailing Kit (by TheTermos). So it depends on mobkit. And It dependes on the biofuel mod for fuel making. It starts anchored, so press sneak key to remove anchor. With keyboard you can move the boat. When you press E key (aux), it starts the engine and you can navigate fast, but it consumes fuel. With engine off you use paddles. You can refuel only with the engine turned off. And you can set anchor by pressing shift key (sneak), but it only works when the boat is near completely stopped (when the anchor is sucessfull, you receive a message on chat). To center the rudder, use sneak key (shift). Space (jump) key turns the auto mode on. To deactivate, just press up or down.
It can be painted using dye of any color you want, you must punch the seat with the dye.
The mod can be found here: https://github.com/APercy/motorboat
Biofuel mod can be found here: https://github.com/APercy/minetest_biofuel
Licences:
It uses some code from Sailing Kit (by TheTermos)
License of source code: MIT (see file LICENSE)
License of media (textures and sounds):
engine.ogg and collision.ogg by APercy. See License file
boat model by APercy. See License file
Credits:
TheTermos by the sailing kit code used.
- Attachments
-
- screenshot_20210506_202747.png (586.53 KiB) Viewed 2007 times
Last edited by apercy on Fri May 07, 2021 00:27, edited 3 times in total.
Re: [mod] Motorboat [motorboat]
Nice to look at and nice to drive with, too. Even the rotor blades of the engine are turning
when you start it. :)
Try it on ZombieTest. Does it have owners ?
I could put a few ones in the harbour of alain :)
when you start it. :)
Try it on ZombieTest. Does it have owners ?
I could put a few ones in the harbour of alain :)
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Curious, I made one but the jump or sneak keys did not work on server...
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Ok! I found the problem and in today I learned how to use dtime correctly! Please update it on server ;)
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
While playing at Zombietest, I found a bug that affects the sailing kit too. I can reproduce it on a local offline world. They stranded in flowing water:
- Attachments
-
- screenshot_20200505_155055.png (411.41 KiB) Viewed 2007 times
Re: [mod] Motorboat [motorboat]
Did you try with the default boat already ? I think water_flowing is always a problem for any kind of boat in minetest
and also one reason why driving them on rivers is so difficult. Fish and other entities entering water_flowing also
behave differently.
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Yes, it has no problems. I believe is something in mobkit, I'll investigate this weekend.
Re: [mod] Motorboat [motorboat]
Hi,
this is another beautiful mod!
Is it possible to set that when the player release the "a" or "d" button (for the direction), the motor straighten automatically?
Thanks again
this is another beautiful mod!
Is it possible to set that when the player release the "a" or "d" button (for the direction), the motor straighten automatically?
Thanks again
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Is possible, but we lost the part of the diversion. But I have an idea. I can use the same key to manage anchor (sneak) to straighten the direction, cause we use anchor only when the speed is near zero. What do you think about?
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Done! When the boat is at a minimum speed, you can center the rudder direction by pressing sneak. Bellow this speed, it commands the anchor
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Following Termos instructions, I put a custom physics to boat to circumvent sinking at flowing water and it's working now. Get it at github ;)
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
(made some corrections now on global references)
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Today a bug correction on object destroy was commited. Update please ;)
Re: [mod] Motorboat [motorboat]
Hi,
sorry for the looooooooong time response..... and thank you for your reply! Now I try to use your motorboat....
sorry for the looooooooong time response..... and thank you for your reply! Now I try to use your motorboat....
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
2 improvements commited today. The first is a fix when the boat entity drops the player sometimes (lag). The second, I changed the anchor key to "E". And the sneak (shift) can be used only to center the rudder.
-
- Member
- Posts: 46
- Joined: Fri Jun 03, 2016 18:21
- GitHub: LapisWolf
- IRC: LapisWolf
- In-game: LapisWolf
Re: [mod] Motorboat [motorboat]
I don't know how to apply fuel. Same with the newer helicopter mod.
cdb_yuId0gpEgnYo
Re: [mod] Motorboat [motorboat]
Sit in boat or helicopter. With biofuel in your hand punch selection box and see the fuel gauge moving.Teen_Miner wrote: ↑Tue Mar 02, 2021 00:12I don't know how to apply fuel. Same with the newer helicopter mod.
- apercy
- Member
- Posts: 645
- Joined: Wed Mar 25, 2020 16:31
- GitHub: APercy
- In-game: APercy
- Location: Pinheiral - RJ - Brazil
Re: [mod] Motorboat [motorboat]
Changes made today:
controls changed - now E key turn the engine on. Shift to weight anchor. Jump to turn auto mode on
Now accepts a passenger
controls changed - now E key turn the engine on. Shift to weight anchor. Jump to turn auto mode on
Now accepts a passenger
-
- New member
- Posts: 6
- Joined: Wed Sep 22, 2021 13:35
- In-game: Pescedot
Re: [mod] Motorboat [motorboat]
mod too nice if there were reviews i would give it 5 stars
Re: [mod] Motorboat [motorboat]
you can review it here https://content.minetest.net/packages/apercy/motorboat/pescedot012 wrote: ↑Wed Sep 29, 2021 14:37mod too nice if there were reviews i would give it 5 stars
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o
Who is online
Users browsing this forum: No registered users and 68 guests