Jump to content


Photo

I Need help


  • Please log in to reply
22 replies to this topic

#21 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 03 May 2004 - 11:27 AM

Which rest? Adding music is fairly simple - look at it in greater detail and you'll see. If its too complicated I'll make a tutorial about it.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#22 Galvatron

Galvatron
  • New Members
  • 10 posts

Posted 05 May 2004 - 12:30 AM

I know what to do but don't know how to do it so could you tell me?

#23 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 05 May 2004 - 04:15 PM

Looks like I should write a tutorial about this. Anyway this is the logic from ZH:

First of all a timer is set to expire in 10 seconds - after that a counter (script for that is called "Default music track") is set to 1. Another script then checks if that counter is 1 and if so, it plays a specified music track, and sets another timer to expire in a number of seconds (which is the time it takes for the music track to complete, the length of the track).

Once that timer is expired (before that happens, when the actual music has ended, a silence for fade out and fade in effects is implemented) the next track is played, setting another timer to expire and so on and so on.

Once all tracks have been played there is a silence of 30 seconds and it then plays the first track again.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users