I'm working on a game mode and i want to know if it's possible to change the sound effect from the "flatline" to a different one. I can modify the sound file but the flatline sound is a mix of beeps and not just a sound. I would want to know if it's possible to silence that sound from ever happening and playing a custom death sound on player death. Thanks!
I remember seeing an addon that changed the death flatline to sad music, so I assume it is possible.
Hang on I'll have a look see for that addon.
[editline]25th April 2013[/editline]
Yea, it's a workshop addon.
[url]http://steamcommunity.com/sharedfiles/filedetails/?id=138064846[/url]
You can probably just take a look in that and see what they changed.
[QUOTE=Dukov Traboski;40413545]I remember seeing an addon that changed the death flatline to sad music, so I assume it is possible.
Hang on I'll have a look see for that addon.
[editline]25th April 2013[/editline]
Yea, it's a workshop addon.
[url]http://steamcommunity.com/sharedfiles/filedetails/?id=138064846[/url]
You can probably just take a look in that and see what they changed.[/QUOTE]
How can i look at the lua script they made through the workshop?
[QUOTE=RattSplat;40414316][lua]function GM:PlayerDeathSound() return true end[/lua][/QUOTE]
that stops the sound now how do i make it so i can add my custom sound
[QUOTE=Project G;40414983]that stops the sound now how do i make it so i can add my custom sound[/QUOTE]
[URL="http://www.mediafire.com/?1uxc4ndu6264c6q"]http://www.mediafire.com/?1uxc4ndu6264c6q[/URL]
Just put this in your addons and modify the deathsound.wav however you want.
Use player:EmitSound, you don't need an addon.
Sorry, you need to Log In to post a reply to this thread.