NPC Voice 1.2
681
28
681
28
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.
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.
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
First Uploaded: August 25, 2024
Last Updated: 8 days ago
Last Downloaded: 2 hours ago
45 Comments
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.
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.
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
First Uploaded: August 25, 2024
Last Updated: 8 days ago
Last Downloaded: 2 hours ago
@dario1152 can you show me your ini
@nj5050 I want to add more scenarios but right now out of ideas. If you have any suggestions let me know.
@GogetaSsj4
[NPC1]
ModelName = carl_johnson
CombatAudioFolder = scripts\NPCVoice\carl_johnson\CombatAudio
AimedAtAudioFolder = scripts\NPCVoice\carl_johnson\AimedAtAudio
BumpedAudioFolder = scripts\NPCVoice\carl_johnson\BumpedAudio
CarCrashAudioFolder = scripts\NPCVoice\carl_johnson\CarCrashAudio
Distance1=10
Volume1=0.3
Distance2=20
Volume2=0.25
Distance3=30
Volume3=0.2
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
I tried adjusting the volume, but the NPC still doesn't play audio.
@dario1152 ini looks good. Have you placed Naudio.dll into the script folder. I think either it is missing or getting crashed on your game
Funnily enough, I was trying my hand at making something like this about a month ago. My PC got reset so I never finished it, but even if I did this is so much better. One small thing: [NPC3] in the .ini file is missing Audio at the end of the filepath (ex: "scripts\NPCVoice\NPC3\Combat")
If you're experiencing an issue where the audio is not playing but the lip sync animation works, try changing the output device in your Windows settings. Sometimes, audio playback issues can be resolved by selecting a different audio output device.
@Pardoxia Good thing ! Now your time have been saved :D. It is just a sample ini you can edit it to however you like .
Hey, another suggestion to throw out there: in Menyoo, you're able to create very detailed custom characters using the mp_m_freemode_01 model, and save them as an XML file. It would be very cool if there was a way to save that file and data as a standalone ped, if you know what I mean. So you could make a character with a customised face, and then rename it "Ig_example" (for example), and use it as a spawnable AddonPed, which you could give a custom voice to using mods like this. Just a proposal!
How do I add extra voices to the mod? I tried adding np4 before but I heard nothing
@GogetaSsj4 quick update, so far it still doesn’t work. What I did was pretty much copy the npc3 section and pasted it on the bottom before “general” and renamed npc 3 to npc 4 but it still doesn’t work🤷🏿♂️
@Burglim you have to put the necessary audio files into the folder. And also add the correct path for each one in the ini
@GogetaSsj4 I did that and checked 4 times, Idk if I fully put the section in the ini file right so I would show you. Please tell me if it's wrong.
[NPC3]
ModelName = black_widow
CombatAudioFolder = scripts\NPCVoice\Widow\CombatAudio
AimedAtAudioFolder = scripts\NPCVoice\Widow\AimedAtAudio
BumpedAudioFolder = scripts\NPCVoice\Widow\BumpedAudio
CarCrashAudioFolder = scripts\NPCVoice\Widow\CarCrashAudio
Distance1=10
Volume1=0.3
Distance2=20
Volume2=0.25
Distance3=30
Volume3=0.2
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
[NPC4]
ModelName = Sukuna(Yuji)_Remaster_ragdoll_dreadnot
CombatAudioFolder = scripts\NPCVoice\Sukuna\CombatAudio
AimedAtAudioFolder = scripts\NPCVoice\Sukuna\AimedAtAudio
BumpedAudioFolder = scripts\NPCVoice\Sukuna\BumpedAudio
CarCrashAudioFolder = scripts\NPCVoice\Sukuna\CarCrashAudio
Distance1=10
Volume1=0.3
Distance2=20
Volume2=0.25
Distance3=30
Volume3=0.2
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
I checkd the audio files and they are mp3 so they should work. TheNPC 1-3 work perfectly but NPC4-5 don't
@Burglim I will fix it. Thanks for letting me know
@GogetaSsj4 no problem man. I love your mods bro they are all surprisingly VERY useful. I use almost every one of them😅
@Burglim Thanks so much for the kind words! I'm really glad to hear that you find the mods useful. If you have any more feedback or need further assistance, feel free to reach out!
@GogetaSsj4
Hello! This mod keeps getting better and better. May I offer some suggestions for more events to activate voices?
1) After buying a soda from the machines.
2) Before matches (tennis, darts, gold, etc.) and after winning/losing.
3) Before street races and after winning.
4) When going to sleep.
5) When parachuting.
6) When getting or clearing wanted level.
7) On stealth kill.
Also, a option to configure the % chance of using the voices per category would be great.
Whether you can implement these or not, kudos for this essential mod. =D
@Michael21107 Stop backseat moderating the damn site.
@CJislit Hi.This can be implemented on PlayerVoice mod. But for NPCVoice most of these won't work, as there are some limitations with the game's engine.
@GogetaSsj4 Damn, wrong mod page. I meant those for PlayerVoice, indeed!
@JonJonGames not backseat moderating in this instance. Just a suggestion in which should be common sense.