mirror of
https://github.com/HypoxiE/rimworld-add-my-music-mod.git
synced 2025-12-06 05:45:58 +00:00
Adding additional parameters to customize the configuration
This commit is contained in:
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
@@ -1,13 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<Defs>
|
<Defs>
|
||||||
<SongDef>
|
|
||||||
<clipPath>Gameplay/Kafka Theme Music EXTENDED - A Dramatic Irony (tnbee mix).Honkai_ Star Rail</clipPath>
|
|
||||||
<volume>1</volume>
|
|
||||||
<tense>false</tense>
|
|
||||||
</SongDef>
|
|
||||||
<SongDef>
|
|
||||||
<clipPath>Gameplay/Wildfire (Cocolia Boss Theme).Honkai_ Star Rail</clipPath>
|
|
||||||
<volume>1</volume>
|
|
||||||
<tense>false</tense>
|
|
||||||
</SongDef>
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -11,9 +11,28 @@ for %%f in (Sounds\Gameplay\*) do (
|
|||||||
set sound_name=%%~nf
|
set sound_name=%%~nf
|
||||||
|
|
||||||
echo ^<SongDef^> >> Defs\SongDefs\Songs_Gameplay.xml
|
echo ^<SongDef^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<defName^>!sound_name!^</defName^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
echo ^<clipPath^>Gameplay/!sound_name!^</clipPath^> >> Defs\SongDefs\Songs_Gameplay.xml
|
echo ^<clipPath^>Gameplay/!sound_name!^</clipPath^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
echo ^<volume^>1^</volume^> >> Defs\SongDefs\Songs_Gameplay.xml
|
echo. >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--The probability of music appearing in the game--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<commonality^>1.0^</commonality^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo. >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--Music volume--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<volume^>1.0^</volume^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo. >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--If true, it only plays in a combat situation--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
echo ^<tense^>false^</tense^> >> Defs\SongDefs\Songs_Gameplay.xml
|
echo ^<tense^>false^</tense^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo. >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--If true, it only plays in a combat situation--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<tense^>false^</tense^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo. >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--If you want to limit the time of day, delete '^<^^!- -' and '- -^>' of the desired option--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--^<allowedTimeOfDay^>Day^</allowedTimeOfDay^>--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--^<allowedTimeOfDay^>Night^</allowedTimeOfDay^>--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo. >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<^^!--Listing the seasons in which this song is played--^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
echo ^<allowedSeasons^> ^<li^>Winter^</li^>^<li^>Spring^</li^>^<li^>Summer^</li^>^<li^>Fall^</li^> ^</allowedSeasons^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
|
|
||||||
echo ^</SongDef^> >> Defs\SongDefs\Songs_Gameplay.xml
|
echo ^</SongDef^> >> Defs\SongDefs\Songs_Gameplay.xml
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user