Jump to content
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Ai using default cop models.


xRyanHDx

Recommended Posts

I am having a problem where all the Ai cops are using the standard GTA 5 police skins however the Bike Cops use my custom models. I have British police skins/models installed. I have read up on the use of the 'Custom' folder and the .xml files but I open them and have no idea what I am actually doing. Any help would be much appreciated! 

 

( With the support thread not being open yet, understandably, I chose to post this here. )

R.Hemsworth

Link to comment
Share on other sites

The LSPD cops are set to use freemode models, rather then the preset model's you change out in openIV (Which is how they are EUP compatible).

 

Other cops (such as the one your bikecop is replacing) are simply set to the preset models.

 

What you want to do is edit the Agency.xml in notepad.

 

More specifically, if you look under the Los Santo's County Sheriff

Quote
Spoiler

<Agency>
        <Name>Los Santos County Sheriff</Name>
        <ShortName>LSSD</ShortName>
        <ScriptName>lssd</ScriptName>
        <Inventory>default</Inventory>
        <TextureDictionary>dia_police</TextureDictionary>
        <TextureName>dia_police</TextureName>
        <Loadout>
            <Name>Patrol Unit</Name>
            <Vehicles>
                <Vehicle>sheriff</Vehicle>
                                <Vehicle>sheriff2</Vehicle>
            </Vehicles>
            <Peds>
                <!-- 75% chance of male peds -->
                <Ped chance="60" inventory="patrol">s_m_y_sheriff_01</Ped> <!-- 60% chance of male sheriff ped with basic patrol inventory -->
                <Ped chance="15" inventory="patrol_stun">s_m_y_sheriff_01</Ped> <!-- 15% chance of male sheriff ped with stun gun -->
                
                <!-- 25% chance of female peds -->
                <Ped chance="20" inventory="patrol">s_f_y_sheriff_01</Ped> <!-- 20% chance of female sheriff ped with basic patrol inventory -->
                <Ped chance="5" inventory="patrol_stun">s_f_y_sheriff_01</Ped> <!-- 5% chance of female sheriff ped with stun gun -->

 

You can see under the Ped's line

Quote

<Ped chance="60" inventory="patrol">s_m_y_sheriff_01</Ped> <!-- 60% chance of male sheriff ped with basic patrol inventory -->
                <Ped chance="15" inventory="patrol_stun">s_m_y_sheriff_01</Ped> <!-- 15% chance of male sheriff ped with stun gun -->

 

The coding for standard models.

 

Just delete the freemode ped. lines for whatever department you wish to change, copy and paste one (or both) of the above lines, and then change the model to the model name of your British peds. Make note that multiple "Loadouts" can exist for the same department, and each one specifies which ped's spawn with which vehicles.

Link to comment
Share on other sites

On 2/25/2019 at 12:32 AM, zach016 said:

The LSPD cops are set to use freemode models, rather then the preset model's you change out in openIV (Which is how they are EUP compatible).

 

Other cops (such as the one your bikecop is replacing) are simply set to the preset models.

 

What you want to do is edit the Agency.xml in notepad.

 

More specifically, if you look under the Los Santo's County Sheriff

 

You can see under the Ped's line

 

The coding for standard models.

 

Just delete the freemode ped. lines for whatever department you wish to change, copy and paste one (or both) of the above lines, and then change the model to the model name of your British peds. Make note that multiple "Loadouts" can exist for the same department, and each one specifies which ped's spawn with which vehicles.

What if you want to keep using the standard ai models for backup officers? In 03.b I changed aall the officers to wear a certain uniform and now I don't see them spawn, just the free mod ones with all blue uniforms?

TheWaver.jpg

 

Link to comment
Share on other sites

1 hour ago, Dippa said:

What if you want to keep using the standard ai models for backup officers? In 03.b I changed aall the officers to wear a certain uniform and now I don't see them spawn, just the free mod ones with all blue uniforms?

 

If im understanding your question correctly, you need to change the ped lines in the agency.xml for the lspd. Those ped lines for  males are all set to freemode models rather then the standard models.

 

The easiest thing to do (for the patrol loadout), is copy and paste the sheriff ped lines over the lspd ped lines, and then just change the model lines to "s_m_y_cop_01" for males, and "s_f_y_cop_01" for females.

 

 

Link to comment
Share on other sites

41 minutes ago, zach016 said:

 

If im understanding your question correctly, you need to change the ped lines in the agency.xml for the lspd. Those ped lines for  males are all set to freemode models rather then the standard models.

 

The easiest thing to do (for the patrol loadout), is copy and paste the sheriff ped lines over the lspd ped lines, and then just change the model lines to "s_m_y_cop_01" for males, and "s_f_y_cop_01" for females.

 

 

So where it says "outfit" delete that also? Cause Sheriff do not have a "outfit" line?

TheWaver.jpg

 

Link to comment
Share on other sites

  • 11 months later...
  • The topic was locked
You should only reply here to ask for more information from xRyanHDx or to answer the person's issue.

Reply to this thread only to offer help or assistance to xRyanHDx.
If you want support, create your own thread in the appropriate forum. Non-relevant replies, derailing posts, "me too", disinformation and other support requests will be removed without warning.

Guest
This topic is now closed to further replies.


×
×
  • Create New...