A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Music Randomizer and Battle Appropriate Music

Author Topic: Music Randomizer and Battle Appropriate Music (3 messages, Page 1 of 1)
Moderators: Dennis

UnevenElefant5
Joined: May 3, 2008

its been fun yall, i'll never forget this site :')


Posted: Sep 24, 2013 06:04 AM    Msg. 1 of 3       
Hey, I just got a request for this, and since I just wrote it out I thought I might as well put this out for everyone else.

Here's a video of it in action:
http://www.youtube.com/watch?v=Tif3pKB5APQ

These scripts will initialize a variable which changes once per tick between 3 values (0, 1, and 2). Whenever you want to start the music, you can insert the corresponding part of the code by just taking everything out of the startup script 'chooser' and pasting it into your main script.

You'll have to do some set up if you want the battle music though. I've supplied one block, but you'll need a separate block for each encounter. The block basically waits until they're alerted, then sets a variable to 'true'.

Then I have a continuous script that checks if the var is 'true', and then calls the battle music script.

I explain pretty much everything in the actual .rtf, but let me know if you have any questions, since I did this really quickly and there might be problems. I'll put this up on halomaps soon, but for now, just get it from my mediafire:

http://www.mediafire.com/edit/?rjracyehay9gx05
E: Color-coded some more stuff, and fixed it up a bit more.
Edited by UnevenElefant5 on Sep 24, 2013 at 01:10 PM


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Sep 24, 2013 07:12 PM    Msg. 2 of 3       
Awesome. Great work.

I might just steal this... ;)


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Sep 25, 2013 08:52 AM    Msg. 3 of 3       
Hey thanks, I can modify that randomizer script so my AI can say more than just one thing when they die! Time to think up some good one-liners...

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 12:54 PM 203 ms.
A Halo Maps Website