Help! Placing custom sounds to my server
:3
Well, hello! It is the first time I create a new topic in this forum. My problem is this: I am trying to put different sounds to my server and does not work. Well, I've tried the dropbox and does not work, only the maps work. I tried using the sm_downloader and neither worked. Anything, these are sounds that are modified, but I want them on my server: sound/music/mvm_end_last_wave.wav sound/music/mvm_end_mid_wave.wav sound/music/mvm_end_tank_wave.wav sound/music/mvm_end_wave.wav sound/music/mvm_lost_wave.wav sound/music/mvm_start_last_wave.wav sound/music/mvm_start_mid_wave.wav sound/music/mvm_start_tank_wave.wav sound/music/mvm_start_wave.wav sound/mvm/mvm_bomb_warning.wav sound/mvm/mvm_player_died.wav sound/mvm/mvm_tank_start.wav If anyone could help me and teach, I will be very happy xD! |
Re: Help! Placing custom sounds to my server
from what i heard, u prolly need a plugin and/or file to force client to dl
how do u intend to play those sounds, kill events, say sounds? |
Re: Help! Placing custom sounds to my server
Quote:
simply i just want to change the songs from mvm, a different song when a wave begins or when it ends ... |
Re: Help! Placing custom sounds to my server
Hey good people, i know nothing about sourcemod! :)
|
Re: Help! Placing custom sounds to my server
The problem is that clients already think they have those sounds.
I haven't tested it, but I suspect it uses the teamplay_broadcast_audio event. You can intercept this event, read its "sound" value, and broadcast a new sound manually (using SourceMod's EmitSoundToAll). Note that these sounds should have different names than the sounds they're replacing. Or be in a different directory. The "sound" values for MvM things you've mentioned are: "music.mvm_end_last_wave" "music.mvm_end_mid_wave" "music.mvm_end_tank_wave" "music.mvm_end_wave" "music.mvm_lost_wave" "music.mvm_start_last_wave" "music.mvm_start_mid_wave" "music.mvm_start_tank_wave" "music.mvm_start_wave" "MVM.BombWarning" "MVM.PlayerDied" "MVM.TankStart" These names are keys from the various game_sound files inside tf2_misc_dir.vpk. Specifically, from scripts/game_sounds_music.txt and scripts/game_sounds_mvm.txt. Valve uses these to store which channel, volume, pitch, soundlevel, and wave file to play in a single location. Only sounds broadcast to all players on a team are sent via teamplay_broadcast_audio... examples include the non-MvM lose and win sounds. |
Re: Help! Placing custom sounds to my server
Change the name of the sound as well if they already exist, it will overwrite the clients sounds, and that's not a good thing to do.
|
Re: Help! Placing custom sounds to my server
Quote:
|
Re: Help! Placing custom sounds to my server
Quote:
|
Re: Help! Placing custom sounds to my server
Quote:
|
Re: Help! Placing custom sounds to my server
Quote:
|
All times are GMT -4. The time now is 10:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.