Solved Barstow Tachometer Reskin Help Needed

Discussion in 'Mod Support' started by 440cid, Aug 5, 2016.

  1. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    Hi, I recently tried creating a skin of Barstow's tachometer, I wanted to make one with 7000 RPM limit with redline starting from 5000 RPM. I edited the images on Photoshop that has Nvidia DDS plugin.

    The gauges needle suddenly went black and I saw ghosting of the original tach skin. Picture is attached.

    Can you assist me on making this skin work properly and how to readjust the tach needle so it shows correct current RPM? Thanks!
     

    Attached Files:

    • 20160805164631_1.jpg
  2. meywue

    meywue
    Expand Collapse
    BeamNG Team

    Joined:
    Nov 19, 2015
    Messages:
    346
    Hey,

    please provide us all the files either in this thread or here so we can have a closer look! :)
     
  3. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    Apologies for the late reply, here it is.
     

    Attached Files:

  4. meywue

    meywue
    Expand Collapse
    BeamNG Team

    Joined:
    Nov 19, 2015
    Messages:
    346
    We solved the issue in a pm. Anyways I would like to provide you all the solution for the problem.

    It was related to the uv layout for the needles.
    If you create a mesh you have to create uv's for them. They represent the position of the meshes on a 2d texture.

    Normally the needles use the same texture of the gauges so the UVs of them needs to be placed on a part which represent the correct color.

    I added a picture where I tried to indicate the position of the UV's (top = user's texture ; beneath = default game texture)
    So as you can see the needle appears black since the UV's are based on a black part of the texture.


    The 'ghosting' is related to the default normal map, which was still used.

    Furthermore to adjust the tacho to show proper values, you have to have a look at the following line in the barstow_body.jbeam in the props section:

    Code:
    ["rpm",         "barstow_needle_tacho", "b2r","b2l","b3r", {"x":95, "y":0, "z":0}, {"x":0, "y":-0.045, "z":0}     , {"x":0, "y":0, "z":0}, 0, 5000, -2500, 1],
     

    Attached Files:

    • tacho4.PNG
  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