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.

NPCI 2.1.0.0

(15 reviews)

2 Screenshots

NPCI 2.1 is LIVE!

 

NPCI brings you a new way of interacting with PEDS inside of LSPDFR and adds a whole new level of immersion to your gameplay experience!

 

ANNOUNCEMENT:

The new update (2.1) is OUT. This new version finally brings the Microsoft Speech Platform to NPCI, but with a twist! You can now CHOOSE between WSR or MSP in the INI file. You can also tweak the confidence level threshold for each engine in the INI file to find your sweet spot. Lower the value to loosen up the speech recognition or increase the value to tighten it up (you can do it in .01 increments). 

 

*** Because both engines (WSR & MSP) are intertwined in the new NPCI 2.1 update - YOU MUST have Microsoft Speech Platform installed to use NPCI 2.1, even if you don't intend on using the new Microsoft Speech Platform. If you do not have MSP installed, you can download it from the links below: *** 


Microsoft Speech Platform: https://www.microsoft.com/en-us/download/details.aspx?id=27225 
Language Packs:  https://www.microsoft.com/en-us/download/details.aspx?id=27224
-- For the speech platform install, download the larger 2.6 MB SpeechPlatformRuntime.msi, NOT the 2.2 MB one. 
-- For English users - download the "MSSpeech_SR_en-US_TELE.msi"

 

Here's the complete list of changes in NPCI 2.1:

Spoiler

• Support for Microsoft Speech Platform -- now anyone can use NPCI where MSP is supported!

• DUAL speech recognition option. Set the engine to use WSR or MSP in the NPCI.INI file.
• Speech recognition confidence threshold customization - modify the confidence threshold in the NPCI.INI file.

• Fixed Grammar Police PED check not working when asking for license on foot or during traffic stops (PR version - Huge thanks to Echooo for that one). 
• New blacklist option for all emergency personnel (default is enabled).
• New PED actions by voice (PED wait by patrol vehicle & PED go to crosshair location & more).
• New Player actions by voice.
• New PED automark feature for both PR & STP (auto enables PR/STP when you perform my frisk action).
• XML update that brings nested phrases into a single command.
• Controller support for NPCI voice input and for the new PedGoToCrosshair action.

 

For those of you who just want to add the new actions into your existing UserResponses xml file (so you don't overwrite any of your existing customization's), I included a text file with the new actions. Just copy and paste them into your existing xml file and you'll be good to go. Don't forget to take advantage of the new XML nested phrases feature!

 

Need support? Join the NPCI Discord and help grow the NPCI community - join us here: https://discord.gg/9RMrrvm5qH

Want to show some love for all my hard work on NPCI - join my Patreon here: https://www.patreon.com/cw/Doublehook

 

How to use the new PED go to crosshair location action:

Spoiler

First, customize the [Targeting] keybind to whatever you prefer in the NPCI.INI file. Then while in game, hold down the keybind you set for the [Targeting] crosshair, and you'll see a small white crosshair appear on your screen. Move that around to your desired location, and while holding down the targeting keybind, give the phrase to the PED to "wait over there" or "go over there" or whatever you customize this phrase with, and then let off the [Targeting] keybind, and the PED will comply. Your player character will automatically turn to the location you selected and point for the PED to go. There are 2 different actions for this new feature - one that commands the PED to go to your crosshair and then turn around and face you and the other commands the PED to go to your crosshair and face away. Great to use the face away one when you want PEDS to get up against a vehicle or wall for pat downs ("get against the vehicle" or "get against the wall"). It might take you one or 2 tries to get the hang of how it works, but once you do, you'll end up using these actions a ton!

 

 NEW XML Nested Phrases Update:

Spoiler

You can now nest phrases inside of a single command, to help better organize your phrases and responses and avoid all the duplication with variations of your phrases. An example of this is shown below:

 

    <Command>
        <Text>take care</Text>
        <Text>take it easy</Text>
        <Text>you have a good one</Text>
        <Text>have a good one</Text>
        <Text>have a good day</Text>
        <Text>you have a good day</Text>
        <Text>have a good evening</Text>
        <Text>you have a good evening</Text>
        <Text>have a great day</Text>
        <Text>have a great evening</Text>
        <Action>DismissNPC</Action>
        <Responses>
            <Response>See you later sir.</Response>
            <Response>See you officer.</Response>
            <Response>You too sir.</Response>
            <Response>You too officer.</Response>
            <Response>Will do sir.</Response>
            <Response>Will do officer.</Response>
            <Response>You do the same.</Response>
        </Responses>
    </Command>

 

NPCI v2.1 brings a ton of new features, such as PED actions by voice, Player actions by voicenew PED animations, PED idle animations, a built in animation viewer, the ability to cycle through 49 different walk styles (with the option to set a default walk style when loading up LSPDFR), and more! Interactions in NPCI 2.1 have never felt more alive!

 

There are 2 versions available in the download: "NPCI 2.1 for PR" & "NPCI 2.1 for STP". Make sure you install the correct one!

 

Installation:

Spoiler

First and foremost, please read through ALL of the provided documentation before you get started. There are so many new features in version 2.1, and I'd hate for you to miss out on everything that NPCI 2.1 has to offer. 

 

NPCI is now an LSPDFR plugin. Before you install the new version, be sure to remove the old version from the base plugins folder, or you'll encounter issues.

 

Drag and drop the "plugins" folder inside the zip for the version you're using (PR or STP) directly into your main Grand Theft Auto "root" folder, or simply drag and drop the individual plugin files (including the WindowsInput.dll) directly into your "plugins\LSPDFR" directory. Make sure the NPCIXML folder is also in the same "plugins\LSPDFR" directory as the dll.

 

\Grand Theft Auto\plugins\LSPDFR\

 

For users who have significantly customized their UserResponses.XML files, I included a text file in the NPCI 2.1 zip with the new actions that were added in this update, so you can simply copy and paste those new actions directly into your existing UserResponses.XML. 

 

Due to the new version and how the XML files have changed, I've re-provided BOTH the "Responses.xml" & "UserResponses.xml" files. Don't OVERWRITE your customized versions!! For those of you who have customized your xml files, you'll need to update them to the current format. All responses, regardless of the xml file, have a new "<Action> </Action>" tag. This tag is vital to NPCI 2.1, as it dictates what actions or animations will trigger when you give a voice command phrase. All of your custom phrases will need to have this new action tag added into your xml files (if you want the PEDS to respond with the new animation features). There is a README in the download that covers all of the new PED actions and PED animation category tags, so you'll know which ones to add to your custom responses for certain situations. 

 

XML Customization

Spoiler

Please refer to the "NPCIXML" folder inside the plugins directory to customize the questions/responses and the new "Action" commands. There are 2 XML files to customize these features. One is called "Responses.XML", which is the default XML file containing all of the original questions/responses from v1.0.3. The 2nd XML file is called "UserResponses.XML", which contains all of the action commands (along with some random questions/responses as well). You can use either one to customize your very own questions and responses for NPCI. Either XML file will also take the action commands. In addition to these XML files, you will find 3 new ones called GenericPedAnimations.xml, IdleAnimations.xml, & AnimViewer.xml. The provided documentation explains what these XML files are for and how you can customize them. I will be putting up some videos in the next couple of days walking you through the new XML files and how you can customize them. 

 

**Quality of life update: the questions/phrases can now have capital letters in there, so no more worries about them all having to be lowercase!

 

**** Due to in-game limitations, the max response length is 100 characters. Anything over 100 characters will be cutoff on the onscreen response. When customizing your responses, you must keep them to 100 characters or less (between the <Response> and </Response> brackets).

 

Demonstrations

These videos are using voice activation and NPCI 2.1 only. No menus, just straight up voice commands. I just added an early preview for NPCI 3.0 as well, so enjoy! 

 

Keep an eye out on my YT page (https://www.youtube.com/@doublehookmedia) for more videos! I'll be posting videos to show you how to modify your XML files, including the PED animations and idle animations. I'll also go over how to create new PED emotion categories and explain how to customize them to create your own PED animations.

 

What is NPCI?

Spoiler

NPCI stands for "Non Playable Character Interaction". NPCI allows you to talk to any PED inside of GTA 5 LSPDFR using just your voice and get text responses back onscreen. Like many others, I found myself avoiding the "question the ped" option inside of STP, because it took too long to generate the interaction dialog. Desperately wanting to include this immersive interaction in my gameplay, I set out to create a plugin for myself that would allow me to speak the same types of questions using just my voice. After 5 long months of testing and tweaking, it ended up working out better than I could have ever hoped for. Now I'm sharing that same experience with all of you!

 

Suggested "must have" LSPDFR plugins & addons to use alongside NPCI

Policing Redefined & Grammar Police. While NPCI works the same for both PR & STP when it comes to the available features, NPCI runs much smoother with the better coded Policing Redefined, so if you want the best NPCI experience, I strongly suggest you go with PR!

 

Tutorials

Spoiler

The new NPCI.ini file comes with several options for keybind customization's. You can customize your voice input (now with a modifier option & controller support), a new RP type mouth movement that you can use to talk to PEDS when not asking them questions from the XML file, and many more. ** A neat trick you can implement -- if you have a way of stacking keybinds on your mouse, you can use both my new roleplay (RP) manual mouth movement keybind option, along with Grammar Police, to make your mouth move when you talk to dispatch! The stack order does matter, so my RP keybind would have to come before GP, otherwise, GP's keybind cancels the mouth movement ** Don't forget to add a custom walkstyle name in the INI file to load when LSPDFR starts up! All of the keybind options come with a modifier option as well. 

 

To generate the onscreen text response, simply hold down the keybind you customized in the INI file and speak your desired question from either of the Responses xml files, or any questions of your own that you created, and then let off the keybind for the text response to be displayed onscreen. Be sure you are holding down the keybind prior to speaking the phrase and not letting off until the entire phrase has been spoken, so that the proper response is triggered. Don't be afraid to experiment with with the phrases. If you have trouble getting the phrases to be recognized, change them up. Find the ones giving you trouble and customize them with a different phrase. It will require some trial and error, but once you get it sorted, you interactions will be much more consistent. If you're having speech recognition issues, adjust the new confidence threshold option in the INI. If that's still not working for you, make sure you try both engine options (WSR & MSP). If it's still not working, then it's an issue on your end, not with NPCI. NPCI does not control speech recognition, Windows does. NPCI only enables your audio to pass through, use your local speech recognition to match your spoken phrase, and then display the onscreen text it matches with from the XML's. 

 

Remember, many of these questions/phrases you already RP in-game each time you interact with a PED. Just modify the ones I provided to match the way you like to speak those commonly used phrases! It will help to cut down on memorization. 

 

Don't overlook the option to customize the unrecognized text responses that show onscreen for unrecognized input. Also, the unrecognized responses now have PED animations as well, to make the unrecognized responses feel more like a part of the interaction and less like an error. If you customize these just right, these unrecognized responses can fit a lot of scenarios and feel more like deliberate responses, making it easier for you to continue with your PED interactions! Come up with phrases/responses to ask back to the PED when getting an unrecognized response. This will help play out those instances and make the responses feel like they're part of the interaction. 

 

Suggestions & Bug Reporting:

All bug reports and suggestions will be done through Discord. Join my Discord server here: https://discord.gg/9RMrrvm5qH

 

Future releases

• Add audio voices for the responses (with optional onscreen text)

 

• Add in more PED and Player action animations

 

• Future enhancements using AI interaction for more natural, conversational, and unscripted exchanges. 

 

© 2025 NPCI by doublehook. All rights reserved. Do NOT reverse engineer, modify, or share the contents of my plugin without my express written consent

 

 

 

Edited by doublehook

What's New in Version 2.1.0.0

Released

* DUAL speech recognition support. Set the engine to use WSR (legacy Windows speech recognition) or MSP (the new Microsoft Speech Platform) in the NPCI.INI file

* New speech recognition confidence threshold customization - modify the confidence threshold (WSR or MSP) to better match your speech recognition needs

* New blacklist option for all emergency personnel (default is enabled)

* New PED actions by voice (PED wait by patrol vehicle & PED go to crosshair location & more)

* New Player actions by voice

* New PED automark feature for both PR & STP - marks the PED automatically for you when giving the frisk action command (in case you forget prior to giving the command)

* XML update that brings nested phrases into a single command - to help better organize your XML files and alleviate duplicate responses for each unique phrase

* Controller support for NPCI voice input and for the new PedGoToCrosshair action (customizable in the NPCI.INI file)

 

 

 


Short Description

A brand new way to talk to PEDS in LSPDFR - using just your voice!

User Feedback

Recommended Comments

doublehook

Members Author

1 hour ago, heinrich12 said:

will this work with policer advanced

Hi there. Yes, this will work with PA. 

nova2727

Members

(edited)

6 hours ago, heinrich12 said:

will this work with policer advanced

im going try that now i get back to you in 10 mins

Edited by nova2727

nova2727

Members

(edited)

does not work with policer advanced

Edited by nova2727

doublehook

Members Author

(edited)

9 hours ago, nova2727 said:

does not work with policer advanced

Hi there. Thanks so much for testing this on your end and sharing your results. At the heart, NPCI is a tool to talk to PEDS, which you can absolutely do no matter what mod you use. Some of the new actions are inaccessible depending on the scenario in PA, but the core of what NPCI does, interact with PEDS, does indeed work inside PA. Policer Advanced is definitely a cool mod. I had fun playing around with it this morning. It uses a combination of custom and LSPDFR vanilla mechanics. In my testing, I did find that some of the new NPCI actions did not work when specifically stopping the PED through PA, but that's not always needed. For PA's PED menu options, NPCI does many of these actions, like ask for ID, StopThePed, Follow, Dismiss, and Dialog (NPCI definitely does). As far as traffic stops, with NPCI you can ask for vehicle documents, you can ask the PED to shut off the engine, you can ask the PED to exit the vehicle, and you can ask the PED to follow you, without using PA's menu options. Just as with Policing Redefined, as well as STP, there ARE menu items that you still need to use with those respective mods when using NPCI, just as you would need to do with Policer Advanced. Even if you weren't using any of NPCI's new actions, you still have the full suite of NPCI PED interactions available to use at any time in PA. For users who would like to use NPCI with PA, you can install the NPCI-PR version, along with Common Data Framework (for the license and vehicle documents to be available - https://github.com/Policing-Redefined/CommonDataFramework/releases/), and still have great results, in conjunction with using PA's menu features.

Edited by doublehook

doublehook

Members Author

2 hours ago, CyberusWolf said:

This is sick cant wait for the MSP version to release

Then you'll be happy to hear that's it's releasing tomorrow (12/6)!  🙂

EinsteinCoomer

Members

Boutta try this new update, I'll be back here in a bit to report if it works better with MSP

EinsteinCoomer

Members

4 hours ago, EinsteinCoomer said:

Boutta try this new update, I'll be back here in a bit to report if it works better with MSP

Works swimmingly

doublehook

Members Author

6 minutes ago, EinsteinCoomer said:

Works swimmingly

That's great news! Thanks for your time in testing out the new update and reporting back your experience. I really appreciate it!

lspdfbr

Members

There's a command on the stop pad that lets you ask the vehicle to follow you from inside the vehicle. It would be really cool to add that to the NPC, so you can ask the character to drive the vehicle to you.

nova2727

Members

What about a megaphone to talk to vehicle to follow you or do traffic stop from inside u vehicle. Also more ped tests to see how drunk they are or under the influence. More animation like open your trunk pick up first aid or field test

OrionPax087

Members

what is the difference between PR and STP?

nova2727

Members

2 hours ago, OrionPax087 said:

what is the difference between PR and STP?

PR is updated version that will do everything in one mod, PR will also give you more choices and immersion

doublehook

Members Author

(edited)

2 hours ago, OrionPax087 said:

what is the difference between PR and STP?

Hi there. Assuming you're asking about the differences in NPCI versions between those 2 mods -- the NPCI versions for PR & STP have identical features, so you don't lose any of the core functionality with either mod you go with, but due to the differences in how each mod handles their implementations, I had to code NPCI differently to work with each mod. With that said, while the versions are identical in terms of features, STP has some weird quirks and odd coding choices that plays havoc with a few of my actions, so if you want the best experience with NPCI, I strongly recommend using Policing Redefined (over STP) and using my NPCI-PR version.

Policing Redefined, IMO, is leaps and bounds better than STP, even in its beta stage. I hope this answers your question.

Edited by doublehook

nova2727

Members

5 hours ago, doublehook said:

Hi there. Assuming you're asking about the differences in NPCI versions between those 2 mods -- the NPCI versions for PR & STP have identical features, so you don't lose any of the core functionality with either mod you go with, but due to the differences in how each mod handles their implementations, I had to code NPCI differently to work with each mod. With that said, while the versions are identical in terms of features, STP has some weird quirks and odd coding choices that plays havoc with a few of my actions, so if you want the best experience with NPCI, I strongly recommend using Policing Redefined (over STP) and using my NPCI-PR version.

Policing Redefined, IMO, is leaps and bounds better than STP, even in its beta stage. I hope this answers your question.

Agreed,its much better than stp. also in PR you can use directions to ask the ped to move backwards get on ground,also handcuff them infront or behind and much much more

Cujoroosky

Members

So ive been trying to get this mod to work for like 4 hours today and i still have the same issue: everything works excecpt for the responses. they just keep on giving me generic answers and dont listen to what i say/ask. im using STP and have tried using both the engines. and even downloaded the runtime and the language packs. i even changed some buttons around, increased the confidence, and i dont even remember what else im so tired. PLS help me. I really want to get this mod working as it seems very fun.

doublehook

Members Author

On 1/11/2026 at 5:34 PM, Cujoroosky said:

So ive been trying to get this mod to work for like 4 hours today and i still have the same issue: everything works excecpt for the responses. they just keep on giving me generic answers and dont listen to what i say/ask. im using STP and have tried using both the engines. and even downloaded the runtime and the language packs. i even changed some buttons around, increased the confidence, and i dont even remember what else im so tired. PLS help me. I really want to get this mod working as it seems very fun.

Hey there. Apologies for the delayed response. I'm sorry you've been having difficulties getting NPCI to work. At your convenience, can you please join my Discord, so that I can help you properly. You can submit a ticket and then attach your rage log right after attempting to use NPCI, or you can even DM me directly with your rage log, and I'd be happy to look it over for errors. I'll do my best to help identify the issue and get you up and running.

Here's the Discord link: https://discord.gg/9RMrrvm5qH

Officer Krammer

Members

Why isn’t it possible to tell the NPC to follow me while he’s cuffed ? It would be awesome if it would also work ! Thank you!

Or am I doing something wrong?

doublehook

Members Author

23 hours ago, Officer Krammer said:

Why isn’t it possible to tell the NPC to follow me while he’s cuffed ? It would be awesome if it would also work ! Thank you!

Or am I doing something wrong?

Hey there! Nah, you're not doing anything wrong at all. You can request a cuffed PED to follow you in the NPCI version for Policing Redefined, but it's not possible in the NPCI version for StopThePed due to PED lock that STP applies when under the influence of that mod. STP applies a very unnecessary task lock on the PED that constantly tries to re-engage every second, so if the PED was enabled to follow you, they would just stutter step the entire way. Unfortunately, there's nothing I can do to get around that issue, so I disabled that feature from working in the STP version. If you ever decide to move over to Policing Redefined, you CAN command cuffed PEDS to follow you, as well as perform a few other action commands that aren't possible in the STP version. I hope this helps.

Officer Krammer

Members

11 hours ago, doublehook said:

Hey there! Nah, you're not doing anything wrong at all. You can request a cuffed PED to follow you in the NPCI version for Policing Redefined, but it's not possible in the NPCI version for StopThePed due to PED lock that STP applies when under the influence of that mod. STP applies a very unnecessary task lock on the PED that constantly tries to re-engage every second, so if the PED was enabled to follow you, they would just stutter step the entire way. Unfortunately, there's nothing I can do to get around that issue, so I disabled that feature from working in the STP version. If you ever decide to move over to Policing Redefined, you CAN command cuffed PEDS to follow you, as well as perform a few other action commands that aren't possible in the STP version. I hope this helps.

Thank you for that perfect answer haha, but yeah maybe i will switch over to PR in the future but i like the current state with STP/UB/Compulite because PR is a little to young for me like you can't search cars for example.

mitchell66

Members

doesnt work for me its not even loading in with rph and isee that you need to load it in with rph? well i i dont see it in rph settings

doublehook

Members Author

14 hours ago, mitchell66 said:

doesnt work for me its not even loading in with rph and isee that you need to load it in with rph? well i i dont see it in rph settings

Hi there. Thanks for downloading and giving NPCI a try. NPCI 2.1 is an LSPDFR plugin, not a base plugin, and will NOT be listed in your startup plugins tab in RPH settings. NPCI goes into the same directory as your callouts or companion mods (aka - Policing Redefined, StopThePed, Grammar Police, etc.).

NPCI goes in this path:

\Grand Theft Auto\plugins\LSPDFR\

I hope this information helps. Make sure you have Microsoft Speech Platform installed as well. If you have any trouble getting it to work once it's in the LSPDFR directory, and I'm only assuming it's not since you're looking for it in the RPH settings (which only shows base plugins), please hit me up on the NPCI Discord through one of the support channels, or DM if you prefer, and I'd be happy to take a look at your ragehook.log and provide further guidance. I'll get you up and running!

D3adSh8t

Members

Any performance impact?

doublehook

Members Author

23 hours ago, D3adSh8t said:

Any performance impact?

Hey! There's no performance impact in NPCI. I carefully coded the plugin to avoid this. I hope you download it and give it a spin. 🙂

Create an account or sign in to comment

Latest Mods

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.