AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   L4D2: Adding and Replacing Sound Files (https://forums.alliedmods.net/showthread.php?t=156348)

Eranthis 05-04-2011 20:28

L4D2: Adding and Replacing Sound Files
 
I've been replacing sound files the easy way by simply changing the .wav file with the file I want and then going in game to recache the sound files. However I'm trying to make this into a worthy plugin for custom sounds and I'd like to know how to properly insert .wav files into a file location and then script everything to make it sync.

Better yet, I'd like to just know how to sync sounds together so when it comes to replacing the sound file, the custom scripts will override the current scripts to make a match up (e. g. channel" "CHAN_STATIC" "volume" "1.0" and so on). That way I won't depend on recaching sound files every time. Anyone know an easy solution to syncing custom sounds? I was hoping to recache the files and open up a modded script with everything needed.

drekes 05-04-2011 21:21

Re: L4D2: Adding and Replacing Sound Files
 
You should post in the sourcemod section

Eranthis 05-05-2011 18:32

Re: L4D2: Adding and Replacing Sound Files
 
Quote:

Originally Posted by drekes (Post 1463416)
You should post in the sourcemod section

Okay but may I ask why?

drekes 05-05-2011 22:25

Re: L4D2: Adding and Replacing Sound Files
 
Because L4D2 is a game that uses the source engine, which uses sourcemod.
This is the amxmodx section, for games that use goldscr engine. Like Half-life, cs1.6, ...


All times are GMT -4. The time now is 04:20.

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