War2.ru Slogan
News: Don't forget to join Channel: Trivia for trivia!


Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Welcome to the forums! We're glad to have you here! :) You can register your account here, then feel free to introduce yourself in the Server.War2.ru board & let us know who you are on the server.

PlaySound plugin - Plays a sound of your choice on events (Game Start/Join game) 104  5

Grunt Posts: 63 Karma: +15/-0 Chicken ***

fois

  • Grunt
  • ***
  • *
  • Posts: 63
  • Chicken
    • View Profile
PlaySound plugin - Plays a sound of your choice on events (Game Start/Join game)
« 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.

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/

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...
Axe Thrower Posts: 369 Karma: +29/-0 ****

Tolean

  • Axe Thrower
  • ****
  • Posts: 369
    • View Profile
Re: PlaySound plugin - Plays a sound of your choice when someone joins your game
« Reply #1 on: December 07, 2019, 10:41:08 AM »
Cool!
Death Knight Posts: 3521 Karma: +91/-2 retired, be in music section *********

easycompany

  • Death Knight
  • *********
  • Posts: 3521
  • retired, be in music section
    • View Profile
Re: PlaySound plugin - Plays a sound of your choice when someone joins your game
« Reply #2 on: December 07, 2019, 07:13:56 PM »
wow nice! mp3 soundtrack plugin?
Ogre Mage Posts: 1503 Karma: +82/-1 ********

Lambchops

  • Ogre Mage
  • ********
  • *
  • Posts: 1503
    • View Profile
Re: PlaySound plugin - Plays a sound of your choice when someone joins your game
« Reply #3 on: December 07, 2019, 08:28:27 PM »
Nice one  :thumbsup:
Grunt Posts: 63 Karma: +15/-0 Chicken ***

fois

  • Grunt
  • ***
  • *
  • Posts: 63
  • Chicken
    • View Profile
Re: PlaySound plugin - Plays a sound of your choice on events (Game Start/Join game)
« Reply #4 on: December 08, 2019, 12:04:28 AM »
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
Administrator Ogre Posts: 1406 Karma: +137/-9 *****

iL

  • Administrator
  • Ogre
  • *****
  • *
  • Posts: 1406
    • View Profile
*

iL

Re: PlaySound plugin - Plays a sound of your choice on events (Game Start/Join game)
« Reply #5 on: December 08, 2019, 04:41:59 AM »
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.