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.

Replacing vehicles in game slots?

Featured Replies

Hi,

 

so I would like to replace my police4 slot (which currently has a Volvo V70) with Double Doppler's unmarked BMW X5, to go with my marked X5 in the fbi2 slot.

 

Is it just a matter of renaming the vehicle files from fbi2 to police4? Or is there anything else I need to do? I have done the same with peds, is it the same with vehicles?

 

thanks, qwerty

It depends; you can rename the files and replace, but there could be .meta files that need to be written. If there's anything unusual about the vehicle after you rename and install it, tell me and I'll help you decide what else to do.

I don't understand the point of signatures on this site. What the fuck is the point?

3 hours ago, qwertyK said:

Yeah, there's a carvariations.meta though I already have this for the marked one? Do I need to get it again?

You need to use the carvariations lines that the author included with the download, otherwise the default police4 lines are used. The sirensetting and lightsetting values may be different than what the author intended.

 

More importantly, doesn't the download include a vehicles.meta? Police4 is originally a sedan, its handling data will not look good on an SUV. 

Customization is key to my gaming experience. I take pictures, do textures and lore-friendly vehicles. 
Recent releases: OracleRadiusPony. See all.
You can see my gallery here

http://i.imgur.com/I0B5P1Y.png

This topic has been moved to the appropriate forum. Please post in the correct location in the future.

If you want to me reply as soon as possible, then either quote or @CouthInk4  me as i'll be notified, a general reply will not notify me

Check out my YouTube channel!https://www.youtube.com/channel/UCXj0EXXJfERhPJTROHY6Ma

 

Untitled.png

 

  • Author
6 hours ago, Aquamenti said:

You need to use the carvariations lines that the author included with the download, otherwise the default police4 lines are used. The sirensetting and lightsetting values may be different than what the author intended.

 

More importantly, doesn't the download include a vehicles.meta? Police4 is originally a sedan, its handling data will not look good on an SUV. 

 

Actually the download doesn't come with a vehicles.meta or carvariations file? I'm guessing I have to find it. But there isn't one in mods/update/update.rpf/common/data/leves/gta5. ? 

 

I'm not too fussed about handling, as for the lightsetting it's an unmarked car so only has lights under the grille. and on the back lights.  

Edited by qwertyK

10 hours ago, qwertyK said:

 

Actually the download doesn't come with a vehicles.meta or carvariations file? I'm guessing I have to find it. But there isn't one in mods/update/update.rpf/common/data/leves/gta5. ? 

 

I'm not too fussed about handling, as for the lightsetting it's an unmarked car so only has lights under the grille. and on the back lights.  

It's more complicated than you think. First of all, the original police4 carvariations are encrypted and you can't read or edit them.

Which slot was the vehicle originally intended to replace, let's start with that. Fbi2? 


The handling is a serious issue because unfit handling data will render your car basically uncontrollable.

And as for the sirensettings, it doesn't matter how many lights the car has, each emergency light is assigned a siren id (siren1, siren2, etc) and the sirensetting value determines all lighting pattern information for each of these lights (duration, order and frequency of the flashes, color of the corona, environmental lighting etc). If the original model is fbi2, I think the sirensetting is supposed to be either 1 or 12, not sure.

 

So, what you need to do, is get the carvariations lines from another vehicle. For example, these are the lines to my Pinnacle police car:

 

Spoiler

<Item>
  <modelName>pinnacle2</modelName>
    <colors>
        <Item>
          <indices content="char_array">
            0
            120
            1
            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">
            0
            120
            1
            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">
            0
            120
            1
            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">
            0
            120
            1
            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">
            0
            120
            1
            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="0" />
      <sirenSettings value="1" />
    </Item>
 

 

And this overall setup is pretty typical for police vehicles. There are three points of interest for anyone who has to edit carvariations data:

1. in the beginning, make sure the <modelName> value matches the file name of your vehicle

2. throughout the lines you can see five groups of four numbers (in this case, 0, 120, 1 and 156). These are the five color variations that the car will spawn in. The first two numbers are important to you because they determine the primary and secondary colors of your vehicle. In this example, all of my pinnacle2 models will spawn in black primary color with a chrome secondary color. Unmarked cars typically do not use a secondary color, so you can for example leave it at 0 (black). If you don't change the primary color value, all your cars will spawn in black. You would probably want different cars of the same model to be of different colors, like the original police4 in the game. So change the primary color value of each of the five variations to be different from each other. You can find lists of the color values on the internet.

3. near the end of the lines, you have the sirensetting value. As I said before, this determines the properties of all emergency lights on your vehicle. The author of the model always has a specific sirensetting value in mind, even if he hasn't included the carvariations. In that case you should use whatever id the original model would use.

 

So, to sum it up, here's another example that you can use. In these lines, the cars will spawn in five different colors, and use the sirensetting value 1. It might work for your vehicle. You will have to change the modelname value.

 

Spoiler

<Item>
  <modelName>changethis</modelName>
    <colors>
        <Item>
          <indices content="char_array">
            0
            0
            1
            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">
            112
            0
            1
            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">
            61
            0
            1
            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">
            9
            0
            1
            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">
            135
            0
            1
            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="0" />
      <sirenSettings value="1" />
    </Item>
 

 

You're going to have to get your own vehicles.meta lines though. The FBI2 ones should be accessible somewhere in the game files.

Edited by Aquamenti

Customization is key to my gaming experience. I take pictures, do textures and lore-friendly vehicles. 
Recent releases: OracleRadiusPony. See all.
You can see my gallery here

  • Author
22 hours ago, Aquamenti said:

It's more complicated than you think. First of all, the original police4 carvariations are encrypted and you can't read or edit them.

Which slot was the vehicle originally intended to replace, let's start with that. Fbi2? 


The handling is a serious issue because unfit handling data will render your car basically uncontrollable.

And as for the sirensettings, it doesn't matter how many lights the car has, each emergency light is assigned a siren id (siren1, siren2, etc) and the sirensetting value determines all lighting pattern information for each of these lights (duration, order and frequency of the flashes, color of the corona, environmental lighting etc). If the original model is fbi2, I think the sirensetting is supposed to be either 1 or 12, not sure.

 

So, what you need to do, is get the carvariations lines from another vehicle. For example, these are the lines to my Pinnacle police car:

 

  Reveal hidden contents

<Item>
  <modelName>pinnacle2</modelName>
    <colors>
        <Item>
          <indices content="char_array">
            0
            120
            1
            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">
            0
            120
            1
            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">
            0
            120
            1
            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">
            0
            120
            1
            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">
            0
            120
            1
            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="0" />
      <sirenSettings value="1" />
    </Item>
 

 

And this overall setup is pretty typical for police vehicles. There are three points of interest for anyone who has to edit carvariations data:

1. in the beginning, make sure the <modelName> value matches the file name of your vehicle

2. throughout the lines you can see five groups of four numbers (in this case, 0, 120, 1 and 156). These are the five color variations that the car will spawn in. The first two numbers are important to you because they determine the primary and secondary colors of your vehicle. In this example, all of my pinnacle2 models will spawn in black primary color with a chrome secondary color. Unmarked cars typically do not use a secondary color, so you can for example leave it at 0 (black). If you don't change the primary color value, all your cars will spawn in black. You would probably want different cars of the same model to be of different colors, like the original police4 in the game. So change the primary color value of each of the five variations to be different from each other. You can find lists of the color values on the internet.

3. near the end of the lines, you have the sirensetting value. As I said before, this determines the properties of all emergency lights on your vehicle. The author of the model always has a specific sirensetting value in mind, even if he hasn't included the carvariations. In that case you should use whatever id the original model would use.

 

So, to sum it up, here's another example that you can use. In these lines, the cars will spawn in five different colors, and use the sirensetting value 1. It might work for your vehicle. You will have to change the modelname value.

 

  Reveal hidden contents

<Item>
  <modelName>changethis</modelName>
    <colors>
        <Item>
          <indices content="char_array">
            0
            0
            1
            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">
            112
            0
            1
            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">
            61
            0
            1
            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">
            9
            0
            1
            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">
            135
            0
            1
            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="0" />
      <sirenSettings value="1" />
    </Item>
 

 

You're going to have to get your own vehicles.meta lines though. The FBI2 ones should be accessible somewhere in the game files.

Hi there,

 

Thanks for your help.

I have found an alternative car, Bleep999's unmarked X5. It requires no config lines or .metas and installed without a problem.

 

Thanks anyway

qwerty

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.