Raised This Month: $51 Target: $400
 12% 

Random sounds when taking fall damage "ZPS"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ORdli
Member
Join Date: Nov 2021
Old 02-09-2022 , 04:40   Random sounds when taking fall damage "ZPS"
Reply With Quote #1

I need a plugin that would play 3 random sounds when taking damage from a fall, is it possible for this game? "Zombie Panic Source"
ORdli is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-10-2022 , 20:54   Re: Random sounds when taking fall damage "ZPS"
Reply With Quote #2

Put falldamagesound.txt into sourcemod configs folder.
- Leave default sound untouched (or replace it with game own sound from VPK).
- Replace "custom/245604_1038806-lq.mp3" with your own sounds.

You can reduce random sounds by deleting lines
or you can increase random sounds by adding more lines.
It's not hardcoded to 3 random sounds only.
Attached Files
File Type: sp Get Plugin or Get Source (test.sp - 67 views - 1.7 KB)
File Type: txt falldamagesound.txt (223 Bytes, 21 views)
Bacardi is offline
ORdli
Member
Join Date: Nov 2021
Old 02-11-2022 , 14:26   Re: Random sounds when taking fall damage "ZPS"
Reply With Quote #3

It works, thanks!
ORdli is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode