Difference between revisions of "Carvariations.ymt"

From GTAMods Wiki
Jump to navigation Jump to search
m (windowsWithExposedEdges)
(updating a bit)
Line 1: Line 1:
{{stub}}For assigning colors, kits, lights, etc to vehicles. For modifying these settings, see [[carcols.ymt]].
+
For assigning colors, kits, lights, etc to vehicles. For modifying these settings, see [[carcols.ymt]].
 
=variationData=
 
=variationData=
 
==modelName==
 
==modelName==
 
Vehicle model name.
 
Vehicle model name.
 
==colors==
 
==colors==
 +
There can be only 25 color variations per vehicle. Exceeding that amount will cause color ID's to overlap eachother.
 
===indices===
 
===indices===
Colors IDs, called from [[carcols.ymt]].
+
Colors IDs, called from [[carcols.ymt]]. Those ID's are listed in an array with up to 6 ID's.
 +
*'''First ID:''' Primary Color
 +
*'''Second ID:''' Secondary Color
 +
*'''Third ID:''' Pearlescent Color
 +
*'''Fourth ID:''' Wheel Color
 +
*'''Fifth ID:''' Extra1 Color (typically used for interiors)
 +
*'''Sixth ID:''' Extra2 Color (typically used for dials)
 +
Some recent DLC vehicles feature a seventh color ID, however it doesn't do anything and is ignored by the game.
 
===liveries===
 
===liveries===
Sets whether or not to use a livery texture in the vehicle's .ytd.
+
Sets whether or not to use a livery texture in the vehicle's .ytd. This will not toggle on modkit liveries or livery2's.
 
:'''Value:''' true or false.
 
:'''Value:''' true or false.
 
The '''Item'''s position under liveries is the texture's number. Example: If you wanted to set the Marshall to use livery #8 (flag_sign_8 in marshall.ytd), you would set the eighth Item to true.
 
The '''Item'''s position under liveries is the texture's number. Example: If you wanted to set the Marshall to use livery #8 (flag_sign_8 in marshall.ytd), you would set the eighth Item to true.
Line 26: Line 34:
 
*Yellow Plate
 
*Yellow Plate
 
*Police guv plate
 
*Police guv plate
 +
*yankton plate
 +
If one creates custom license plates, any name defined in "TextureSetName" in [[carcols.ymt]] can be used here.
 
===Value===
 
===Value===
 
Percentage that it will be that color. Values should add up to 100.
 
Percentage that it will be that color. Values should add up to 100.
Line 31: Line 41:
 
Lighting assignment ID for the vehicle, called from [[carcols.ymt]].
 
Lighting assignment ID for the vehicle, called from [[carcols.ymt]].
 
==sirenSettings==
 
==sirenSettings==
Lighting assignment ID for the vehicle, called from [[carcols.ymt]]?
+
Siren assignment ID for the vehicle, called from [[carcols.ymt]].
 
{{GTA5-navi}}
 
{{GTA5-navi}}

Revision as of 00:02, 27 August 2020

For assigning colors, kits, lights, etc to vehicles. For modifying these settings, see carcols.ymt.

variationData

modelName

Vehicle model name.

colors

There can be only 25 color variations per vehicle. Exceeding that amount will cause color ID's to overlap eachother.

indices

Colors IDs, called from carcols.ymt. Those ID's are listed in an array with up to 6 ID's.

  • First ID: Primary Color
  • Second ID: Secondary Color
  • Third ID: Pearlescent Color
  • Fourth ID: Wheel Color
  • Fifth ID: Extra1 Color (typically used for interiors)
  • Sixth ID: Extra2 Color (typically used for dials)

Some recent DLC vehicles feature a seventh color ID, however it doesn't do anything and is ignored by the game.

liveries

Sets whether or not to use a livery texture in the vehicle's .ytd. This will not toggle on modkit liveries or livery2's.

Value: true or false.

The Items position under liveries is the texture's number. Example: If you wanted to set the Marshall to use livery #8 (flag_sign_8 in marshall.ytd), you would set the eighth Item to true.

kits

kitName in carcols.ymt that the vehicle uses.

windowsWithExposedEdges

  • window_lf
  • window_rf

plateProbabilities

Chances for what color license plate the vehicle will have.

Name

Name of the license plate color.

  • Standard White
  • White Plate 2
  • Blue Plate
  • Yellow Plate
  • Police guv plate
  • yankton plate

If one creates custom license plates, any name defined in "TextureSetName" in carcols.ymt can be used here.

Value

Percentage that it will be that color. Values should add up to 100.

lightSettings

Lighting assignment ID for the vehicle, called from carcols.ymt.

sirenSettings

Siren assignment ID for the vehicle, called from carcols.ymt.