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

I am pretty sure It's tow truck siren lights setting located at:

<sirenSettings value="9"

I am going to update the tutorial, If I got a time.

PLEAS UPDATE THE TUTORIAL, and doe a better steps. 

EXAM:

1.- For add new vehicle first: Enter in the file *******

2.- ADD THE Models and textures

3.- COPY THE FILES OF THE DLC ****** AND ADD IN ****

 

I Very new in the modding, and i dont now what files and location 

  • 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 will do it, Please wait.

 

EDIT: Edited, Check the first page.

I am having difficulty having my vehicles have interior textures despite adding the lines to vehicles.meta. What would be the cause of this? Is there a particular order I need to do these things?

1,) You cannot add the new added vehicles on specified section of dispatch.meta

 

Alright this is most annoying thing on adding new emergency vehicles as If you add a Police SUV and put the name on SWAT_SUV section, It will spawns empty, No cops drive it, It just wandering around like a normal car, I don't know if this is hardcored or it still can be edited on a file or native script.

 

This also does not work on new added Ambulance or Fire truck too, They're still spawns with driver and passengers but it does not reports to fire or dead bodies, I don't know why but I'd recommend not to add the new vehicles to those sections of dispatch.meta

Not true. I have added multiple custom vehicles to dispatch.meta. Police cars and a fire department Granger. All of them work just fine without problems.    

SAHP Buffalo spawning as Sheriff car (SAHP1)

  • Spawns and act like normal police car

LSSD Buffalo spawning as Sheriff car (sheriffbuf)

  • Spawns and act like normal police car

LSPD Granger spawning as police cruiser and SWAT(lspdsuv)

  • Spawns and act like normal police car and spawns and act like normal SWAT SUV when supposed to.

LSFD Granger Spawning as Fire Truck (lsfdgranger)

  • Spawns with fire men hanging from the sides. Works like normal fire truck.

 

I have one SUV (noosesuv) that fails to spawn people inside. But I think I may and done some other mistake with this particular vehicles, as the textures are weird as well for this vehicle. 

Edited by Småen

Thank you for this post. It has helped me a lot. I am adding the LSPD Granger into the game and I have it it working. It spawns, it has sound, interior, light &  sirens. The only issue I am having is that every time the vehicle hits an object in game, my game crashes. Any ideas on what that could be?

Thanks,

 

 

R. Sereda

Winnipeg, Manitoba, Canada

  • Author

@Smaen, Could you test your LSPD granger on SWAT_SUV section of dispatch.meta?

		<Vehicle>
			<Name>SWAT_SUV</Name>
			<ConditionalVehicleSets>
				<Item>
					<ZoneType>VEHICLE_RESPONSE_ARMY_BASE</ZoneType>
					<VehicleModels>
						<Vehicle>crusader</Vehicle>
					</VehicleModels>
					<PedModels>
						<Ped>S_M_Y_Marine_03</Ped> 
					</PedModels>
				</Item>
				<Item>
					<ZoneType>VEHICLE_RESPONSE_COUNTRYSIDE</ZoneType>
					<VehicleModels>
						<Vehicle>sheriff2</Vehicle>
					</VehicleModels>
					<PedModels>
						<Ped>S_M_Y_Swat_01</Ped> 
					</PedModels>
				</Item>
				<Item>
					<VehicleModels>
						<Vehicle>lspdsuv</Vehicle>
					</VehicleModels>
					<PedModels>
						<Ped>S_M_Y_Swat_01</Ped>
					</PedModels>
				</Item>
			</ConditionalVehicleSets>
		</Vehicle>

Let me know if you got it working or not, If you got it working, I will delete that note for sure.

@Smaen, Could you test your LSPD granger on SWAT_SUV section of dispatch.meta?

Let me know if you got it working or not, If you got it working, I will delete that note for sure.

I'm on my phone right now, so I can't say for sure, but I think that is what I set it to. 

 

Looks strange to me, For me it just spawns empty without any driver and passengers or sometimes does not spawns at all.

I will check later when I get home from work. I don't know why it doesn't work for you.  I have both police cars and a fire emergency vehicle spawning with people and giving chase/putting out fire.

I didn't do anything specialto mak it work either.

  • Author

Wait a second, I am talking about specified section of dispatch.meta, SWAT_SUV section is extremely bugged if you put one of any added car on it's section, No SWAT members drive it and it behaves like a ghost car, Then, I decided not to put them on "SWATAutomobile", Another section of dispatch.meta is working fine, No other problems aside from SWATAutomobile.

Wait a second, I am talking about specified section of dispatch.meta, SWAT_SUV section is extremely bugged if you put one of any added car on it's section, No SWAT members drive it and it behaves like a ghost car, Then, I decided not to put them on "SWATAutomobile", Another section of dispatch.meta is working fine, No other problems aside from SWATAutomobile.

Pretty sure I have a LSPD Granger responding as SWAT I'm going to check when I get home.

I have a LSFD Granger working as fire engine. So that I can say for sure is working.

Wait a second, I am talking about specified section of dispatch.meta, SWAT_SUV section is extremely bugged if you put one of any added car on it's section, No SWAT members drive it and it behaves like a ghost car, Then, I decided not to put them on "SWATAutomobile", Another section of dispatch.meta is working fine, No other problems aside from SWATAutomobile.

It's not the vehicle set that's causing the issue. it's the dispatch type. These have to be controlled in some other file we can't yet access, and SWATAutomobile must have specific models defined elsewhere, crusader, fbi2 and sheriff2, and those are the only ones that will work. But setting them as a PoliceAutomobile type works fine (though the Grangers only hold two doing it that way).

Alright, just checked my game and I was wrong. I had set my LSPD Grangers to spawn as police cars as well as SWAT, so I never noticed they were not working as intended. My LSFD Granger responds just fine with firemen hanging of the sides, but they will in normal circumstances not exit and do their job. I never really payed any attentions to what they did.

So I admit, I was wrong.   

Is there any way to specify a secondary color for vehicles in carcols? Because alaik you can only configure the primary color.

I'd assume one of the four values would control that, just not sure which is which.

Just a quick note: SirenSetting 1 also works for FBI2, so basically all of the Granger models.

Anyone mess around with 3, 8, 11, or 12?

Edited by The Loot

Could someone give me carvariations colors numbers for the Stanier, i added the 2nd Generation and Interceptor as Civilian but when it spawn its only on white color.

And the right Light Settings for the two cars too.

Edited by RafaelSousaSam

76561198017457776.png

  • Author

There you go, I've taken carvariations colors numbers from Kuruma, Works well for me.

 
    <Item>
      <modelName>stanier2</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            0 
            0 
            10 
            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">
            1 
            1 
            5 
            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">
            2 
            2 
            7 
            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">
            4 
            4 
            111 
            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">
            6 
            6 
            111 
            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">
            111 
            111 
            111 
            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">
            30 
            30 
            36 
            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">
            65 
            65 
            68 
            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">
            34 
            34 
            33 
            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">
            111 
            111 
            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">
            64 
            64 
            68 
            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">
            37 
            37 
            106 
            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">
            68 
            68 
            64 
            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">
            5 
            5 
            111 
            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">
            7 
            7 
            5 
            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">
            9 
            9 
            4 
            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 />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Standard White</Name>
            <Value value="60" />
          </Item>
          <Item>
            <Name>White Plate 2</Name>
            <Value value="40" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="0" />
    </Item>

 

Okay so i tried adding a new police car (Zentorno Highway Patrol) which has lights, so i did the steps needed for example adding the vehicle to vehicles.meta, and when i spawn it ingame, it has a normal horn like a non-emergency car, any ideas guys?

  • Author

Okay so i tried adding a new police car (Zentorno Highway Patrol) which has lights, so i did the steps needed for example adding the vehicle to vehicles.meta, and when i spawn it ingame, it has a normal horn like a non-emergency car, any ideas guys?

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.

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.