Gamer_62 Posted April 3, 2018 Share Posted April 3, 2018 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 Link to comment Share on other sites More sharing options...
JCrook1028 Posted April 3, 2018 Share Posted April 3, 2018 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. Link to comment Share on other sites More sharing options...
Kam R. Posted April 3, 2018 Share Posted April 3, 2018 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. Link to comment Share on other sites More sharing options...
Katitof Posted April 3, 2018 Share Posted April 3, 2018 I'd say that if you can interact with it, you can not paint it. Link to comment Share on other sites More sharing options...
Maharin Posted April 3, 2018 Share Posted April 3, 2018 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 Link to comment Share on other sites More sharing options...
Katitof Posted April 3, 2018 Share Posted April 3, 2018 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? Link to comment Share on other sites More sharing options...
Guppycur Posted April 3, 2018 Share Posted April 3, 2018 Animated objects have a texture assigned to them in unity, regular blocks get "painted" by code, from a texture atlas. Link to comment Share on other sites More sharing options...
Maharin Posted April 4, 2018 Share Posted April 4, 2018 Some things with moving parts can be painted. Link to comment Share on other sites More sharing options...
StompyNZ Posted April 4, 2018 Share Posted April 4, 2018 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 Link to comment Share on other sites More sharing options...
Gamer_62 Posted April 5, 2018 Author Share Posted April 5, 2018 Thanks all,Hope we can paint all in the future Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.