Author Topic: music plays during matches  (Read 1061 times)

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
music plays during matches
« on: November 01, 2009, 08:56:03 AM »
does anyone kow how to make music play during a match like in AU's Battlebox?
I 'd like to know.

Offline Thyrus

  • *
  • Posts: 6210
  • Rep: 19
  • Back to purple '17
    • http://www.youtube.com/Th
  • Awards BOTM Winner
    • View Profile
    • Awards
music plays during matches
« Reply #1 on: November 01, 2009, 10:25:09 AM »
I had an Idea to replace the "here we go" with a music.wav data.
don`t know if there`s another option

Offline DuckRA2

  • *
  • Posts: 1006
  • Rep: 1
    • View Profile
    • Awards
music plays during matches
« Reply #2 on: November 01, 2009, 11:05:01 AM »
I remember ACAMS playin' some Texas Cowboy Music

Offline Madiaba

music plays during matches
« Reply #3 on: November 01, 2009, 08:27:15 PM »
(Somewhere this was posted, but I just found stuff and pasted it all in here...)
 
Yep, Duck...
 
Badnik: Here, gitter dun yerself!:
Code: [Select]

def __init__(self):
  [COLOR=black][COLOR=blue]self.StartMusicTimer = 0[/COLOR][/COLOR]
 
[COLOR=black]def HazardsOn(self, on):[/COLOR]
[COLOR=black][COLOR=blue]self.game_music = plus.createSound("Sounds/[COLOR=seagreen]BalladOfJedClampet[/COLOR].wav", False, (0,0,0))[/COLOR][/COLOR]
 
[COLOR=black]def __del__(self):[/COLOR]
[COLOR=blue]plus.stopSound(self.game_music)[/COLOR]
[COLOR=blue]plus.removeSound(self.game_music)[/COLOR]
[COLOR=black]Arenas.SuperArena.__del__(self)[/COLOR]
 
[COLOR=black]def Tick(self):[/COLOR]
[COLOR=blue]if self.StartMusicTimer <= 20:[/COLOR]
[COLOR=blue]  self.StartMusicTimer += 1[/COLOR]
[COLOR=blue]if self.StartMusicTimer == 20: # This number dictates when music will start.[/COLOR]
[COLOR=blue]  plus.loopSound(self.game_music)[/COLOR]

--------
Or here it is already dun did: MusicBoxArena
 
--------
(previously posted, but useful example:) Here's some juicy video secretly taken in ACAMS' backyard: Paparazzi Exclusive!
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline trumpetguy

  • Super Heavyweight
  • Posts: 1162
  • Rep: 0
  • Forum Ameri-asian
    • http://www.facebook.com/DC.Scinerd
    • http://www.youtube.com/user/PokeDenny
    • View Profile
    • Awards
  • Skype: dennycao202
music plays during matches
« Reply #4 on: November 01, 2009, 11:54:32 PM »
Lesson learned:
Don't piss off ACAMS while he is dancing.

"Two things are infinite:the universe and human stupidity;and I\'m not sure about the universe" -Albert Einstein
*IF YOU ARE NEUTRAL IN THIS SIG BUSINESS PUT THIS IN YOUR SIG*