Се вчитува...

LivingLSAIs - AN AI NPCs MOD 3.2

Симни

2.704

================================================================================
LIVING LS AIs (v3.2) - THE DUST & GLORY EDITION
================================================================================
For over a decade, the streets of Los Santos have been populated by ambient pedestrians repeating a tiny pool of phrases before walking into obstacles. This mod adds real AI soul to every NPC of Los Santos. Living LS AIs v3.2 updates this ambient behavior, introducing deep cognitive traits, realistic situational awareness, and interactive social systems.
This is a comprehensive, highly optimized overhaul of Grand Theft Auto V's ambient population. Designed to run entirely off-thread to prevent performance drops, the script assigns unique names, occupations, backstories, memories, and distinct behavioral profiles to every single pedestrian in the game world.
================================================================================
SPECIAL THANKS & CREDITS
================================================================================
Special thanks to @Abirthelegend for proposing the idea of the Custom NPC Behavior feature!
================================================================================
WHAT'S NEW IN V3.2 — DUST & GLORY PATCH (IN-DEPTH)
================================================================================
The Dust & Glory patch introduces a massive expansion to cognitive routing, social interactions, and ambient physics.
1. Fully Automatic NPC-to-NPC Scenes
Manually linking NPCs via menus is no longer required. When directed by the player (e.g., "Go ask that person for directions"), an NPC will lock target, physically walk to the nearest bystander using the new [STARTNPCTONPC] tag, and initiate a face-to-face scene conversation.
Scene Turn-Limit Safeguards: To ensure rich, engaging dialogue, a hardcoded minimum of three exchanges is enforced before the [STOPARGUEMENT] tag can execute. This prevents the AI from terminating a scene prematurely on the first or second turn.
Texture Pre-Caching: The script pre-registers and caches the headshot textures of both participating NPCs on frame one of the scene, preventing flickering or blank UI spaces during rapid conversational turns.
Example Scenario in Play:
Player: "Go ask that man where the nearest petrol pump is."
NPC A: "Alright, let me ask him." (NPC A walks over to NPC B)
NPC A: "Hey, do you know where the nearest petrol pump is?"
NPC B: "Yeah, there's one two blocks down near the highway."
NPC A: "Thanks." (NPC A returns to the player)
NPC A: "He said there's a petrol pump two blocks away near the highway."
2. Exact Money Giving System 💵
NPCs can now hand over precise cash amounts instead of generic wallets. By utilizing tags such as [GIVEMONEY@50], [GIVEMONEY@500], and up to [GIVEMONEY@25000], NPCs will verbally state the amount they are surrendering and drop physical cash pickups onto the ground for the player to collect.
3. Advanced NPC Awareness & Social Intelligence 👥🧠
NPCs are highly aware of their immediate environment. They understand physical proximity, recognize who the player is referring to, observe crowd dynamics, and identify familiar faces. They can dynamically mention nearest strangers in active conversation, preventing repetitive interactions. They track the density of the surrounding crowd and will express discomfort or security if too many people crowd around them.
4. Dynamic Backstory System 📖
Any text defined between asterisks (*) serves as the NPC's custom personal history. There are no preset limits, allowing you to establish backgrounds such as *Raised by gangsters in Davis*, *Former military sniper*, or *Ex-stunt driver trying to clean up their act*. The AI will naturally adapt its tone, choices, and reactions to fit this history.
5. Expanded Language & Indian Mix Dialect Router 🌍
In addition to English, Spanish, Portuguese, Japanese, French, Italian, and Chinese, we have deployed the new Indian Mix context-dialect router. The script analyzes the NPC's profile, model hash, and spawn location to seamlessly switch their speech between:
Hinglish: Romanized on-screen text paired with a blend of Hindi and English street slang.
Haryanvi: Street-accurate local phrasing ("Ke haal se?").
Bhojpuri: Dialect-appropriate responses ("Ka haal ba?").
Khari Boli: Standard conversational styling ("Kya baat hai?").
6. Physical Surrender Animations (Aukaat Check 2.0) 🩸
Beating an NPC to low health now triggers real physical animations instead of basic surrender stances. NPCs will stagger while clutching their chest, hunch over in defeat, or rest their hands on their knees to represent their beaten state before begging for mercy.
7. Technical Quality of Life Improvements
Radio Tag Decoupling: Radio controller tags (like [RADIO_OFF] or [RADIO_LOS_SANTOS]) have been completely decoupled from physical animation checks, allowing them to execute instantly and independently on vehicles.
"LLAI" Cheat Box Menu Recall: Type LLAI in the GTA console to open the configuration menu on demand. Inputs are grayed out if no NPC is targeted, allowing safe menu access anywhere.
Passenger Radio HUD & Steering Hack: Cycle radio stations as a passenger during lifts by holding the Radio Wheel button. Features a clean, custom on-screen HUD overlay showing station names.
FPP Passenger Camera Fix Guide: Offers integrated guidance on using camera plugins (such as Alternate First Person V2.0 or ViewpointV) to resolve Rockstar's locked first-person passenger views.
================================================================================
THE 20 BEHAVIORAL ARCHETYPES DEEP-DIVE
================================================================================
Every NPC spawned into the world is assigned one of twenty distinct behavioral modes. These modes dictate how they interpret input, formulate answers, and choose physical actions.
Default: Balanced, standard citizen profile. Acts logically within ambient parameters.
Angry: Highly irritable, quick to insult, and prone to triggering the [FIGHT] tag over minor disagreements.
Ultra Roaster: Highly critical, targeting the player's choice of vehicle, driving, or clothing with razor-sharp personal insults.
Savage: Delivers brutal, ego-bruising roasts designed to undermine the player's active roleplay.
Polite: Courteous and helpful, highly receptive to friendly prompts, and quick to cooperate.
Psychopath: Completely erratic and hostile. Often bypasses standard surrender mechanics to initiate unprovoked shootouts.
Introvert: Speaks in short, anxious sentences and is prone to triggering the [FLEE] tag if approached too aggressively.
Kind: Highly empathetic, offering support and agreeing to lifts or companion requests with minimal trust requirements.
Selfish: Demands payment for services, hoards cash, and will quickly call the cops if their personal space is disrupted.
Dumb: Slow to understand prompts, often misunderstanding basic questions, and replying with absurd statements.
Conspiracy: Convinced that the government is monitoring them, referencing alien conspiracies and secret organizations in Los Santos.
Flirty: Playful and charming, responding to the player with romantic interest or charismatic retorts.
Depressed: Expresses deep sadness, speaking slowly about life's futility and displaying low energy throughout conversations.
Gangster: Replaces surrender behaviors with violent retaliation. Quick to trigger [CALLGANG] or [SHOOT] if threatened.
Philosopher: Highly intellectual, discussing existentialism, morality, and quoting historical or philosophical texts during interactions.
Comedian: Deflects tension with jokes, puns, and humorous observations about life in San Andreas.
Drunk: Slurred speech patterns with erratic grammar and uncoordinated movements, often expressing nonsensical ideas.
High IQ: Uses advanced, technical vocabulary, explaining situations scientifically and looking down on simple prompts.
Disciplined: Professional, matter-of-fact tone. Prefers order and responds exceptionally well to tactical or police-style scenarios.
Chapri: Employs vibrant local street-style slang, custom physical dances, and highly animated postures.
================================================================================
CORE ARCHITECTURAL FEATURES
================================================================================
Gemini Live WebSocket Bridge: Connects directly to Google's Gemini Live API. Utilizing a portable background Node.js process (node.exe combined with server.js), it maintains a persistent local WebSocket to stream real-time response audio with virtually zero lag.
LLaMA 3.3 70B Brain: Runs on LLaMA 3.3 70B via Groq for highly contextual, non-scripted responses. Supports automatic rotation of up to five API keys in the background to bypass rate limits.
100m Witness Engine: Nearby NPCs observe player crimes (shootings, brawls, vehicle thefts, explosions, and dead bodies) within a 100m radius. They remember these events and react accordingly if approached later.
Waypoint GPS Lift System: Set a waypoint on your map, ask a driver for a lift, and they will drive you there natively using GTA's built-in driving nodes. You can command them to change speed, pull over, or end the ride.
Gunpoint Aim Detection: Aiming at an NPC instantly shifts them into a hostage state, forcing compliance or triggering tactical hostility from cops and gangsters.
Environmental & Aesthetic Judgments: NPCs dynamically evaluate your vehicle's make, color, body damage, dirt level, and active radio station.
Saved Memory NPCs: Permanent relationships can be written to local profiles. You can respawn saved NPCs at any time from the menu with their appearance and shared memories preserved.
Immersive Chatbox Hide Mode: Fully removes the subtitles, chat panel, and HUD overlays during active conversations, leaving only the NPC's voice audio playing.
Animal Soundscapes: Animals bypass standard TTS engines. Instead, they use instinct-driven thought blocks accompanied by native, high-fidelity animal calls.
================================================================================
COMPLETE ACTION TAGS DICTIONARY
================================================================================
NPCs dynamically inject these commands at the end of their spoken replies to execute in-game actions:
Combat & Surrender
[FIGHT] — Initiates a physical fist or melee attack on the player.
[SHOOT] — Draws a weapon from their inventory and opens fire.
[AIMWITHGUN] — Warning-aims a handgun at the player, giving them a brief window to de-escalate.
[STOPFIGHT] — Halts all active combat and stands down.
[FLEE] — Screams and runs away in absolute terror.
[HANDSUP] — Surrenders, raising hands in the air.
[KNEEL] — Drops to one knee in defeat.
[HANDSDOWN] — Lowers hands and returns to a normal stance.
[STOPSHOOTING] — Stops weapon fire and holsters the gun.
[STOPAIMING] — Lowers a raised firearm.
[STANDUP] — Stands up from a kneeling position.
Social & Allies
[BECOMEHOMIE] — Recruits the NPC as a bodyguard with 10x health, an assault rifle, and active protection duties.
[ACCOMPLICE] — Recruits the NPC as a silent crime partner who fights alongside you without constantly forcing them to follow you.
[STOPACCOMPLICE] — Resets the accomplice role back to neutral.
[BROKEHOMIE] — Disbands the homie squad, resetting health and weapons.
[ROBPLAYER] — NPC pulls a weapon and demands your cash.
[TAKEPLAYERWEAPON] — Thief-type NPC steals your currently held weapon.
[GIVEMONEY@AMOUNT] — Hands over a specific cash amount (e.g., [GIVEMONEY@500]).
[CUTMONEY] — Deducts cash from the player's wallet for transactions.
[PLUSPOINTSFRIENDS] — Increments the local friendship trust meter.
[FOLLOW] / [STOPFOLLOWING] — Toggles active companion following.
Emergency Services
[CALLCOPS] — Calls the police, increasing player wanted stars.
[CALLCOPS2] — Dispatches a police patrol cruiser without raising wanted stars.
[CALLGANG] — Summons armed gang backup to attack you.
[CALLFIRE] — Dispatches a fire engine to your coordinates.
[CALLAMBULANCE] — Dispatches an ambulance to your location.
Vehicles & Lift System
[LIFT] — Initiates waypoint navigation.
[PAUSELIFT] — Temporarily pulls over. Press [F] to resume.
[ENDLIFT] — Stops the car and concludes the ride.
[HONK] — Sounds the vehicle's horn.
[DRIVEAWAY] — Seated drivers speed away from the scene, closing the chat.
[OUTOFVEHICLE] — Seated drivers step out of the car to speak face-to-face.
NPC-to-NPC & Animations
[STARTNPCTONPC] — Locks target and initiates a face-to-face scene conversation.
[STOPARGUEMENT] — Concludes an active NPC-to-NPC scene conversation.
[DANCE] / [STOPDANCE] — Toggles a continuous dancing loop.
[PUSHUP] — Drops down and performs push-ups.
[SITDOWN] — Sits down on the ground.
[CLAP] — Claps hands in applause or mockery.
[SMOKE] — Lights up a cigarette.
[RADIO_*] — Natively changes your car's radio station (e.g., [RADIO_OFF], [RADIO_REBEL]).
================================================================================
EXHAUSTIVE CONFIGURATION FILE (INI) EXAMPLE
================================================================================
Ensure your LivingLSAIs.ini inside the scripts folder is correctly configured. You can use up to 5 keys per service to enable seamless key-rotation and avoid API rate limits:
code
Ini
[APIKeys]
; --- GROQ KEYS (Required for LLaMA 3.3 70B Brain) ---
GroqKey1=gsk_YourFirstGroqKeyHere
GroqKey2=gsk_SecondKeyForRotation
GroqKey3=gsk_ThirdKeyForRotation
GroqKey4=
GroqKey5=

; --- GEMINI KEYS (Required for WebSocket Bridge & TTS) ---
GeminiKey1=AIzaYourPrimaryGeminiKey
GeminiKey2=
GeminiKey3=
GeminiTTSKey1=AIzaYourTTSKey (Can be same as GeminiKey1)

; --- UNREALSPEECH (Optional Alternative TTS) ---
UnrealSpeechKey1=YourUnrealSpeechKey

[Settings]
; Options: "groq" or "gemini"
LlmProvider=groq

; Options: "gemini" or "unrealspeech"
TtsEngine=gemini

; Language Options: english, hinglish, haryanvi, bhojpuri, khari boli, indian mix, spanish, portuguese, japanese, french, italian, chinese
LanguageMode=english

; Enable adult language and street swearing
EnableAbusingWords=true

; Hides the HUD entirely during conversation for roleplay immersion
HideChatbox=false
================================================================================
TECHNICAL REQUIREMENTS & CLEAN DIRECTORY STRUCTURE
================================================================================
Required Dependencies
GTA V PC (Latest Version)
ScriptHookV (Latest Version by Alexander Blade)
ScriptHookVDotNet Nightly Build v3.7.0+ (Critical: Standard releases will throw a MissingMethodException and fail to load the compiled assembly).
LemonUI (SHVDN3 Version)
.NET Framework 8.0 or newer.
Clean Directory Structure
The files must be structured precisely as follows in your GTA V installation directory to guarantee script loading and folder write-permissions
Show Full Description

Првпат Додадено: Јуни 1, 2026
Последно Ажурирање: пред 4 дена
Последно Симнување: пред 3 минути

All Versions

 3.2 (current)

449 симнато , 25,2 MB
пред 4 дена

 3.1

517 симнато , 25 MB
пред 8 дена

 3.0

345 симнато , 31,9 MB
пред 10 дена

 2.2

1.035 симнато , 593 KB
Јуни 2, 2026

 2.1

357 симнато , 602 KB
Јуни 1, 2026

110 Коментари