Home   Help Search Login Register  

Author Topic: default music track names?  (Read 823 times)

0 Members and 1 Guest are viewing this topic.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
default music track names?
« on: 14 Dec 2004, 21:39:53 »
trying to play some of the other music tracks supplied with flashpoint. i know it can be done via the 'effects' sections within the editor, but i want to call music from a script. using

Code: [Select]
playmusic "track1" - "track16"
works fine, but what about all the other tracks available, such as the resistance tracks? what are the names of these in terms of calling from script? can it even be done?

thanks in the meantime
bedges

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:default music track names?
« Reply #1 on: 14 Dec 2004, 22:05:01 »
Well......let me see......there's:

Track1 through to Track16
7thDecide
7thIAmGonaFly
7thLifeless
7thOverdose
Frost

Then, if you have Resistance there is also:

7thDarken
7thMyLife
RTrack1a
RTrack1b
RTrack2
RTrack3
RTrack4
RTrack5
RTrack6
RTrack7
RTrack8
RTrack9
RTrack10


Hope that helps


Planck
I know a little about a lot, and a lot about a little.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:default music track names?
« Reply #2 on: 14 Dec 2004, 22:08:07 »
ach that's superb. just splendid, and so quick too :)

thankyou thankyou
b

Grendel

  • Guest
Re:default music track names?
« Reply #3 on: 19 May 2005, 23:14:19 »
Shweeew!  I almost committed the cardinal sin of starting a new topic, but pushed the timeframe back on my search.....

Anywho, the previous posts partially answered my question, but I was wondering if you could do that for NON OFFICIAL tracks that show up in the editor too (in particular, the BAS Tonal Cassie tracks...or any track that shows up in the trigger effect drop down menu in the editor for that matter)

If so, how do you figure out the name of the actual track, or do you have to put in the whole BAS Tonal-Cassis-Bla Bla Bla name (as it shows in the effect menu)?  I tried that and it did'nt work IIRC, and I'm AFgamingK right now and could use a little help.

I am trying to impliment random music to play when a script is called, and heres what I know will work assuming I can even play these non BIS tracks:

note: uses random function...

Code: [Select]
_musicarray=["track name here","another track name here","ETC...ETC"]
_track=_musicarray call rand

PlayMusic _track
So two questions...

1) can you use playmusic to play non BIS tracks already showing up in editor
2) how do you find the track names.


Thanks,

-Grendel

« Last Edit: 19 May 2005, 23:14:55 by Grendel »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:default music track names?
« Reply #4 on: 19 May 2005, 23:24:33 »
Quote
cardinal sin of starting a new topic
It's not a cardinal sin providing you have done your homework first.     In this case your question just broadens out from the original question so it sits very nicely in this thread.

You can discover the name of a custom track from description.ext, where it will be defined in the sounds section.     Or if the name appears in a trigger you can just look there.   I think.

You can play any track with a playMusic command, providing the whole thing is set up correctly.

Your scripting sketch will work fine in principle.
« Last Edit: 19 May 2005, 23:24:54 by macguba »
Plenty of reviewed ArmA missions for you to play

Grendel

  • Guest
Re:default music track names?
« Reply #5 on: 19 May 2005, 23:31:57 »
thanks macguba,

Now that I think about it more (a common problem of mine) I bet BAS documented it in the Tonal readme...

-grendel

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:default music track names?
« Reply #6 on: 20 May 2005, 07:55:08 »
I think this fits here (bedges - apologies if this is hijacking your thread):

Is there a silent track or some other way of stopping the music?

What I want to do is to stop playing music without changing the music volume.  To be more precise I fade the music out, then I want to stop the track, fade the music volume back in and initially have silence.

What I have done is to record a very short piece of silence.  I fade the music out, play my silent track and then fade the music back again.  Ugly - but it works.  Is there a neater way?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:default music track names?
« Reply #7 on: 20 May 2005, 09:11:51 »
a suggestion - find out how long your music is, then once the sound has faded out, play the track one second before the end of it, with the ole

Code: [Select]
playmusic ["track_name",45-ish]

that way when the music is faded in, you'll have no music playing.

is that what you're after?

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:default music track names?
« Reply #8 on: 20 May 2005, 09:20:51 »


I think what I will do is just make sure none of my scripts makes any assumptions about music volume.