Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: No sound  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

Gooner861

  • Guest
No sound
« on: 13 Feb 2005, 12:09:32 »
I've serached for the command but aint found it. I want it so there's no sound frm the game like gunfire etc but i want my custom music to still be playin.

Obviously i only want it for only a few seconds so need to know how to get the sound back.

CutSound or summin like that.

Cheers

Gooner

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:No sound
« Reply #1 on: 13 Feb 2005, 13:10:45 »
I think fadeMusic & fadeSound are the commands you need.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:No sound
« Reply #2 on: 13 Feb 2005, 18:39:31 »
THobson ins correct. Here's some examples:

0 fadeSound 0

Kills the sound instantly.

0 fadeSound 1

Makes the sound from the game (gun shots et cetera) come back again.

5 fadeMusic 0

fades the music down to zero (the second number) in five (the first number) seconds.

ThereÂ's a bug in the OFP game engine, so it is not possible to fade sounds. They are either on or off, like a lightswitch. Even though the comref says it's possible.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:No sound
« Reply #3 on: 13 Feb 2005, 19:24:53 »
You'll have to make sure that you designateyour sound as either sound or music in the description.ext.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."