Custom Livery Issue

Discussion in 'Automobilista 2 - Help & Support' started by Checo_CZ, Nov 15, 2022.

  1. Checo_CZ

    Checo_CZ New Member

    Joined:
    Nov 7, 2021
    Messages:
    17
    Likes Received:
    2
    Yo mates, i'm having an issue with the custom liveries.
    Basically something's going wrong with the VSCode file (it doesn't even showed up the folder file embed autocomplete) and the game doesn't have changes. Pics below.
    upload_2022-11-14_23-41-1.png
    upload_2022-11-14_23-41-33.png
    upload_2022-11-14_23-41-48.png
     
  2. Scar666

    Scar666 Zum Glück bin ich verrückt

    Joined:
    Jul 1, 2020
    Messages:
    1,232
    Likes Received:
    1,378
    You need to add a slash to end the livery override...


    <LIVERY_OVERRIDE LIVERY="51" NAME="My Racing Team #38" BASELIVERY="Default">
    <PREVIEWIMAGE PATH="myracingteam\preview38.dds" />
    <TEXTURE NAME="BODY" PATH="myracingteam\body38.dds" />
    <TEXTURE NAME="WINDSCREEN" PATH="myracingteam\body38_w.dds" />
    </LIVERY_OVERRIDE>
     
  3. Checo_CZ

    Checo_CZ New Member

    Joined:
    Nov 7, 2021
    Messages:
    17
    Likes Received:
    2
    No changes...
    upload_2022-11-15_19-20-25.png
    upload_2022-11-15_19-20-43.png
    upload_2022-11-15_19-20-56.png
     
  4. Scar666

    Scar666 Zum Glück bin ich verrückt

    Joined:
    Jul 1, 2020
    Messages:
    1,232
    Likes Received:
    1,378
    Ah, well there's another missed slash and an extra line in yours that I missed the first glance... My bad...

    The working code for you is...

    <USER_OVERRIDES>
    <LIVERY_OVERRIDE LIVERY="51" NAME="My Racing Team #38" BASELIVERY="Default">
    <PREVIEWIMAGE PATH="world stock car series\drogariabrasil_preview.dds" />
    <TEXTURE NAME="BODY" PATH="world stock car series\drogariabrasil.dds" />
    <TEXTURE NAME="WINDSCREEN" PATH="myracingteam\body38_w.dds" />
    </LIVERY_OVERRIDE>
    </USER_OVERRIDES>

    Get rid of the extra "<USER_OVERRIDES>" as that will restart the file looking for overrides and ignore your data... I suggest deleting the first one as the second one is easier to see outside of the livery override code...

    You will also want to direct the BODY to the skin file not the preview file as I have in the above code...

    Another suggestion would be to use shorter file and folder names... Like "WSCS" for "world stock car series" as it allows for less chances of typos causing issues...
     
    Last edited: Nov 16, 2022
  5. Checo_CZ

    Checo_CZ New Member

    Joined:
    Nov 7, 2021
    Messages:
    17
    Likes Received:
    2
    yes, i solved the problem! thanks m8!
     
    • Like Like x 1

Share This Page