Home   Help Search Login Register  

Author Topic: Custom music question PLEASE HELP  (Read 4118 times)

0 Members and 1 Guest are viewing this topic.

Offline Pr0ph3t

  • Members
  • *
Custom music question PLEASE HELP
« on: 08 Mar 2005, 02:00:26 »
I've made a 50 mission campaign and now its time to add custom music sound and voices.. I'm trying to add music BUT IT WON'T WORK. I've been trying for a day, read every tutorial, downloaded every converter and it JUST WON'T WORK. I really hope its something stupid and obvious so I can start passing around this campaign! so here goes:

fire.mp3 converted to CONSTANT 44100 khz stereo 128kbps .ogg description.ext written properly, when mission loads (trigger is immediately placed in beginning since music starts right away) and OFP boots me to desktop or crashes. I tried using helimusic.ogg which comes with the example tut here and it worked great. None of my .oggs work though. I've used dbpoweramp, wavesurfer, freerip, cooledit, you name it. I just can't get these stupid songs to play!!!

also tright lesser bitrates and everything
even tried average bitrate instead of constant. Same problem. Tried lowest quality settings. Same problem. Yes I also tried different mp3s. NOTHING WORKS IT MAKES ME WANT TO THROW THIS BOX THROUGH THE WALL.

Can anybody figure this out please?
« Last Edit: 08 Mar 2005, 04:15:18 by Pr0ph3t »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Custom music question PLEASE HELP
« Reply #1 on: 08 Mar 2005, 04:23:05 »
post your description.ext please.
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."

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #2 on: 08 Mar 2005, 04:40:20 »
Here you go:

// Indicates whether or not the debriefing window appears at end of the mission 0 = no, 1 = yes
debriefing = 0

// Music
class CfgMusic
{
// Contains a list of all the .ogg files (without the .ogg extension) which are
// in all of the CfgMusic class instances below.

tracks[]=
{
fire
};

// Definition for a specific music track
// The class name is referenced in the mission.sqm file. (E.g. track="01demo")
class fire
{
// Name.
name = "fire";

// Sound file to use
// First entry is sound file to use (from music directory)
// Second field?
// Third field? Pitch maybe?
sound[] = {\music\fire.ogg, db+0, 1.0};
};
};


Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #3 on: 08 Mar 2005, 04:47:27 »
Is your music file in a folder called music....and is this folder inside your mission folder?


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

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #4 on: 08 Mar 2005, 04:49:37 »
yes yes all that stuff has been taken care of.. Its the .ogg file itself I think. I don't know what I'm doing wrong!

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #5 on: 08 Mar 2005, 04:54:02 »
Well I'm not the best troubleshooter for .ext or scripts for that matter, but maybe try replacing


tracks[]=
{
fire
};

with

tracks[]= {fire};

I was looking at one of my .ext's and  that's how my "tracks" part looked.

And I see Planck's post, having the folder is a good thing too. And just out of curiosity, to see if it matters, how did you "start/call" the music through the trigger?

And one last thing, its a campaign right? I haven't dealt with a campaign .ext, but I suspect they are a little different. (maybe not in the music department though :P)


Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #6 on: 08 Mar 2005, 04:54:29 »
How long is the music.......is it just a small titchy wee track or does it last a fair bit?


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

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #7 on: 08 Mar 2005, 04:56:47 »
first of all, the trigger is called by anybody standing on it on the very begining of the mission. When I renamed helimusic.ogg to fire.ogg and put it in there, it played fine. Its the ogg files I'm putting.. I just don't know what format ofp needs. The tracks are about 3-4 minutes each.

and helimusic comes from bloodmixers tutorial.

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #8 on: 08 Mar 2005, 04:57:18 »
oh and also right now its not a campaign yet its just single missions.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Custom music question PLEASE HELP
« Reply #9 on: 08 Mar 2005, 04:59:25 »
Examine helimusic.ogg to see what its stats are as far as length, Hz,kbps.... etc are.


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

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #10 on: 08 Mar 2005, 05:01:36 »
already did all of that. the only thing I noticed was that my song had nominal 128 kbps and avg. 128 kpbs. and the one that worked was nominal 128 and avg. 63

But in bloodmixer's tutorial it said that you MUST use CONSTANT bitrate. I even tried using average just in case it was wrong.. And nope nothing. I really don't get what's wrong..

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #11 on: 08 Mar 2005, 05:02:01 »
Yea sounds like a .ogg screwup or something. Maybe before reconverting it, try renaming the fire .ogg file to some other name like test and change the codes accordingly. Otherwise, what Planck said. :joystick:

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #12 on: 08 Mar 2005, 05:03:13 »
nothing works so far

Dubieman

  • Guest
Re:Custom music question PLEASE HELP
« Reply #13 on: 08 Mar 2005, 05:05:46 »
I dunno then... :P

Wait for the sound guru's to wake tomorrow and they can have at it. ;D

Offline Pr0ph3t

  • Members
  • *
Re:Custom music question PLEASE HELP
« Reply #14 on: 08 Mar 2005, 06:40:38 »
*** GURU CALL ***