Home   Help Search Login Register  

Author Topic: More custom music problems  (Read 1001 times)

0 Members and 1 Guest are viewing this topic.

Offline Nixer6

  • Members
  • *
More custom music problems
« on: 12 Sep 2002, 05:39:09 »
I started a post on the "official forum"
about playing custom music. I haved searched the posts here and at that forum for an answer.

I don't know what I am doing wrong ???

Here what I just posted over there.

Ok, It's not working  

Here's what I've got

A mission folder with:

A folder named "Music" (no quotes)
with a howl.ogg file

Here are it's attributes:

661kb
Recorded at a constant bit rate of 96Kbps
44100 hz
(actually converted to this from a MP3)

A text file named "Description.ext" (no quotes)
with this in it:

class CfgMusic
{
  class howl
  {
      name = "howl";
      sound[] = {"howl.ogg", db, 1.0};
      titles[] = {0, $STRM_howl};
  };

};


I used to have custom music working, prior to a computer crash. Lost all my stuff and have been rebuilding.

I am using OFP: Resistance

All missions and sounds work fine.

What the Heck am I doing wrong  

Thanks for the help, I am stumped.

I've tried to find the music in triggers and waypoints, it's not showing on the list.

I just tried;  PlayMusic "howl"  in the activation field of a trigger and got a music "howl" not found error message.

Any input and/or suggestions appreciated.

Thanks
Why do I have to be a Rocket Scientist to make a good mission?

Mandible

  • Guest
Re:More custom music problems
« Reply #1 on: 12 Sep 2002, 11:58:59 »
in your sound[] line I think you have to give the path as follows and put a value to db + or - without the "()":

class CfgMusic
{
  class howl
  {
      name = "howl";
      sound[] = {Music\"howl.ogg", db(+/-value), 1.0};
      titles[] = {0, $STRM_howl};
  };

};


« Last Edit: 12 Sep 2002, 12:00:36 by Mandible »

Cedaie

  • Guest
Re:More custom music problems
« Reply #2 on: 12 Sep 2002, 12:51:23 »
errm, tis works

class CfgMusic
{
class howl{name = "";sound[] = {\music\howl.ogg, db-0, 1.0};};

};


nothing else matters

Offline Nixer6

  • Members
  • *
Re:More custom music problems
« Reply #3 on: 12 Sep 2002, 15:39:47 »
Thanks Gents, I will try it :)

I had used the path in my previous attempts to get it to work. I changed it for use in Resistence, based on a suggestion from the official forum.

I decided last nite to uninstall Resistence, as the graphical improvements are outwieghed by the NUMEROUS bugs, and especially the things that worked before and don't work now.

When it is patched, I may re-install. Until then, It is the buggiest piece of software I have ever purchased. >:( (except for maybe the original Falcon 4, lol)

Until it has been patched CORRECTLY, I'm gonna stick with 1.46

Thanks again.
« Last Edit: 12 Sep 2002, 15:42:11 by Nixer6 »
Why do I have to be a Rocket Scientist to make a good mission?