[Mod] mychisel [mychisel]

FaceDeer
Member
Posts: 475
Joined: Sat Aug 29, 2015 19:01
GitHub: FaceDeer

Re: [Mod]mychisel[mychisel]

by FaceDeer » Post

Not on github yet. I wasn't actually expecting to do any real modding right away, just poke around a bit and do some local "hello world" stuff to get the hang of it, so don't wait up for me.

The risk of falling could be one of the tradeoffs that help make the foothold version distinct from the ladder version. Makes it something you'd only want to use for short rises that it's safe to jump down from, or for a quick climb you're not expecting to come back to again (eg, trying to find your way out of a cave with no intention of returning). Footholds quick but dangerous, ladder slow but safe.

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mychisel[mychisel]

by Don » Post

That makes sense. The foot holds could be a one hit thing.
I made the changes. Let me know what you think.
Github is great for getting mod updates as well. Once set up you can open a terminal to update instead of downloading from here.
https://github.com/DonBatman/mymasonham ... master.zip
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

FaceDeer
Member
Posts: 475
Joined: Sat Aug 29, 2015 19:01
GitHub: FaceDeer

Re: [Mod]mychisel[mychisel]

by FaceDeer » Post

Perfect! Well, not quite perfect, I wasn't able to climb on the foothold nodes. I figured that was because I wasn't able to get "deep enough" into the node for its ladderness to take effect, and fixed it by adding

Code: Select all

	collision_box = {
		type="fixed",
		fixed = {
			{-0.5, -0.5, -0.1875, 0.5, 0.5, 0.5},
		}
	},
to the foothold node. That made the foothold bumps intangible and let me get in closer, which made the wall climbable.

Starting to get the hang of this. :)

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mychisel[mychisel]

by Don » Post

FaceDeer wrote:Perfect! Well, not quite perfect, I wasn't able to climb on the foothold nodes. I figured that was because I wasn't able to get "deep enough" into the node for its ladderness to take effect, and fixed it by adding

Code: Select all

	collision_box = {
		type="fixed",
		fixed = {
			{-0.5, -0.5, -0.1875, 0.5, 0.5, 0.5},
		}
	},
to the foothold node. That made the foothold bumps intangible and let me get in closer, which made the wall climbable.

Starting to get the hang of this. :)
Thanks. I added it and uploaded it.
If you are looking for a project I think I have something you might be interested in helping with. I am working on some board games for minetest. I have a chess game and a simple board game right now. I would love it if you helped add to it. I haven't posted it on the forum yet. Link is below. Let me know if you want to help.
https://github.com/DonBatman/myboardgam ... master.zip
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
Gaming Association
Member
Posts: 62
Joined: Tue Aug 18, 2015 01:52
GitHub: Gerold55
In-game: Gerold55

Re: [Mod]mychisel[mychisel]

by Gaming Association » Post

Does the chisel change blocks to a bunch of different style blocks?
Gaming Association

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mychisel[mychisel]

by Don » Post

Gaming Association wrote:Does the chisel change blocks to a bunch of different style blocks?
Yes it does
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] mychisel [mychisel]

by Don » Post

Update - added Aspen wood to chisel. This is for minetest 0.4.13-dev and above.
If you are runnig the stable release of minetest 0.4.13 or below no need to update.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] mychisel [mychisel]

by Don » Post

Update - code cleanup and edited the screenshot
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

Gundul
Member
Posts: 1072
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul
Location: Europe/Asia

Re: [Mod] mychisel [mychisel]

by Gundul » Post

I added a technic tool to your mod.

the code will check if technic mod is present and will replace the normal chisel
by an electric rechargable one. All players without technic mod will have no changes
at all.

The plan is to add TumeniNodes "facade" blocks to your chisel and maybe add
an api for other mods in the future.
viewtopic.php?f=9&t=18208

The question is do you want that to have in your mod or should I write my own one.
I could do a pull request on gihub if you like.
My servers: Jungle, Lilly in the valley

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

Re: [Mod] mychisel [mychisel]

by Krock » Post

Thanks to berengma this mod now has support for the bakedclay mod.
I took the opportunity to unify and simplify the code: -605 lines in total (-1006 lines and +401 lines)

There were no talk-backs to Don due to his inactivity on GitHub. I hope he can forgive me for these major code changes.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Gundul
Member
Posts: 1072
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul
Location: Europe/Asia

Re: [Mod] mychisel [mychisel]

by Gundul » Post

Krock wrote:Thanks to berengma this mod now has support for the bakedclay mod.
Thanks for merging my PR. berengma is my Github name :)

As Don not answered my last post here, I opened a new post in the wip forum:
viewtopic.php?f=9&t=19479

It gives some more information about the api and the features and materials I added so far.
My servers: Jungle, Lilly in the valley

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests