View Single Post
Author Message
chuttenjr
Member
Join Date: Sep 2018
Location: Saipan
Old 09-15-2018 , 12:23   Make rain sound to loop on RainySnowy (Enables CS weather) v2.0y by OneEyed & teame06
Reply With Quote #1

im really green into this community,could someone point me on how to make the rain sound to loop on this plugin : https://forums.alliedmods.net/showthread.php?t=42151 ??
The idea is to have the sound playing and looping while player is either alive or spectating,problem is that the code as it is will only play the rain.wav( by speak commands)which lasts 50 sec or so,then it suddenly stops and leave you with a silent rain ambient which completely kills inmersion.
I managed to code a little so when you are outside it plays rain.wav and when inside building a nice rain over metallic roof (rainroof) sound while inside which made the map a joy to play.
A partial fix for the sound stop i got to was to edit the sounds to last like 10 min by looping them on audacity,but then i ended up with two files of 30+ mb which randomly crashed server because of heap size hunk allocation.

Thanks everyone for your time

Eduardo,noob as ever hehe
Attached Files
File Type: amxx rainysnowy.amxx (4.0 KB, 89 views)
File Type: sma Get Plugin or Get Source (rainysnowy.sma - 373 views - 5.1 KB)

Last edited by chuttenjr; 09-29-2018 at 17:21. Reason: Missing Attachments
chuttenjr is offline