Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Adding a new emergency vehicle is possible now.

Featured Replies

Try to add "FLAG_LAW_ENFORCEMENT" on the flags section of your added car on the vehicles.meta, This flag means the car will have police horn and can be spawned through dispatch.meta if you already added the car to dispatch.meta.

Yep, that's already there. Do you want me to post the vehicles.meta file?

NOTE: I'm using the template that the Highway Patrol pack used.

Yep, that's already there. Do you want me to post the vehicles.meta file?

NOTE: I'm using the template that the Highway Patrol pack used.

Oh and i forgot to say something, the siren doesn't work either.

  • Replies 179
  • Views 57.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • TheF3nt0n
    TheF3nt0n

  • This opens up a whole world of possibilities. Hopefully new Ambulances and Firetrucks are possible, too.

  • GTA IV's texturing used the exact same system. You could not make a police car black using the texture alone. That's because colors were in the carcols file. What you're mixing up is how *modded* cars

Posted Images

This is what the .meta looks like for it, and i haven't edited the carvariations file because i thought thats only needed for the livery: 

<Item>
      <modelName>hwaycar3</modelName>
      <txdName>hwaycar3</txdName>
      <handlingId>police2</handlingId>
      <gameName>Buffalo</gameName>
      <vehicleMakeName>SAHP</vehicleMakeName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>police3</audioNameHash>
      <layout>LAYOUT_STD_EXITFIXUP</layout>
      <coverBoundOffsets>POLICE3_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_NEAR</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.030000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000" />
      <FirstPersonProjectileDriveByIKOffset x="0.055000" y="-0.075000" z="-0.045000" />
      <FirstPersonProjectileDriveByPassengerIKOffset x="-0.055000" y="-0.075000" z="-0.045000" />
      <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000" />
      <FirstPersonProjectileDriveByRearRightIKOffset 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.060000" z="-0.030000" />
      <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.130000" y="0.275000" z="0.530000" />
      <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.175000" z="0.675000" />
      <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="false" />
      <wheelScale value="0.244000" />
      <wheelScaleRear value="0.244000" />
      <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.83" />
      <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_0</swankness>
      <maxNum value="2" />
      <flags>FLAG_HAS_LIVERY FLAG_EXTRAS_ALL FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON</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_hwaycop_01</driverName>
          <npcName />
        </Item>
        <Item>
          <driverName>S_M_Y_hwaycop_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_POLICE3_FRONT_LEFT</Item>
        <Item>STD_POLICE3_FRONT_RIGHT</Item>
        <Item>STD_POLICE2_REAR_LEFT</Item>
        <Item>STD_POLICE2_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>
 

  • Author

I assume you're forgot to add the siren lights setting, It is required if you're trying to add a emergency vehicle, Please add this lines on the end of the lines on your added car in carvariations.meta.

<sirenSettings value="1" />

Then, You're good to go.

Edited by TheF3nt0n

What are the lightsettings for interceptor, the coronas of my civilian version for this car are in the wrong position.

76561198017457776.png

  • 2 weeks later...

so add custom vehicle to either MPheist or MPchristmas DLC
add tags/lines to car variation, vehicle and dispatch meta respectively
add the interiors/sirens to the respective meta
use the rage hook command line to spawn?
is there anyway to spawn them via a menu?

I ask all of this because going through the four pages of this topic, I want to try and figure out how to get lspdfr to work (yes first timer here)

READ THE INSTRUCTIONS FOR THE MODS..THEY'RE CALLED READMEs   AKA read me for a reason

lspdfr plugin or GTA V crashed? find your Rage log in your gta folder, usually found after ragepluginhook.exe and open it, hit Ctrl a, open pastebin.com, select new paste, hit Ctrl v, get the link after you pasted it and supply that with your issue in the specific mod topic, it helps the developer diagnose the problem you may have.

 

We know how to add vehicles but, how to add new cops/peds without replacing other? 

 

so add custom vehicle to either MPheist or MPchristmas DLC
add tags/lines to car variation, vehicle and dispatch meta respectively
add the interiors/sirens to the respective meta
use the rage hook command line to spawn?
is there anyway to spawn them via a menu?

I ask all of this because going through the four pages of this topic, I want to try and figure out how to get lspdfr to work (yes first timer here)

yes you need to spawn it by command, because the trainers and menus have a list of the vehicles and your added cars will not appear.

 

Edited by Mercuri

ok. I might work on something like this if I get the lspdfr thing going, TY Mercuri

READ THE INSTRUCTIONS FOR THE MODS..THEY'RE CALLED READMEs   AKA read me for a reason

lspdfr plugin or GTA V crashed? find your Rage log in your gta folder, usually found after ragepluginhook.exe and open it, hit Ctrl a, open pastebin.com, select new paste, hit Ctrl v, get the link after you pasted it and supply that with your issue in the specific mod topic, it helps the developer diagnose the problem you may have.

 

<lightSettings value="0" />

what should I put for the cvpi? on 1 it gives 2 lightbars overlapping each other

[img]http://www.lcpdfr.com/crimestats/user/43279/sig.jpg[/img]

<lightSettings value="0" />

what should I put for the cvpi? on 1 it gives 2 lightbars overlapping each other

Do you mean it has overlapping lights or that both lightbars are actually spawning on the car? If the latter is the case, check the vehicles.meta entry for the model you're using and make sure it doesn't have a FLAG_EXTRAS_ALL entry on the flags line. Otherwise, it was probably designed to use the settings for the original cruiser, meaning you should set it to 13.

  • Author

You should not use audio hash from other vehicles aside from police vehicles, It's siren sound will not working properly, It's not possible yet to edit the audio hash, For work around you should use "Police", "Police2", and "Police3". This will add siren sound on said added police vehicles, But it will have different engine sound.

  • 2 weeks later...

so I have a texture/model that would replace police4 and I want to make it standalone. Do I just copy the police4' (where to find them?) vehicle/carvariations.meta lines and change the name to police5? And then name the .yft and .ytd also polic5 and add them to vehicle.rpf? And then I can spawn the car with "spawn police5"?

Are we sure changing the below in carvariations.meta actually does anything? Reason I ask is because I forgot to modify it for a standalone car I installed and left the code below, but the multiple liveries still work ingame.


          <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>
        

  • Author

Make sure set one of them to true otherwise the textures will clips on the vehicle.

          <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>
        

 

Edited by TheF3nt0n

Hi, I just noticed that all my added vehicles in mpchristmas2 dlcpack looks like matte paintjob but if I change them to x64e look good. Any one knows why?

8e5ff820fc16dba5fb234cf7bb56b035.jpg

Left car is police3 and is on x64e

Right car is the added car that is on mpchristmas 2

Edited by Mercuri

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.