Character Dialogue 1.4

.Net Gameplay


Description


Character Dialogue

This script enhances the immersion of GTA 5 by adding dynamic voice lines to NPCs based on their interactions with the player and the environment. You can assign specific voice lines to NPCs for different scenarios, such as combat, being aimed at, getting bumped, and car crashes. Voice lines are customizable through NPCVoice.ini making it easy to tailor the experience.

Changelogs

1.0 -Initial Release. 1.1 - Improved Lip Sync. 1.2 - Fixed an issue where some NPC voices were not playing. 1.3 - Performance Optimization. 1.4 - Caching Audio Files ( More Performance) - Spatial Audio/3D audio - Improved Distance Calculation ( More Performance)

Key Features

Dynamic Audio Responses: NPCs react to various in-game events, including combat, being aimed at by the player, getting bumped, and car crashes. Custom Audio Folders: Each NPC can have its own set of audio files stored in specific folders for different events. The script will randomly select and play an audio file from these folders when the corresponding event occurs. Distance-Based Volume: The script includes a customizable volume curve that adjusts the volume of the audio based on the distance between the player and the NPC, providing a realistic audio experience. Lip Sync Animation: NPCs will perform a lip-sync animation when their audio plays, enhancing the realism of their reactions. Configurable NPCs: Multiple NPCs can be configured in the NPCVoice.ini file, each with its own set of audio files and volume settings. Anti-Spam Mechanism: The script prevents audio from being spammed by imposing a cooldown period between voice lines for each NPC.

Installation

  • Place the all files into your scripts folder.
  • Edit the NPCVoice.ini file to configure NPCs and their voices.
  • Launch the game and enjoy!

Requirements

  • -Script Hook V
  • -Script Hook V .NET

  • First Upload: November 11, 2024 Last Updated: November 11, 2024


0 Comments