[Mod] Unified Bricks [20120716] [unifiedbricks]

User avatar
wowiamdiamonds
Member
Posts: 13
Joined: Sat Jul 14, 2012 10:21

[Mod] Unified Bricks [20120716] [unifiedbricks]

by wowiamdiamonds » Post

What it sounds like. Adds colorization of default brick blocks and default clay blocks, as well as craftable, colorable "multicolor" brick blocks, using Unified Dyes.

License of code: WTFPL
License of textures: WTFPL
Depends: Minetest 0.4.16 or newer, a corresponding minetest_game, and unifieddyes

Download: https://github.com/minetest-mods/unifie ... master.zip
... or browse the code: https://github.com/minetest-mods/unifiedbricks.git

I strongly recommend either VanessaE's photorealistic texture pack or the Misa texture pack for minetest, by Calinou, both of which support unifiedbricks with stunning textures.

Screenshots:

Image

Image

Coloring:

Simply place a standard, default brick block or a standard default block of clay along with one portion of any dye color into the crafting grid, just as you would do with virtually any colored item. Or, or place some bricks/clay blocks, then use the Unified Dyes airbrush on them. For "multicolor" brick blocks seen at the bottom of the first screenshot, first craft a basic white/grey one as below:

Light-shaded - one default brick block + two white + grey dye
Medium-shaded - one default brick block + white + grey + dark grey dye
Dark-shaded - one default brick block + grey + two dark dark grey dye

...then you can colorize it by placing it in the crafting grid along with any one new dye color, or use the airbrush.

This mod does not yet support the various shapes created by Moreblocks' circular saw, nor the ones created by the default stairs mod, nor any bricks created by other mods.
Attachments
unifiedbricks2.png
(86.75 KiB) Not downloaded yet
unifiedbricks.png
(97.11 KiB) Not downloaded yet
Last edited by wowiamdiamonds on Wed Aug 01, 2012 08:03, edited 1 time in total.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

awesome! ... but this will crash my game because i already have too many items.

we REALLY need to get the item limit sorted out

User avatar
VanessaE
Moderator
Posts: 4554
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

Can I be the first to say... .holy shit! :-)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Take it from someone who's created hundreds of nodes - its no use having so many. Its nice to have a node for every shade, but how much FPS you willing to sacrifice for twelve shades of green?

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

i would be happier with a smaller set of colors. maybe 12 or 24

User avatar
VanessaE
Moderator
Posts: 4554
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

It isn't necessary, of course, to use all colors in the unifieddyes mod, though it's certainly a plus. Also, new update today, adds "light" shades for a total of 89 colors, and the gentextures.sh script now supports adding an overlay image, so you can for example make the mortar stay light grey or whatever while the bricks' colors rotate as usual.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
wowiamdiamonds
Member
Posts: 13
Joined: Sat Jul 14, 2012 10:21

by wowiamdiamonds » Post

Added settings to the mod. Now you can disable certain colors, darkness levels, saturation levels, or types (clay, bricks...). Should be helpful, especially because there are... 89*4 = 356 craftitems and nodes combined. This is temporary, because I want to move the settings into a separate config file.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

how do you make colored clay lumps? seems to be no recipe for that which means I cant make anything else =(

User avatar
wowiamdiamonds
Member
Posts: 13
Joined: Sat Jul 14, 2012 10:21

by wowiamdiamonds » Post

That is a problem, isn't it...

I would like for colored clay to spawn naturally, but I will make default clay colorable for the moment.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

Nice idea... I didnt think of them spawning. That would be cool, but clay doesnt spawn ingame. Would you make normal clay spawn too?

Eg, near sand and water it sometimes turns into clay.

Would colors be more likely next to each other, or would it be kind of random?

Also, I noticed via my craftguide and wiki that some items are missing:
http://cornernote.net/minetest/wiki/crafts.php (scroll down to unifiedbricks)

Eg,
unifiedbricks:claydark_green

should probably be:
unifiedbricks:clay_dark_green
Last edited by cornernote on Thu Jul 26, 2012 02:31, edited 1 time in total.

User avatar
wowiamdiamonds
Member
Posts: 13
Joined: Sat Jul 14, 2012 10:21

by wowiamdiamonds » Post

I never noticed that default clay doesn't spawn... well shoot, that's what I get for cheating. I guess this is a trend... me cutting corners in code has done all sorts of wonders for me. Thank you for finding those mistakes ^^

Personally, I would like for all colors of clay to spawn, with similar colors sometimes spawning in the same pocket (red, light_red, red_s50, and medium_red_s50 could all be found in the same clay bed). I want to do that, but I figure it would be better to focus on primary and secondary color spawns, because you can actually use those to create more colors... but that would look weird.

I'll spawn default clay for now, and I might add support for mixing colors with previously darkened/lightened/saturated colors. After that, I can spawn more natural saturated clay colors and still let players play with the mod.

EDIT: default clay already spawns, unless that's been changed recently.
http://i.imgur.com/EStNN.png

Also, committing changes: fixed texture names, bad crafting recipes, and dark/light/saturated greyscale objects.
Last edited by wowiamdiamonds on Thu Jul 26, 2012 08:38, edited 1 time in total.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

It "spawns", but it never "respawns". Sorry I should have been more clear. Basically it never grows back. I would like if over time it did grow back.

Your color ideas sound awesome! Can't wait to see the next release.

Thanks for the fixes too!

User avatar
wowiamdiamonds
Member
Posts: 13
Joined: Sat Jul 14, 2012 10:21

by wowiamdiamonds » Post

Updated: now uses vessels and bucket so that emptied dye bottles/paint buckets are returned (unless you craft an entire stack of dyes, you only receive one of each replaced item, but I think this is a problem with minetest).

User avatar
wowiamdiamonds
Member
Posts: 13
Joined: Sat Jul 14, 2012 10:21

by wowiamdiamonds » Post

Updated: now includes light, medium, and dark multicolor bricks.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

cornernote wrote:It "spawns", but it never "respawns". Sorry I should have been more clear. Basically it never grows back. I would like if over time it did grow back.
We need clay pits like caesar 3/4 :-)

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

This mod is used on VanessaE's Creative Server, but it looks like it isn't supported anymore. There are bug fixes that need to be done (when colored bricks are dug up, they do not appear in the inventory,) and the textures could take up less space by using the .png cruncher. Also, there could be a small chance of the colored clay spawning in the world.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
VanessaE
Moderator
Posts: 4554
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

I once tried to look into fixing this mod but I just couldn't make sense of the code.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Like with colored_woods and stained_glass, a coloring machine could be used for this mod.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
VanessaE
Moderator
Posts: 4554
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

I suck at using formspecs or I'd have made something like that for Coloredwoods actually. :D
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Maybe Sokomine would know what to do here? She was the original creator of the circular saw, which is now part of moreblocks.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

Sokomine
Member
Posts: 4170
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

by Sokomine » Post

Such a formspec might be very useful for selecting colors, yes. Someone else asked for a similar formspec/functionality to select one option out of several. The question with the painting machine is: How would it be supposed to work? Insert unpainted material, klick on desired color, get the painted material? Or should it ask for the necessary indigrents for that particular color (i.e. color pigments)? It could also store 3 basic pigments and create all the necessary colors out of them.
A list of my mods can be found here.

User avatar
VanessaE
Moderator
Posts: 4554
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

The way I see it working is you build this hypothetical machine, place it, and then insert the material you want to colorize into one slot, and a few stacks of dyes of various dyes into several other slots so dedicated. Select how many colored objects you want, then click a color swatch (which should be a formspec button, not an inventory slot). The machine takes from its inventory whatever it needs to to make as many of the colored object as you requested (or as many as it can if less).

If it's at all possible, the machine should adapt its available palette choices according to the material being inserted, so that for example coloredwoods are given fewer choices than unified bricks, which gets fewer yet than stained glass.

Obviously the machine should behave as if it's "locked" when it has stuff in it, so that you can safely leave it alone still filled with dyes, and come back to it later when needed.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Sokomine
Member
Posts: 4170
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

by Sokomine » Post

The finished color machine can be found here: colormachine / spray booth. Just wanted it linked to this thread because part of the relevant discussion happened here - and of course the mod is very useful for unified bricks.
A list of my mods can be found here.

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Sokomine wrote:The finished color machine can be found here: colormachine / spray booth. Just wanted it linked to this thread because part of the relevant discussion happened here - and of course the mod is very useful for unified bricks.
For each of the mods that are compatible with the spray booth, their colorable nodes could be taken out of the creative inventory if the device is detected.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
VanessaE
Moderator
Posts: 4554
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

I've got a fork of unified bricks that has been so modified:

https://github.com/VanessaE/unifiedbric ... its/master
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 8 guests