More lights from Mel (and other modelling stuff)

Thanks, yeah. That was roughly what I had in mind.
Currently Stonehearth does not support transparency but during the stream sdee told me they are going to work on it at some point.

2 Likes

I guessed; I’m not with my own concepts, but I can usually translate and work with someone else’s pretty well.

I hope my directions came out well enough for you to work with them. I watched part of a youtube video on Magicavoxel’s transparency settings, which used water for the tutorial, and when he mentioned the light setting, it gave me the idea of ā€œhidingā€ an inside brighter yellow with high light based settings, and an outside layer with a darker yellow and more roughness/refraction to give the final effect.

Helps I knew the idea of how it should look, my grandmother used lanterns like that in the barn a lot when I was a kid, and her old space heater had a similar look to it :slight_smile:

-edit-

Hmm, could ask @fantasyworm how he got the semi-transparent windows in the most recent update to his mod. Maybe see if the different means can be melded into a working final effect?

Temporary solution colouring? I was trying to replicate the shading/glow effect with the colour shades…not sure how well I managed to achieve my goal though * le sigh *

tempcolourlamp.qb (5.8 KB)

2 Likes

Wow. Now that’s interesting. Would like to know that, too.
Now that Starbound is out, I’m tinkering with mods in it, but I come back to take a look at how SH progresses from time to time.

Sorry for very late reply!

Advise from Relyss

I suggest you check this since all I did was applying this to my mod.

It says I don’t have permission to see it.
Or was it for @Kittyodoom only?

PS. I’m sunk in Starbound currently but I return to SH every now and then to check out the news.

1 Like

I can’t see it either actually

1 Like

Sure :slight_smile: (I’m still far away from releasing an update to Candyland).

You have to use color maps. The structure should be like this:

> -your_mod
>     -data
>         -materials
>             -color_maps
>                 -translucent_color_map.json
>             -material_maps
>                 -translucent_material_map.json

translucent_color_map.json should include something like this (these hex colors are the ones you want to make semi-transparent, this way you can have even entities with a mix of solid and translucent voxels):

> {
> 	"#F0B758" : "your_mod:translucent",
> 	"#E5AF54" : "your_mod:translucent",
> 	"#FEC467" : "your_mod:translucent"
> }

translucent_material_map.json should include this:

> {
>    "your_mod:translucent" : {
>       "render_material" : "/your_mod/data/horde/materials/translucent.material.json"
>    }
> }

translucent.material.json should be a copy of the transparent_with_depth.material.json (this way you can fiddle with the values inside). You can also try to create your own material by looking at the other materials on the stonehearth/data/horde/materials folder, and copying or mixing things (be careful with the values, all the renderer things can easily make the game crash).

Lastly, you have to apply the maps to the entity you want to make transparent (make sure to add the alias your_mod:color_map:translucent to your manifest, pointing to translucent_color_map.json ):

> "components" : {
>     "render_info" : {
>         "color_map": "your_mod:color_map:translucent",
>          "material_maps": [	    
> 	    "/your_mod/data/materials/material_maps/translucent_material_map.json",
>         ]
>     }
> }

I hope this works for you :smiley:

I directly copied it. I guess it was sealed as a personal message.

6 Likes

Yes, other users can’t see PMs unless invited. :slight_smile:

I formatted a bit your post so it’s more readable. BTW, you can also mix this with palettes (I do it for Candyland).

Just take into account that translucent parts won’t cast shadows, and if they’re into fog of war, they will look shiny :confused: (just minor render annoyances).

6 Likes

Thank you very much for the palette. It helped me a lot, while learning to create stuff for SH in MagicaVoxel.

Happy you’ve found it useful!
Unfortunately I currently have not much time to apply all my ideas to SH - sometimes real life strikes back. Hopefully I will have some spare time soon to return to modelling (and this time try something transparent!).

3 Likes

I absolutely know, what you are talking about.
I would have to lock myself in into a remote mountain cabin, to find the time for all my ideas - but then, most of those cabins don’t have electricity :laughing:

1 Like

Allright floks, time for some news.

  1. I’m not dead
  2. Really, I’m not
  3. I’m working on updating MLM for Alpha 20 in accordance with (Radiant mod framework changes), hopefully available Soonā„¢
  4. I’ve detected some transparency in work for township monuments and I’m eager to play with it
    I really hope someone uses this. Anyway, while a new version of MLM is not available, have a pony instead.

Edit: okay, it’s (mostly) fixed, new test version is on Github. Note that all text strings are currently broken. @Wiese2007 any help here? Do you know what might be the problem?
Bonus: all new recipes have a small lamp sign in the bottom left corner of their icon. The idea is shamelessly stolen from Candledark.

6 Likes

… im honest i cant find a problem -.- also shed says its all ok … sooo i will look in the evening into it again xD

1 Like

Pretty simple, your mod name in the manifest is not the same from your mod folder, and is not the same from the objects alias. Also, avoid the character -, I think it is invalid, use _ instead (there is a few characters that we should avoid)

1 Like

Experimenting with some new cool MagicaVoxel features.
Unfortunately all these cool settings are unavailable in SH.
But. And I will emphathise on tha ā€œbutā€. There is a true thing about the picture: I don’t like all of my lamps to be currently only iron/steel. So some will be remade for earlier tiers. Iron becoming brass and tin with some copper thrown in later for good measure. Also, I’m completely reworking my naming system to maintain uniform naming throughout the mod. That being said, it’s not the most thrilling work, but I tend to procrastinate like that instead of organising my table.

And that’s where I need your help. Artistic sense in not my strong part. What colours would you like to see? Any reference pictures?

PS. An afterthought. Currently SH seems to support ā€œmetallicā€ reflective surfaces (engineer’s workbench and turrets), so maybe material properties are not that impossible.

3 Likes

Hmmm could be… But my german-Translation has also an - in it… Will Check it when im Home xD

There is an old kerosene lantern in my attic, that looks quite like your model here. It’s made of dark green painted metal. Maybe dark green could fit here, too? Great model, btw.

How do you manage the scale from magicavox to stonehearth?

I added scale parameter into my JSON.

2 Likes