Jump to content

LSPD Police Badge 1.0.0

   (2 reviews)

5 Screenshots

About This File

This is a basic LSPD police badge which can be added to the game and used with LSPDFR 0.4.2.

 

The badge uses the same model and texture as the vanilla LSPD badge found in the game, with a slight metallic effect.  It is optimized for use with LSPDFR 0.4.2's 'Flash Badge' feature and as such may not be ideal for other uses like spawning as a prop.

 

How to install:

Installation should be really simple, just use the OpenIV package manager.  You need a mods folder with the latest update.rpf copied into it.  This mod will not change any files, it installs itself as its own content pack.

 

After you install, you'll need to update your LSPDFR Agency data and assign the badge to an Agency of your choice.  See below for how to do this.


LSPDFR 0.4 Agency XML:

Shown here is an example Agency configuration with the LSPD badge:

 

Spoiler

<Agency>
  <Name>Los Santos Police Department</Name>
  <ShortName>LSPD</ShortName>
  <ScriptName>lspd</ScriptName>
  <Inventory>default</Inventory>
  <TextureDictionary>web_lossantospolicedept</TextureDictionary>
  <TextureName>web_lossantospolicedept</TextureName>
  <BadgeModel>prop_lspd_badge</BadgeModel>
  <Loadout>
    <Name>Patrol Unit</Name>
    <Vehicles>
      <Vehicle>police</Vehicle>
      <Vehicle>police2</Vehicle>
      <Vehicle>police3</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>Transport Unit</Name>
    <Vehicles>
      <Vehicle>policet</Vehicle>
    </Vehicles>
    <Peds>
      <Ped chance="100" outfit="lspd_cop">mp_m_freemode_01</Ped>
    </Peds>
    <NumPeds min="1" max="2" />
    <Flags>RespondsAsTransport</Flags>  <!-- Makes the unit eligible to be called for prisoner transport.  Only use this if there will be free seats for prisoners. -->
  </Loadout>
</Agency>

 

 

In other words, just make sure the Agency has the following:

<BadgeModel>prop_lspd_badge</BadgeModel>

 


 

 

Note that this model is released in an unlocked format, and the position and rotation of the model within 3D space might be useful as a template for others to create their own badge models that work nicely with LSPDFR 0.4.2.

 

Thanks to @Sniper296 for the artistic render.

User Feedback

Recommended Comments



Wanna say thank you for all your hard work for creating the LSPDFR mod.

I would so donated to you if i wasn't so poor because there not many amazing good police force games.

I hope there more updates coming to the future adding more stuff in the game.

10/10

Link to comment
Share on other sites

Hello, I followed all the instructions but in my case it doesn't work, I keep taking the IAA badge ... I hope I can fix it. Anyway thanks for the contribution, this badge was very necessary.

Have a great day 😛

 

Edited by Lafar
Link to comment
Share on other sites

5 hours ago, Lafar said:

Hello, I followed all the instructions but in my case it doesn't work, I keep taking the IAA badge ... I hope I can fix it. Anyway thanks for the contribution, this badge was very necessary.

Have a great day 😛

 

 

Make sure that you have edited your agency XML to add the <BadgeModel> tag.

Link to comment
Share on other sites

Working perflectly ! Guys, you just have to modify "agency_eup" in custom folder, and add <BadgeModel>  🙂

Edited by Lamaline
Link to comment
Share on other sites

19 minutes ago, Lamaline said:

 

where inside of agency i put this 

<BadgeModel>prop_lspd_badge</BadgeModel>

can some one help?

Link to comment
Share on other sites

5 hours ago, Lamaline said:

Working perflectly ! Guys, you just have to modify "agency_eup" in custom folder, and add <BadgeModel>  🙂

Thanks @Lamaline for the comment, it has helped me a lot. Everyone using EUP make sure to edit the "agency_eup.xml" instead of the default LSDPFR agency data. 👍👍

 

Edited by Lafar
Link to comment
Share on other sites

14 hours ago, Lafar said:

Hello, I followed all the instructions but in my case it doesn't work, I keep taking the IAA badge ... I hope I can fix it. Anyway thanks for the contribution, this badge was very necessary.

Have a great day 😛

 

You need to go into the "agency" file:

 

image.png.11f2d6d9495129eff362edcadbe66d12.png

 

Once in the agency file, make sure to add the highlighted text below to the LSPD portion as shown:

image.png.af7e312df29e1f8571b422b0cbdcd35c.png

 

Once you have done that, make sure that when you go on duty, you choose to go on duty as LSPD.  If you go on duty as any other agency, it will default to the FIB badge.  Currently, it looks like the FIB badge is the only one in game by default, so it seems to default to that for agencies with no badge model defined.  

 

 

 

Also, if you are using a custom agency.xml in the custom folder, you will need to make the same changes there.

Link to comment
Share on other sites

On 6/18/2019 at 3:56 AM, Lafar said:

Hello, I followed all the instructions but in my case it doesn't work, I keep taking the IAA badge ... I hope I can fix it. Anyway thanks for the contribution, this badge was very necessary.

Have a great day 😛

 

I keep flashing FIB badge.

Link to comment
Share on other sites

I got a bit of an issue. When I click install into mods folder using OpenIV it says there was a fatal issue and the installation has failed. Also if I were to get this to work, how would I deploy the badge using the default key?

Link to comment
Share on other sites

Nice! Think you could do a few others?

 

Blaine County Sheriff?

Los Santos County Sheriff?

San Andreas State Police?

 

 

Link to comment
Share on other sites

On 7/6/2019 at 10:42 AM, yuar23 said:

i followed the instructions and those in the comments, but i still get the fib one help?

 

same did you ever find solution?

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...