Home   Help Search Login Register  

Author Topic: Stopping Vehicle Music  (Read 2025 times)

0 Members and 1 Guest are viewing this topic.

Offline Aquaphonic

  • Members
  • *
Stopping Vehicle Music
« on: 17 Jul 2004, 15:42:02 »
I have been currently experimenting with adding music to my vehicles a la BF Vietnam, using the "addaction" command. I can get the music to play but I can't seem to get it to stop.

I am using mono sound files and implementing them using the "say" command.

I just want a script that will fade THAT particular sound and not all game sounds like "fadesound" does. I've even tried:

setdammage 1;
setdammage 0;

But that just doesn't work.

Any suggestions appreciated.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Stopping Vehicle Music
« Reply #1 on: 17 Jul 2004, 16:37:45 »
make them say something else ;) like a blank file  :)

[edit]

by the way, remember that ofp doesn't like sound files too small... make sure its longer than 10secs i think
« Last Edit: 17 Jul 2004, 16:39:32 by Messiah »
Proud Member of the Volunteer Commando Battalion

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Stopping Vehicle Music
« Reply #2 on: 17 Jul 2004, 16:45:03 »
Quote
by the way, remember that ofp doesn't like sound files too small...

I didn't know that.   What problem does it cause?
Plenty of reviewed ArmA missions for you to play

ponq

  • Guest
Re:Stopping Vehicle Music
« Reply #3 on: 17 Jul 2004, 18:06:27 »
OT:
I can add to that.
Though I never really knew it was this, but now I read this. I had a sound file ~2-3 secs long....everything alright...but ofp wouldn't play the sound. It did show the attached stringtable text...but no sound.
« Last Edit: 17 Jul 2004, 18:06:48 by ponq »

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Stopping Vehicle Music
« Reply #4 on: 17 Jul 2004, 19:36:07 »
yes... ofp doesnt like short sound files... it just won't play them - i had to rack my brains and pull my hair out before Sui told me that short sound bytes are a no no for ofp - silly hey....  i think u have to have it longer than 10-15 secs or something like that... its easy enough, just add a 10 second silence after the sound you want - solves the problem.
« Last Edit: 17 Jul 2004, 19:37:09 by Messiah »
Proud Member of the Volunteer Commando Battalion

Offline Aquaphonic

  • Members
  • *
Re:Stopping Vehicle Music
« Reply #5 on: 17 Jul 2004, 19:38:06 »
I'm sorry to say that doesn't work, my vehicle simply plays both tracks simultaneously.

I was hoping that the unit would stop playing its current track and change to the silent one or the silent one would play over the top of the initial one.

Thanks for the suggestion anyhow, I'm sure there's a workaround  :)

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Stopping Vehicle Music
« Reply #6 on: 17 Jul 2004, 20:03:46 »
hmmmm... strange i guess only music can be 'overwritten' by a blank file...

ermm, not sure now...  :-\
Proud Member of the Volunteer Commando Battalion