[Mod] mycorners [mycorners]

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

[Mod] mycorners [mycorners]

by Don » Post

Image

mycorners - adds corners to nodes
___________________________________________________________________________________________

Depends - Default
Download - mycorners
Github - mycorners
License - DWYWPL
Contributors - MaxCohen
___________________________________________________________________________________________

Update - Newest version is a light version. It only supports 4 dyes and less nodes.
You can change to full version in minetest.conf file. Change mycorners_all_colors to true.
The new version should be server safe. Loads super fast.

To use simply craft a corner machine. Then put in wood, stone or stone brick. Add the color of dye you want. Click Make. This gives you your corner items.
You can either add the corners to the block in the machine or you can use the corner installer tool. The corner installer tool looks like a hammer. To use it place your corners on the right side of the tool in your inventory. Then point at the block and left click. If the corner did not place properly use right click to rotate the block.
Corner installer craft
s = steel ingot
w = blue wool
x = nothing

s,s,s
x,s,x
x,w,x
Spoiler
Craft for Corner Machine
Image

Craft for Corner Installer
http://i61.tinypic.com/330wv9f.jpg
Spoiler
Image
Image
Image
Napiophelios made a version using default textures and [combine.
https://github.com/Napiophelios/new_corners
Last edited by Don on Tue Apr 05, 2016 01:59, edited 16 times in total.
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
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod]Corners[corners]

by ExeterDad » Post

Sweet! That's really gonna jazz up some buildings! I like how you think up these unthunk thoughts.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod]Corners[corners]

by stu » Post

+1 I've always wanted something like this, nice one!

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

Re: [Mod]Corners[corners]

by Napiophelios » Post

Thanks I love these kinda mods :)
They can used in so many ways when building stuff.

Image
Attachments
corners.png
corners.png (349.14 KiB) Viewed 1766 times

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

Re: [Mod]Corners[corners]

by Don » Post

Napiophelios wrote:Thanks I love these kinda mods :)
They can used in so many ways when building stuff.

Image
What texture is that?
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
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod]Corners[corners]

by Napiophelios » Post

I use 32px textures so I had to make my own
its just a quickie I made to test your mod
its pine wood I think.

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]Corners[corners]

by Nathan.S » Post

Really nice, this will make building more beautiful all over the world.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

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

Re: [Mod]mycorners[mycorners]

by Don » Post

Renamed the mod to keep with my mod naming system. Changed it from a modpack to a single mod.
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
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod]mycorners[mycorners]

by Linuxdirk » Post

That looks actually pretty nice but visually breaks with all texture packs not being the default texture pack.

Maybe grab the currently used textures and combine them so the corners adapt to the actual texture pack being used :)

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

Re: [Mod]mycorners[mycorners]

by Don » Post

Linuxdirk wrote:That looks actually pretty nice but visually breaks with all texture packs not being the default texture pack.

Maybe grab the currently used textures and combine them so the corners adapt to the actual texture pack being used :)
Not sure how to do that. Any chance you could help out?
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]mycorners[mycorners]

by Don » Post

Update - fixed the crafts for stone, added to more stone colors.
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
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod]mycorners[mycorners]

by Hybrid Dog » Post

Don wrote:
Linuxdirk wrote:That looks actually pretty nice but visually breaks with all texture packs not being the default texture pack.

Maybe grab the currently used textures and combine them so the corners adapt to the actual texture pack being used :)
Not sure how to do that. Any chance you could help out?
https://github.com/minetest/minetest_ga ... .lua#L1378
https://raw.githubusercontent.com/minet ... verlay.png

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

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

Re: [Mod]mycorners[mycorners]

by Don » Post

Added grey and white wood corners.
Image
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]mycorners[mycorners]

by Don » Post

Hybrid Dog wrote:
Don wrote:
Linuxdirk wrote:That looks actually pretty nice but visually breaks with all texture packs not being the default texture pack.

Maybe grab the currently used textures and combine them so the corners adapt to the actual texture pack being used :)
Not sure how to do that. Any chance you could help out?
https://github.com/minetest/minetest_ga ... .lua#L1378
https://raw.githubusercontent.com/minet ... verlay.png
The corners work fine with 16px textures. They don't scale for larger textures. I need to make a 32px and 64px versions.
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
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod]mycorners[mycorners]

by Linuxdirk » Post

Don wrote:I need to make a 32px and 64px versions.
Iirc you can simply scale the textures up.

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

Re: [Mod]mycorners[mycorners]

by ExeterDad » Post

It's a shame the texture overlay won't do scaling. So he could layer the corners over whatever texture pack the player is using. It would look like crap over a higher res texture :(

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

Re: [Mod]mycorners[mycorners]

by Don » Post

Added 32px textures. They are in mycorners/textures/32px.
I will work on them because they are not the best quality. Just wanted to get them out so people can use the mod.
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
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod]mycorners[mycorners]

by Napiophelios » Post

You are missing these 16px images:
corners_wood3.png
corners_wood4.png
corners_wood5.png
corners_wood6.png

The 32px folder has them, but I think you need to swap the names with white boards:
"corners_wood5.png" should be "corners_wood6.png"
"corners_wood6.png" should be "corners_wood5.png"

I also think the 32px textures will look better scaled up as opposed to "doubled-up"
Last edited by Napiophelios on Sun Mar 08, 2015 05:26, edited 1 time in total.

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

Re: [Mod]mycorners[mycorners]

by Don » Post

Napiophelios wrote:You are missing these 16px images:
corners_wood3.png
corners_wood4.png
corners_wood5.png
corners_wood6.png

The 32px folder has them, but I think you need to swap the names with white boards:
"corners_wood5.png" should be "corners_wood6.png"
"corners_wood6.png" should be "corners_wood5.png"

I also think the 32px textures will look better scaled up as opposed to "doubled-up"

ImageImage
Should be fixed now. I used your textures for the stone corners. Thanks for that.
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]mycorners[mycorners]

by Don » Post

Major Update.
Added 2 machines to craft the corners.
Added a color for each dye.
Added support for all default blocks but most are turned off so it does not create a ton of nodes. You can change this in registery.lua. Just comment out the ones you do not want and un comment the ones you do.
I put --[[ and --]] in the file. just add a - to the --[[ to uncomment or take away a - from ---[[ to comment out.

This will not work with the old version because node names changed. Sorry.
The corners do not show up in the creative inventory.
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
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod]mycorners[mycorners]

by Napiophelios » Post

I think it looks better if you also cap the tops and bottoms of the corners blocks

Image
Attachments
screenshot_82078746.png
screenshot_82078746.png (82.4 KiB) Viewed 1766 times

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

Re: [Mod]mycorners[mycorners]

by Don » Post

Napiophelios wrote:I think it looks better if you also cap the tops and bottoms of the corners blocks

Image
Excellent idea. I will do that.
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

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

Re: [Mod]mycorners[mycorners]

by Sokomine » Post

Looks very intresting! That does indeed allow some compact yet intresting building. The manual approach would require a far larger scale for the house to work. Hope this will be found on servers soon.
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]mycorners[mycorners]

by Don » Post

Sokomine wrote:Looks very intresting! That does indeed allow some compact yet intresting building. The manual approach would require a far larger scale for the house to work. Hope this will be found on servers soon.
Thanks Sokomine. It is already on minetestville. It is an older version but will be updated soon.
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
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

Re: [Mod] mycorners [mycorners]

by 12Me21 » Post

Wow, this looks amazing!!
I especially like the grey stone brick corners, and the brown wood corners.

However, you might want to add more shading to the wood and stone corners, as they look kind of flat.

Also, I don't really think it's necessary to have so many different colors, but that's probably because I like to use mostly grey in my buildings.

It would be nice if there was a tool that converted a node into the corner version just by clicking on it.
That way you wouldn't need to dig out all the corners of buildings and replace them with these.

I would also like if there were metal corners.

Edit: I think the code can be simplified, by doing:
minetest.register_node("mycorners:cornerblock_"..material.."_"..mat.."_"..color, {
and adjusting the rest of the code accordingly. This would shorten the cornerblock table a lot.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests