free npc speech

free npc speech

This item is free.

Add to Basket

๐ŸŒ† LRRP AINPC โ€” Interactive NPC Knowledge & Voice System

๐ŸŽ™๏ธ Give Your NPCs Knowledge, Conversation & Voice

๐Ÿ†“ FREE & ๐Ÿ’Ž PREMIUM | FiveM

Turn ordinary FiveM NPCs into interactive sources of information using server-owner-authored knowledge, local conversation matching and voice interaction.

Players can face an NPC and talk using PTT. Their speech is transcribed before LRRP AINPC's local knowledge engine determines the subject and selects an existing pre-written response.

๐Ÿšซ NO AI-GENERATED NPC DIALOGUE

Gemini does NOT dynamically create the NPC's answer.

โœ… All NPC response text is pre-written
โœ… Server owners control the knowledge
โœ… Keywords and phrases are matched locally
โœ… Conversation context is local
โœ… Responses are selected locally
โœ… Gemini cannot invent server facts
โœ… Gemini does not choose the answer
โœ… Gemini does not rewrite the answer
โœ… No dynamically AI-written quests or stories
โœ… No dynamically AI-written NPC dialogue

Gemini integration is restricted to:

๐ŸŽ™๏ธ Speech-to-Text โ€” player microphone โ†’ transcript
๐Ÿ—ฃ๏ธ Text-to-Speech โ€” selected pre-written response โ†’ spoken audio

The actual conversation logic remains inside LRRP AINPC:

Player Voice โ†’ Gemini STT โ†’ Local Matcher โ†’ Pre-Written Response โ†’ Gemini TTS

๐Ÿง  TEACH NPCs ABOUT YOUR SERVER

Create knowledge covering:

๐Ÿ‘ท Jobs
๐Ÿ”ง Mechanics
๐Ÿš“ Police systems
๐Ÿš‘ Medical systems
๐Ÿช Businesses
๐Ÿ  Housing
๐Ÿ’ฐ Economy
๐Ÿš— Vehicles
๐Ÿ“ Locations
๐ŸŽ’ Items
๐Ÿ”จ Crafting
๐ŸŽฎ Activities
๐Ÿ“œ Commands
๐Ÿ“š New-player information
๐Ÿงฉ Quests & clues
โš™๏ธ Custom scripts & systems

Knowledge is configurable rather than generated dynamically by an LLM.

๐Ÿ’ฌ NATURAL LOCAL MATCHING

Players don't have to use one exact sentence.

For example:

โ€œWhere's the mechanic?โ€
โ€œKnow where I can repair my car?โ€
โ€œWhere do I get my vehicle fixed?โ€

can all be configured to resolve to the same pre-written knowledge entry.

๐Ÿง  FOLLOW-UP CONTEXT

NPCs can retain the current subject.

Player: โ€œWhere's the mechanic?โ€
NPC: gives the configured mechanic answer.

Player: โ€œWhat time does it open?โ€
NPC: can continue using the mechanic context.

The follow-up system does not require an LLM to invent a conversation.

๐Ÿ—บ๏ธ CLUE / SERVER HELP

Server owners can configure clue phrases with progressive hints.

Players can speak or type distinctive wording from a clue and have LRRP AINPC locally identify the relevant configured entry.

๐Ÿ’ก Hint 1 โ€” subtle
๐Ÿ’ก๐Ÿ’ก Hint 2 โ€” stronger
๐Ÿ’ก๐Ÿ’ก๐Ÿ’ก Hint 3 โ€” clear direction

๐Ÿ”Š VOICE INTERACTION

๐ŸŽ™๏ธ PTT voice input
โ™‚๏ธ Male NPC voices
โ™€๏ธ Female NPC voices
๐Ÿ’ฌ Subtitle support
๐Ÿ‘„ NPC talking behaviour
๐ŸŽง Optional original/licensed prerecorded .ogg / .wav audio
๐Ÿ”Š Gemini TTS reading the already-selected response

Recorded human audio can be configured to take priority.

No Rockstar/GTA voice recordings are included or modified.

๐Ÿšถ NPC COMPANION FEATURES

Configurable deterministic commands include:

๐Ÿšถ Follow
โœ‹ Stay
๐Ÿ‘‹ Release
๐ŸงŽ Crouch

๐Ÿ’Ž Premium expands available FiveM behaviour with additional crew and vehicle-related functionality.

๐Ÿ†“ FREE EDITION

โœ… Core NPC conversations
โœ… PTT voice interaction
โœ… /ainpc typed fallback
โœ… Local keyword matching
โœ… Pre-written server knowledge
โœ… Follow-up context
โœ… Gemini STT + TTS
โœ… Male/female voices
โœ… Basic clue system
โœ… Basic companion controls
โœ… LRRP Free branding

Free limit: 5 successful NPC replies globally/server-wide every 12 hours.

๐Ÿ’Ž PREMIUM EDITION

โ™พ๏ธ Unlimited NPC conversations
โ™พ๏ธ Unlimited knowledge entries
โ™พ๏ธ Unlimited clue entries
๐Ÿง  Full local knowledge system
๐ŸŽ™๏ธ PTT + typed interaction
๐Ÿ’ฌ Follow-up context
๐Ÿ—ฃ๏ธ Male/female voice support
๐ŸŽง Custom prerecorded voice support
๐Ÿš— Expanded crew/vehicle interaction options
๐ŸŽจ Editable branding
โš™๏ธ Editable configuration

Gemini account limits and API quotas still apply to STT/TTS.

โš™๏ธ REQUIREMENTS

Platform: FiveM / GTA V
Resource name: LRRP_AINPC
Framework: Standalone conversation core
Database: None required for base operation
Gemini: Google Gemini API key required for STT/TTS
Microphone: Browser/NUI microphone permission required for PTT
OneSync: Recommended
Premium protection: CFX Asset Escrow
Paid delivery: Tebex / CFX Asset Delivery

Installation:

set ainpc_gemini_key "YOUR_GEMINI_API_KEY"
ensure LRRP_AINPC

The Gemini API key remains server-side.

โšก PERFORMANCE

LRRP AINPC is interaction-driven. It does not continuously generate conversations for ambient NPCs.

โœ… Local knowledge matching
โœ… Interaction-based processing
โœ… No continuous LLM NPC generation
โœ… No remote code execution/loading
โœ… No AI-generated NPC answer text

๐Ÿ“Š CFX PERFORMANCE EVIDENCE:
Attach your current FiveM Resource Monitor/profiler screenshot here before publishing.

CFX specifically requests performance indicators such as Resource Monitor numbers or a profiler screenshot for script releases.

๐Ÿ“ฆ DOWNLOAD / PURCHASE

๐Ÿ†“ Free Scripts

๐Ÿ’Ž Premium Scripts

๐Ÿ’ฌ LRRP Studio Support

โš ๏ธ For the CFX Free topic: attach the Free resource directly, link to a public repository, or replace the category link with the direct Free Tebex package. The resource has to be immediately available.

๐Ÿ“‹ CFX RELEASE INFORMATION

FREE

PREMIUM

Code is accessible

Yes

Partially โ€” editable configs/knowledge

Subscription-based

No

No

Lines (approximately)

~2,100

~2,100

Requirements & dependencies

FiveM, Gemini API key for STT/TTS

FiveM, Gemini API key for STT/TTS

Support

Yes

Yes

Protection

None / Free distribution

CFX Asset Escrow

Delivery

CFX upload/public repo/direct Free Tebex package

Tebex / CFX Asset Delivery

Suggested CFX tags: script โ€ข standalone โ€ข free / paid โ€ข escrow where applicable.