[Mod] Small airship vehicle [airboat]

Post Reply
User avatar
paramat
Developer
Posts: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

[Mod] Small airship vehicle [airboat]

by paramat » Post

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.
Attachments
screenshot_20180730_101117.png
(395.06 KiB) Not downloaded yet
Last edited by paramat on Mon Jul 30, 2018 09:15, edited 3 times in total.

User avatar
TumeniNodes
Member
Posts: 2853
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

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

by TumeniNodes » Post

Nice!
I'm checking this out.... and making it bigger
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am

Skamiz Kazzarch
Member
Posts: 154
Joined: Fri Mar 09, 2018 20:34
GitHub: Skamiz
In-game: Skamiz
Location: la lojbaugag.

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

by Skamiz Kazzarch » Post

The classic
A zeppelin the likes of which everyone has one at home.
+ Spoiler
Attachments
the classic.zip
(13.3 KiB) Downloaded 55 times

User avatar
GamingAssociation39
Member
Posts: 835
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

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

by GamingAssociation39 » Post

Would it be possible to make something similar for an airplane?
Jesus Is Lord and Savior!!!

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

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

by Stix » Post

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.
Last edited by Stix on Mon Jul 16, 2018 20:29, edited 1 time in total.
Hey, what can i say? I'm the bad guy.

User avatar
GamingAssociation39
Member
Posts: 835
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

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

by GamingAssociation39 » Post

So we can have a flying delorean hurray
Jesus Is Lord and Savior!!!

User avatar
paramat
Developer
Posts: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

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

by paramat » Post

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.

User avatar
TumeniNodes
Member
Posts: 2853
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

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

by TumeniNodes » Post

paramat wrote:Posting any textures here would be much appreciated.
It would be nice to see a collection build up, kinda like skins
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am

Sokomine
Member
Posts: 4072
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

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

by Sokomine » Post

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*
A list of my mods can be found here.

User avatar
Hume2
Member
Posts: 557
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

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

by Hume2 » Post

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.
If you lack the reality, go on a trip or find a job.

User avatar
paramat
Developer
Posts: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

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

by paramat » Post

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.

User avatar
SaKeL
Member
Posts: 653
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Small airship vehicle [airboat]

by SaKeL » Post

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

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: [Mod] Small airship vehicle [airboat]

by LMD » Post

I like it !
My stuff: Projects - Mods - Website

User avatar
paramat
Developer
Posts: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: [Mod] Small airship vehicle [airboat]

by paramat » Post

SaKeL thanks will attend to those points if possible.

User avatar
paramat
Developer
Posts: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: [Mod] Small airship vehicle [airboat]

by paramat » Post

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 :)

User avatar
SaKeL
Member
Posts: 653
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Small airship vehicle [airboat]

by SaKeL » Post

Thanks for the update pramat, appreciate it.

Skamiz Kazzarch
Member
Posts: 154
Joined: Fri Mar 09, 2018 20:34
GitHub: Skamiz
In-game: Skamiz
Location: la lojbaugag.

Re: [Mod] Small airship vehicle [airboat]

by Skamiz Kazzarch » Post

+ Spoiler
Attachments
the rainbow.zip
this WILL get thier attention
(3.96 KiB) Downloaded 26 times

Chiantos
Member
Posts: 377
Joined: Sun Jan 15, 2017 09:04

Re: [Mod] Small airship vehicle [airboat]

by Chiantos » Post

Deleted message
Last edited by Chiantos on Mon Sep 30, 2019 04:58, edited 1 time in total.

User avatar
paramat
Developer
Posts: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: [Mod] Small airship vehicle [airboat]

by paramat » Post

Those look cute.

Post Reply

Who is online

Users browsing this forum: Henry_ and 6 guests