Left 4 Dead 2

Left 4 Dead 2

Thirdperson Over the Shoulder Mod
Trunten 29 May, 2022 @ 9:11pm
shotgun
i wanted to ask how you fixed the shotgun sound.
so many people thought it wouldn't be possible.
what's the catch?
Last edited by Trunten; 29 May, 2022 @ 9:13pm
< >
Showing 1-1 of 1 comments
Claucker  [developer] 31 May, 2022 @ 5:53am 
well, I just did it, then now it works


I wanted to make the game feels like a thirdperson shooter, and the shotgun sound not working was bothering me so much that I fixed it hahaha


basically the code gets which weapon you're holding up if it is a shotgun

and then I used the base sound from the game and made the code play it whenever you shoot a shotgun

that's why it works with any modded shotgun sound
because if you change the sound of the shotgun it will replace the orignal file with the one you modded

and then the magic happens
< >
Showing 1-1 of 1 comments
Per page: 1530 50