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

Gelse16

Members

(edited)

any chance for controller support? primary a custom keybind to activate the voice recognition.

Edited by Gelse16

CrashLSPDFR

Members

What are the names for the mouse buttons in the .ini

doublehook

Members Author

53 minutes ago, Gelse16 said:

any chance for controller support? primary a custom keybind to activate the voice recognition.

You know, I didn't even consider that. Yes, I will see about adding controller support, especially for the voice recognition. I got you. 

21 minutes ago, Asackofpotatoes said:

What a game changer great work brotha!

Thank you! I really appreciate that!!

26 minutes ago, CrashLSPDFR said:

What are the names for the mouse buttons in the .ini

I saw you posted on Discord. I'll hit you up there. 

Gelse16

Members

(edited)

1 hour ago, doublehook said:
2 hours ago, Gelse16 said:

any chance for controller support? primary a custom keybind to activate the voice recognition.

You know, I didn't even consider that. Yes, I will see about adding controller support, especially for the voice recognition. I got you. 

that would be awesome and it would only really necessary for this one function (Keybind, ModifierKey). i'm fine with using the keyboard for anything else. 👍

Edited by Gelse16

Bray

Members

6 minutes ago, Gelse16 said:

Das wäre super und wäre eigentlich nur für diese eine Funktion notwendig. Für alles andere kann ich die Tastatur verwenden.👍

Do you think it would be possible to release a German translation of this as well? How long would that take? I tried using Chat GPT for this, but it doesn't seem to be able to translate an entire XML file.

doublehook

Members Author

7 minutes ago, Bray said:

Do you think it would be possible to release a German translation of this as well? How long would that take? I tried using Chat GPT for this, but it doesn't seem to be able to translate an entire XML file.

I can look into this. I would be using the same approach though, ChatGPT or maybe Grok. It might be easier to just split it up into a few chunks that ChatGPT will accept, rather than trying to do it in one pass due to the number of lines in the XML file. 

RebelLeon2003

Members

If I change the language in the .ini file from English to Italian, will anything change? Or do I have to manually translate the "Responses" and "userresponses" files?

doublehook

Members Author

(edited)

5 minutes ago, RebelLeon2003 said:

If I change the language in the .ini file from English to Italian, will anything change? Or do I have to manually translate the "Responses" and "userresponses" files?

Hey there! Changing the language from English to Italian only impacts what language the speech recognition is listening for. Yes, you would need to manually translate the xml's to Italian. Sorry for this inconvenience. I'll look into translating these to a few different languages to help out the community. If you split up the XML's into chunks, it might be possible to run it through ChatGPT. I don't think it will take the XML file as a whole, but it's possible to break them into pieces and run them through for quick translation. 

Edited by doublehook

RebelLeon2003

Members

13 minutes ago, doublehook said:

Hey there! Changing the language from English to Italian only impacts what language the speech recognition is listening for. Yes, you would need to manually translate the xml's to Italian. Sorry for this inconvenience. I'll look into translating these to a few different languages to help out the community. If you split up the XML's into chunks, it might be possible to run it through ChatGPT. I don't think it will take the XML file as a whole, but it's possible to break them into pieces and run them through for quick translation. 

Okay, okay, I get it. So if I translate the XML files and then set the .ini file to Italian, it will recognize my language, right?
Anyway, I'll try using it in English for now. When I have time, I'll try translating the files. Thanks for the reply. The mod looks very promising!

Bray

Members

17 minutes ago, doublehook said:

Hallo! Die Umstellung der Sprache von Englisch auf Italienisch beeinflusst lediglich die Sprache, auf die die Spracherkennung reagiert. Ja, Sie müssten die XML-Dateien manuell ins Italienische übersetzen. Entschuldigung für die Umstände. Ich werde versuchen, die Dateien in mehrere Sprachen zu übersetzen, um der Community zu helfen. Wenn Sie die XML-Dateien in kleinere Abschnitte aufteilen, könnten Sie sie möglicherweise mit ChatGPT verarbeiten. Ich glaube nicht, dass die gesamte XML-Datei verarbeitet werden kann, aber es ist möglich, sie in Teile zu zerlegen und diese für eine schnelle Übersetzung zu verarbeiten. 

Yes, I noticed that with ChatGPT as well. No matter which model you use, even with the Pro version, it's unable to translate a complete XML file.

CookZfr

Members

Hey, I installed this really excited to finally talk to my NPC's, but my game keep freezing then crashing anytime I load it. It seems to be this mod only. I deleted all other mods that could have issues and it still crashed. I then tried to delete this one and it loaded. I reinstalled all of my mods and repeated the process to make sure it wasn't a one time thing. But the same thing happened. I'm not sure what to do and if I'm the only one with this issue. Any response would be appreciated, is this only happening to me? 

doublehook

Members Author

4 minutes ago, CookZfr said:

Hey, I installed this really excited to finally talk to my NPC's, but my game keep freezing then crashing anytime I load it. It seems to be this mod only. I deleted all other mods that could have issues and it still crashed. I then tried to delete this one and it loaded. I reinstalled all of my mods and repeated the process to make sure it wasn't a one time thing. But the same thing happened. I'm not sure what to do and if I'm the only one with this issue. Any response would be appreciated, is this only happening to me? 

Hey there! Sorry for the troubles you're experiencing. If you hit up my Discord link https://discord.gg/9RMrrvm5qH, I'm happy to help get you up and running. There's a section to report errors and you can upload a copy of your rage log as well so I can investigate. I'll get you sorted out! 

CookZfr

Members

1 minute ago, doublehook said:

Hey there! Sorry for the troubles you're experiencing. If you hit up my Discord link https://discord.gg/9RMrrvm5qH, I'm happy to help get you up and running. There's a section to report errors and you can upload a copy of your rage log as well so I can investigate. I'll get you sorted out! 

Okay, thank you so much! I will make sure to join, sorry for the inconvenience!

doublehook

Members Author

3 minutes ago, CookZfr said:

Okay, thank you so much! I will make sure to join, sorry for the inconvenience!

No inconvenience whatsoever my friend!

On 11/5/2025 at 12:29 AM, Asackofpotatoes said:

Ohhhhh im an idiot so it does work. So what i was trying to do is on 2.0 release. Can't wait for it to drop thank you.

Me too

Bumble Bee

Members

blacklisting the EMS and police peds is definitely a good idea, i just did an ID request on a driver and had the cop on the OTHER side of the car teleport me over to give me her ID

doublehook

Members Author

3 hours ago, BlueLine Vibes said:



You have out done yourself sir!   I am slowly tackling this update,  you have been very busy and I see you have put a crap ton of work into this!

Thanks so much for the kind words! I worked really hard to give the community something even more unique than what version 1 had to offer, and I hope I've done that with version 2.0. I feel I can push it even further in the next major release (GTA 6 maybe 😉). I hope this new version brings you as much joy as it does for me!

2 minutes ago, Bumble Bee said:

blacklisting the EMS and police peds is definitely a good idea, i just did an ID request on a driver and had the cop on the OTHER side of the car teleport me over to give me her ID

Thanks for the feedback. It's looking more and more like my next update (sometime this coming week) will include this change. Appreciate your time in providing the scenario you encountered. 

doublehook

Members Author

28 minutes ago, JM Modifications said:

I definitely talk to my fellow officers with NPCI. 

Me too. I would definitely miss it if it wasn't there. Thanks for sharing your input. After giving this some more thought, I might have a solution. I'm testing it now actually. I'm going to see if I can implement some kind of switch in the ini file that users can activate if they want to blacklist officers and emergency type personnel from their interactions. That way it becomes an option rather than a forced update, giving the users the freedom to choose their style of NPCI interaction. Hopefully it works. 

Bear82

Members

Wow, that sounds really great, that it's finally possible to talk to people.  A lot of work must have gone into this – could an audio response possibly be added in the future? Thank you so much for this!

nova2727

Members

Add something like vehicle maintenance checks. So you stop a car and you could ask questions about the car. How long have you had this car,your tail pipe is smoking, your rear light is not working etc something like a vehicle stop issue not just crime related but you could have vehicle maintenance issues checks 

2.0.0 dll with extras works great; I'm still getting the hang of the mass amount of responses I can generate. I like how I can communicate with other fellow officers and also do roleplay dialogue manually easily with the press of a hotkey.


Well done, doublehook, and thanks for your continued support privately. 

doublehook

Members Author

1 hour ago, Bear82 said:

Wow, that sounds really great, that it's finally possible to talk to people.  A lot of work must have gone into this – could an audio response possibly be added in the future? Thank you so much for this!

Hey! Thanks for your comment! Yes sir, a LOT of work went into this plugin. I think I lost some valuable years on my life from the lack of sleep I've had over the past 6 months. With a full time job, late nights were the only time I had to work on this, outside of some weekend time.

 

It's definitely possible for AI voices to be implemented in a future version. I'll be going all out on V3. My goal is for full on natural conversation without scripted XML's. No more memorizing or customizing phrases, just flat out conversational AI.  🙂

55 minutes ago, 2 Girls 1 Cop Police GTA said:

2.0.0 dll with extras works great; I'm still getting the hang of the mass amount of responses I can generate. I like how I can communicate with other fellow officers and also do roleplay dialogue manually easily with the press of a hotkey.


Well done, doublehook, and thanks for your continued support privately. 

Thanks man. I really appreciate the kind words! I'm so glad you're enjoying 2.0, and that I was able to help get you up and running just in time for V2 to drop! If you need anything at all my friend, you know I got you!  🙂 

4 hours ago, Bumble Bee said:

blacklisting the EMS and police peds is definitely a good idea, i just did an ID request on a driver and had the cop on the OTHER side of the car teleport me over to give me her ID

After a couple of hours of testing, I came up with a working solution and it's already been implemented. In the next dot release (sometime towards the end of next week - maybe sooner), there will now be a new toggle option in the NPCI.ini file to enable (or disable) a blacklist feature that removes all police PEDS and emergency personnel from being flagged by any NPCI action or interaction. Help is coming! 🙂

Create an account or sign in to comment

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.