Left 4 Dead 2

Left 4 Dead 2

1,588 beoordelingen
Low Ammo Sound Cue
4
2
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Game Content: Scripts
Bestandsgrootte
Geplaatst op
Bijgewerkt op
15.305 KB
23 mrt 2024 om 17:05
20 dec 2024 om 16:29
13 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Low Ammo Sound Cue

In 1 verzameling van tomaz
My L4D2 VScript Collection
32 items
Omschrijving
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 opmerkingen
Freeagin 7 aug om 23:19 
实用:100oj:
kegelbane 15 jul om 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 15 jul om 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  [auteur] 13 jul om 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 jul om 10:53 
Cool, I'll wait for the update.
tomaz  [auteur] 13 jul om 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 jul om 10:42 
kegelbane 13 jul om 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  [auteur] 13 jul om 7:45 
this doesn't replace any sound or anything like that so idk what you're talking about
kegelbane 13 jul om 0:31 
The healing sound is glitchy with this mod.