Default vehicle spawn color
-
How can one edit the default spawning colour for a specific vehicle? Is there any other way than create a template with Zmodeler for the vehicle in question with specific colour to make it spawn automatically with that colour? I would like to have answers since I won't be licensing my Zmodeler for a while now since being busy with work and studies.
So, is there a way?
-
@LeeC2202 is the right person, who might have an idea about this.
-
@Alekseyys You can set it in carvariations.meta. For instance, I have the Nissan Fairlady Z that I only ever want to spawn in a single configuration and that's yellow with a set livery, so in my carvariations.meta I have this:
<colors> <Item> <indices content="char_array"> 89 89 89 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>
That tells it to set the primary and secondary to colour code 89 (Race Yellow) and set the first livery to true. So whenever it spawns, it is always in that configuration.
Each set of colours you add, is an alternative it can spawn in on every subsequent spawn. So if you only want one colour, just have a single set of values.
The 1st Value is Primary Paint Colour
The 2nd Value is Secondary Paint Colour
The 3rd Value is used in combination with the 1st value, and can set metallic colours. It's what you'd class as the Pearlescent colour from what I can tell.
The 4th value is the rims colour and 156 is the default rims colour.If you set the 1st value to 156, that will enable the car to spawn with random colours. Not sure if that applies to the 2nd and 3rd values as well, I haven't tried it.
-
@Alekseyys you can spawn any vehicle with any color you want. You have to edit the vehicle in carvariations.meta file and then set the color.
You will need to download this mod
https://www.gta5-mods.com/tools/lsc-vehicle-colours-indexto figure out the color numbers to use for carvariations.meta
<Item>
<modelName>skyline</modelName>
<colors>
<Item>
<indices content="char_array">
61
61
6
1
</indices>
<liveries>
<Item value="false" />
</liveries>
</Item>The first 2 numbers 61 are for outside exterior colors. The third number 6 is for interior color and the last number is for rim colour.
-
lol Lee beat me to it
-
@Willief23 Thank you for helping out.
@LeeC2202 as always PleasureThanks alot.
-
Thank you guys! I do Really appreciate it. I'll look into this once I have time again. Take care!