Author Topic: Changes to the way music is handled.  (Read 2402 times)

0 Members and 1 Guest are viewing this topic.

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Changes to the way music is handled.
Would it be possilbe to, instead of having the soundtracks listed in the music tbl, to specify single tracks of music at a particular point in a mission. This would be useful to me in the in-engine cutscene I made. you would see what I meant IF YOU BOTHERED TO DOWNLOAD IT! Sorry, now what I mean is instead of having the battle, ambient, arrival and whathavyou, just to specify a single track, using a sexp.

Thus:

has-time-elapsed
30
play-music
Iamgonnafly01.wav

Or whatever. This is how music is handled in Operation flashpoint, and I think would work well in FS.

A fade-music SEXP would also be useful.

 

Offline Stunaep

  • Thread Necrotech.... we bring the dead to life!
  • 210
Changes to the way music is handled.
we have the change-music sexps, what more do you need?
"Post-counts are like digital penises. That's why I don't like Shrike playing with mine." - an0n
Bah. You're an admin, you've had practice at this spanking business. - Odyssey

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Changes to the way music is handled.
Screaming "LOOK AT ME! LOOK AT ME! DO THIS NOW! LOOK AT THIS NOW! GO DO IT GODDAMMIT" is _NOT_ going to get you postitive attention from any of the other programmers on this board
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Changes to the way music is handled.
Yes, but there have been over 170 views to that thread, and only about 18 replies, most by me. No-one has commented on the cutscene, and it annoys me greatly. I spent a whole day on that thing.

 
Changes to the way music is handled.
i commented on it, in the hard light general thread.

ok, not much comment, becasue it didn't work, it said: "attempt to load mission failed" when it tried to load it in the techroom.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Changes to the way music is handled.
Prolly that's because it's a SCP mission and you're not using the SCP to run it.

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Changes to the way music is handled.
'Tis what i put in the general forum. It was made with 3.41.

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Changes to the way music is handled.
Quote
Originally posted by Stunaep
we have the change-music sexps, what more do you need?


Yes, but that only changes the soundtarck to another one, specified in the mucis.tbl, does it not? I want the ability to be able to play a single wav, ogg or mp3 file. The only way to do this at the monet is to have a nonexistent ship send it as a message, but this is not satifactory, as any future messages stop the music.

 

Offline Martinus

  • Aka Maeglamor
  • 210
    • Hard Light Productions
Changes to the way music is handled.
[color=66ff00]
You shouldn't get aggrivated if your idea isn't popular, the sound system as-is seems to be good enough for most people for the time being. As such it would probably not be seen as a priority to the programmers who have limited time and generally work on the most popular community requests and necessary updates.

Obviously there are exceptions, the programmers that are working on the features that they wish to see in the engine. Frankly you can't really say anything to criticise this as they reap the benefits of the work that they put in. If you really really need to have this feature then I can only advise that you attempt to learn to program for yourself, it's not ideal but consider that once you have a grasp on things you can add new features or tweak existing ones at whim.
[/color]

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Changes to the way music is handled.
Thanks, Maeglamor. :)

The sound system is tricky, to say the least, and I personally haven't looked much at it.  Petrarch, if you really need this for cutscenes, than what you could do is make a mission with no music and disable all game messages.  Then you could play your sound file with no interruptions.

And don't you need a license to decode mp3 anyway?

 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
Changes to the way music is handled.
Quote
Originally posted by Goober5000
Petrarch, if you really need this for cutscenes, than what you could do is make a mission with no music and disable all game messages.  Then you could play your sound file with no interruptions.


Ahh, but what If I wanted ship to ship communication? I suppose the only way I could do it at the moment would be to record all the music and voice into one long wav file, and have it play from the start of the mission.
That's how it's done in 3Dmark2001, y'know.

and Maeg, about learning C++. I've tried, oh how I've tried.:D

  

Offline Martinus

  • Aka Maeglamor
  • 210
    • Hard Light Productions
Changes to the way music is handled.
Quote
Originally posted by Petrarch of the VBB
Maeg, about learning C++. I've tried, oh how I've tried.:D


[color=66ff00]
Unfortunately the only way to get good at programming is to perservere and look at a lot of other people's code. I've picked up a little C over the last week or so and it seems to make sense on the whole, I have to admit I'd be lost without an IDE though and I'm far from understanding even the more basic aspects of the FS code.

Still as a wise person once said:
The journey of 1000 leagues begins with a small step. :nod:
[/color]