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.

Having issues trying to set up custom vehicle spawns, and jurisdictions.


sorashinigami

Recommended Posts

I've been trying to figure out what I did wrong in my coding. (I'm new to this.)

I've basically copied the LSPD info and tried to match the style of it to create a "department" and "jurisdiction" for Del Perro.

The code will be below:

 

This is currently sitting in my "Agency.xml" file for "dppd":

Spoiler

<Agency>
    <Name>Del Perro Police Department</Name>
    <ShortName>DPPD</ShortName>
    <ScriptName>dppd</ScriptName>
        <TextureDictionary>web_lossantospolicedept</TextureDictionary>
        <TextureName>web_lossantospolicedept</TextureName>
        <Inventory>default</Inventory>
        <Loadout>
            <Name> DPPD Patrol Unit</Name>
            <Vehicles>
                <Vehicle>dppolice</Vehicle>
                <Vehicle>dppolice2</Vehicle>
                <Vehicle>dppolice4</Vehicle>
            </Vehicles>
                <Peds>
                <!-- 70% chance of male peds -->
                <Ped chance="60" outfit="lspd_cop.m_base" inventory="patrol">mp_m_freemode_01</Ped> <!-- Specifically the "base" variation, with no rank insignia -->
                <Ped chance="10" outfit="lspd_cop" inventory="patrol_stun">mp_m_freemode_01</Ped> <!-- Any variation - could possibly have rank insignia - will also have a stun weapon -->
                
                <!-- 30% chance of female peds -->
                <Ped chance="25" outfit="lspd_cop.f_base" inventory="patrol">mp_f_freemode_01</Ped> <!-- Specifically the "base" variation, with no rank insignia -->
                <Ped chance="5" outfit="lspd_cop" inventory="patrol_stun">mp_f_freemode_01</Ped> <!-- Any variation - could possibly have rank insignia - will also have a stun weapon -->
            </Peds>
            <NumPeds min="2" max="2" />
            <Flags>
                <Flag>RespondsAsTransport</Flag> <!-- Makes the unit eligible to be called for prisoner transport.  Only use this if there will be free seats for prisoners. -->
                <Flag>RespondsAsBackup</Flag>  <!-- Makes the unit eligible to be called as either Code 2, Code 3 or Pursuit backup. -->
                <Flag>SpawnsAmbiently</Flag>   <!-- Makes the unit eligible to spawn ambiently - e.g. on patrol in the area or outside of police stations -->
            </Flags>
        </Loadout>
        <Loadout>
            <Name> DPPD Transport Unit</Name>
            <Vehicles>
                <Vehicle>dppolice4</Vehicle>
            </Vehicles>
            <Peds>
                <Ped chance="100" outfit="lspd_cop">mp_m_freemode_01</Ped>
            </Peds>
            <NumPeds min="1" max="2" />
            <Flag>RespondsAsTransport</Flag> <!-- Makes the unit eligible to be called for prisoner transport.  Only use this if there will be free seats for prisoners. -->
            <Flag>SpawnsAmbiently</Flag>
        </Loadout>
        <Loadout>
           <Name>Community Resources</Name>
        <Vehicles>
            <Vehicle>dppolice3</Vehicle>
            <Vehicle>dppolice5</Vehicle>
        </Vehicles>
        <Peds>
        <Ped chance="100" outfit="lspd_cop">mp_m_freemode_01</Ped>
        </Peds>
        <NumPeds min="1" max="2" />
        <Flag>RespondsAsTransport</Flag>
        <Flag>SpawnsAmbiently</Flag>
        </Loadout>


I have this set under the "Agency.xml" file:

<DelPerro>
            <Agency>dppd</Agency>
        <DelPerro>

 

And this sets under the "Regions.xml" file:

  <Region>
    <Name>DelPerro</Name>
    <Zones>
        <Zone>DELBE</Zone>
        <Zone>DELPE</Zone>
        </Zones>
    </Region>

 

I'm trying to figure out how I can get the Del Perro custom vehicles to patrol, and spawn ambiently around the area so things are a little more immersive.

I've looked through the "Technical Documents", and some of them are confusing me (since I'm new to all of this.)

Any assistance would be greatly appreciated.

Sora

Link to comment
Share on other sites

You should only reply here to ask for more information from sorashinigami or to answer the person's issue.

Reply to this thread only to offer help or assistance to sorashinigami.
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
You can no longer reply to this support topic as it was started over a year ago. Please make a new thread.


×
×
  • Create New...