Warcraft II Forum
Warcraft II => Mods & Development => Topic started by: fois on December 07, 2019, 10:21:19 AM
-
This plugin will play a sound of your choice on certain events. e.g. the host just started the game or someone joined your game. It's useful in case your game is minimized and you don't want to miss the game start or you want to hear when someone joined your game.
You can replace the .wav files with any sounds you want, I got the ones that are included from here: https://www.soundjay.com/ (https://www.soundjay.com/)
If you only want to get notified about a game start but you don't want to get notified about someone joining a game then just delete the matching .wav files.
Filenames: JoinGame.wav, StartGame.wav, LeaveGame.wav, Message.wav, PrivateMessage.wav, GameEnd.wav, Kicked.wav
Example:
Use "JoinGame.wav" if you want the sound to play no matter if the game window got the focus or not.
Use "JoinGameNoFocus.wav" if you only want the sound to play if the game doesn't have the focus / is minimized (Make sure you don't have "JoinGame.wav" in the folder)
Use "JoinGameFocus.wav" if you only want the sound to play if the game is active and got the focus (Make sure you don't have "JoinGame.wav" in the folder)
Download Here (http://forum.war2.ru/index.php/topic,5714.0.html)
-
Cool!
-
wow nice! mp3 soundtrack plugin?
-
Nice one :thumbsup:
-
wow nice! mp3 soundtrack plugin?
I think windows vista and above can play mp3 files, but windows xp can't... so maybe it's possible :D
Update:
Just updated the plugin, there is now a new sound included that will trigger when the host is starting the game so you don't miss the game start anymore
-
Just updated the plugin, there is now a new sound included that will trigger when the host is starting the game so you don't miss the game start anymore
Nice idea! That's what i thought about: these 5 beeps are not being played then your are in alt-tab, very unlikely. Great if you can listen the game being started.
-
This plugin will play a sound of your choice on certain events. e.g. the host just started the game or someone joined your game. It's useful in case your game is minimized and you don't want to miss the game start or you want to hear when someone joined your game.
Put PlaySound.w2p and the Sounds folder into your plugin folder and that's it. If you don't have a plugin folder then install combat 45 standard or full.
You can replace the .wav files with any sounds you want, I got the ones that are included from here: https://www.soundjay.com/ (https://www.soundjay.com/)
If you only want to get notified about a game start but you don't want to get notified about someone joining a game then just delete the matching .wav files.
Got any more ideas of any sounds we need in case the game is minimized or windowed? Post here...
NOICE. I ACTUALLY HAD THE SAME IDEA AND EVEN USED IT FOR A PERIOD OF TIME YEEEEEARZ AGO. NOBODY WAS INTERESTED THEN // NO1 TRUSTED ME ENOUGH TO USE IT
-
This is cool, but I don't hear anything when I'm on my desktop and war2 is minimized. Is it me or is that how the plug in is at this time?
-
This is cool, but I don't hear anything when I'm on my desktop and war2 is minimized. Is it me or is that how the plug in is at this time?
What windows do you have?
Did you try to install war2 combat 46 (it has everything properly set up and works fine)?
And just to make it clear, the game will still turn the sound off when you minimize it, the plugin just plays 2 sounds you can hear when the game is minimized (when someone joined a game or the host started the game)
-
Update:
StartGame sound is now the same one the game is using (2 beeps instead of 5 though) and only plays if the game is minimized or doesn't have the focus
-
Is it possible to hear when someone sends messages in lobby and/or leaving?
here two "soundpacks" that may be useful. (external 'sound' folder works for countdown, etc)
-
Is it possible to hear when someone sends messages in lobby and/or leaving?
here two "soundpacks" that may be useful. (external 'sound' folder works for countdown, etc)
nice!
Yeah I can add that tomorrow.
What's going on with that sound folder? Does that already work or you want me to do something with that one too?
-
This is cool, but I don't hear anything when I'm on my desktop and war2 is minimized. Is it me or is that how the plug in is at this time?
What windows do you have?
Did you try to install war2 combat 46 (it has everything properly set up and works fine)?
And just to make it clear, the game will still turn the sound off when you minimize it, the plugin just plays 2 sounds you can hear when the game is minimized (when someone joined a game or the host started the game)
Ignore me, it works fine. I just wasn't listening.
-
Here is a test version that supports more sounds and lets you choose if a sound should always play or not.
Filenames: JoinGame.wav, StartGame.wav, LeaveGame.wav, Message.wav, PrivateMessage.wav
Example:
Use "JoinGame.wav" if you want the sound to play no matter if the game window got the focus or not.
Use "JoinGameNoFocus.wav" if you only want the sound to play if the game doesn't have the focus / is minimized (Make sure you don't have "JoinGame.wav" in the folder)
Use "JoinGameFocus.wav" if you only want the sound to play if the game is active and got the focus (Make sure you don't have "JoinGame.wav" in the folder)
Edit: Download in first post updated
-
What's going on with that sound folder? Does that already work
Yes it will work simply placed in war2 folder (with saved directories structure)
-
Is there a sound for when the game finish and goes to result screen?
Exemple.... I play team game, i die, i goes alt tab untill game finish but i miss it...
Game goes to result score board and game send me a special sound..
So i can com back and dont miss the next game.
-
@Equinox Yeah that's a good idea, I just added it. You need a file with the name "GameEnd.wav" to activate it
Download in first post updated
-
Thank you sir.
-
Is it possible to get a sound when you're in the game lobby and the game is cancelled or you're booted/banned?
-
Is it possible to get a sound when you're in the game lobby and the game is cancelled or you're booted/banned?
Just added it, filename is "Kicked.wav"
-
Cool, thanks!!
-
Updated the plugin:
Added all sound files that lesnik created + improved the way the plugin is patching the game so it doesn't interfere with other plugins in the future