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 »Dynamic Music Variation

Author Topic: Dynamic Music Variation (1 messages, Page 1 of 1)
Moderators: Dennis

JadeMcLain
Joined: Nov 13, 2018


Posted: Mar 21, 2019 11:16 PM    Msg. 1 of 1       
We can render the song with and without the instruments/perc, have all the variations play side by side as sound loopings, mute and unmute them depending on what the player is doing, like if they are in a vehicle or holding a certain weapon.


(script static unit hog1_driver (vehicle_driver hog1))

(script continuous hogmusic
(if (!= (unit_get_health (hog1_driver )) -1)
(sound_looping_set_scale "sound\loop2" 1)
)
(if (= (unit_get_health (hog1_driver )) -1)
(sound_looping_set_scale "sound\loop2" 0)
)
)


https://www.youtube.com/watch?v=V69G3wJ7e10
Edited by JadeMcLain on Mar 21, 2019 at 11:17 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri May 24, 2019 10:17 AM 157 ms.
A Halo Maps Website