[Mod] The Lower Road [thelowerroad]

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

[Mod] The Lower Road [thelowerroad]

by Deadlock » Post

The lower Road
============

Adds a long road from -Z to +Z to the world, during world-generation.
The road partially follows the terrain and tunnels through higher ground otherwise.
The road materials depend on the environment.
Small amounts of loot can be found in little buildings beside the road.(per dafault the buildings only appear underground. that can be changed in the settings.),
A rare non-craftable deco-block (the roadworkers-trophy) can by found in these roadside-buildings(since v1.2), chance 1/50.
Per default the road will be generated at around x = 100.

You can change the base x-position, the curviness of the road, the rarerity of the roadside buildings, the base height of the road and if excessive forest clearing is done
in the settings: adv. settings/Mods/thelowerroad

Image

Version: 1.2.1
License: The MIT License (MIT)
Dependencies: default, stairs, farming
Optional Dependencies: lualandmg?

Compatibility with Mapgens: generally works with all mapgens which provide a heightmap via minetest.get_mapgen_object works better when a heatmap is provided as well.

Fully compatible with : v5, v7, flat, fractal, valleys, lualandmg

Compatible with slightly different behaviour with: v6

Not compatible with singlenode unless you provide at least a heightmap in the corresponding lua-mapgenerator, see https://github.com/SmallJoker/lualandmg ... a#L97-L109 for an example on how to provide heightmap and heatmap properly.

Git: https://github.com/Distributed-DeadLock/thelowerroad

Download: https://github.com/Distributed-DeadLock ... master.zip

Note: there is an issue with settingtypes.txt in all versions prior 1.2.1 that prevented changing settings in the menu on linux. This is fixed in 1.2.1

Edit: Updated to v1.2.1
Last edited by Deadlock on Sat Dec 16, 2017 11:48, edited 6 times in total.

User avatar
Otter
Member
Posts: 152
Joined: Fri May 12, 2017 21:17
GitHub: InfiniteOtter
In-game: Otter

Re: [Mod]The Lower Road [thelowerroad]

by Otter » Post

Image

I love this Mod. The road is nicely made. Mostly straight but constantly curved. Lots of ups and downs. Look around in the tunnels, there will often be a passage with a chest. A sort of travelers aid care package.

Image

Image
Attachments
LowRoadStairUp.jpg
LowRoadStairUp.jpg (147.99 KiB) Viewed 2313 times
LowRoadJungleStairs.jpg
LowRoadJungleStairs.jpg (380.37 KiB) Viewed 2313 times
LowRoadNiceView.jpg
LowRoadNiceView.jpg (400.24 KiB) Viewed 2313 times

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod]The Lower Road [thelowerroad]

by Deadlock » Post

thanks, glad you like it.

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [Mod]The Lower Road [thelowerroad]

by BBmine » Post

This reminds me of paths v6, but with treasure chests, and nicer tunnels. Nice work!

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

Singlenode

by Krock » Post

They said it doesn't work on singlenode. I have another opinion.
Works perfectly with a little glue in the Lua mapgen. Well done! This looks amazing :)
Image
Image

EDIT: In the code I spotted a few lines that should generate a house next to the road: they seem to be quite rare, as I haven't seen any yet. Is there an easy way to increase the chance to generate one?
Attachments
screenshot_20170923_111455.png
screenshot_20170923_111455.png (541.55 KiB) Viewed 2313 times
screenshot_20170923_111352.png
screenshot_20170923_111352.png (340.67 KiB) Viewed 2313 times
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: Singlenode

by Deadlock » Post

Krock wrote:They said it doesn't work on singlenode. I have another opinion.
Works perfectly with a little glue in the Lua mapgen. Well done! This looks amazing :)
Thanks.
What is the "little glue"? I`m interested in making it compatible with all mapgens. Compatiblety with v6 is already planned, but i'm a bit clueless with singlenode. So your insight would be quite helpful.
Krock wrote: EDIT: In the code I spotted a few lines that should generate a house next to the road: they seem to be quite rare, as I haven't seen any yet. Is there an easy way to increase the chance to generate one?
The commonness of the roadside-"houses" depends on the hilliness of the map.
There is maximum one house per mapchunk. It is placed 3 nodes before the border of the mapchunk (with the higher z-value), if the road is underground and straight at that position.
If you travel towards higher z-values, the doorways will be in tunnels (that generally go down but are locally straight) on the right-side of the road.

You could slightly increase the chance if you change line 809 (of init.lua) from:

Code: Select all

if ( (slices_left == 3) and ((y - hmap[hm_i]) < -4) and 
to:

Code: Select all

if ( (slices_left == 3) and ((y - hmap[hm_i]) < 1) and 
Houses can now appear overground, but might be a bit damaged.

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

Re: [Mod]The Lower Road [thelowerroad]

by Krock » Post

@Deadlock
Thanks for this little insight. I spotted a few houses now next to the roads while walking around. They're only damaged rarely, so keeping this modification definitely improves the fascination of exploring.

The "glue" I used is mapgen-specific, as I had to implement the own height- and heat map in order to get this mod running. The height map should be available in mgv6, but the temperature/humidity isn't, as it uses a different system.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod]The Lower Road [thelowerroad]

by Deadlock » Post

thanks, Krock
nice mapgen of yours, btw.
"exporting" your own heightmap and heatmap like this, is a nice idea. i'm shure it enhances compatibilty with other mod in general.
i will link to your solution in the readme of the mod, if you don't mind.

also, i will make the "house rareness" adjustable.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]The Lower Road [thelowerroad]

by ManElevation » Post

+10
My Public Mods! Discord: Rottweiler Games#3368

User avatar
SB66
Member
Posts: 258
Joined: Sat May 17, 2014 17:50

Re: [Mod]The Lower Road [thelowerroad]

by SB66 » Post

Thats a nice one
Image



Image







some gap......
Image
Attachments
screenshot_20170924_122405.jpg
screenshot_20170924_122405.jpg (588.57 KiB) Viewed 2313 times
screenshot_20170924_124029.jpg
screenshot_20170924_124029.jpg (466.91 KiB) Viewed 2313 times
screenshot_20170924_140551.jpg
screenshot_20170924_140551.jpg (200.51 KiB) Viewed 2313 times

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod]The Lower Road [thelowerroad]

by Deadlock » Post

those are really nice,
but the gap is unexpected.
SB66, can you share mapgen-version, seed, and coordinates for the gap? I'd like to inspect that.

User avatar
SB66
Member
Posts: 258
Joined: Sat May 17, 2014 17:50

Re: [Mod]The Lower Road [thelowerroad]

by SB66 » Post

Deadlock wrote:those are really nice,
but the gap is unexpected.
SB66, can you share mapgen-version, seed, and coordinates for the gap? I'd like to inspect that.
I use : sfan5's : minetest-0.5.0-5a3b8e3-win64

Mapgen Version = V7
seed = 608196624092017
Coordinates = between 58,1.5,3408 and 79,1.5, 3487
Image

Btw. its the only gap in the road i found so far. :)

Maybe its a failure in the Landscape generation , the vertical cut's here looking quite strange...
Image

Image
Attachments
screenshot_20170924_153108.jpg
screenshot_20170924_153108.jpg (379.02 KiB) Viewed 2313 times
screenshot_20170924_153029.jpg
screenshot_20170924_153029.jpg (467.25 KiB) Viewed 2313 times
screenshot_20170924_153045.jpg
screenshot_20170924_153045.jpg (687.97 KiB) Viewed 2313 times
Last edited by SB66 on Sun Sep 24, 2017 13:59, edited 1 time in total.

User avatar
SB66
Member
Posts: 258
Joined: Sat May 17, 2014 17:50

Re: [Mod]The Lower Road [thelowerroad]

by SB66 » Post

Overview of the section

Image
Attachments
screenshot_20170924_153358.jpg
screenshot_20170924_153358.jpg (605.09 KiB) Viewed 2313 times

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod]The Lower Road [thelowerroad]

by Deadlock » Post

thank you for the infos and the nice overview.
i will try to reproduce it.

Edit:
Found the area, but
i can't reproduce it (currently on 0.4.16).
Quite glad about that actually.

But i will test with the newer version later.

User avatar
SB66
Member
Posts: 258
Joined: Sat May 17, 2014 17:50

Re: [Mod]The Lower Road [thelowerroad]

by SB66 » Post

Deadlock wrote:thank you for the infos and the nice overview.
i will try to reproduce it.

Edit:
Found the area, but
i can't reproduce it (currently on 0.4.16).
Quite glad about that actually.

But i will test with the newer version later.

Hi,

Tested it by myself if I could reproduce it :
I deleted the "map.sqlite" form the world directory and started the world again an now the section is ok without the gap.

Btw. in the first try I walked from z: 8900 too -20160 and found no other problems.

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod]The Lower Road [thelowerroad]

by Deadlock » Post

SB66 wrote: now the section is ok without the gap.

Btw. in the first try I walked from z: 8900 too -20160 and found no other problems.
nice to hear

User avatar
Otter
Member
Posts: 152
Joined: Fri May 12, 2017 21:17
GitHub: InfiniteOtter
In-game: Otter

Re: [Mod]The Lower Road [thelowerroad]

by Otter » Post

As a silly option, can you add a minecart track to one side? The latest versions of MineTest allow for settings to be controlled on mods so it would be a fun option. My idea is that I get in a minecart get started and watch the scenery change as I go to the end of the world!

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod]The Lower Road [thelowerroad]

by Deadlock » Post

Otter wrote:As a silly option, can you add a minecart track to one side? The latest versions of MineTest allow for settings to be controlled on mods so it would be a fun option. My idea is that I get in a minecart get started and watch the scenery change as I go to the end of the world!
I'm not shure if this is possible, but i'll give it a try.

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] The Lower Road [thelowerroad]

by azekill_DIABLO » Post

how could i miss this amazing mod? +1 that the path in the dark forest!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
voxelproof
Member
Posts: 1087
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: [Mod] The Lower Road [thelowerroad]

by voxelproof » Post

I've tried it out. Works perfect and provides many very interesting screenshot opportunities. Thanks a lot!
To miss the joy is to miss all. Robert Louis Stevenson

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] The Lower Road [thelowerroad]

by Nathan.S » Post

I've noticed that when the path goes underground that the trees above ground directly above the path are removed.
Image
Attachments
lower-road.jpg
lower-road.jpg (615.95 KiB) Viewed 2313 times
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod] The Lower Road [thelowerroad]

by Deadlock » Post

Thanks for mentioning it.
I liked it that way. Especially because it made it easy to find the road during testing.
So it's not a bug but a feature ;-)
But i can see that it might be disturbing.
I'll rework it, and make it an option you can toggle on or off.

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod] The Lower Road [thelowerroad]

by Deadlock » Post

V1.2 is out:
Trees are no longer removed when road is underground.
An option is added to the settings that re-enables the excessive tree-clearing.
Roadside buildings now appear overground per default.
A rare non-craftable loot-object can now be found in the roadside buildings: the roadworkers-trophy (chance 1/50).

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] The Lower Road [thelowerroad]

by azekill_DIABLO » Post

awesome! +1 will merge it to voxellar.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Deadlock
Member
Posts: 50
Joined: Mon Aug 28, 2017 06:47
In-game: Jimmey

Re: [Mod] The Lower Road [thelowerroad]

by Deadlock » Post

azekill_DIABLO wrote:awesome! +1 will merge it to voxellar.
Nice!

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests