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, PInkyPeakerHD said:

IT WORKS!!

SWEET!! I'm so glad to hear. Thanks for letting me know. I hope you enjoy it! Cheers!

doublehook

Members Author

1 hour ago, GtaSkies said:

buenas estoy trabajando en su archivo para diferentes paises , nose si aun es compatible , eh echo rusia,francia,brasil,mexico,italia,portugal , lo subire a lo largo del dia , si puedes confirmarme , podria enviarte los documentos por si tienes que implementar algo , lo malo es que hablo español y no puedo verificar bien las traduciones , espero que la comunidad me ayuden para probarlo , un saludo

¡Hola! Agradezco tu tiempo traduciendo el archivo XML a otros idiomas. Por suerte, con mi última versión (1.0.3), ahora debería funcionar en cualquier país. Siempre que se introduzca el código de idioma correcto en el archivo INI, cualquier archivo XML convertido debería funcionar en ese país o, al menos, servir como punto de partida para corregir cualquier error de traducción. Como mencionaste, espero que la comunidad ayude a probarlos y a ayudar si es necesario. ¡Gracias! ¡Saludos!

THE ALCO

Members

perfecto , justo subi las traduciones de varios paises , segun vaya avanzando el plugin iremos añadiendo nuevas preguntas y respuestas para todos los paises , tambien podemos recibir de la comunidad las que quieran para implementarlas , un saludo 

FreddCop

Members

(edited)

Greetings, bro.
I have a question: To use it in Spanish, in addition to changing the language in the .ini file, do I also need to translate the UserResponses and Responses files?

Edited by Freddcop

doublehook

Members Author

(edited)

1 hour ago, Freddcop said:

Greetings, bro.
I have a question: To use it in Spanish, in addition to changing the language in the .ini file, do I also need to translate the UserResponses and Responses files?

HI there. Great question. Yes, for the answers to be Spanish onscreen, the INI must have Spanish as the preferred language code, and both the Responses and UserResponses XML files must be in Spanish as well. One of our great Spanish community members (GtaSkies) already translated the XML files and sent them to me, and I'd be happy to share them with you if you hit up my Google form link and leave me your email address (or you can message me here directly on the site). Of course, you can create your very own Spanish questions and responses inside the XML files a well!

Edited by doublehook

doublehook

Members Author

(edited)

13 hours ago, alexsander ferraz cortez said:

What's the problem?

Could contain: text, screenshot, font

Hi there. Please use my Google bug form (https://forms.gle/vrgGLogwacrFMqyw8) to report your crash, so that I may work with you directly to resolve the issue (make sure you provide a valid email address). Without any details about the crash from your rage hook log, here are some circumstances that might lead to one:

 

• The language you selected in the INI file is not the language of your speech recognizer

• The XMLs were modified/customized and the syntax formatting is incorrect

 

I see from your profile that you're located in Brazil. Double check the language you selected in the INI file and what's installed on your computer. If you modified any of the XMLs to work with your language, revert back to the ones included with the plugin to rule out any XML formatting errors.

 

Edited by doublehook

18 minutes ago, doublehook said:

Olá. Use meu formulário de bug do Google ( https://forms.gle/vrgGLogwacrFMqyw8 ) para relatar sua falha, para que eu possa trabalhar diretamente com você para resolver o problema (certifique-se de fornecer um endereço de e-mail válido). Sem nenhum detalhe sobre a falha no seu registro de rage hook, aqui estão algumas circunstâncias que podem levar a uma:

 

• O idioma selecionado no arquivo INI não é o idioma do seu reconhecedor de fala

• Os XMLs foram modificados/personalizados e a formatação da sintaxe está incorreta

 

Pelo seu perfil, vejo que você está no Brasil. Verifique o idioma selecionado no arquivo INI e o que está instalado no seu computador. Se você modificou algum XML para funcionar com o seu idioma, volte aos incluídos no plugin para descartar erros de formatação de XML.

 

Yes, I live in Brazil, however I set my PC to English, but I have already sent the error/bug form

doublehook

Members Author

9 hours ago, alexsander ferraz cortez said:

Yes, I live in Brazil, however I set my PC to English, but I have already sent the error/bug form

Thanks for doing that. I just saw your bug report and already sent you an email. I'll do my best to get you up and running as quickly as possible!

Steay

Members

 Geiles Zeug geht es auch in Deutschland Translate 

doublehook

Members Author

7 hours ago, Steay said:

 Geiles Zeug geht es auch in Deutschland Translate 

Vielen Dank! Es ist für die deutsche Sprache verfügbar und die XML-Dateien können übersetzt werden. Alternativ können Sie Ihre eigenen Fragen und Antworten erstellen. Ein Community-Mitglied hat die XML-Dateien in verschiedene Sprachen übersetzt, falls Sie eine Kopie der deutschen Übersetzung wünschen. Ich weiß allerdings nicht, wie genau die Übersetzung ist. Geben Sie mir Bescheid.

Steay

Members

Gerne 

kotymotany666

Members

This mod is compatible with russian language? because i been used translated response.xml by GtaSkies and i translated myself response.xml, and in .ini file put ru-ru, and mod still cant recognize what im saying, but when im saying something in english from UserResponses.xml mod recognize me the first time, but my english not pretty good and accent too

doublehook

Members Author

1 hour ago, kotymotany666 said:

This mod is compatible with russian language? because i been used translated response.xml by GtaSkies and i translated myself response.xml, and in .ini file put ru-ru, and mod still cant recognize what im saying, but when im saying something in english from UserResponses.xml mod recognize me the first time, but my english not pretty good and accent too

I'm so sorry you're experiencing trouble with the plugin not recognizing ru-ru. NPCI should be compatible with all languages. If you could do me a favor, can you leave your email address at my Google bug report form here https://forms.gle/vrgGLogwacrFMqyw8 so that I may work with you directly to identify the issue. I'll need to get a copy of your rage hook log so I can look for any NPCI errors. If any are errors are found that require code fix, I'll send you a specialized version to test for me. Thanks in advance.

kotymotany666

Members

1 hour ago, doublehook said:

I'm so sorry you're experiencing trouble with the plugin not recognizing ru-ru. NPCI should be compatible with all languages. If you could do me a favor, can you leave your email address at my Google bug report form here https://forms.gle/vrgGLogwacrFMqyw8 so that I may work with you directly to identify the issue. I'll need to get a copy of your rage hook log so I can look for any NPCI errors. If any are errors are found that require code fix, I'll send you a specialized version to test for me. Thanks in advance.

I writed my email in this google form

doublehook

Members Author

26 minutes ago, SgtNelsonUSMC said:

LSPDFR GAME CHANGER!!!!! LOVE IT!!!!

Thank you so much! That really means a lot! I'm so glad you're enjoying it! I have some other updates planned in the near future to provide new interaction capabilities in LSPDFR using your voice, enhancing upon the current implementation. I can't wait for you to see them. Cheers!

manu450

Members

Anything else in the works? Just wondering. I really hope to see more from this mod. 

doublehook

Members Author

5 hours ago, manu450 said:

Anything else in the works? Just wondering. I really hope to see more from this mod. 

I do indeed have something in the works! I've been working on it non-stop! I hope to have a video up soon to give you a taste of what's to come!  😃

alrightdude

Members

Rage console always says „rejected“ when I try to use this plugin. I‘ve disabled and re-enabled my mic both ingame and irl but it won’t work

Grammar Police works just fine just this plugin doesn’t

I will try again a bit later just wanted to let you know.

doublehook

Members Author

1 hour ago, alrightdude said:

Rage console always says „rejected“ when I try to use this plugin. I‘ve disabled and re-enabled my mic both ingame and irl but it won’t work

Grammar Police works just fine just this plugin doesn’t

I will try again a bit later just wanted to let you know.

I'm sorry to hear you're having issues with the plugin. When you say rejected in the rage console, are you saying the speech is being reported as "rejected"? I'm assuming you're getting the default unrecognized response back onscreen? What language are you using for the Windows Speech Recognition? If you fill out the form here https://forms.gle/vrgGLogwacrFMqyw8 and leave me your email address, I'd be happy to work with you on this issue offline. I'll do my best to get you up and running.

whiphybrid

Members

when's the mod being updated?

doublehook

Members Author

11 hours ago, whiphybrid said:

when's the mod being updated?

Whiphybrid! Hope all is well. I'm working hard my friend. Got some stuff to share soon that I hope will be well received. I'll hit you up when I got something ready. It won't be long.

Erekle

Members

On 4/4/2025 at 10:21 PM, doublehook said:

Hello so I am the guy Erekle123 that sent you a comment on youtube video named: GTA 5 | LSPDFR | NPCI Plugin v1.0.2 | Changes |  and this is my error

 

Could contain: text, clothing, person, screenshot, dress, poster, pattern (fashion design)

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.