Log in to reply
 

Add liveries to add-on car?



  • Hey,

    I want to add some liveries to this car so that I can customize the textures of the car directly from Enhanced Native Trainer's livery changer. However, I can't work out any way to add liveries.

    Here's the .ytd file for the model. The normal texture is called "boya"

    Image

    Can anyone help?



  • yup, single livery support, so you can only change that single one...

    If the model is unlocked you could make it multi-livery



  • This post is deleted!


  • @ReNNie Not sure whether it is unlocked or not, how could I go about finding out?



  • @FelixTheBlackCat you have tried adding more liveries like boya_1, boya_2 or boya1 boya2? then you have to go under carvariations.meta for that addon car and update the <liveries> section so it would like this

    <Item>
    <modelName>subwrx</modelName>
    <colors>
    <Item>
    <indices content="char_array">
    64
    64
    70
    37
    </indices>
    <liveries>
    <Item value="true" />
    <Item value="false" />
    </liveries>
    </Item>
    <Item>
    <indices content="char_array">
    64
    64
    70
    37
    </indices>
    <liveries>
    <Item value="false" />
    <Item value="true" />
    </liveries>
    </Item>



  • @FelixTheBlackCat i may have changed the modelname of the car from the original one so just update it to whatever its called on yours.



  • @Willief23 Thanks for the reply, I tried doing that but not sure if I did it right. Would you mind providing the entire .xml file? Thanks again.

    https://pastebin.com/raw/ccs5Usuq

    Here's the unedited version of it.



  • @FelixTheBlackCat just change each <liveries> section to
    <liveries>
    <Item value="true" />
    <Item value="false" />
    </liveries>

    and
    <liveries>
    <Item value="false" />
    <Item value="true" />
    </liveries>

    delete the extra 6 lines of <Item value="false" /> dont have time to show you the full meta file



  • @Willief23 said in Add liveries to add-on car?:

    you have tried adding more liveries like boya_1, boya_2 or boya1 boya2

    As far as I know, the liveries must be named something like boya_sign_1 in the model for liveries to work. It's probably something to do with how the game handles materials with the "_sign_1" bit on the end.



  • @Willief23 Which do I change to this and

    <Item value="true" />
    <Item value="false" />

    which do I change to this?

    <Item value="false" />
    <Item value="true" />

    I tried this and it didn't work.

    https://pastebin.com/raw/eRZMbXmD

    Sorry to bother you so much.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.