Page 1 of 3

[Mod] mycorners [mycorners]

Posted: Sun Mar 01, 2015 22:19
by Don
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
+ Spoiler
Napiophelios made a version using default textures and [combine.
https://github.com/Napiophelios/new_corners

Re: [Mod]Corners[corners]

Posted: Sun Mar 01, 2015 22:33
by ExeterDad
Sweet! That's really gonna jazz up some buildings! I like how you think up these unthunk thoughts.

Re: [Mod]Corners[corners]

Posted: Sun Mar 01, 2015 22:49
by stu
+1 I've always wanted something like this, nice one!

Re: [Mod]Corners[corners]

Posted: Sun Mar 01, 2015 23:35
by Napiophelios
Thanks I love these kinda mods :)
They can used in so many ways when building stuff.

Image

Re: [Mod]Corners[corners]

Posted: Mon Mar 02, 2015 00:34
by Don
Napiophelios wrote:Thanks I love these kinda mods :)
They can used in so many ways when building stuff.

Image
What texture is that?

Re: [Mod]Corners[corners]

Posted: Mon Mar 02, 2015 00:36
by Napiophelios
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.

Re: [Mod]Corners[corners]

Posted: Mon Mar 02, 2015 01:29
by Nathan.S
Really nice, this will make building more beautiful all over the world.

Re: [Mod]mycorners[mycorners]

Posted: Thu Mar 05, 2015 21:58
by Don
Renamed the mod to keep with my mod naming system. Changed it from a modpack to a single mod.

Re: [Mod]mycorners[mycorners]

Posted: Thu Mar 05, 2015 22:01
by Linuxdirk
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 :)

Re: [Mod]mycorners[mycorners]

Posted: Thu Mar 05, 2015 22:08
by Don
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?

Re: [Mod]mycorners[mycorners]

Posted: Thu Mar 05, 2015 23:33
by Don
Update - fixed the crafts for stone, added to more stone colors.

Re: [Mod]mycorners[mycorners]

Posted: Fri Mar 06, 2015 20:25
by Hybrid Dog
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

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 00:01
by Don
Added grey and white wood corners.
Image

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 01:22
by Don
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.

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 01:29
by Linuxdirk
Don wrote:I need to make a 32px and 64px versions.
Iirc you can simply scale the textures up.

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 01:52
by ExeterDad
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 :(

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 02:11
by Don
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.

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 02:40
by Napiophelios
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"

Re: [Mod]mycorners[mycorners]

Posted: Sun Mar 08, 2015 03:54
by Don
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.

Re: [Mod]mycorners[mycorners]

Posted: Tue Mar 17, 2015 19:49
by Don
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.

Re: [Mod]mycorners[mycorners]

Posted: Tue Mar 17, 2015 22:28
by Napiophelios
I think it looks better if you also cap the tops and bottoms of the corners blocks

Image

Re: [Mod]mycorners[mycorners]

Posted: Tue Mar 17, 2015 23:06
by Don
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.

Re: [Mod]mycorners[mycorners]

Posted: Fri Mar 20, 2015 03:24
by Sokomine
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.

Re: [Mod]mycorners[mycorners]

Posted: Fri Mar 20, 2015 04:34
by Don
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.

Re: [Mod] mycorners [mycorners]

Posted: Fri Mar 20, 2015 13:46
by 12Me21
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.