NPC Voice 1.4
1443
38
1443
38
Description:
The NPC Voice script enhances the immersion of GTA 5 by adding dynamic voice lines to NPCs based on their interactions with the player and the environment. This script allows you to assign specific voice lines to NPCs for different scenarios, such as combat, being aimed at, getting bumped, and car crashes. The voice lines are customizable through an .ini configuration file, making it easy to tailor the experience to your preferences
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 .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
The NPC Voice script enhances the immersion of GTA 5 by adding dynamic voice lines to NPCs based on their interactions with the player and the environment. This script allows you to assign specific voice lines to NPCs for different scenarios, such as combat, being aimed at, getting bumped, and car crashes. The voice lines are customizable through an .ini configuration file, making it easy to tailor the experience to your preferences
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 .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
Först uppladdad: 25 augusti 2024
Senast uppdaterad: 28 september 2024
Senast nedladdad: 1 timma sedan
68 Kommentarer
More mods by GogetaSsj4:
Description:
The NPC Voice script enhances the immersion of GTA 5 by adding dynamic voice lines to NPCs based on their interactions with the player and the environment. This script allows you to assign specific voice lines to NPCs for different scenarios, such as combat, being aimed at, getting bumped, and car crashes. The voice lines are customizable through an .ini configuration file, making it easy to tailor the experience to your preferences
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 .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
The NPC Voice script enhances the immersion of GTA 5 by adding dynamic voice lines to NPCs based on their interactions with the player and the environment. This script allows you to assign specific voice lines to NPCs for different scenarios, such as combat, being aimed at, getting bumped, and car crashes. The voice lines are customizable through an .ini configuration file, making it easy to tailor the experience to your preferences
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 .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
Först uppladdad: 25 augusti 2024
Senast uppdaterad: 28 september 2024
Senast nedladdad: 1 timma sedan
@jrchaves yes it will work
@GogetaSsj4 WOW! That is really awesome! Thank you!
@GogetaSsj4 Hey, the included NAudio.dll is pretty old, any chance you could include the latest version for better (maybe even some) compatibility with other scripts that need it?
@Michael21107 Its possible to do but will have to perform lot of changes to the code.
@GogetaSsj4 i understand, would be very good tho
@Michael21107 I will try that for next update.
@GogetaSsj4 very cool, good luck
@GogetaSsj4, is it possible to implement in the future a FOLDER named (for example) "ALL_PEDS" and in case there are no specific folder for the PED NAME, ALL PEDS will use the soundsd within the "ALL PEDS" folder?
@jrchaves it is possible but by implementing this kind of feature. Performance will be greatly reduced , because loop will run on every NPC , which will then greatly impact the fps
@GogetaSsj4 WOW... I didn´t imagine the cost of that mate. Thank you for the atention and OFC it doesn´t make sense to implement something like that with such high cost.
@GogetaSsj4 , is there a place where I can see all commands available in order to rename the WAV file properly? For example, "KEEP_SHOOTING_01" to "KEEP_SHOOTING_06" ... How I know that there is a "KEEP_SHOOTING" command to be used? Could you please instruct me?
@GogetaSsj4 ... Another comment mate ... For some reason the VOLUME doesn´t change even using different VOLUME for each DISTANCE ... I am using s_m_y_cop_01 ped:
[NPC1]
ModelName = s_m_y_cop_01
CombatAudioFolder = scripts\NPCVoice\s_m_y_cop_01\CombatAudio
AimedAtAudioFolder = scripts\NPCVoice\s_m_y_cop_01\AimedAtAudio
BumpedAudioFolder = scripts\NPCVoice\s_m_y_cop_01\BumpedAudio
CarCrashAudioFolder = scripts\NPCVoice\s_m_y_cop_01\CarCrashAudio
CoverAudioFolder = scripts\NPCVoice\s_m_y_cop_01\CoverAudio
ReloadingAudioFolder = scripts\NPCVoice\s_m_y_cop_01\ReloadingAudio
Distance1=10
Volume1=0.20
Distance2=20
Volume2=0.18
Distance3=30
Volume3=0.16
Distance4=40
Volume4=0.15
Distance5=50
Volume5=0.12
Distance6=60
Volume6=0.10
Distance7=70
Volume7=0.07
Distance8=80
Volume8=0.05
Distance9=90
Volume9=0.02
Distance10=100
Volume10=0
Any hint why the volume still the same level and does not change?
@jrchaves latest version have changed the method for distance calculation. Please use latest ini
@GogetaSsj4 Thank you. It worked! I have been facing a situation for S_M_Y_COP_01 that mix the WAV files that I have included with the VANILLA GAME voices for the COPs. Is there a way to replace all COP's voices? I don´t know where I could find such voices and how I should rename the WAV file.
@jrchaves script doesn't mute a ped who already have a voice. This script is only for addon peds or mute peds.
@GogetaSsj4 Understood Gogeta! Thank you for the clarification!
@GogetaSsj4 I just notice that the AUDIO doesn´t play when I record a clip and edit in ROCKSTAR EDITOR. Do you know how could I accomplish that mate?
@jrchaves NPC voice not being recorded in the Rockstar Editor is likely due to how the Rockstar Editor records sound. The editor mainly captures in-game audio from native game sounds, rather than sounds triggered by custom scripts or external audio libraries like NAudio.
@jrchaves You can try some other screen recording software.
It doesn't work at all for me, whenever i try to make the npc speak i get "Unhandled exception in script "NPCVOICE" "