Solved Skin problem

Discussion in 'Mod Support' started by MillenniumJade™, Jan 13, 2018.

  1. MillenniumJade™

    MillenniumJade™
    Expand Collapse

    Joined:
    Sep 22, 2017
    Messages:
    71
    i make an simple uncolorable mod for sunburst, when i testing the skin, its just nothing in the body, i tried everything that i can but still doesnt works.
     

    Attached Files:

  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,794
    You should always check the console, as it often contains useful information.

    1.


    Some problem, before or at, line 5.
    You are missing a ; at the end of line 4.



    2.
    Then, the 'globalSkin' value you set does not match:




    3.
    The texture filename does not match.

    (Also suggest to add .dds at the end. Not required, but good practice)


     
  3. Nathan24™

    Nathan24™
    Expand Collapse
    Banned

    Joined:
    Apr 18, 2017
    Messages:
    2,670
    Sorry for off-topic but what is that checkered map in the picture?
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,794
    A map of mine that is not released yet.
     
  5. MillenniumJade™

    MillenniumJade™
    Expand Collapse

    Joined:
    Sep 22, 2017
    Messages:
    71
    The directory of the file still at the documents/BeamNG/vehicle/sunburst/vmsunburst right? And the value doesn't match, how much I gonna add the value?
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,794
    Yes, that's the directory I used to test your files.
    But that does not matter for your 'paths'.
    You only need to insert /vehicles/sunburst.. (no need to specify Documents/BeamNG.Drive or Steam/Steamapps/..)



    What value are you talking about? My screenshots above have everything highlighted or indicated with an arrow.

    If you mean point #2.
    You have globalSkin : "recycle"
    but in the materials.cs it is "sunburst_skin_recycle".


    You must make them the same.
    Either make all the three 'recycle' or 'sunburst_skin_recycle'

     
  7. MillenniumJade™

    MillenniumJade™
    Expand Collapse

    Joined:
    Sep 22, 2017
    Messages:
    71
    Should I restart the game after doing this
     
  8. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,794
    If you modify the names in the 'materials.cs', yes.
    If you modify the Jbeam, is not needed (just need to reload the vehicle using CTRL+R)
     
  9. MillenniumJade™

    MillenniumJade™
    Expand Collapse

    Joined:
    Sep 22, 2017
    Messages:
    71
    It's working, thanks!
     
  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