Jump to content
zloganrox08

sheriff2 spawns tinted **HAVE EDITED VEHICLES.META**

Recommended Posts

So this has been a problem for a while, and I know about the vehicles.meta "diffusetint" line, it is currently set at 0x00FFFFFF. No matter what vehicle I put in the sheriff2 slot, it always spawns with black tint. In the picture below, I literally copied the exact same vehicle from the sheriff slot, and only changed the modelname lines in the vehicles.meta and carvariations.meta. sheriff is on the left, sheriff2 is on the right.

 

Anyone know what causes this? I'm starting to think it's a deeper problem because it's been a problem on my desktop, and now it's appearing on the fivem server that I'm running from my laptop (desktop is out of the picture here)

sheriff2black.PNG

Share this post


Link to post
Share on other sites
On 12/26/2018 at 7:43 PM, zloganrox08 said:

So this has been a problem for a while, and I know about the vehicles.meta "diffusetint" line, it is currently set at 0x00FFFFFF. No matter what vehicle I put in the sheriff2 slot, it always spawns with black tint. In the picture below, I literally copied the exact same vehicle from the sheriff slot, and only changed the modelname lines in the vehicles.meta and carvariations.meta. sheriff is on the left, sheriff2 is on the right.

  

Anyone know what causes this? I'm starting to think it's a deeper problem because it's been a problem on my desktop, and now it's appearing on the fivem server that I'm running from my laptop (desktop is out of the picture here)

sheriff2black.PNG

You might have another vehicles.meta file somewhere that may cause problems. Try installing this and adding the default sheriff2 meta or if the vehicle pack has a custom one use that and put it in the new vehicles.meta file.

 

The new meta file will be located under: mods/update/x64/MODDING/dlc.rpf/common/data/levels/gta5

 

Enable edit mode and right click on it and click edit.

 

Go to your downloads folder and do to the modding pack zip file. Go to meta templates right click and edit it. Seach for "sheriff2" and find the meta lines. Copy it and paste it into the meta file in openiv. Hope this works.

 

 

Edited by TheOken

Share this post


Link to post
Share on other sites
On 1/10/2019 at 2:00 PM, TheOken said:

You might have another vehicles.meta file somewhere that may cause problems. Try installing this and adding the default sheriff2 meta or if the vehicle pack has a custom one use that and put it in the new vehicles.meta file.

 

The new meta file will be located under: mods/update/x64/MODDING/dlc.rpf/common/data/levels/gta5

 

Enable edit mode and right click on it and click edit.

 

Go to your downloads folder and do to the modding pack zip file. Go to meta templates right click and edit it. Seach for "sheriff2" and find the meta lines. Copy it and paste it into the meta file in openiv. Hope this works.

 

 

 

I already have Modding DLC pack V. And I'm thinking you're right about a rogue vehicles.meta because if i put the files in any other slot there isn't a problem.

Share this post


Link to post
Share on other sites
On 1/12/2019 at 1:27 AM, zloganrox08 said:

 

I already have Modding DLC pack V. And I'm thinking you're right about a rogue vehicles.meta because if i put the files in any other slot there isn't a problem.

Okay. So put your sheriff slot in the modding DLC pack V's vehicles.rpf folder.

 

 

 

Then use this vehicle.meta and put it here: mods/update/x64/dlcpacks/modding/dlc.rpf/common/data/levels/gta5/vehicles.meta. Put the meta file right underneath the green text. Press save. Come back to me with any news.

Spoiler
Spoiler

<Item>
      <modelName>sheriff2</modelName>
      <txdName>sheriff2</txdName>
      <handlingId>FBI2</handlingId>
      <gameName>SHERIFF2</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash />
      <layout>LAYOUT_RANGER_SWAT</layout>
      <coverBoundOffsets>SHERIFF2_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_STANDARD</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA_LOOKAROUND</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.050000" z="-0.028000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonProjectileDriveByIKOffset x="0.028000" y="-0.040000" z="0.075000" />
      <FirstPersonProjectileDriveByPassengerIKOffset x="0.020000" y="0.060000" z="-0.090000" />
      <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="-0.055000" />
      <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="-0.055000" />
      <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
      <FirstPersonDriveByRightPassengerIKOffset x="-0.045000" y="-0.048000" z="-0.040000" />
      <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
      <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonMobilePhoneOffset x="0.143000" y="0.245000" z="0.521000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.435000" />
      <PovCameraOffset x="0.000000" y="-0.125000" z="0.640000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.030000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.070000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="false" />
      <AllowSundayDriving value="false" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.268600" />
      <wheelScaleRear value="0.268600" />
      <dirtLevelMin value="0.300000" />
      <dirtLevelMax value="0.850000" />
      <envEffScaleMin value="0.000000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.600000" />
      <damageOffsetScale value="1.000000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="1.000000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        15.000000
        35.000000
        90.000000
        180.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.966" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="10" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="100" />
      <swankness>SWANKNESS_1</swankness>
      <maxNum value="2" />
      <flags>FLAG_HAS_LIVERY FLAG_LAW_ENFORCEMENT FLAG_DONT_SPAWN_IN_CARGEN FLAG_IS_OFFROAD_VEHICLE FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
      <dashboardType>VDT_CAVALCADE</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_SUV</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Sheriff_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
        <Item>REWARD_WEAPON_CARBINERIFLE</Item>
        <Item>REWARD_AMMO_CARBINERIFLE</Item>
        <Item>REWARD_STAT_WEAPON</Item>
      </rewards>
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet />
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
      <firstPersonDrivebyData>
        <Item>RANGER_CAVALCADE_FRONT_LEFT</Item>
        <Item>RANGER_FRONT_RIGHT</Item>
        <Item>RANGER_PRANGER_REAR_LEFT</Item>
        <Item>RANGER_PRANGER_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

Could you put the link to the pack that you are using?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×