Home   Help Search Login Register  

Author Topic: Built in Music  (Read 713 times)

0 Members and 1 Guest are viewing this topic.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Built in Music
« on: 01 Jul 2003, 00:35:28 »
Some of the built in music tracks, trigger/effects/music, are great but they last too long.  How can I get them to stop after a certain amount of time?

Captain Winters

  • Guest
Re:Built in Music
« Reply #1 on: 01 Jul 2003, 00:55:30 »
You should just be able to use these command:

<time to fade> fadeMusic <music volume>

should work fine. it always does for me  ;)

Tanks!  8)

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Built in Music
« Reply #2 on: 01 Jul 2003, 01:43:24 »
thanks, makes sense, but umm, where do I put the command?  I am calling the music frfom the effects of the trigger, not from a script

Captain Winters

  • Guest
Re:Built in Music
« Reply #3 on: 01 Jul 2003, 01:59:57 »
Then just do this from a script:

playMusic "Music Title"
~Time Of Music To Last (Seconds)
03 fadeMusic 0

Sould work great

Tanks! 8)

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Built in Music
« Reply #4 on: 01 Jul 2003, 02:17:31 »
OK, thanks!  I'll try it out

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Built in Music
« Reply #5 on: 01 Jul 2003, 11:03:48 »
It seems the music has to be described in the description.ext to work this way.  Since it is a 'Built in" track seems like I shouldn't have to do this, ideas?

Knut Erik

  • Guest
Re:Built in Music
« Reply #6 on: 01 Jul 2003, 12:17:31 »
playMusic "Music Title"
~Time Of Music To Last (Seconds)
03 fadeMusic 0

Okay...
To play the music, the playMusic command works like this.
If you want to play track 1, it is playMusic "Track1"
Track2
Track3
Track4
And so on.

The res music is called like this
Rtrack1
Rtrack2
Rtrack3

The 7th songs is called like this
7thDarken
7thMyLife
7thDecide


This should work :D
« Last Edit: 01 Jul 2003, 12:18:09 by Knut Erik »

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Built in Music
« Reply #7 on: 01 Jul 2003, 22:53:31 »
Perfect!  that was the answer.  I tried Track1  - Main Theme and it failed, but just Track(#) did it.  Appreciate the assist