Unsolved how to make a roof paintable

Discussion in 'Mod Support' started by KaiserimnopYT, Aug 8, 2017.

  1. KaiserimnopYT

    KaiserimnopYT
    Expand Collapse

    Joined:
    Oct 9, 2016
    Messages:
    3,960
    i want to make the roof of the etk 800 paintable
    should i do a skin or i use this code:
    singleton Material(paint_roof)
    {
    mapTo = "paint_roof";
    materialTag0 = "ETK"; materialTag1 = "vehicle";
    colorMap[0] = "vehicles/ETK.../white.dds";
    pixelSpecular[0] = "1";
    diffuseColor[0] = "0.988235 0.996078 0.988235 0.396";
    instanceDiffuse[0] = 1;
    dynamicCubemap = true;
    };
    thx to help me
     
  2. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    In order to do that you would have to edit the 3d model and change how its materials are mapped*. As such I think you should probably create a skin.

    * So you would have to select all of the polygons on the roof that you want set to that colour, and then create a separate material for them. You would also then have to sort out all of the UV mapping and/or texturing work that was done on the original vehicle. This isn't to say that it isn't possible, its just not a good way to do it.
     
    • Informative Informative x 1
  3. KaiserimnopYT

    KaiserimnopYT
    Expand Collapse

    Joined:
    Oct 9, 2016
    Messages:
    3,960
    the most simply is make a skin im right ?
     
  4. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    I would imagine so.
     
    • Like Like x 1
  5. KaiserimnopYT

    KaiserimnopYT
    Expand Collapse

    Joined:
    Oct 9, 2016
    Messages:
    3,960
    oh u edit it
    --- Post updated ---
    little bit complicated
    --- Post updated ---
    well i will do a skin i think
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice