[Mod] Minecraft-like railway corridors [railcorridors]

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

[Mod] Minecraft-like railway corridors [railcorridors]

by Joz » Post

Info:
This is my first mod, it adds corridors with rails starting from a dirty main cave, trying to immitate Minecraft's rail corridors.
I tried to make modifying a bit user friendlier with a parameter section in the init.lua.
Maybe the parameters have to be adjusted to be more minecraft like, please let me know if you find good params.
Download:
either
https://github.com/UgnilJoZ/RailCorrido ... master.zip
or
https://github.com/UgnilJoZ/RailCorrido ... all/master
Install:
Put the extracted directory into the "mods" subfolder of your minetest directory.
Github: (pull requests are always welcome)
https://github.com/UgnilJoZ/RailCorridors
License:
WTFPL!
Screenshots:
Image
Image
Last edited by Joz on Thu Nov 20, 2014 11:07, edited 8 times in total.

MaxPower
Member
Posts: 30
Joined: Wed Sep 24, 2014 17:25

Re: [Mod] Minecraft-like Railway corridors

by MaxPower » Post

Very good, will definitely keep this mod. Cheers

Would be nice to have a mine entrance, I don't find MC mineshaft very logical as it should have at least one entrance.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Minecraft-like Railway corridors

by rubenwardy » Post

You need to rename Depends to depends.txt
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

Re: [Mod] Minecraft-like Railway corridors

by Joz » Post

@Rubenwardy: Now corrected.
@MaxPower: Thanks. Do you mean an entrance to a staircase?

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Mod] Minecraft-like Railway corridors

by Krock » Post

Joz wrote:Downlad from Github / pull code: (But the code is horrible)
I like this mod and created a pull request for you :)
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Mod] Minecraft-like Railway corridors

by jp » Post

Good work, the cavegen is not affected or slowed by your code. It's simple & fast.

Just replace the download link by this : https://github.com/UgnilJoZ/RailCorrido ... master.zip (and use only the small caracters for your mod name folder : RailCorridors -> railcorridors).

I hope that your mod will have a good evolution ;)

MaxPower
Member
Posts: 30
Joined: Wed Sep 24, 2014 17:25

Re: [Mod] Minecraft-like Railway corridors

by MaxPower » Post

Joz wrote: @MaxPower: Thanks. Do you mean an entrance to a staircase?
I mean just a way to get to the mineshaft, but hidden or half burried (see attachement)
Attachments
mineshaft entrance.png
mineshaft entrance.png (199.82 KiB) Viewed 1959 times
Last edited by MaxPower on Sun Sep 28, 2014 17:57, edited 1 time in total.

User avatar
tima_gt
Member
Posts: 22
Joined: Mon Jun 10, 2013 13:19

Re: [Mod] Minecraft-like Railway corridors

by tima_gt » Post

good work!

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

Re: [Mod] Minecraft-like Railway corridors

by Joz » Post

@MaxPower:
That's difficult, but good. I will think about it.
@tima_gt:
Thank you ;)
@Krock:
Thank you for cleaning up! (Your code had first an issue)
Attachments
Issue with pull
Issue with pull
screenshot_3178067049.png (295.39 KiB) Viewed 1959 times

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Minecraft-like Railway corridors

by Sokomine » Post

Nice mod! There's a similar one out there, but that happens with all mods. Hope it will be developed further.
MaxPower wrote: Would be nice to have a mine entrance, I don't find MC mineshaft very logical as it should have at least one entrance.
Entrances (vertically and/or horizontally) would be really great. Right now, finding a mine by chance is prett unlikely. It might be due to the far higher amount of vertical space MT has to offer. Finding entrances on the surface would be great. Players could keep looking for those entrances. One or two per mine might be enough. They may be simple shafts connecting mine and surface, with ladders or ropes for climbing up and down, either 1x1 or 3x3 in diameter. Something like that would be nice for my random_buildings and mg_villages mod as well.
A list of my mods can be found here.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Minecraft-like Railway corridors

by Minetestforfun » Post

Good work ! thank you ! :)

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] Minecraft-like Railway corridors

by ExeterDad » Post

Whoah!
Very interesting! Gonna play with this one in the morning :D

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

Torch fix: 0.3.2

by Joz » Post

Update: I corrected the directions of the torches.

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

Update to 0.7.2

by Joz » Post

I just added chests and these wooden crossings:
Image

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by Joz » Post

Here is a fork which aproaches better chests' content: viewtopic.php?f=9&t=10339

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by srifqi » Post

+1
Like the wooden crossing.

BTW, What's that texture pack?
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by Minetestforfun » Post

@srifqi

It's HDX VanessaE texture pack (256px or 512px)

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

New update: 0.8

by Joz » Post

I rewrote the mod and the generation is now more randomly, the wooden crossings can have two levels and sometimes water or lava flows out of the walls.

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

Re: New update: 0.8

by srifqi » Post

Joz wrote:I rewrote the mod and the generation is now more randomly,
More random nicer
Joz wrote:the wooden crossings can have two levels
Wow!
Joz wrote:and sometimes water or lava flows out of the walls.
*silent
Will lava burn the corridors?
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

Joz
Member
Posts: 41
Joined: Fri Oct 25, 2013 21:37

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by Joz » Post

The wood is burned as far the lava flows.
But unfortunately, the rails in minetest_game are not burned by lava and not flushed away by water whcih looks sometimes weird.

Shammmmmm
Member
Posts: 27
Joined: Sat Sep 20, 2014 21:31
GitHub: Shammmmmm
IRC: Shammmmmmm
In-game: Shammmmmm
Location: Philippines

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by Shammmmmm » Post

I always encounter unknown item ....... can fix it?
Attachments
.........
.........
Untitled.png (222.42 KiB) Viewed 1959 times
You Can call me Sham
New mods incoming by me :)

u34

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by u34 » Post

Shammmmmm wrote:I always encounter unknown item ....... can fix it?
anyone knows how to fix that problem?

TeTpaAka
Member
Posts: 141
Joined: Sat Dec 28, 2013 21:54

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by TeTpaAka » Post

Shammmmmm wrote:I always encounter unknown item ....... can fix it?
I think the most promising item that could be unknown is "tnt:tnt" (Given in chests.lua at line 15). The mod should add "tnt" as a dependencie.
If I am right, it should work if you update your minetest_game.

u34

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by u34 » Post

what about this? optimize your entry of the corridors! Where does the entry points appear normaly?

Image

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Minecraft-like railway corridors [railcorridors]

by Napiophelios » Post

Sokomine's MinesWithShafts is pretty badass,
Its like railcorridors mod but more concentrated so to speak.
its got some quirks but they are easy to tweak

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests