Log in to reply
 

How do I change the default license plates for police vehicles that spawn when wanted?



  • I want to change the license plates on police vehicles that spawn when you have a wanted level. I'm not sure where to look though, I could really use some help.



  • @puppymaster27
    Try the '<plateProbabilities>' section in your vehicle's 'carvariations.meta/carvariations.ymt':

    Example:

        <Item>
          <modelName>police</modelName>
          <colors>
            <Item>
              <indices content="char_array">
                134
                134
                0
                156
                0
                0
              </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"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
                <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>Police guv plate</Name>  <!-- edit this line -->
                <Value value="100"/>
              </Item>
            </Probabilities>
          </plateProbabilities>
          <lightSettings value="1"/>
          <sirenSettings value="13"/>
        </Item>
    


  • I tried that but that only affects vehicles that I spawn in or cop cars that spawn in the world naturally. The police cars that spawn when I have a wanted level still have the "SA EXEMPT" plates.



  • @puppymaster27
    Likely controlled by a script in that case, you'd probably have to create a script yourself/use cheat engine (if possible) etc to influence it.

    Maybe edit the textures themselves, if that would work for you. I figure they are probably using these ones in 'vehshare.ytd':

    vehshare.ytd:

    SA Exempt

    Note:
    All the 'vehshare.ytd's in your 'mods' folder need to be identical or you can run into weird vehicle related texture issues. Use Ctrl+F3 in OpenIV to search for 'vehshare.ytd' & edit all you find to be identical (ie find a 'vehshare.ytd' that contains all the textures you might need (inc custom/modded ones etc), edit the plate in that & then use that file to replace all the others you find).

    If you've edited all 'mods' folder 'vehshare.ytd's to be identical & you still have texture issues (vehicle textures displaying in the wrong place on vehicles etc). Search your vanilla 'game' folder in OpenIV for 'vehshare.ytd' & copy across to your 'mods' folder any archives that contain the 'vehshare.ytd's you are missing & edit them to be identical also.

    If a vehicle has a plate it uses in it's own '.ytd', that will override the one in 'vehshare.ytd', so those plate textures in a vehicle's '.ytd' (if used by the vehicle) will either, need to be removed from the vehicle's '.ytd' or edited also.



  • Oh my bad, it actually did work. I just didn't have the license plate mod installed correctly. Everything's good now.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.