Log in to reply
 

Does anyone knows how to set default color for a vehicle?



  • Hi everyone~
    I have a question about colors.
    In carcaritions.meta, there are some code for colors, like below:

    <colors>
    <Item>
    <indices content="char_array">
    112
    112
    159
    156
    </indices>
    <liveries>
    <Item value="true" />
    <Item value="false" />
    <Item value="false" />
    <Item value="false" />
    <Item value="false" />
    <Item value="false" />
    <Item value="false" />
    <Item value="false" />
    </liveries>
    </Item>
    <colors>

    What means of these 4 numbers is?
    "112, 112, 159, 156"

    I noticed that "156" always showed up in 4th line, others are different.
    Do these number follow RGBA rule?
    like: R:112, G:112, B:159, A:156.
    But A must be in 1~100, so 156 is not right。



  • I am testing something, but I failed.

    Does anyone knows how to set default color when vechile use [Paint:1] or [Paint:2] label in material ?



  • @Yoha do you mean when the car spawns first time? you must choose the second "four numbers". these are for the first spawn and then so on. i think the first number 112 (white) is paint1 then follows paint2, dont know exactly whats the 3rd one (maybe interior for bennys) and the last is the wheel color. if you spawn the car second time the next colors will be chosen. so you have to edit every part with the 4 numbers. if i remember correctly its about 12 or 13 spawn colors. color index. every color has its number



  • @TobsiCred
    Thanks!!
    Your answer helps me, I will try my setting again.



  • @Yoha ok if you cant get it to work like you want, you can ask me again, and we can do the file together on codeshare.io or forum chat


Log in to reply
 

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