I re-wrote all the music of Fallout 4 and I would like (maybe) rewrite the music of X4 : Foundation. To prepare this works and know if it's really possible, I would like to know where do you find the id of each music. Can you tell me ? Thx you very much.
This works just fine, but if you want only one song to play all the time what you have to do is edit the sound_library.xml file and delete the lines containing the names of the songs you don`t want to play. Mine looks like this (v2.0 secret service theme)
<?xml version="1.0" encoding="utf-8"?> <!-- created by eBaracuda --> <diff> <replace sel="/soundlibrary/sound[@id='music_menu_main_music']"> <sound id="music_menu_main_music" description="Music for the main menu" repeat="-1" is3d="0" preload="0"> <sample selection="random"> <select start="extensions\Main menu music replacer\music\Alexei Zakharov - X4 Main Menu Theme 03 Nemesis Two" /> </sample> <volume start="0.5" /> <effects> <fade in="0.01" out="0.025" /> </effects> </sound> </replace> </diff>
2 comments
I re-wrote all the music of Fallout 4 and I would like (maybe) rewrite the music of X4 : Foundation. To prepare this works and know if it's really possible, I would like to know where do you find the id of each music. Can you tell me ? Thx you very much.
<?xml version="1.0" encoding="utf-8"?>
<!-- created by eBaracuda -->
<diff>
<replace sel="/soundlibrary/sound[@id='music_menu_main_music']">
<sound id="music_menu_main_music" description="Music for the main menu" repeat="-1" is3d="0" preload="0">
<sample selection="random">
<select start="extensions\Main menu music replacer\music\Alexei Zakharov - X4 Main Menu Theme 03 Nemesis Two" />
</sample>
<volume start="0.5" />
<effects>
<fade in="0.01" out="0.025" />
</effects>
</sound>
</replace>
</diff>