multiple .ytd dictionaries as vehicle liveries
-
Hi,
I'm trying to use these skins , for this add-on models.To install the skin i have to replace the corresponding .ytd
But, my question is, is it possible to make all of them as vehicle liveries? So i have only one model with all of these skins as liveries that i can switch in game with a trainer for example?
I have other add-ons which have some liveries. So i think it is possible, but have i to do some texture editing or i can get this just by edit some configuration?
I already dug in .meta files, this is the uh1raaf:<?xml version="1.0" encoding="UTF-8"?> <CVehicleModelInfo__InitDataList> <residentTxd>vehshare</residentTxd> <residentAnims /> <InitDatas> <Item> <modelName>uh1raaf</modelName> <txdName>uh1raaf</txdName> <handlingId>RAAF</handlingId> <gameName>VALKYRIE</gameName> <vehicleMakeName /> <expressionDictName>null</expressionDictName> <expressionName>null</expressionName> <animConvRoofDictName>null</animConvRoofDictName> <animConvRoofName>null</animConvRoofName> <animConvRoofWindowsAffected /> <ptfxAssetName>veh_mounted_turrets_heli</ptfxAssetName> <audioNameHash /> <layout>LAYOUT_HELI_VALKYRIE</layout> <coverBoundOffsets>VALKYRIE_COVER_OFFSET_INFO</coverBoundOffsets> <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo> <scenarioLayout /> <cameraName>FOLLOW_HELI_CAMERA</cameraName> <aimCameraName>MAVERICK_AIM_CAMERA</aimCameraName> <bonnetCameraName>ANNIHILATOR_BONNET_CAMERA</bonnetCameraName> <povCameraName>HELI_POV_CAMERA</povCameraName> <povTurretCameraName>POV_TURRET_CAMERA_VALKYRIE</povTurretCameraName> <FirstPersonDriveByIKOffset x="0.035000" y="-0.215000" z="-0.018000" /> <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.083000" z="-0.028000" /> <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonMobilePhoneOffset x="0.165000" y="0.345000" z="0.490000" /> <FirstPersonPassengerMobilePhoneOffset x="0.190000" y="0.283000" z="0.448000" /> <PovCameraOffset x="-0.050000" y="-0.020000" z="0.645000" /> <PovCameraVerticalAdjustmentForRollCage value="0.000000" /> <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.055000" /> <vfxInfoName>VFXVEHICLEINFO_HELI_GENERIC</vfxInfoName> <shouldUseCinematicViewMode value="true" /> <shouldCameraTransitionOnClimbUpDown value="false" /> <shouldCameraIgnoreExiting value="false" /> <AllowPretendOccupants value="false" /> <AllowJoyriding value="true" /> <AllowSundayDriving value="true" /> <AllowBodyColorMapping value="true" /> <wheelScale value="0.080000" /> <wheelScaleRear value="0.080000" /> <dirtLevelMin value="0.000000" /> <dirtLevelMax value="0.800000" /> <envEffScaleMin value="0.000000" /> <envEffScaleMax value="0.200000" /> <envEffScaleMin2 value="0.000000" /> <envEffScaleMax2 value="0.200000" /> <damageMapScale value="0.300000" /> <damageOffsetScale value="1.000000" /> <diffuseTint value="0x00FFFFFF" /> <steerWheelMult value="1.000000" /> <HDTextureDist value="5.000000" /> <lodDistances content="float_array"> 20.000000 90.000000 130.000000 260.000000 750.000000 750.000000 </lodDistances> <identicalModelSpawnDistance value="20" /> <maxNumOfSameColor value="10" /> <defaultBodyHealth value="1000.000000" /> <pretendOccupantsScale value="1.000000" /> <visibleSpawnDistScale value="1.500000" /> <trackerPathWidth value="2.000000" /> <weaponForceMult value="1.000000" /> <frequency value="100" /> <swankness>SWANKNESS_4</swankness> <maxNum value="999" /> <flags>FLAG_NO_BOOT FLAG_LAW_ENFORCEMENT FLAG_DRIVER_NO_DRIVE_BY FLAG_NO_RESPRAY FLAG_ALLOWS_RAPPEL FLAG_DONT_SPAWN_IN_CARGEN FLAG_DONT_SPAWN_AS_AMBIENT FLAG_DONT_TIMESLICE_WHEELS FLAG_HAS_TURRET_SEAT_ON_VEHICLE FLAG_USE_TURRET_RELATIVE_AIM_CALCULATION</flags> <type>VEHICLE_TYPE_HELI</type> <plateType>VPT_NONE</plateType> <dashboardType>VDT_LAZER</dashboardType> <vehicleClass>VC_HELICOPTER</vehicleClass> <wheelType>VWT_SPORT</wheelType> <trailers /> <additionalTrailers /> <drivers> <Item> <driverName>s_m_y_swat_01</driverName> <npcName /> </Item> </drivers> <extraIncludes /> <doorsWithCollisionWhenClosed> <Item>VEH_EXT_DOOR_DSIDE_R</Item> <Item>VEH_EXT_DOOR_PSIDE_R</Item> </doorsWithCollisionWhenClosed> <driveableDoors> <Item>VEH_EXT_DOOR_DSIDE_R</Item> <Item>VEH_EXT_DOOR_PSIDE_R</Item> </driveableDoors> <bumpersNeedToCollideWithMap value="false" /> <needsRopeTexture value="true" /> <requiredExtras /> <rewards> <Item>REWARD_WEAPON_SNIPERRIFLE</Item> <Item>REWARD_AMMO_SNIPERRIFLE</Item> <Item>REWARD_STAT_WEAPON</Item> </rewards> <cinematicPartCamera> <Item>HELI_REAR_ROTOR_CAMERA</Item> </cinematicPartCamera> <NmBraceOverrideSet /> <buoyancySphereOffset x="0.000000" y="0.000000" z="-0.500000" /> <buoyancySphereSizeScale value="0.900000" /> <pOverrideRagdollThreshold type="NULL" /> </Item> </InitDatas> <txdRelationships> <Item> <parent>vehicles_jet_interior</parent> <child>uh1raaf</child> </Item> <Item> <parent>vehicles_jet_interior</parent> <child>uh1raaf2</child> </Item> <Item> </Item> </txdRelationships> </CVehicleModelInfo__InitDataList>
Example add-on with liveries link
<?xml version="1.0" encoding="UTF-8"?> <CVehicleModelInfo__InitDataList> <residentTxd>vehshare</residentTxd> <residentAnims /> <InitDatas> <Item> <modelName>mh60l</modelName> <txdName>mh60l</txdName> <handlingId>MH60L</handlingId> <gameName>MH60L</gameName> <vehicleMakeName /> <expressionDictName>null</expressionDictName> <expressionName>null</expressionName> <animConvRoofDictName>null</animConvRoofDictName> <animConvRoofName>null</animConvRoofName> <animConvRoofWindowsAffected /> <ptfxAssetName>veh_mounted_turrets_heli</ptfxAssetName> <audioNameHash>HUNTER</audioNameHash> <layout>LAYOUT_HELI_MH60L</layout> <coverBoundOffsets>VALKYRIE_COVER_OFFSET_INFO</coverBoundOffsets> <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo> <scenarioLayout /> <cameraName>FOLLOW_HELI_CAMERA</cameraName> <aimCameraName>MAVERICK_AIM_CAMERA</aimCameraName> <bonnetCameraName>ANNIHILATOR_BONNET_CAMERA</bonnetCameraName> <povCameraName>HELI_POV_CAMERA</povCameraName> <povTurretCameraName>POV_TURRET_CAMERA_VALKYRIE</povTurretCameraName> <FirstPersonDriveByIKOffset x="0.035000" y="-0.215000" z="-0.018000" /> <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.083000" z="-0.028000" /> <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" /> <FirstPersonMobilePhoneOffset x="0.165000" y="0.345000" z="0.490000" /> <FirstPersonPassengerMobilePhoneOffset x="0.190000" y="0.283000" z="0.448000" /> <PovCameraOffset x="-0.050000" y="-0.020000" z="0.645000" /> <PovCameraVerticalAdjustmentForRollCage value="0.000000" /> <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.055000" /> <vfxInfoName>VFXVEHICLEINFO_HELI_GENERIC</vfxInfoName> <shouldUseCinematicViewMode value="true" /> <shouldCameraTransitionOnClimbUpDown value="false" /> <shouldCameraIgnoreExiting value="false" /> <AllowPretendOccupants value="false" /> <AllowJoyriding value="true" /> <AllowSundayDriving value="true" /> <AllowBodyColorMapping value="true" /> <wheelScale value="0.080000" /> <wheelScaleRear value="0.080000" /> <dirtLevelMin value="0.000000" /> <dirtLevelMax value="0.800000" /> <envEffScaleMin value="0.000000" /> <envEffScaleMax value="0.200000" /> <envEffScaleMin2 value="0.000000" /> <envEffScaleMax2 value="0.200000" /> <damageMapScale value="0.300000" /> <damageOffsetScale value="1.000000" /> <diffuseTint value="0x00FFFFFF" /> <steerWheelMult value="1.000000" /> <HDTextureDist value="5.000000" /> <lodDistances content="float_array"> 20.000000 90.000000 130.000000 260.000000 750.000000 750.000000 </lodDistances> <identicalModelSpawnDistance value="20" /> <maxNumOfSameColor value="10" /> <defaultBodyHealth value="1000.000000" /> <pretendOccupantsScale value="1.000000" /> <visibleSpawnDistScale value="1.500000" /> <trackerPathWidth value="2.000000" /> <weaponForceMult value="1.000000" /> <frequency value="100" /> <swankness>SWANKNESS_4</swankness> <maxNum value="999" /> <flags>FLAG_NO_BOOT FLAG_LAW_ENFORCEMENT FLAG_DRIVER_NO_DRIVE_BY FLAG_NO_RESPRAY FLAG_HAS_LIVERY FLAG_ALLOWS_RAPPEL FLAG_DONT_SPAWN_IN_CARGEN FLAG_DONT_SPAWN_AS_AMBIENT FLAG_DONT_TIMESLICE_WHEELS FLAG_HAS_TURRET_SEAT_ON_VEHICLE FLAG_USE_TURRET_RELATIVE_AIM_CALCULATION</flags> <type>VEHICLE_TYPE_HELI</type> <plateType>VPT_NONE</plateType> <dashboardType>VDT_MAVERICK</dashboardType> <vehicleClass>VC_HELICOPTER</vehicleClass> <wheelType>VWT_SPORT</wheelType> <trailers /> <additionalTrailers /> <drivers> <Item> <driverName>s_m_y_swat_01</driverName> <npcName /> </Item> </drivers> <extraIncludes /> <doorsWithCollisionWhenClosed /> <driveableDoors /> <bumpersNeedToCollideWithMap value="false" /> <needsRopeTexture value="true" /> <requiredExtras /> <rewards> <Item>REWARD_WEAPON_SNIPERRIFLE</Item> <Item>REWARD_AMMO_SNIPERRIFLE</Item> <Item>REWARD_STAT_WEAPON</Item> </rewards> <cinematicPartCamera> <Item>HELI_REAR_ROTOR_CAMERA</Item> </cinematicPartCamera> <NmBraceOverrideSet /> <buoyancySphereOffset x="0.000000" y="0.000000" z="-0.500000" /> <buoyancySphereSizeScale value="0.900000" /> <pOverrideRagdollThreshold type="NULL" /> </Item> </InitDatas> <txdRelationships> <Item> <parent>vehicles_jet_interior</parent> <child>mh60l1</child> </Item> <Item> <parent>mh60l1</parent> <child>mh60l</child> </Item> </txdRelationships> </CVehicleModelInfo__InitDataList>
The only noticeable difference that i got is the FLAG_HAS_LIVERY and the txdRelationships element, but i don't understand how the latter works.
Any tips, or doc that i can follow?
Thank you all