Where does the game defines what .yft belongs to which vehicle?
-
-
I created a custom livery for a vehicle.
In open IV its called example: jester3_livery1.yft
How does the game associate wherer the .yft belongs?
exmaple: the jester 3 has 10 livery .yftWhere is this defined? by the name only?
THANKS!
-
-
@Jayk0b
They are defined in the jester3's 'carcols.meta':...\mods\update\update.rpf\dlc_patch\mpassault\common\data\carcols.meta
In the '<visibleMods>' section:
Example:
<Item> <modelName>jester3_livery1</modelName> <modShopLabel>JEST3_LIV1</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery2</modelName> <modShopLabel>JEST3_LIV2</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery3</modelName> <modShopLabel>JEST3_LIV3</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery4</modelName> <modShopLabel>JEST3_LIV4</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery5</modelName> <modShopLabel>JEST3_LIV5</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery6</modelName> <modShopLabel>JEST3_LIV6</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery7</modelName> <modShopLabel>JEST3_LIV7</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery8</modelName> <modShopLabel>JEST3_LIV8</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery9</modelName> <modShopLabel>JEST3_LIV9</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item> <Item> <modelName>jester3_livery10</modelName> <modShopLabel>JEST3_LIV10</modShopLabel> <linkedModels /> <turnOffBones /> <type>VMT_LIVERY_MOD</type> <bone>chassis</bone> <collisionBone>chassis</collisionBone> <cameraPos>VMCP_DEFAULT</cameraPos> <audioApply value="1.000000" /> <weight value="20" /> <turnOffExtra value="false" /> <disableBonnetCamera value="false" /> <allowBonnetSlide value="true" /> </Item>
-
@a63nt-5m1th Thank you VERY much for this info!
So if id create a custom livery i just copy example livery 10 and make it livery 11?Can i add liveries to vehicles that normaly do not have them? (Example Benefactor Dubsta)
I know there are flags for "FLAG_HAS_LIVERY" or simillar.The Jester Designs have all names ingame in the Los Santos Customs Designs like "Fukaru" i think its the 10th design.
But ModShopLabel says "JEST3_LIV10".How to i define the Shop Name the Player can see when hes in LSC?
Thanks!
-
@Jayk0b said in Where does the game defines what .yft belongs to which vehicle?:
So if id create a custom livery i just copy example livery 10 and make it livery 11?
I think so, should just be that easy
(as long as you have created the livery.yft correctly)
GTA V has a few different ways to create/implement liveries. From simple sign_## textures in the vehicle's '.ytd', to (like the jester3) '.yft' models
Might be some useful info in this thread
@Jayk0b said in Where does the game defines what .yft belongs to which vehicle?:
Can i add liveries to vehicles that normaly do not have them?
Generally, no. Not unless you edit the vehicle in ZModeler3 to make it compatible/capable of accepting multiple liveries
@Jayk0b said in Where does the game defines what .yft belongs to which vehicle?:
How to i define the Shop Name the Player can see when hes in LSC?
Not sure, but probably in a '.gxt2' file, or perhaps in 'carcols.ymt/.meta'