tracks numbers for sector music player used in FL?

The place to discuss scripting and game modifications for X³: Farnham's Legacy

Moderators: Scripting / Modding Moderators, Moderators for English X Forum, Moderators for the X3:FL Forums

User avatar
Sorkvild
Posts: 3445
Joined: Thu, 8. Jun 06, 14:07
x3tc

tracks numbers for sector music player used in FL?

Post by Sorkvild »

Do we have a list with track numbers used by sector music randomizer script? There are still some backgound noises, cutscene music, ambience when checking manually and I'm not sure if those unrecognizable tracks are used to play in sectors, so the playlist for script would be helpful.
Elite Dangerous| I survived the Dragon Incident ... then I took an arrow to the knee
We want the Boron back!
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22403
Joined: Sun, 14. Nov 04, 23:26
x4

Re: tracks numbers for sector music player used in FL?

Post by Cycrow »

some of the sectors have fixed music tracks, like the captial worlds, you can find these in the map file.

for the others with random music, its probably easiest to just look at the script itself.

director/3.08 Sector Management

the cue is "RMG"
User avatar
Sorkvild
Posts: 3445
Joined: Thu, 8. Jun 06, 14:07
x3tc

Re: tracks numbers for sector music player used in FL?

Post by Sorkvild »

Cycrow wrote: Fri, 12. Jul 24, 19:37 director/3.08 Sector Management

the cue is "RMG"

Is this supposed to be in game folder or part of packed file? I don't have director folder in my clean install of the FL. There is director folder in version with Guild mod but there is no /3.08 Sector Management
Elite Dangerous| I survived the Dragon Incident ... then I took an arrow to the knee
We want the Boron back!
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22403
Joined: Sun, 14. Nov 04, 23:26
x4

Re: tracks numbers for sector music player used in FL?

Post by Cycrow »

The director files are packed in the cat/dat files, you will need to extract it from them first.

It's in the FL ones rather than the mods ones
User avatar
Sorkvild
Posts: 3445
Joined: Thu, 8. Jun 06, 14:07
x3tc

Re: tracks numbers for sector music player used in FL?

Post by Sorkvild »

Ok, I got that from cat 07, but these numbers do not match to what's in soundtrack folder

Code: Select all

  <cue name="RMG" instantiate="static">
      <condition>
        <object_changed_sector/>
      </condition>
      <action>
        <do_all>
          <do_choose>
            <do_when value="{player.sector.race}" list="{lookup.race@pirate}|{lookup.race@xenon}|{lookup.race@unknown}">
              <do_any>
                <set_value name="this.Track" min="35" max="39" comment="Sombre XBTF" chance="60"/>
                <set_value name="this.Track" min="8214" max="8215" comment="Sombre X3TC" chance="40"/>
              </do_any>
            </do_when>
            <do_otherwise>
              <do_any>
                <set_value name="this.Track" min="19" max="33" comment="Ambiance XBTF" chance="40"/>
                <set_value name="this.Track" min="3001" max="3003" comment="Ambiance X2" chance="30"/>
                <set_value name="this.Track" exact="8509" comment="Ambiance X3TC" chance="10"/>
                <set_value name="this.Track" min="8601" max="8603" comment="Ambiance X2" chance="20"/>
              </do_any>
            </do_otherwise>
          </do_choose>

          <do_if value="{player.sector.fixedmusic}" exact="0">
            <alter_sector sector="{player.sector}" music="{value@this.Track}"/>
          </do_if>
        </do_all>
      </action>
    </cue>
Elite Dangerous| I survived the Dragon Incident ... then I took an arrow to the knee
We want the Boron back!
User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 25128
Joined: Sun, 2. Apr 06, 16:38
x4

Re: tracks numbers for sector music player used in FL?

Post by X2-Illuminatus »

Sorkvild wrote: Mon, 15. Jul 24, 15:47 Ok, I got that from cat 07, but these numbers do not match to what's in soundtrack folder
Looks fine to me. Preceding zeros in the file names are most-likely ignored, so track number 35 refers to file "00035.mp3" in the soundtrack folder (and so on).

Edit: I realised what might be confusing: The files are located in the soundtrack folder in the "X3 Terran Conflict" directory. The soundtrack folder in the "addon 2" directory only contains the tracks that are new in X3FL.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

Return to “X³: Farnham's Legacy - Scripts and Modding”