Left 4 Dead 2

Left 4 Dead 2

1,588 次評價
Low Ammo Sound Cue
4
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Game Content: Scripts
檔案大小
發佈於
更新時間
15.305 KB
2024 年 3 月 23 日 下午 5:05
2024 年 12 月 20 日 下午 4:29
13 項更新註記 (檢視)

訂閱以下載
Low Ammo Sound Cue

在 tomaz 的 1 個收藏中
My L4D2 VScript Collection
32 個項目
描述
A rather simple VScript that plays a click sound on each shot whenever your current weapon's mag capacity is at 20% (30% if you have a shotgun), or in other words, when your ammo is "low enough", kinda like in CS:GO/CS2, in fact, this uses the click sound from it.

NOTE:
  • Due to a limitation with the .mp3 file format, the beginning of the sound is always padded out, making it ever so slightly delayed.

Special thanks to Nescius for coming up with the string table overflow/crashing fix.

This will only work in singleplayer or a locally hosted server.

I fully support & encourage edits of my mods. If you decide to upload your edit to the workshop or anywhere else, you are free to do so without needing to ask first, however please make sure that you credit me appropriately for the original work as well as any other authors that have contributed to the mod and provide a link to the mod that your edit is based on.

118 則留言
Freeagin 8 月 7 日 下午 11:19 
实用:100oj:
kegelbane 7 月 15 日 上午 11:34 
I found a script that performs a similar function, but it doesn't have the sound issue during healing.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3386188570&searchtext=Low+Ammo+Sound+Cue
kegelbane 7 月 15 日 上午 7:59 
I don't have any mods or scripts that would affect the healing in any way, I tried to disable about half of the scripts that would approximately affect this, I also disabled the sounds.

Something incomprehensible is happening somewhere, oh well. Maybe it will resolve itself in the future.
tomaz  [作者] 7 月 13 日 下午 6:12 
i'm looking back at this and i just realized i already had accounted for this sort of thing and the sound doesn't do that for me when using a medkit, so i have no clue what's happening on your end.

are you sure you don't have any medkit related scripts or something?
kegelbane 7 月 13 日 上午 10:53 
Cool, I'll wait for the update.
tomaz  [作者] 7 月 13 日 上午 10:52 
ohhhh now i know what you mean, your other comment implied that it was the actual healing sound itself.

i know what the problem is and i'll fix it when i get the chance, thanks for telling me.
kegelbane 7 月 13 日 上午 10:42 
kegelbane 7 月 13 日 上午 8:52 
I don't know what happened. I checked again and it's working fine now — the sound no longer glitches during healing.
Maybe it was some kind of error in the game itself or a mod incompatibility. In any case, I checked and everything seems to be working properly now.

Thanks for replying
tomaz  [作者] 7 月 13 日 上午 7:45 
this doesn't replace any sound or anything like that so idk what you're talking about
kegelbane 7 月 13 日 上午 12:31 
The healing sound is glitchy with this mod.