Left 4 Dead 2
1,487 оценки
Low Ammo Sound Cue
4
2
   
Награда
Добавяне към любими
В любими
Премахване от любими
Game Content: Scripts
Размер на файла
Публикуван на
Обновен на
15.305 KB
23 март 2024 в 17:05
20 дек. 2024 в 16:29
13 бележки за промени ( преглед )

Абониране, за да се свали
Low Ammo Sound Cue

В 1 колекция от tomaz
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 7 авг. в 23:19 
实用:100oj:
kegelbane 15 юли в 11:34 
I found a script that performs a similar function, but it doesn't have the sound issue during healing.

https://steamproxy.com/sharedfiles/filedetails/?id=3386188570&searchtext=Low+Ammo+Sound+Cue
kegelbane 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  [автор] 13 юли в 18: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 13 юли в 10:53 
Cool, I'll wait for the update.
tomaz  [автор] 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 13 юли в 10:42 
kegelbane 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  [автор] 13 юли в 7:45 
this doesn't replace any sound or anything like that so idk what you're talking about
kegelbane 13 юли в 0:31 
The healing sound is glitchy with this mod.