Page 1 of 1

[Mod] Small airship vehicle [airboat]

Posted: Mon Jul 16, 2018 00:13
by paramat
Image

Download ZIP, extract and rename folder to 'airboat' https://github.com/paramat/airboat/archive/master.zip
Browse code at GitHub https://github.com/paramat/airboat

airboat by paramat
For Minetest 0.4.16 and later. Compatible with MT 5.0.0-dev.
Depends: default

Licenses
--------
Source code: MIT
Media (textures and airboat nodebox): CC0 1.0

Note about textures and crafting
--------------------------------
This mod is fully functional but does not currently have a crafting recipe or
detailed textures. The textures are templates for you to add detail to.
The airboat is available in the creative inventory or by using the /giveme chat
command.

Usage
-----
Third-person camera mode is recommended when travelling for a better view.
The airboat can be placed on any node, including liquids. It can land on, and
will float in, a liquid.

Controls
--------
Right mouse button = Enter or exit airboat when pointing at airboat.

Forward = Speed up. Slow down when moving backwards.

Forward + backward = Enable cruise mode: Airboat will accelerate to maximum forward speed and remain at that speed without needing to hold the forward key.

Backward = Slow down. Speed up when moving backwards. Disable cruise mode.

Left = Turn left.

Right =Turn right.

Jump/up = Ascend.

Sneak/down = Descend.

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Mon Jul 16, 2018 00:41
by TumeniNodes
Nice!
I'm checking this out.... and making it bigger

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Mon Jul 16, 2018 13:45
by Skamiz Kazzarch
The classic
A zeppelin the likes of which everyone has one at home.
Spoiler
Image

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Mon Jul 16, 2018 16:58
by GamingAssociation39
Would it be possible to make something similar for an airplane?

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Mon Jul 16, 2018 19:45
by Stix
GamingAssociation39 wrote:Would it be possible to make something similar for an airplane?
Yup, just change the model/textures (maybe the collisionbox/hitbox too) from this mod and, boom, you have an airplane.

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Mon Jul 16, 2018 19:52
by GamingAssociation39
So we can have a flying delorean hurray

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Tue Jul 17, 2018 23:22
by paramat
This mod uses nodeboxes to create the vehicle instead of a 'model', which makes creating vehicles much easier.
This is done using the 'wielditem visual' for the entity and setting 'textures' to the name of the nodebox node that is defined at the end of the init.lua file:

Code: Select all

local airboat = {
	...
	...
	visual = "wielditem",
	visual_size = {x = 2.0, y = 2.0}, -- Scale up of nodebox is these * 1.5
	textures = {"airboat:airboat_nodebox"},
	...
	...
}
An aeroplane is possible of course, but the controls and behaviour would need to be altered.
The advantage of an airship is that they are slow, so they don't show up the buggyness of MT vehicles much.

Posting any textures here would be much appreciated.

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Wed Jul 18, 2018 00:21
by TumeniNodes
paramat wrote:Posting any textures here would be much appreciated.
It would be nice to see a collection build up, kinda like skins

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Thu Jul 19, 2018 15:32
by Sokomine
Very cute zeppelin! But...I wonder...is it large enough to actually carry a player? A player with those thousands of tons of cobble...er..sorry. Forgot I asked :-) *climbing into ariboat and flying away*

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Thu Jul 19, 2018 15:52
by Hume2
Good mod! It can be also used for navigating through huge caves. It is usually hard to find a route that leads down/up a cave and this makes it easier.

Re: [Mod] Small airship vehicle (kit mod) [airboat]

Posted: Sat Jul 21, 2018 22:16
by paramat
The gondola is actually 'just' big enough to for a sitting player, with a little squeezing.
It's possible to add transparent areas (windows) to the gondola and alter the player attachment point so that the player is seen in the gondola. However the player scale may be altered when it is attached so this needs compensating for. I might work on this.

Also, between 0.4.16/0.4.17 and 5.0.0 dev there is a change to player position so the player attahment point needs changing according to MT version. So for now i decided to hide the player inside unseen such that MT version doesn't matter. Maybe i'll add a setting to cope with both versions.

The idea for this mod came from a need for a way to get to the floatlands in mgv7.
I chose an airship because they match the somewhat 'steampunk' character of MTGame, but also because they are slow (minimises glitches) and the slowness adds a desirable limitation to balance the ability to fly. I didn't want it to be so high-performance that players end up using it all the time instead of other vehicles or walking.

Re: [Mod] Small airship vehicle [airboat]

Posted: Wed Jul 25, 2018 01:16
by SaKeL
this mod is a good idea but it still has the same issues as with boats / carts:
* when you detach in the air you will fall down to death from fall damage
* when you detach in the air the boat will stay floating in the air - on the public servers will pollute the map with floating entities what nobody can pick up
* when logout/login while attached in the air - next time you login you will be detached from the airboat and fall to death by fall damage

Re: [Mod] Small airship vehicle [airboat]

Posted: Thu Jul 26, 2018 16:06
by LMD
I like it !

Re: [Mod] Small airship vehicle [airboat]

Posted: Sat Jul 28, 2018 04:23
by paramat
SaKeL thanks will attend to those points if possible.

Re: [Mod] Small airship vehicle [airboat]

Posted: Mon Jul 30, 2018 09:26
by paramat
Updated the textures, still very simple templates but no longer quite so boring. New screenshot in first post.

SaKeL,

I considered placing the player on the top of the envelope on detach. But depending on where the airboat is that could place the player inside solid nodes. So seems best to detach inside the vehicle. Detaching is exiting the vehicle so something to not do when flying.

I considered having the airboat float down if there is no driver, but that means driverless airboats continue to be processed instead of being skipped as stationary. It would also prevent parking the airboat in nice 'floaty' positions.
However i will continue to consider this, maybe.

Detaching from a vehicle when leaving a world is unavoidable in the MTEngine, so again is something to be careful about. Jumping out of airships is dangerous :)

Re: [Mod] Small airship vehicle [airboat]

Posted: Mon Jul 30, 2018 15:53
by SaKeL
Thanks for the update pramat, appreciate it.

Re: [Mod] Small airship vehicle [airboat]

Posted: Sat Oct 06, 2018 19:32
by Skamiz Kazzarch
Spoiler
ImageImage

Re: [Mod] Small airship vehicle [airboat]

Posted: Tue Oct 09, 2018 08:46
by Chiantos
Deleted message

Re: [Mod] Small airship vehicle [airboat]

Posted: Fri Oct 12, 2018 03:04
by paramat
Those look cute.

Re: [Mod] Small airship vehicle [airboat]

Posted: Wed Nov 25, 2020 09:32
by voxelproof
Since MT Shipyard is slowly yet steadily resuming its operations, here is yet another and hopefully a little bit more practical set of very simple textures for your PHANTASTIC AIRBOAT :)

Thx, this mod just incredibly well fits the new set of parameters for V7 creating floating islands resembling those from "Avatar", there're also a lot of other interesting terrain features there. Hope to post the tweaking soon in my "Up!" thread.

Image