Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: KappaWing on March 09, 2005, 08:48:54 pm
-
I'm trying to fred a mission where the ambience music must end at a specific point. However, due to the ships in the beginning being all friendly, FS2 plays the victory music. This annoys the living heck out of me because i don't want the victory music to play at the beginning of the mission. I've tried editing the music tables by modifying the Victory music entries to make them dysfunctional or deleting them altogether. When I do this, however, FS2 can't find the track and the music simply stops instead of going on. Does anyone know how to disable an entry of music.tbl without muting or restarting the track?
-
Are you using Vanilla FRED2 or FRED2_Open?
For FRED2_Open, what you could do is set the Music to "None", and tell FRED to play the music file by the file name via a sexp, then when your done, stop the music and sexp change soundtrack to whatever you want later.
Or, try checking ignore for counting goals in all the ship orders. I have no idea how that would work though.
Or, modify the music tbl and replace the victory music with the ambience. You'd have to make do without any victory music at the end though. (Unless you changed the soundtrack with FRED2_Open.)
-
It's not uncommon in retail missions to start with all ships being friendly. Open one of them and see how :v: kept the victory music from playing. Though if you're doing what I suspect, you haven't assigned any mission objectives, so all goals are complete at the start of the mission and thus the victory music. The objective could be "survive 5 minutes" or whatever, but you need at least one to avoid victory conditions.
-
Argh, that'd probably be it, wouldn't it. Geez, I know how to come to a complex answer for such a simple thing.
-
You need some goals. Or if you have them, you need to make sure they're not true at the beginning of the mission.
EDIT: Yeah, what StratComm said. :)
-
^what he said^
use to do my head in too.
-
Ah! Thank you all! It is a red-alert mission still in the early phases of testing and the goals weren't added. Goals have now been added and the music problem has been fixored! :D