Free NPC Speech

Free NPC Speech

This item is free.

Add to Basket

🀠 LRRP AINPC β€” Interactive NPC Knowledge & Voice System

(no ai)

πŸŽ™οΈ Pre-Written Conversations β€’ Gemini STT/TTS β€’ Local Knowledge Engine

πŸ†“ FREE & πŸ’Ž PREMIUM | RedM

LRRP AINPC brings interactive, knowledgeable NPCs to your RedM server without allowing an AI model to dynamically write NPC dialogue.

Players can face an NPC and speak naturally using PTT. Their speech is transcribed, then LRRP AINPC handles the actual conversation locally by matching the player's words against server-owner-configured knowledge and selecting an existing pre-written response.

The selected response can then be spoken aloud using male/female voice output.

🚫 NO AI-GENERATED NPC DIALOGUE

This is the most important distinction:

βœ… NPC dialogue is pre-written
βœ… Server information is configured by the server owner
βœ… Keyword & phrase matching happens locally
βœ… Conversation context is handled locally
βœ… NPC answers are selected locally
βœ… Gemini does not write NPC answers
βœ… Gemini does not choose the answer
βœ… Gemini does not alter the selected answer
βœ… Gemini does not invent server information
βœ… No dynamically generated quests, stories or server lore

Gemini is restricted to speech input/output:

πŸŽ™οΈ STT β€” converts player speech into a transcript
🧠 LRRP Local Engine β€” selects an existing pre-written answer
πŸ—£οΈ TTS β€” speaks that already-selected response aloud

Player Voice β†’ STT β†’ Local Matching β†’ Pre-Written Answer β†’ TTS

🧠 CUSTOM SERVER KNOWLEDGE

Configure what your NPCs know.

NPCs can be given information about:

⛏️ Jobs & professions
πŸ”¨ Crafting & recipes
🐎 Horses & stables
🌾 Farming & ranching
🎣 Fishing & hunting
πŸͺ Businesses & shops
πŸ’° Economy & trading
βš–οΈ Law & criminal systems
πŸ—ΊοΈ Locations & travel
πŸ“œ Server commands
🧩 Clues & quests
πŸ“š Tutorials & newcomer information
βš™οΈ Custom server systems

Everything comes from your configured knowledge, rather than an LLM inventing an answer.

πŸ’¬ NATURAL QUESTIONS & FOLLOW-UPS

Different phrases can lead to the same configured knowledge.

Player: β€œWhere can I find iron?”

Player: β€œKnow where the iron mine is?”

Player: β€œWhere do I mine iron?”

All can resolve to the same pre-written Iron knowledge.

Conversation context also supports follow-ups:

Player: β€œWhere can I find iron?”
NPC: gives the configured Iron location response.

Player: β€œWhat level do I need?”
NPC: understands the conversation is still about Iron.

πŸ—ΊοΈ CLUE & SERVER HELP

Clue support can recognise distinctive words from configured clues.

A player could say:

β€œI'm looking for a rock face north of Annesburg.”

The local matcher can identify the relevant configured clue and provide progressive pre-written hints.

Hints can progress from:

πŸ’‘ Subtle hint
πŸ’‘πŸ’‘ Stronger hint
πŸ’‘πŸ’‘πŸ’‘ Clear direction

No AI needs to invent the clue solution.

πŸ—£οΈ NPC VOICES

πŸŽ™οΈ PTT interaction
♂️ Male NPC voice support
♀️ Female NPC voice support
πŸ’¬ Subtitles
πŸ‘„ Talking/mouth behaviour
🎧 Optional original/licensed prerecorded .ogg / .wav lines
πŸ”Š Gemini TTS for configured pre-written responses

Recorded audio can take priority when supplied.

No Rockstar/RDR2 voice recordings are included or modified.

Server owners are responsible for ensuring custom recordings they add are original or properly licensed.

🐎 REDM NPC INTERACTIONS

NPC functionality includes configurable companion behaviour such as:

🀠 Follow
βœ‹ Stay
πŸ‘‹ Release
🧎 Crouch

πŸ’Ž Premium expands available RedM behaviour with additional posse, horse and wagon-related interactions.

πŸ†“ FREE EDITION

βœ… Core NPC conversation system
βœ… PTT voice interaction
βœ… Typed /ainpc fallback
βœ… Local keyword & phrase matching
βœ… Pre-written knowledge
βœ… Conversation context
βœ… Gemini STT + TTS
βœ… Male/female voice support
βœ… Basic clue support
βœ… Basic companion controls
βœ… Permanent LRRP Free branding

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

Once the shared allowance is exhausted, additional replies remain unavailable until it resets.

πŸ’Ž PREMIUM EDITION

♾️ Unlimited NPC conversations
♾️ Unlimited configured knowledge
♾️ Unlimited clue entries
πŸŽ™οΈ PTT + typed interaction
🧠 Full local knowledge system
πŸ’¬ Follow-up conversation context
πŸ—£οΈ Male/female voice support
🎧 Custom recorded voice support
🐎 Expanded posse/horse/wagon interaction options
🎨 Editable branding
βš™οΈ Editable configuration

External Gemini API quotas/rate limits still apply to STT/TTS.

βš™οΈ REQUIREMENTS

Platform: RedM / RDR2
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 voice interaction
OneSync: Recommended
Premium protection: CFX Asset Escrow
Paid delivery: Tebex / CFX Asset Delivery

Server configuration:

set ainpc_gemini_key "YOUR_GEMINI_API_KEY"
ensure LRRP_AINPC

The Gemini API key is handled server-side and is not intentionally exposed through the NUI.

⚑ PERFORMANCE

The knowledge engine operates when players interact with NPCs. It does not continuously send every NPC to an LLM or dynamically generate background NPC conversations.

βœ… Event/interaction-driven knowledge matching
βœ… Local dialogue selection
βœ… No continuous LLM conversation generation
βœ… No remote code loading

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

CFX requires performance indicators for script releases.

πŸ“¦ DOWNLOAD / PURCHASE

πŸ†“ Free Scripts

πŸ’Ž Premium Scripts

πŸ’¬ LRRP Studio Support

⚠️ For the CFX Free release: attach the Free ZIP directly to the topic or replace the Free category link above with the direct Free Tebex package URL. CFX requires Free releases to be immediately obtainable.

πŸ“‹ CFX RELEASE INFORMATION

FREE

PREMIUM

Code is accessible

Yes

Partially β€” editable configs/knowledge

Subscription-based

No

No

Lines (approximately)

~7,000

~7,000

Requirements & dependencies

RedM, Gemini API key for STT/TTS

RedM, 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