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

  • 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

I followed your steps and added a new car to the game, Im playing the LSPD:FR with the RAGE PluginHook, I added a new sheriff car with the name sheriff3 but ingame when I press F4 to open the RAGE console and type "SPAWN SHERIFF..." the new car didnt appears, only I can spawn the SHERIFF and SHERIFF2 vehicles :S

I moved my new cruiser into my vehicles.rpf, did all of the things in the OP and I still can't spawn it with the Simple Trainer or RageHook.

Due to the graphic nature of this post, reader discretion is advised.
lspdfrsig2njsuy.jpg

Sorry but I don't have LSPD:FR on my GTA V, I think you should ask the developer of LSPD:FR, You could get best answer from there.

If you added a new vehicle, how you personally did for spawn it? Which loader or tool do you use?

@Break @Mercuri How are you trying to spawn it? The RAGE hook won't autocomplete the name, but it should spawn it if you manually type the name. Did you make sure to add to vehicles.meta and carvariations.meta?

Works great, using the christmas DLC files to add the new vehicles.

Added vehicles I have working and spawning from dispatch levels:

  • SAHP Cruiser
  • SAHP Buffalo
  • LSSD Interceptor
  • LS County Ambulance
  • LS County Fire Truck

Edited by The Loot

  • Author

Glad to hear that, but there is one bug at the moment, If you're using custom fire truck or ambulance on dispatch.meta, It will just driving around instead driving into fire/dead bodies, I think there is a file controls both vehicles that will responds to fire and dead bodies, New added police SUV will also not working on dispatch.meta, Especially on SWAT_SUV section, It doesn't have any driver and passengers on the new added vehicle. It is hardcored or placed on Native script?

@Break @Mercuri How are you trying to spawn it? The RAGE hook won't autocomplete the name, but it should spawn it if you manually type the name. Did you make sure to add to vehicles.meta and carvariations.meta?

Yes, I did, And doesn´t work. I will try to add it again starting in the fist step. I must lost something

Glad to hear that, but there is one bug at the moment, If you're using custom fire truck or ambulance on dispatch.meta, It will just driving around instead driving into fire/dead bodies, I think there is a file controls both vehicles that will responds to fire and dead bodies, New added police SUV will also not working on dispatch.meta, Especially on SWAT_SUV section, It doesn't have any driver and passengers on the new added vehicle. It is hardcored or placed on Native script?

Hmm, bummer. Also may have gone a bit past stable as I've had a few crashes after added the new vehicles and a ped, and overhauled the dispatch file.

Okay I did it again and it doesn't work, Im sure that Im losing one step or something, Im spaniard and sometimes is difficult for me to understand the english

Thats what I did:

1. In x64e.rpf/levels/gta5/vehicles.rpf I added the new vehicle (a copy of police3) with the "sheriff3" name.

2. In common.rpf/data/levels/gta5 I edited the  vehicles.meta file adding the new item named "sheriff3"

<Item>
      <modelName>sheriff3</modelName>
      <txdName>sheriff3</txdName>
      <handlingId>POLICE3</handlingId>
      <gameName>SHERIFF3</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>POLICE3</audioNameHash> *I tried too with: <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_Sheriff_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>

And the interior texture:

    <Item>
      <parent>vehicles_poltax_interior</parent>
      <child>sheriff3</child>
    </Item>

 3. Finally in update/x64/dlcpacks/mpchristmas2/dlc.rpf/common/data I edited the carvariantion.meta and added the new item

    <Item>
      <modelName>sheriff3</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            132
            132
            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">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <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">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            132
            132
            0
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="2" />
    </Item>

*I tryed too with mpheist*

After that, as it doesnt work, I tried to Rebuild all the .rpf files edited.

Thanks for your time and help, I hope someone can see that what im losing.

Coronas are working too for added cars, I tested it.

Do you know by any chances what controls the coronas? (position, color and such)

The same guy from GTAForums.

So I have gotten new cars, and I can spawn them with the trainer. Hell, I can even get the cops to use them by adding them into dispatch.meta. However, it causes a pretty strange bug. If I add, say, a new highway patrol car and have it spawn at 3 stars, then it will show up with the LSPD and SWAT. But if you kill the original responding officers or simply outrun them, the game stops spawning the highway patrol car AND LSPD officers/detectives and will only spawn SWAT teams until you reset the wanted level back to one without the added cars. I'm not sure why it does this. 

It is working fine for me, It's weird by the way, I think other files may cause this, but I am not sure yet.

Hi, can you please read my last comment and told me if im missing something? thanks :P

Hi, can you please read my last comment and told me if im missing something? thanks :P

Try using only the files from the Christmas DLC (it includes its own vehicle rpf and meta).

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.