Results 1 to 10 of 10

Thread: Paint another block

  1. #1
    Hunter
    Join Date
    Mar 2014
    Posts
    112
    Rep Power
    0

    Paint another block

    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

  2. #2
    Nomad JCrook1028's Avatar
    Join Date
    Oct 2016
    Location
    TB area Florida
    Posts
    363
    Rep Power
    1
    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.

  3. #3
    Tracker Kam R.'s Avatar
    Join Date
    Apr 2017
    Posts
    186
    Rep Power
    1
    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.

  4. #4
    Reconstructionist Katitof's Avatar
    Join Date
    Dec 2013
    Posts
    568
    Rep Power
    1
    I'd say that if you can interact with it, you can not paint it.

  5. #5
    Colony Founder Maharin's Avatar
    Join Date
    Jan 2015
    Location
    Michigan, USA
    Posts
    3,607
    Rep Power
    1
    Quote Originally Posted by Katitof View Post
    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

  6. #6
    Reconstructionist Katitof's Avatar
    Join Date
    Dec 2013
    Posts
    568
    Rep Power
    1
    Quote Originally Posted by Maharin View Post
    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?

  7. #7
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Houston-ish, Texas
    Posts
    17,398
    Rep Power
    1
    Animated objects have a texture assigned to them in unity, regular blocks get "painted" by code, from a texture atlas.

  8. #8
    Colony Founder Maharin's Avatar
    Join Date
    Jan 2015
    Location
    Michigan, USA
    Posts
    3,607
    Rep Power
    1
    Some things with moving parts can be painted.


  9. #9
    Colony Founder StompyNZ's Avatar
    Join Date
    Apr 2015
    Posts
    3,778
    Rep Power
    1
    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

  10. #10
    Hunter
    Join Date
    Mar 2014
    Posts
    112
    Rep Power
    0
    Thanks all,Hope we can paint all in the future

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •