gametechmods
Robot Arena => General Support => Topic started by: WhamettNuht on October 16, 2008, 10:11:05 AM
-
Hi All.
Can someone tell me the scripting that i need for this:
Making music play all through a fight in an arena and so that it plays something different everytime(Switches through music)
Thanks!
Whamett
(I know that you need the music to be .wav or something, and i can do that)
-
Making music play all through a fight in an arena and so that it plays something different everytime(Switches through music)
I asked myself the same question. I think you can add one track, by adding several command lines to the arena's .py, but several, I doubt it.
I bet that Mad can help us for that.
-
I asked myself the same question. I think you can add one track, by adding several command lines to the arena's .py, but several, I doubt it.
I bet that Mad can help us for that.
yep. even i think i know how. (mad went through it a bit with me when making the RAW arena sounds. if you notice the arena announcer says "welcome to the RAW zone!")
-
Does it?
I've looked at all of the videos, but it says "Welcome to the combat zone".
Say, pm me so that i can get an idea.
-
Does it?
I've looked at all of the videos, but it says "Welcome to the combat zone".
Say, pm me so that i can get an idea.
well the newest ones should say it... listen closely. the old ones didn't. (first round)
-
I heard it once in the second round.
-
What fight?
-
please keep all useful tutorials public, if you can.
thanks.
-
i don't know, but you can hear it also in the Reier vs. K343gs fight.
-
Oh yeah!
Thanks for that!
-
Wham, here's the coding for Arena Background music:
(If you need help on the indenting, let me know)
def __init__(self):
self.StartMusicTimer = 0
def HazardsOn(self, on):
self.game_music = plus.createSound("Sounds/BalladOfJedClampet.wav", False, (0,0,0))
def __del__(self):
plus.stopSound(self.game_music)
plus.removeSound(self.game_music)
Arenas.SuperArena.__del__(self)
def Tick(self):
if self.StartMusicTimer <= 20:
self.StartMusicTimer += 1
if self.StartMusicTimer == 20:
plus.loopSound(self.game_music)
Here's a snipet vid of the Arena music: The Hoedown Dance! (http://www.madiaba.gametechmods.com/VIDS/ACAMS_JIG.wmv)
(I actually love the Banjo...:-D)
..
-
I love you Mad.
So we can put these lines anywhere on the arena .py?
And we can't have more than one media file in the "playlist"?
-
No, Nar, not anywhere. The Black text is/are headings, under which the blue coding goes, with proper indenting...
If you've any probs, then just send me the py and I'll put it in for you...
More than one song would take a little more coding than written above.
(BTW: Did you have a look at the vid above using this coding?..:
-------------------------------------------- "The Hoedown Dance! (http://www.madiaba.gametechmods.com/VIDS/ACAMS_JIG.wmv)".)
...
-
Saw it. What the heck is that one-hit-kill custom component? Minicannon?
-
LOL......Good one
-
Nar, It's an Electro-static Discharge Generator. It's powerful, but that was just a lucky 1HK. It usually tears off components/parts first. PM me if you'd like to know how it works.
ACAMS, I'm going to AI that bot, with that uber-powerful weapon. Then YOU can 'RULE the WORLD!' (...as long as I'm #2. *hehe*)
-
Mad Mad Mad... You and your python based cranium. Anyways good job.
-
I have an idea of another way to make one, just make a weapon with the bounding collision box bigger than the component, and then make the component do a lot of damage.
-
Then YOU can 'RULE the WORLD!' (...as long as I'm #2. *hehe*)
As long as I can find a use for you.
-
lawlzie walzies <3
-
Wham, did you get your background music working?
-
Wham-nuts PM-ed Madiaba requesting: Hi Mad. Im trying to get the Combat Zone to play the music that i want. Could you send me the .py file for what you did in the music? And couls you replace the song that you have with Spybreak.wav Thanks.Im going to use the Combat Zone for Wild Robots Live. And you wouldnt happen to have a step-by-step guide to the House-Robot ai'ing, would you? Thanks alot!
Whamett
Here, Wham: ..........>MusicBoxArena (http://www.madiaba.gametechmods.com/MusicBoxArena.rar)<
It has a ReadMe, so you can change it to whatever song you would like.
Be careful, and use Notepad++ or Python itself.
As far as the HouseBot coding, there is none presently written. It would have to be scripted.
-
As long as I can find a use for you.
Considering how well he's doing with all the coding, he might slip you a little poison virus, and become Numero Uno himself, Master Cylinder ........ Hey, if it worked for the Borggias ....
-
SShhhhhhh!!!!!
-
Thanks Mad!
-
I just done it and it works fine!
Is there any way i can up the volume on the music?
I can bearly hear it over the crowd and robots!
Plus, using Notepad++, can i change the name and description of the arena?
I want to get it perfect as this will be the arena that i use in Wild Robots Live!
I'll just need to do a few more tweaks to it (If thats ok!)
If i can send you the finished arena and House Robot, can you do the final step which is House Bot AI'ing?
Thanks so much Mad!
-
I just done it and it works fine!
Is there any way i can up the volume on the music?
I can bearly hear it over the crowd and robots!
Plus, using Notepad++, can i change the name and description of the arena?
I want to get it perfect as this will be the arena that i use in Wild Robots Live!
I'll just need to do a few more tweaks to it (If thats ok!)
If i can send you the finished arena and House Robot, can you do the final step which is House Bot AI'ing?
Thanks so much Mad!
yes its in the readme he gave you...
-
Nope, nothing in the read-me about the volume.
-
I just done it and it works fine!
Is there any way i can up the volume on the music?
I can bearly hear it over the crowd and robots!
Plus, using Notepad++, can i change the name and description of the arena?
I want to get it perfect as this will be the arena that i use in Wild Robots Live!
I'll just need to do a few more tweaks to it (If thats ok!)
If i can send you the finished arena and House Robot, can you do the final step which is House Bot AI'ing?
Thanks so much Mad!
Wham,
It appears that the sounds volume is hard-coded in the exe. Though the py coding is present, altering it has no effect. If Serge is able to get access into the exe, then we'll talk. So to adjust the music's volume, just get a good audio editor and adjust it there.
As far as the AI-ing a 'HouseBot', Let me think about the logistics of such an endeavour, and I'll get back with you...
...
-
Thanks! :-D