[Mod] Simple Hovercraft [0.1.1] [hovercraft]
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
[Mod] Simple Hovercraft [0.1.1] [hovercraft]
A fun alternative mode of transport for Minetest.
My original idea for this mod was to make a hovercraft racing game with custom circuits and mesecon lap counters. However, with lag being what it is and bugs in the engine, this is not really viable ATM.
Screenshot
Minetest version: 0.4.4-d1 and later
Depends: default
License Source Code: Copyright (C) 2013 Stuart Jones - LGPL
License Tetxures & Models: Copyright (C) 2013 Stuart Jones - CC-BY-SA
License Sounds: Various Creative Commons, see LICENSE.txt
Download: https://github.com/stujones11/hovercraf ... master.zip (rename hovercraft-master > hovercraft)
Github: https://github.com/stujones11/hovercraft
Version History
Version [0.1.0] Sat, 27 Jul 2013 (Official Release)
Version [0.1.1] Sun, 28 Jul 2013
Improved placememt handling, item returns to inventory on_punch.
Audio bugfix, stop sound when entity is destroyed.
Added yellow & green hovercraft. All hovercraft have subtly different handling abilities.
Know Issues
'Bouncing' off thin air: This can simply be the result of server lag, even in singleplayer, the client and server can get out of sync. Solution, just be patient and allow the environment to fully load before proceeding.
Problems with bouncing in air and generally getting stuck, being pulled underwater and all manner of other weirdness can also be caused by a rather nasty entity duplication bug in minetest itself. The only solution here is to track down and remove any duplicate entities or by running /clearobjects
Entity Duplication: See above. This usually occurs when you move more than a given distance from where the entity was originally placed. The only solution right now is to restrict the hovercraft to a certain area. For example, create a sunken race track the hovercraft cannot physically escape from.
Given all the above issues this mod is probably not ready for public server use just yet, however, it is quite playable over a LAN setup.
My original idea for this mod was to make a hovercraft racing game with custom circuits and mesecon lap counters. However, with lag being what it is and bugs in the engine, this is not really viable ATM.
Screenshot
Minetest version: 0.4.4-d1 and later
Depends: default
License Source Code: Copyright (C) 2013 Stuart Jones - LGPL
License Tetxures & Models: Copyright (C) 2013 Stuart Jones - CC-BY-SA
License Sounds: Various Creative Commons, see LICENSE.txt
Download: https://github.com/stujones11/hovercraf ... master.zip (rename hovercraft-master > hovercraft)
Github: https://github.com/stujones11/hovercraft
Version History
Version [0.1.0] Sat, 27 Jul 2013 (Official Release)
Version [0.1.1] Sun, 28 Jul 2013
Improved placememt handling, item returns to inventory on_punch.
Audio bugfix, stop sound when entity is destroyed.
Added yellow & green hovercraft. All hovercraft have subtly different handling abilities.
Know Issues
'Bouncing' off thin air: This can simply be the result of server lag, even in singleplayer, the client and server can get out of sync. Solution, just be patient and allow the environment to fully load before proceeding.
Problems with bouncing in air and generally getting stuck, being pulled underwater and all manner of other weirdness can also be caused by a rather nasty entity duplication bug in minetest itself. The only solution here is to track down and remove any duplicate entities or by running /clearobjects
Entity Duplication: See above. This usually occurs when you move more than a given distance from where the entity was originally placed. The only solution right now is to restrict the hovercraft to a certain area. For example, create a sunken race track the hovercraft cannot physically escape from.
Given all the above issues this mod is probably not ready for public server use just yet, however, it is quite playable over a LAN setup.
Last edited by stu on Sun Jul 28, 2013 20:25, edited 1 time in total.
-
- Member
- Posts: 4290
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Nice idea and good looking models! Hope those entity duplication bugs get solved. Those caused by dropped items are a strain on server and client ressources on several servers.
A list of my mods can be found here.
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
I just tested this in my test world, and this is the most awesome vehicle mod I have ever seen. EDIT: I also love how it bobs up and down when it is parked.
Last edited by Evergreen on Sat Jul 27, 2013 16:55, edited 1 time in total.
Back from the dead!
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Thanks, I agree. IMO the entity duplication bug should be a very high priority and fixed before a version 0.4.8 release.Sokomine wrote:Nice idea and good looking models! Hope those entity duplication bugs get solved. Those caused by dropped items are a strain on server and client ressources on several servers.
Cheers, glad you like it.Evergreen wrote:I just tested this in my test world, and this is the most awesome vehicle mod I have ever seen. EDIT: I also love how it bobs up and down when it is parked.
- Excalibur Zero
- Member
- Posts: 142
- Joined: Tue Apr 02, 2013 19:45
- GitHub: ExcaliburZero
- Location: United States
- Contact:
This is quite good. A few problems, but overall quite good.
One main thing is that it takes some time to remove it by just punching it, so a better way to destroy it / put it in the inventory would be better. Another is that it is difficult to go up hills with it because it keeps bumping you back when you reach the next step.
It would be interesting if you could make a hovercraft for use on spaceships that would fall fast and have a fast acceleration, and would have an easy way to see below the hovercraft.
One main thing is that it takes some time to remove it by just punching it, so a better way to destroy it / put it in the inventory would be better. Another is that it is difficult to go up hills with it because it keeps bumping you back when you reach the next step.
It would be interesting if you could make a hovercraft for use on spaceships that would fall fast and have a fast acceleration, and would have an easy way to see below the hovercraft.
Last edited by Excalibur Zero on Sun Jul 28, 2013 16:05, edited 1 time in total.
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
May I add a camouflage version to my camo mod? I will of course give full credit. Really.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
Well. Camouflaged army hovercrafts, obviously .Evergreen wrote:Really? A hovercraft in a camo mod? -_-Dan Duncombe wrote:May I add a camouflage version to my camo mod? I will of course give full credit. Really.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
I have made it so that hovercraft returns to inventory on_punch, I guess that makes sense. As for going up hills, well that is not realy what hovercraft normally do. While i'm not trying to perfectly emulate a real hovercraft, my intention was to make it quite challenging to control. For spaceships see the ufo mod by Zeg9.Excalibur Zero wrote:This is quite good. A few problems, but overall quite good.
One main thing is that it takes some time to remove it by just punching it, so a better way to destroy it / put it in the inventory would be better. Another is that it is difficult to go up hills with it because it keeps bumping you back when you reach the next step.
It would be interesting if you could make a hovercraft for use on spaceships that would fall fast and have a fast acceleration, and would have an easy way to see below the hovercraft.
Absolutely, i have tried to make the licensing as flexible as possible. Although you don't really need to copy the entire mod, simply depend on it and add your own hover:register_hovercraft(). See the new yellow & green 'craft I recently added as an example. Since hover is global you can register hovercraft in your own mod's init.luaDan Duncombe wrote:May I add a camouflage version to my camo mod? I will of course give full credit. Really.
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
Thanks stu. I have added the whole mod anyway, to avoid dependencies. I really have credited you.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
Great mod !
This is actually the best vehicle mod I've seen yet (imo).
Also maybe you could fix the bouncing in mid-air issue by loading the chunks around hovercrafts, using the new voxelmanip thing.
This is actually the best vehicle mod I've seen yet (imo).
Also maybe you could fix the bouncing in mid-air issue by loading the chunks around hovercrafts, using the new voxelmanip thing.
Last edited by Zeg9 on Mon Jul 29, 2013 10:38, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Thanks, I will look into that voxelmanip thing but I am beginning to think that it doesn't just happen in unloaded areas. I am really not sure what causes the sudden slowdown and subsequent erroneous collision detection. I have just made some updates to the acceleration & velocity physics, you now get a much smoother ride at top speed. It may just be coincidence but my experiences of mid-air bouncing have become greatly reduced, esp. with the slower craft.Zeg9 wrote:Great mod !
This is actually the best vehicle mod I've seen yet (imo).
Also maybe you could fix the bouncing in mid-air issue by loading the chunks around hovercrafts, using the new voxelmanip thing.
I do have other ideas to validate the collistion detection. I would rather avoid having to check all nodes and objects in a radius if possible but that is one possibility.
Last edited by stu on Mon Jul 29, 2013 21:18, edited 1 time in total.
I think it takes more time to load "empty" blocks, with only air inside.stu wrote:Thanks, I will look into that voxelmanip thing but I am beginning to think that it doesn't just happen in unloaded areas. I am really not sure what causes the sudden slowdown and subsequent erroneous collision detection. I have just made some updates to the acceleration & velocity physics, you now get a much smoother ride at top speed. It may just be coincidence but my experiences of mid-air bouncing have become greatly reduced, esp. with the slower craft.Zeg9 wrote something.
I do have other ideas to validate the collistion detection. I would rather avoid having to check all nodes and objects in a radius if possible but that is one possibility.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
That would make sense since, for me, this occurs primarily over large expanses of open water. I did have a look at the voxel_manip thing but I'm still not quite sure how to use this to 'force load' the nodes around the entity.Zeg9 wrote:I think it takes more time to load "empty" blocks, with only air inside.
Last edited by stu on Tue Jul 30, 2013 21:48, edited 1 time in total.
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
Stu: I have noticed a problem with hovercrafts, if there is more than one of the same colour, they will both move even if only one is being used. If one get stuck against a wall, the one you are riding will go all slow and 'stuck in wall'.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Yes, I have noticed that too, at first I thought that it only effected 'duplicate' entities but it seems that it also effects those that have been deliberately placed. Unfortunately I have no idea what is causing this ATM so unless someone else can see a mistake on my part, I can only guess it is problem with the engine, perhaps related to the entity duplication bug.Dan Duncombe wrote:Stu: I have noticed a problem with hovercrafts, if there is more than one of the same colour, they will both move even if only one is being used. If one get stuck against a wall, the one you are riding will go all slow and 'stuck in wall'.
btw: nice addition of stepheight to the def, I will add that also.
Last edited by stu on Thu Aug 01, 2013 23:52, edited 1 time in total.
- Rehlgamer101
- Member
- Posts: 19
- Joined: Thu Aug 22, 2013 22:01
- Location: I'm there when you blink!
- Contact:
duplication issue problem, two of the same doing the same thing - .reason found - static data is the same for two or more of the same entity - deactivateFarObjects gets the staticdata for them, when reactivated, it uses the same static data for the original - duplication occurs also when a chunk/block/we is deactivated then reactivated again you get a duplicate entity inside the same position since the static data is the same
workaround is still to only use one entity and remove it when you go more than a few blocks from it
so much for using entities for le fishes, back to nodeboxes >: (
workaround is still to only use one entity and remove it when you go more than a few blocks from it
so much for using entities for le fishes, back to nodeboxes >: (
MT IS MC'S SMARTER BROTHER
minetest 0.4.8 compiled from latest git on linux mint 15 with qjoypad and wired 360 controller
freeminer, pilztest, buildcraft and next are the idea factories
my minetest page is http://1337318.zymichost.com if zymic isn't down - meh, it is free...
minetest 0.4.8 compiled from latest git on linux mint 15 with qjoypad and wired 360 controller
freeminer, pilztest, buildcraft and next are the idea factories
my minetest page is http://1337318.zymichost.com if zymic isn't down - meh, it is free...
- Element
- Member
- Posts: 269
- Joined: Tue Jun 11, 2013 00:27
- IRC: Elementwing4962
- In-game: Elementwing4962
- Location: New York
- Contact:
i know why the hovercraft bounces in mid air...lets say there are two reds one out at the same time...if you go on one then you control them both....so if one hits something the one your on also feels the bounce
Last edited by Element on Fri Sep 13, 2013 20:27, edited 1 time in total.
Join Me And My Team - thornfyregaming-mc.noip.me:25565
My Server Is 1.7.9
My Server Is 1.7.9
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Yes, afaik this is caused by a bug in the minetest engine, aka the entitly dupliaction bug, I do hope it gets fixed soon.Element wrote:i know why the hovercraft bounces in mid air...lets say there are two reds one out at the same time...if you go on one then you control them both....so if one hits something the one your on also feels the bounce
thank you for reporting your findings.
- balthazariv
- Member
- Posts: 214
- Joined: Mon Apr 07, 2014 15:48
- Contact:
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Hovercraft [0.1.1] [hovercraft]
Hmm, the meshes must be colliding somehow, there was no third person view when I wrote this.
It's getting late for me right now but I will try to look at it sometime tomorrow. Thank you for reporting it.
Who is online
Users browsing this forum: No registered users and 44 guests