Author Topic: music  (Read 2628 times)

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
music
« on: May 29, 2010, 11:43:50 AM »
hiya im just wondering is there anyway to add music when your fighting?

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #1 on: May 29, 2010, 11:46:44 AM »
Mad has a 'MusicBoxArena' somewhere.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
Re: music
« Reply #2 on: May 29, 2010, 11:48:24 AM »
ah but im just wondering is there any py codes for it?

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #3 on: May 29, 2010, 11:48:40 AM »
I'll check the .py
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
Re: music
« Reply #4 on: May 29, 2010, 11:59:04 AM »
what you see the py or me? becuase i know know his arena

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #5 on: May 29, 2010, 12:01:48 PM »

That's the .py. Try and work out what you need to add to yours. (Backup your .py first)
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline JoeBlo

Re: music
« Reply #6 on: May 29, 2010, 12:06:35 PM »
by the looks you will need the stuff between the #MMMM parts...

but backup for sure.. especially as im reading this at 1am after a night of gambling and Jack Daniels :P

Edit: also the original post https://gametechmods.com/forums/index.php?topic=1117.msg19641#msg19641

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #7 on: May 29, 2010, 12:07:14 PM »
and Jack Daniels

:O

What did you do with him? :P
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline JoeBlo

Re: music
« Reply #8 on: May 29, 2010, 12:08:47 PM »
mixed him with coke and lemonade and drank him

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #9 on: May 29, 2010, 12:09:14 PM »
:O

Again?
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
Re: music
« Reply #10 on: May 29, 2010, 12:09:37 PM »
lol ive tryed but still nothing :S

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #11 on: May 29, 2010, 12:11:15 PM »
Post your .py here.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline JoeBlo

Re: music
« Reply #12 on: May 29, 2010, 12:12:45 PM »
did you put all the music sections into the correct sections of your python?

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
Re: music
« Reply #13 on: May 29, 2010, 12:16:03 PM »

Offline JoeBlo

Re: music
« Reply #14 on: May 29, 2010, 12:44:19 PM »
there isnt any of the music stuff in there ?

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
Re: music
« Reply #15 on: May 29, 2010, 12:45:15 PM »
yer i know becuase im just wondering if he could put it in becuase i tryed and dident work

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: music
« Reply #16 on: May 29, 2010, 12:46:58 PM »
I'm not your best option, but I'll try.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Sage

  • *
  • Posts: 6179
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: music
« Reply #17 on: May 29, 2010, 12:49:28 PM »
PM madiaba. He'll be like: "It's elementary, my dear dalek...."
You got my vote for RA2 Wizard. Always and forever.

Offline daleksec7

  • Heavyweight
  • Posts: 421
  • Rep: 8
  • Working hard
    • View Profile
    • Awards
Re: music
« Reply #18 on: May 29, 2010, 12:54:36 PM »
ah yer i just rememberd i have his msn :D

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: music
« Reply #19 on: May 29, 2010, 12:54:57 PM »
It's easy.
Code: [Select]
self.custom_sound = plus.CreateSound("blabla.mp3", False, (0, 0, 0))This goes when other stuff for the arena is loading, since it takes some time to precache the sound. self.custom_sound now holds a "handle" to the sound you want to play later.

Then, when you want the music to play, just run
Code: [Select]
plus.loopSound(self.custom_sound)
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org