[mod] Trample path [trample_path]

Post Reply
User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

[mod] Trample path [trample_path]

by burli » Post

This mod creates a trample path with slightly lowered nodes. You can create a path by patting the nodes with the shovel (rightclick) or optionally by walking over.

You can create path on dirt, sand, gravel and snow. Plants like grass, flowers and mushrooms have to trampled down first.

Github: https://github.com/MarkuBu/trample_path
Download: https://github.com/MarkuBu/trample_path ... master.zip

Video: https://youtu.be/wZWeagnbQM8

Dependencies: default

Licence: DWYWPL

Image

Image

Image
Attachments
screenshot_20170312_133412.jpg
screenshot_20170312_133412.jpg (172.03 KiB) Viewed 941 times
screenshot_20170311_122835.jpg
screenshot_20170311_122835.jpg (152.31 KiB) Viewed 940 times
Bildschirmfoto vom 2017-03-11 11-14-07.jpg
Bildschirmfoto vom 2017-03-11 11-14-07.jpg (219.45 KiB) Viewed 940 times
Last edited by burli on Sun Mar 12, 2017 21:39, edited 8 times in total.

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] Trample path [wip]

by Desour » Post

I like it!
Does grass grow on the path, so dirt_with_grass path? I hope not.
On the right I can see a gravel path, is it made out of gravel and shovel? You didn't write anything about it.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip]

by burli » Post

DS-minetest wrote:I like it!
Does grass grow on the path, so dirt_with_grass path? I hope not.
On the right I can see a gravel path, is it made out of gravel and shovel? You didn't write anything about it.
no, grass doesn't grow on the dirt.

This mod isn't finished yet. I think about adding a trample path in sand too. And I think all path will be made with the shovel.

I also think about to optionally create the trample path automatically. Every time you walk over a node a counter is incremented and after a while a path appears

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] Trample path [wip]

by azekill_DIABLO » Post

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

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip]

by burli » Post

My plan is, that dirt with grass is converted to normal dirt first and if you don't walk over the same node for a while it will be covered with grass again. If you walk over dirt it will be converted to the trample path. Maybe I change the texture for that

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip]

by burli » Post

First release. Link in the first post

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip][trample_path]

by burli » Post

Trample path now generated by walking. Video at first post

Suggestions for improvements are welcome

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Trample path [wip][trample_path]

by D00Med » Post

Cool, nice mod
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip][trample_path]

by burli » Post

Now you have to trample down grass, flowers and mushrooms first and you can disable the function to trample down everything by walking over

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip]

by burli » Post

DS-minetest wrote:Does grass grow on the path, so dirt_with_grass path? I hope not.
I made a change to this. Dirt with grass will be converted to regular dirt first, so there is a chance that grass will grow over again.

You also have to trample down grass or flowers first, so there is a chance that grass or flowers spread over again.

I think about to add long running node timer to cover trample paths again with grass and unused paths will disappear over time. But this will be optional.

It is also easy to add support for mods and I would be happy if someone can test this on a server for me. Multiplayer should be supported

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] Trample path [wip][trample_path]

by azekill_DIABLO » Post

can we have a transition node somethin like 'dirt with step' ?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip][trample_path]

by burli » Post

azekill_DIABLO wrote:can we have a transition node somethin like 'dirt with step' ?
default:dirt is a transition node between dirt with grass and the trample path dirt. I tried the default footstep overlay, but that looks odd.

Any suggestion and contribution is welcome

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] Trample path [wip][trample_path]

by Desour » Post

You could use "default:dirt_with_grass_and_footsteps". Then you don't need to register a new node.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [wip][trample_path]

by burli » Post

DS-minetest wrote:You could use "default:dirt_with_grass_and_footsteps". Then you don't need to register a new node.
I tried that, but I think the footstep overlay looks strange and it only works works for dirt with grass, not for dry grass or other nodes

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [trample_path]

by burli » Post

Released the mod in version 0.1. I think it is finished

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] Trample path [trample_path]

by azekill_DIABLO » Post

i will fork it to make te node change to a dirt with step! thank you for contributing to minetest!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [mod] Trample path [trample_path]

by ExeterDad » Post

This is pretty cool!

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [trample_path]

by burli » Post

azekill_DIABLO wrote:i will fork it to make te node change to a dirt with step! thank you for contributing to minetest!
If it looks good feel free to make a pull request

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

Re: [mod] Trample path [trample_path]

by ErrorNull » Post

that's cool! i will try it. but question: so when i walk on grass of flowers, they will automatically disappear or be removed? or is that optional behavior? thanks!

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Trample path [trample_path]

by burli » Post

In the init.lua file are some lines looking like this

Code: Select all

nodes["flowers:rose"] = {count = 1, replace = "air"}
nodes["flowers:tulip"] = {count = 1, replace = "air"}
nodes["flowers:dandelion_yellow"] = {count = 1, replace = "air"}
nodes["flowers:geranium"] = {count = 1, replace = "air"}
nodes["flowers:viola"] = {count = 1, replace = "air"}
nodes["flowers:dandelion_white"] = {count = 1, replace = "air"}
nodes["flowers:mushroom_red"] = {count = 1, replace = "air"}
nodes["flowers:mushroom_brown"] = {count = 1, replace = "air"}
You can remove them or comment them out with -- at the beginning of each line. But then you will have flowers over your trample path

deleted c0a803ab

Re: [mod] Trample path [trample_path]

by deleted c0a803ab » Post

Very nice KISS mod!

User avatar
Linuxdirk
Member
Posts: 3216
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [mod] Trample path [trample_path]

by Linuxdirk » Post

I had a similar idea but with "autoconnecing textures" (i.e. nodes with the textures depending on adjacent nodes). Never actually had anything more than a concept, though.

deleted c0a803ab

Re: [mod] Trample path [trample_path]

by deleted c0a803ab » Post

Linuxdirk wrote:
Mon Apr 12, 2021 22:02
I had a similar idea but with "autoconnecing textures" (i.e. nodes with the textures depending on adjacent nodes). Never actually had anything more than a concept, though.
Sounds interesting.

DOOM_possum
Member
Posts: 172
Joined: Sat Mar 27, 2021 22:06
In-game: DOOM_possum

Re: [mod] Trample path [trample_path]

by DOOM_possum » Post

does anyone know what TORCH he is using, and is that MC moss ?? ?? ??

it looks like it is custom made, but i can't tell where he got it from, i don't see it in the GENERAL page, either, that can't be a MC TORCH

User avatar
freshreplicant
Member
Posts: 223
Joined: Sun Aug 09, 2020 10:37
In-game: freshreplicant

Re: [mod] Trample path [trample_path]

by freshreplicant » Post

DOOM_possum wrote:
Tue Apr 13, 2021 05:09
does anyone know what TORCH he is using, and is that MC moss ?? ?? ??

it looks like it is custom made, but i can't tell where he got it from, i don't see it in the GENERAL page, either, that can't be a MC TORCH
The first image with the torch looks like RPG16 to me:

https://content.minetest.net/packages/H ... oss/rpg16/

EDIT:

Wait no, it's Pixel Perfection:

https://content.minetest.net/packages/s ... erfection/

Post Reply

Who is online

Users browsing this forum: rubenwardy and 17 guests