Okay. This is a long one
I'm tryin' to redo the Music Playing "system" for Skirmish/Multiplayer.
Okay. I've divided the music, not by faction, but by the time in the gameplay.
Divisions are:
>Intro(Early Game)
>Defense
>Escalation
>Battle(Mid Game)
>Late Game
Intro themes or starter themes are fixed to factions.
Defensive Line themes play when a player is holding down a defensive line against another player.
Escalation Themes play when "First Wave" Forces come into play.
Battle Themes play when the Combat Zone is alive.
Late Game plays after a player's enemy has suffered so much losses.
I've gotten Intro, Defense and Escalation to work well.
But nothing plays after the first Escalation theme.
I Have "Battle Themes" start playing when both the Local Player and The Player's Enemy have attacked each other and that the Local Player has units the "CAN_ATTACK" at the Enemy's Outer Perimeter. Did I do this right?
To make it a bit clear, who do I signal Battle themes to play when the game starts to be an all-out war? Should I use _ESCALATION counter for more efficient scripting of themes to played?
Also, each Phase(Division) of music has their set of tracks to be played in order(except Intros). Unless the battle hasn't escalated to any of the yet to be achieved circumstances, the music set the phase has play. And it gets to the last track on the set, and yet, the circumstances aren't met then it plays back to the first theme.
How would it fan out:
Intro > Defense 1 > Escalation 1 > Escalation 2> Escalation 3> Battle 1 > Battle 2> etc...
Not yet Achieved Circumstances and all tracks in the phase have played.
Defense 1> Defense 2> Defense 3> Defense 1> etc...
Is there an effective system in Looping the tracks?
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