Closed gmanc2 closed 9 years ago
You can add it yourself? Look at how the other voices are added.
Yes there added from the hl2_sound_misc_dir.vpk I can't call them from anything else from what I've seen.
What?
On Fri, Jun 12, 2015 at 8:48 PM, gmanc2 notifications@github.com wrote:
Yes there added from the hl2_sound_misc_dir.vpk I can't call them from anything else from what I've seen.
— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/503#issuecomment-111667025.
The sound directory you're using is the C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\hl2\hl2_sound_misc_dir.vpk correct?
... How are you calling the sound files?
What do you mean by calling the sound files?
nut.voice.Register("combine", "JURISDICTION", "Stabilization-jurisdiction.", "npc/metropolice/vo/stabilizationjurisdiction.wav")
This is under the marked as the function nut.voice.Register Which I assume is using the hl2_sound_misc_dir.vpk to call the voices. correct?
Yes, it's uses a HL2 sound file.
On Fri, Jun 12, 2015 at 8:51 PM, gmanc2 notifications@github.com wrote:
nut.voice.Register("combine", "JURISDICTION", "Stabilization-jurisdiction.", "npc/metropolice/vo/stabilizationjurisdiction.wav")
This is under the marked as the function nut.voice.Register Which I assume is using the hl2_sound_misc_dir.vpk to call the voices. correct?
— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/503#issuecomment-111667228.
So, how would I add a costom sound?
Use your own sound path instead of a HL2 one?
On Fri, Jun 12, 2015 at 8:53 PM, gmanc2 notifications@github.com wrote:
So, how would I add a costom sound?
— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/503#issuecomment-111667275.
Where is the sound path defined? Its not defined in that file?
Where you put the sound file.
On Fri, Jun 12, 2015 at 8:54 PM, gmanc2 notifications@github.com wrote:
Where is the sound path defined? Its not defined in that file?
— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/503#issuecomment-111667301.
nut.voice.Register("combine", "JURISDICTION", "Stabilization-jurisdiction.", "npc/metropolice/vo/stabilizationjurisdiction.wav")
Here, the sound like DOES NOT have to be from HL2. It can be from anywhere.
So you can replace "npc/metropolice/vo/stabilizationjurisdiction.wav" with "myserver/coolsound.mp3" if you wanted.
hl2rp\gamemode\schema\voices\death-Roman_K-1190383229.mp3
That is where I put my custom mp3.
It needs to be under the sound folder just like every other sound file.
Thank you very much... Also if it is not a huge hassle could you add me on steam I have few more questions and hope you can awnser... Much appricated.
Yeah, this should be added.