VTULCobra
  • VTULCobra
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Hey guys,

I didn't know if I was supposed to post this in Maps and World Builder or in Modding, so i put it in both.
Does anyone know how i get Red Alert music like "Hellmarch" into just one Zero Hour map, not the game but just one map?

Thanks
Rank up!
Sponsor
precision_bomber
14 years ago
You can use FinalBig to open 'Music.big'
Then, pick the track you like then as you put the file in the bigfile.
then... have the directory to be this example: data/audio/tracks/.mp3

- indicates which faction it will play on.
- the order it will play as. As far as I know, you can set this from 01 to 11 for US, 01 to 10? for China and GLA.

yes. you have to rename the track.

OR.

you can do it the INI code way.

Extract Music.ini from INIZH.big
Then edit it accordingly here's an example.


MusicTrack Game_CHI_01  ; Music Event
  Filename = CHI_01.mp3  ; The file in the directory of data/audio/tracks
End  ; ends the code. I haven't really experimented much with it though.

What I'm trying to make happen now is to have it play random tracks. A shuffle system if you may, I think it's possible.

Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
VTULCobra
  • VTULCobra
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Thanks.
Rank up!
NewNightmare
14 years ago
you could try this:
AudioEvent ComancheAmbientLoop
  Control = loop all random
  Sounds =  vcomlo2a vcomlo2b vcomlo2c vcomlo2d
  Attack =  vcomlo1a
  Decay =  vcomlo3a
  PitchShift = -5  5
  VolumeShift = -10
  MinRange = 100
  MaxRange = 600
  Volume = 60
  Limit = 2
  Priority= low
  Type = world shrouded everyone
End

Ambientsounds !

make one with all the music, assign it to a static object in the ~middle of the map and give it a quadrillion range.
VTULCobra
  • VTULCobra
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
Haha, cool. ^^
But if I do that then the other music would go away right? ^^
Rank up!
NewNightmare
14 years ago
dunno, never tested it, just a thought, but I think you'd have to remove the music manually, since ambients like heli rotors overlap with original music
VTULCobra
  • VTULCobra
  • 100% (Exalted)
  • Major Topic Starter
14 years ago
But since you can have several sounds at once, like a heli flying over a water stream, then you can hear both the heli and the water, right? So if I made a sound with your suggested range (lol) I would still hear the music when im at the other side of the map and a heli (for example) flies by?
Rank up!
precision_bomber
14 years ago
Ambient sounds are gonna be weird to hear. It's like the unit has it's own theme song that overlaps with the main bgm...

.mp3 and .wav can play both at the same time. (Though that is what I observed when I made my SHMUP games, I don't if it's the same thing with Generals.)

(BGM Test from my SHMUPs)
.mp3 followed by another .mp3, the previous .mp3 stops playing
.mp3 followed by .wav, overlap occurs unless a 'music stop action' is present in between.
.wav followed by another .wav, by chance if the .wav is long it will be sometimes cut with other .wav, but in most cases overlap happens.
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth