Jump to content
xAKRONSFINESTx

Changing the police bike to a car

Recommended Posts

Hey guys I was wondering if it is possible to change the policeb slots to an actual vehicle (like the sahp cvpi/one of the chargers). i tried messing with it myself but alls i got was a game crash. The bikes are kind of out of place in pursuits and such . Any ideas on if this is possible, and if so , how? Thanks in advance!

Share this post


Link to post
Share on other sites

i changed the vehicles.meta, but pretty sure i didnt do carvariations. what exactly would get changed in there? ( sorry. i am able to do the simple stuff in openiv and trying to learn more and more)

Share this post


Link to post
Share on other sites
25 minutes ago, xAKRONSFINESTx said:

i changed the vehicles.meta, but pretty sure i didnt do carvariations. what exactly would get changed in there? ( sorry. i am able to do the simple stuff in openiv and trying to learn more and more)

Honestly I've never done it myself so I'm not sure, but the modkit and sirensettings should probably be changed in carvariations. Preferably just use the carvariations lines from the vehicle you downloaded

Share this post


Link to post
Share on other sites

iam working on a speed enforcement bike....a custom made police bike based on the gta 5 bike Shitzu Hakuchou with blue lights only.....and when i changed the lines in vehicle.meta at update/update.rpf/common/data/levels/gta5/vehicles.meta my game crashes...i checked all....and all its fine.....i also changed carvarations....i tried before with carvarations only and works.,...but when i change policeb's lines from vehicle.meta the game crash.....i dont know why...

Share this post


Link to post
Share on other sites
On 1/22/2016 at 5:12 PM, rekram said:

iam working on a speed enforcement bike....a custom made police bike based on the gta 5 bike Shitzu Hakuchou with blue lights only.....and when i changed the lines in vehicle.meta at update/update.rpf/common/data/levels/gta5/vehicles.meta my game crashes...i checked all....and all its fine.....i also changed carvarations....i tried before with carvarations only and works.,...but when i change policeb's lines from vehicle.meta the game crash.....i dont know why...

ok so i am having the exact same issue, i have changed over ytd/yft textures, and they display correct. i have added a carvariations file to patchday1 folder ( where the policeb shows up) and have no issues.

but when i change out the vehicles.meta file the game crashes when loading. if i swap it back to the original the game loads but the car only has tires/wheels on the driver side. lol. the model im using is the charger. i successfully swapped the fbi car for the charger, and even tried using the lines from the fbis vehicles.meta but that doesnt work either.

please help!

Share this post


Link to post
Share on other sites

so, i have finally been able to load the game without it crashing, with the model i want. I did this by directly copying and pasting the vehicles.meta lines from where the car was intended to go (police2) and replacing policeb with them. I then changed the model id/handling id/etc to police b, and it has worked. however, now when my lightsare activated i have these extra lights. Is it possible to workaround this? Is this a vehicles.meta issue or carvariations.meta issue? I will include both.

Vehicles.meta

Spoiler

<Item>
      <modelName>policeb</modelName>
      <txdName>policeb</txdName>
      <handlingId>POLICE2</handlingId>
      <gameName>POLICE2</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash />
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>BUFFALO_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_EXTRA_HIGH</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.040000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.040000" z="-0.020000" />
      <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.115000" z="0.000000" />
      <FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.140000" z="0.000000" />
      <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.020000" />
      <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.020000" />
      <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.010000" />
      <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonMobilePhoneOffset x="0.155000" y="0.273000" z="0.535000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
      <FirstPersonMobilePhoneSeatIKOffset>
        <Item>
            <Offset x="0.136000" y="0.156000" z="0.445000" />
            <SeatIndex value="2" />
        </Item>
        <Item>
            <Offset x="0.136000" y="0.156000" z="0.445000" />
            <SeatIndex value="3" />
        </Item>
      </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.150000" z="0.665000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <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.253800" />
      <wheelScaleRear value="0.253800" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.300000" />
      <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
        30.000000
        70.000000
        140.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.862" />
      <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_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_LIVERY</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_BACK_PLATES</plateType>
      <dashboardType>VDT_GENTAXI</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_SPORT</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Cop_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
        <Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
        <Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</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>STD_POLICE2_FRONT_LEFT</Item>
        <Item>STD_POLICE2_FRONT_RIGHT</Item>
        <Item>STD_POLICE2_REAR_LEFT</Item>
        <Item>STD_POLICE2_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

Carvariations.meta

Spoiler

<?xml version="1.0" encoding="UTF-8"?>

<CVehicleModelInfoVariation>
  <variationData>
<Item> 
      <modelName>policeb</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            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>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Standard White</Name>
            <Value value="100" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>
  </variationData>
</CVehicleModelInfoVariation>

 

2016-01-25_00001.jpg

2016-01-25_00002.jpg

2016-01-25_00004.jpg

2016-01-25_00005.jpg

Share this post


Link to post
Share on other sites
On 25-1-2016 at 1:52 PM, xAKRONSFINESTx said:

so, i have finally been able to load the game without it crashing, with the model i want. I did this by directly copying and pasting the vehicles.meta lines from where the car was intended to go (police2) and replacing policeb with them. I then changed the model id/handling id/etc to police b, and it has worked. however, now when my lightsare activated i have these extra lights. Is it possible to workaround this? Is this a vehicles.meta issue or carvariations.meta issue? I will include both.

Vehicles.meta

  Reveal hidden contents

<Item>
      <modelName>policeb</modelName>
      <txdName>policeb</txdName>
      <handlingId>POLICE2</handlingId>
      <gameName>POLICE2</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash />
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>BUFFALO_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_EXTRA_HIGH</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.040000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.040000" z="-0.020000" />
      <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.115000" z="0.000000" />
      <FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.140000" z="0.000000" />
      <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.020000" />
      <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.020000" />
      <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.010000" />
      <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonMobilePhoneOffset x="0.155000" y="0.273000" z="0.535000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
      <FirstPersonMobilePhoneSeatIKOffset>
        <Item>
            <Offset x="0.136000" y="0.156000" z="0.445000" />
            <SeatIndex value="2" />
        </Item>
        <Item>
            <Offset x="0.136000" y="0.156000" z="0.445000" />
            <SeatIndex value="3" />
        </Item>
      </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.150000" z="0.665000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <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.253800" />
      <wheelScaleRear value="0.253800" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.300000" />
      <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
        30.000000
        70.000000
        140.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.862" />
      <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_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_LIVERY</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_BACK_PLATES</plateType>
      <dashboardType>VDT_GENTAXI</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_SPORT</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Cop_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
        <Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
        <Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</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>STD_POLICE2_FRONT_LEFT</Item>
        <Item>STD_POLICE2_FRONT_RIGHT</Item>
        <Item>STD_POLICE2_REAR_LEFT</Item>
        <Item>STD_POLICE2_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

Carvariations.meta

  Reveal hidden contents

<?xml version="1.0" encoding="UTF-8"?>

<CVehicleModelInfoVariation>
  <variationData>
<Item> 
      <modelName>policeb</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            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>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Standard White</Name>
            <Value value="100" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>
  </variationData>
</CVehicleModelInfoVariation>

 

2016-01-25_00001.jpg

2016-01-25_00002.jpg

2016-01-25_00004.jpg

2016-01-25_00005.jpg

What car is that?

 

And if you want more police cars you can just add them, have over 20 police vehicles in my mpchristmas2vehicles.rpf, and they all work. Or do you want to replace the policeb? Where have you replaced your policeb?

Share this post


Link to post
Share on other sites
On 1/25/2016 at 7:52 AM, xAKRONSFINESTx said:

so, i have finally been able to load the game without it crashing, with the model i want. I did this by directly copying and pasting the vehicles.meta lines from where the car was intended to go (police2) and replacing policeb with them. I then changed the model id/handling id/etc to police b, and it has worked. however, now when my lightsare activated i have these extra lights. Is it possible to workaround this? Is this a vehicles.meta issue or carvariations.meta issue? I will include both.

Vehicles.meta

  Reveal hidden contents

<Item>
      <modelName>policeb</modelName>
      <txdName>policeb</txdName>
      <handlingId>POLICE2</handlingId>
      <gameName>POLICE2</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash />
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>BUFFALO_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_EXTRA_HIGH</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.040000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.040000" z="-0.020000" />
      <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.115000" z="0.000000" />
      <FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.140000" z="0.000000" />
      <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.020000" />
      <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.020000" />
      <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.010000" />
      <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonMobilePhoneOffset x="0.155000" y="0.273000" z="0.535000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
      <FirstPersonMobilePhoneSeatIKOffset>
        <Item>
            <Offset x="0.136000" y="0.156000" z="0.445000" />
            <SeatIndex value="2" />
        </Item>
        <Item>
            <Offset x="0.136000" y="0.156000" z="0.445000" />
            <SeatIndex value="3" />
        </Item>
      </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.150000" z="0.665000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <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.253800" />
      <wheelScaleRear value="0.253800" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.300000" />
      <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
        30.000000
        70.000000
        140.000000
        500.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.862" />
      <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_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_LIVERY</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_BACK_PLATES</plateType>
      <dashboardType>VDT_GENTAXI</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_SPORT</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Cop_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
        <Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
        <Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</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>STD_POLICE2_FRONT_LEFT</Item>
        <Item>STD_POLICE2_FRONT_RIGHT</Item>
        <Item>STD_POLICE2_REAR_LEFT</Item>
        <Item>STD_POLICE2_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>

 

Carvariations.meta

  Reveal hidden contents

<?xml version="1.0" encoding="UTF-8"?>

<CVehicleModelInfoVariation>
  <variationData>
<Item> 
      <modelName>policeb</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134 
            134 
            0 
            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>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
    <Item>
          <indices content="char_array">
            134 
            134 
            0 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
    </Item>
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Standard White</Name>
            <Value value="100" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>
  </variationData>
</CVehicleModelInfoVariation>

 

PoliceB uses sirensettings=6... but I don't know if that's gonna work for a car. I would think you'd just need to use the proper sirensettings for the model you swapped it with, but can't say I've ever seen anyone do this before.

Share this post


Link to post
Share on other sites

Sirensetting6 should work, considering it's the same model.

Share this post


Link to post
Share on other sites
1 hour ago, Reyesinc said:

And if you want more police cars you can just add them, have over 20 police vehicles in my mpchristmas2vehicles.rpf, and they all work. Or do you want to replace the policeb? Where have you replaced your policeb?

Do you just install them as you normally would with any other mod? and then where would they be found if i wanted to spawn them?

Share this post


Link to post
Share on other sites
3 hours ago, Starmix said:

Sirensetting6 should work, considering it's the same model.

Well, no, because if I replace police with a model say intended for police3, if I don't change the carvariations sirensettings to match up with police3, the lights are going to be all effed up. So I'd think the same would apply here, but again, you're swapping out a motorcycle for a car so.

Edited by Kilyin

Share this post


Link to post
Share on other sites
On 1/26/2016 at 3:57 PM, Reyesinc said:

What car is that?

 

And if you want more police cars you can just add them, have over 20 police vehicles in my mpchristmas2vehicles.rpf, and they all work. Or do you want to replace the policeb? Where have you replaced your policeb?

Car is 

I am specifically trying to swap out this model so that I can have this vehicle respond when selecting state police as backup. The bike is just silly to me. And i replaced everything in the original x64e and then patchday1.

 

On 1/26/2016 at 4:52 PM, Kilyin said:

PoliceB uses sirensettings=6... but I don't know if that's gonna work for a car. I would think you'd just need to use the proper sirensettings for the model you swapped it with, but can't say I've ever seen anyone do this before.

I have changed the settings around and tried several values but still the same problem.

I really just think its an issue with the base game files in the original carvariations.ymt. Once we can edit those in the next openiv update i guess we will see.

Edited by xAKRONSFINESTx

Share this post


Link to post
Share on other sites
On 1/26/2016 at 11:16 PM, Metpolice999 said:

Do you just install them as you normally would with any other mod? and then where would they be found if i wanted to spawn them?

Download added police slots mod, it gives you a carvaretions.meta and a vehicles.meta, put them in mpchristmas2/comman/data (for vehicels.meta levels/gta5) than put your police vehicle sin mpchristmas2/x64/levels/gtsv/vehicles/mpchristmas2vehicles.rpf. Then you should change their name (do not use police/2/3/b/t) and also change names and handlinid in your new vehicles.meta and carvarations.meta. It's very easy.

Share this post


Link to post
Share on other sites
3 minutes ago, Reyesinc said:

Download added police slots mod, it gives you a carvaretions.meta and a vehicles.meta, put them in mpchristmas2/comman/data (for vehicels.meta levels/gta5) than put your police vehicle sin mpchristmas2/x64/levels/gtsv/vehicles/mpchristmas2vehicles.rpf. Then you should change their name (do not use police/2/3/b/t) and also change names and handlinid in your new vehicles.meta and carvarations.meta. It's very easy.

Thanks I had managed to get it working with help from TheDude

Share this post


Link to post
Share on other sites
On 1/25/2016 at 9:57 PM, Reyesinc said:

And if you want more police cars you can just add them, have over 20 police vehicles in my mpchristmas2vehicles.rpf, and they all work. Or do you want to replace the policeb? Where have you replaced your policeb?

I think this is more to have a more interesting and diverse backup.

At least thats why I tried changing the bike two weeks ago

Share this post


Link to post
Share on other sites

Would probably be easier if you use the exact vehicle,handling & carvariations.meta from one of the police slots and replace policeb with it.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×