Left 4 Dead 2

Left 4 Dead 2

1,487 értékelés
Low Ammo Sound Cue
4
2
   
Díjazás
Kedvenc
Kedvenc
Törlés
Game Content: Scripts
Fájlméret:
Közzétéve:
Frissítve:
15.305 KB
2024. márc. 23., 17:05
2024. dec. 20., 16:29
13 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Low Ammo Sound Cue

1 tomaz készítette gyűjteményben
My L4D2 VScript Collection
32 elem
Leírás
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 megjegyzés
Freeagin aug. 7., 23:19 
实用:100oj:
kegelbane júl. 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 júl. 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  [készítő] júl. 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 júl. 13., 10:53 
Cool, I'll wait for the update.
tomaz  [készítő] júl. 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 júl. 13., 10:42 
kegelbane júl. 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  [készítő] júl. 13., 7:45 
this doesn't replace any sound or anything like that so idk what you're talking about
kegelbane júl. 13., 0:31 
The healing sound is glitchy with this mod.