[Mod] Hyperloop [hyperloop]

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

[Mod] Hyperloop [hyperloop]

by joe7575 » Post

A new evolution in the voxel word:
Minetest goes Hyperloop!

Hyperloop is passenger transportation system for travelling through evacuated tubes my means of passenger pods.
The tubes system with all stations and pods have to be build by the players.

Image
Image
Image
Image
  • Hyperloop allows travelling from point point in seconds (900 km/h) :-)
  • Hyperloop tubes can be build in teamwork together with other players
  • It can be used even on small servers (Raspberry PI) without lagging
  • No configuration or programming of the tube network is necessary (only the station names have to be entered)
The mod includes many different kind of blocks:
  • Hyperloop Stations Block to automatically build the pod/car
  • Hyperloop Booking Machine for the station to select the destination
  • Hyperloop Tube to connect two stations
  • Hyperloop Junction Block to connect up to 6 tubes for complex network structures
  • Hyperloop Stations Sign
  • Hyperloop Promo Poster for station advertisement
  • Hyperloop Elevator to reach other levels
  • Hyperloop Elevator Shaft to connect two elevator cars
  • Hyperloop Station Book with all available stations (for builders/engineers)
  • Hyperloop Tube Crowbar to crack tube lines
  • Hyperloop WiFi Tubes for very large distances (optional)
..and more.

The tube route is automatically protected. You can dig only the ends of a tube line (head blocks). The junction block / station has to be protected manually.
The Crowbar can be used by players with 'hyperloop' privs to crack tube lines.

Junction and Station Blocks can connect up to 6 tube lines. That means you can build complex networks of tube lines. Each junction/station can be reaches from each point with one trip.


The code is on GitHub.

Dependencies
default
intllib
tubelib2

License
Copyright (C) 2017-2018 Joachim Stolberg
Code: Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt and http://www.gnu.org/licenses/lgpl-2.1.txt
Textures: CC0
Display: Derived from the work of kaeza, sofar and others (digilines) LGPLv2.1+.

Edit
2017-07-16: Pictures updated, construction manual added, ToDo added.
2017-07-24: Updated for v0.06
2018-12-21: Updated for v2.00
Last edited by joe7575 on Fri Dec 21, 2018 13:24, edited 13 times in total.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Minecraft?

by Wuzzy » Post

Minecraft goes Hyperloop!
What is this strange “Minecraft” thing you keep talking about? ;-)

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: Minecraft?

by joe7575 » Post

Wuzzy wrote:
Minecraft goes Hyperloop!
What is this strange “Minecraft” thing you keep talking about? ;-)
Ooops, sorry :)
Changed!
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
ErrorNull
Member
Posts: 271
Joined: Thu Mar 03, 2016 00:43
GitHub: ErrorNull0

Re: [Mod] Hyperloop [hyperloop]

by ErrorNull » Post

elon musk would be proud. nice mod!

Modern Hippie
Member
Posts: 115
Joined: Wed Oct 29, 2014 04:35

Re: [Mod] Hyperloop [hyperloop]

by Modern Hippie » Post

Sounds great! Will test it as soon as it's released ^^
No longer active with this account! Please PM me on my new account "Wolfshippie"!

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Hyperloop [hyperloop]

by Desour » Post

This is interesting!
It's a non instant, distance dependent teleporter mod, nice!
Edit:
Cool, sounds are always good.
Suggestion: Add a (blue?,) glowing particle ring, that flies along the rail with 900km/h. At corners delete the particles and add new ones. The time when the particles shall be removed can easily be calculated.
Last edited by Desour on Mon Jul 03, 2017 16:38, edited 1 time in total.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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

Re: [Mod] Hyperloop [hyperloop]

by paramat » Post

Nice, does the destination have to be connected to by tubes to allow travel to it?

xBarkPuppy1
New member
Posts: 2
Joined: Mon Jul 03, 2017 15:50
IRC: xBarkPuppy1 Barkpuppy1
In-game: xBarkPuppy1

Re: [Mod] Hyperloop [hyperloop]

by xBarkPuppy1 » Post

i dont see the download link

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Hyperloop [hyperloop]

by Andrey01 » Post

xBarkPuppy1 wrote:i dont see the download link
Really. Why does a link not have for download?

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Hyperloop [hyperloop]

by azekill_DIABLO » Post

wow that seems epic! a new realistic travelnet! does it works with slow mapgen and unloaded chunks?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

Suggestion: Add a (blue?,) glowing particle ring, that flies along the rail with 900km/h. At corners delete the particles and add new ones. The time when the particles shall be removed can easily be calculated.
Great idea. I will put it on my feature list.
Nice, does the destination have to be connected to by tubes to allow travel to it?
Yes, you have to build the tube lines and connect them with junction blocks, which serve optionally as stations.
But lazy players could also use the WIFI blocks, if enabled. :)
i dont see the download link
I am still struggling with server crashes when doing unforeseen actions while building. It will be on GitHub when the time comes.
does it works with slow mapgen and unloaded chunks?
Travelling YES. You can test in on my (very slow) server (details in the first post).
Building not so far. Especially the WiFi block pairing is a challenge, which I have to solve...
Last edited by joe7575 on Tue Jul 04, 2017 19:28, edited 1 time in total.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Mod] Hyperloop [hyperloop]

by Byakuren » Post

DS-minetest wrote:This is interesting!
It's a non instant, distance dependent teleporter mod, nice!
Edit:
Cool, sounds are always good.
Suggestion: Add a (blue?,) glowing particle ring, that flies along the rail with 900km/h. At corners delete the particles and add new ones. The time when the particles shall be removed can easily be calculated.
There's nothing in the API to delete particles, only particle spawners.

EDIT: Though you could set the particle's expiration time to match the length of track. The trouble with this though is that you need to keep track of how long the track is somehow.
Every time a mod API is left undocumented, a koala dies.

User avatar
zm78
Member
Posts: 72
Joined: Thu Dec 17, 2015 22:34
GitHub: zander999
IRC: [none]
In-game: zm78

Re: [Mod] Hyperloop [hyperloop]

by zm78 » Post

[BUG] if going to a non existing station that was dug/grieved game crashes once door shuts on hyperloop.

Notice: this was found while playing on "joes miniwelt" server and was getting transported to "old spawn" station.
Also when you get back in it crashes again.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

zm78 wrote:[BUG] if going to a non existing station that was dug/grieved game crashes once door shuts on hyperloop.
Thanks for the hint.
I can't even teleport to this area. It seams that the map is corrupted. This has nothing to do with the mod, I guess. But currently I have no access to the server. I will check that tonight.

Edit: My son re-powered the server. Now it works as expected. No idea what happend. The map and also the station are ok.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

The code is on GitHub now, including a construction manual.
Still missing are:
- recipes
- configuration settings
- performance improvements

But the Mod runs stable and can be tested now. Have fun!
Your feedback is welcome.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
zm78
Member
Posts: 72
Joined: Thu Dec 17, 2015 22:34
GitHub: zander999
IRC: [none]
In-game: zm78

Re: [Mod] Hyperloop [hyperloop]

by zm78 » Post

Error with hooking the stations up: The stations will not hook up if connected on the left side, But anywhere else is fine.


Recipes:
Junction Block: T = tube, M = mese crystal and _ = nothing

Code: Select all

_T_
TMT
_T_
Tube Block: S = steel ingot and M = mese crystal

Code: Select all

SSS
MMM
SSS
Wifi Tube Block: S = steel ingot, O = obsidian shard and M = mese crystal

Code: Select all

SOS
OMO
SOS
Hyperloop Chair: W = blue wool, S = steel ingot and _ = nothing

Code: Select all

__W
WWW
WSS
Hyperloop LCD: G = glass, D = black dye, M = mese crystal fragment and _ = nothing

Code: Select all

MG_
DG_
MG_
Hyperloop Shell Block: S = steel ingot and D = blue dye

Code: Select all

SSS
SDS
SSS
Ticket Machine Block: P = paper and S = steel ingot

Code: Select all

SSS
PSP
SSS
Hyperloop Station Book: P = paper, _ = nothing and D = red dye

Code: Select all

PP_
PD_
PP_

cool mod +100

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

@zm78: Thanks for your feedback.
zm78 wrote:Error with hooking the stations up: The stations will not hook up if connected on the left side, But anywhere else is fine.
Unclear for me. Can you explain what you mean with "The stations will not hook up..."
The Booking Machine has an ABM with 10 sec cycle time. Could it be that you were to fast for checking the results?

Thank you for your recipes, I will use them, perhaps with some variation.
E g. my idea was to invent the Hypersteel Ingot based on Tin Ingot, Steel Ingot, and Cyan dye.
Other recipes should be based on that.

With that I am pretty sure that I don't get conflicts with other Mod recipes.

What do you think about that?
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

Recipes added.

Ready for use. Have fun...
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
zm78
Member
Posts: 72
Joined: Thu Dec 17, 2015 22:34
GitHub: zander999
IRC: [none]
In-game: zm78

Re: [Mod] Hyperloop [hyperloop]

by zm78 » Post

joe7575 wrote:@zm78: Thanks for your feedback.
zm78 wrote:Error with hooking the stations up: The stations will not hook up if connected on the left side, But anywhere else is fine.
Unclear for me. Can you explain what you mean with "The stations will not hook up..."
The Booking Machine has an ABM with 10 sec cycle time. Could it be that you were to fast for checking the results?

Thank you for your recipes, I will use them, perhaps with some variation.
E g. my idea was to invent the Hypersteel Ingot based on Tin Ingot, Steel Ingot, and Cyan dye.
Other recipes should be based on that.

With that I am pretty sure that I don't get conflicts with other Mod recipes.

What do you think about that?
With the stations i mean that the junction block ignores the pipe if placed on the left side of it but works if the pipe is placed on the right, front or/and back.

The Hypersteel Ingot sounds nice like high strength to keep from being damaged by pressure or a crash.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

You mean you see the black "hole" in the tube?
That's only a beauty mistake. The tube should be functional, though.
But I will fix that...
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
zm78
Member
Posts: 72
Joined: Thu Dec 17, 2015 22:34
GitHub: zander999
IRC: [none]
In-game: zm78

Re: [Mod] Hyperloop [hyperloop]

by zm78 » Post

i mean the left tube is not functional and the ticket machine ignores connections with the left side of the tube(the one that goes under the floor at the door) e.g

Code: Select all

      ^
 x L< J >
      v
x = not functional tube, <>^v = tubes, L = lcd display and J = junction.
So the tube that goes under the lcd is not functional in any orientation.

also oriented e.g

Code: Select all

      x
      L
      ^
    < J >
      v
thats the error.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

OK, thanks again. Now I got it.
But it should be no issue any more. I fixed some bugs since v0.01.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
zm78
Member
Posts: 72
Joined: Thu Dec 17, 2015 22:34
GitHub: zander999
IRC: [none]
In-game: zm78

Re: [Mod] Hyperloop [hyperloop]

by zm78 » Post

little typing error: when you try to get in while somebody is already in there it posts a message that is "the station is still blocked please try again in a veiw seconds" and it should be "the station is still blocked please try again in a few seconds"

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

Thanks, I fixed it.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Hyperloop [hyperloop]

by joe7575 » Post

My new approach for Hyperloop:
Building of a Hyperloop network should only be able on one level. That means all stations have to be on the same height (Y-position). This seems to be more realistic. Otherwise the pods can’t reach their high speed. :-)
To reach the station level I will add an elevator option, based on the same manner as the Hyperloop network with elevator shafts and cabins.
To reach other locations on different levels you have to use the more “classic” transportation mods like rails and so on.
This would lead to a more diversified approach in the Minetest world with different transportation system and not the “one fits all” approach from now.

Any thoughts on that?
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests