Left 4 Dead 2

Left 4 Dead 2

378 ratings
Survivor Death Scream [VScript]
   
Award
Favorite
Favorited
Unfavorite
Survivors: Survivors
Game Content: Scripts
File Size
Posted
Updated
217.167 KB
9 Apr, 2024 @ 8:55am
30 Aug @ 12:45pm
6 Change Notes ( view )

Subscribe to download
Survivor Death Scream [VScript]

In 1 collection by 4512369781
my mods
7 items
Description
Now survivors no longer die quietly.
Why survivors not make some noise when death? Even infected can do that, this is not fair!
So i made this simple vscripts.


Customize:
- Use GCFScape open: Left 4 Dead 2\.\pak01_dir.vpk -> scripts\talker\<actor>.txt. Find what you liked, and copy it such like "scenes/Gambler/DeathScream01.vcd" to ..\ems\survivor_death_lines\addnew.txt, each line one. Added support for wav file in the sound\player\survivor\voice\<actor>\ directory, the format is "voice/Gambler/Fall01.wav".
- Also you can edit the <name>.txt file by yourself in ..\ems\survivor_death_lines\voicelines\ folder, please refer to the format in the file. Use "//" to disable unwanted lines.
- "DeathReason" will play the specified lines when survivor dies from a given damage type, Disabled by default. Uncomment to enable the feature.
For more information, see left4dead2\ems\survivor_death_lines\info.txt.

Chat Commands(use "!sdl " as prefix):
Command
Parameter
Description
reload
when you change file after game started, use it
mute
unmute
[<name>]
support first character and full name.
use "all, l4d, l4d2, custom" for multiple
survivors. leave empty means "all".
self-explanatory.
example:
!sdl mute n
!sdl unmute nick
reset
same as above
reset mute state and file content.
example:
!sdl reset all
test
same as above
test survivor one by one whatever alive or dead.
example:
!sdl test
ancr
play/stop test audio and print info
enable <0|1>
file "audio file path"
volume <float> 0.0 to 1.0
delay <float>
reset
test or change settings for LastOneAnnouncer.
example:
!sdl ancr play
!sdl ancr enable 0


Have fun.

I know Sourcemod plugin can do this, but i don't want to install. because i'm lazy. :)
Popular Discussions View All (1)
3
22 Nov, 2024 @ 11:57am
PINNED: Bug Report
4512369781
53 Comments
韩元义 18 Aug @ 10:51am 
懂了 感谢:steamthumbsup:
4512369781  [author] 18 Aug @ 7:48am 
@韩元义
我下次更新的时候会加上这个功能,到时候你可以在设置文件里改路径。
声音的话,你可以打包成vpk,或者在“.../Left 4 Dead 2/left4dead2/sound/” 里新建一个文件夹,把声音放里面,建议弄成 44.1 kHz 的mp3格式。
你也可以看下 wiki里的一些信息
韩元义 18 Aug @ 6:27am 
对 声音我自己弄 但是代码我不懂:steamsad: 路径写到设置里是从这个MOD里魔改吗 还是等你需要些时间然后制作的意思 我可以把音效发你:steamhappy:
4512369781  [author] 17 Aug @ 4:53pm 
@韩元义
我觉得是个不错的点子,就是你得自己弄声音,然后把路径写到设置里就行了。
需要些时间,我还有其他mod要处理。:cozybethesda:
韩元义 17 Aug @ 4:05pm 
是否可以做一个 当生还者只剩一人 其他人都死亡的时候 播放一段音效的MOD 想用战舰世界里那个只剩一个玩家的时候 会被系统语音提示 "你是我军最后的希望" 因为这样可以提高紧张感和兴奋感 可以让最后一名玩家 让他燃起来:steamhappy: https://www.bilibili.com/video/BV1yK411Z7R1
4512369781  [author] 16 Aug @ 2:12pm 
thx man!
Ajiliffe 16 Aug @ 2:09pm 
mild typo, you spelled "Surport" in the log, but, cheers either way
4512369781  [author] 16 Aug @ 1:35pm 
@Ajiliffe
Updated, now support CST, loaded custom survivors will be added automatically.:steamhappy:
4512369781  [author] 11 Aug @ 11:39am 
@Ajiliffe
Not yet, but I have plan to support it soon.:2018bestcoffee:
Ajiliffe 11 Aug @ 10:17am 
CST support? I've tried making a .txt file with the character's name, but it didn't work, but there is an addnew.txt file there, how does that work?