PC Paint another block

Gamer_62

New member
What determines which block can be painted ?..where is it written ?

I am trying to paint the top of a hatch showing a concrete top...thought it would be a simple :-

<property name="Paintable" value="true"/>

But not i guess :smile-new:

 
A hatch is a different type of item than a paintable block. I am not sure of the proper class for it? Item vs block I think? Same goes for doors.

 
Not an expert on this but, I assume every paintable block has some sort of mask for textures to be applied on. So it's not gonna be a simple xml edit.

 
I'd say that if you can interact with it, you can not paint it.
Sort of... you can paint crates and still interact with them. More like if it has moving parts you cannot paint it.

But other things like signs cannot be painted, either, so... /shrug

 
Sort of... you can paint crates and still interact with them. More like if it has moving parts you cannot paint it.
But other things like signs cannot be painted, either, so... /shrug
Perhaps I should have worded it better.

Moving elements(or anything appearing on it that is not raw texture, temporarily or permanent) is a no go.

Plus, you can't really paint a regular chest, can you?

 
Animated objects have a texture assigned to them in unity, regular blocks get "painted" by code, from a texture atlas.

 
Some things with moving parts can be painted.

600_7aec226e-5d14-442e-8504-8dba94c451f5.gif


 
if it has shape = new then its paintable, otherwise its not

the ShapeNew is created with code rather than being a model, and the render method is where the paint stuff is applied

 
Back
Top