Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

All Music Plays in Space

By default Rimworld will only ever play 6 tracks in space, with 2 of them reserved for raids. The music format used for Odyssey is also unusual, making it harder for mods to work around. This mod disables the music sequences Rimworld usually uses in space, causing the game to play normal songs at all times, and patches the normal space music to play randomly instead of in a sequence. The OrbitalCombat sequence will still be triggered on the Mechhive invasion, but normal threats will use any loaded threat music. This mod performs a similar function to Bnj49's Adaptive Space Music mod, but we do it in pretty different ways. Their mod adds an additional sequence for when both space and surface maps are loaded, while using the vanilla sequences when you only have space maps loaded. My mod simply disables the space sequences, so the game uses the surface music at all times, and patches the space music to play anywhere. The advantage to my method is music mods work out of the box, with their mod you would need dedicated patches for each one. If their method sounds preferable, check it out here: [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3538510666]https://steamcommunity.com/sharedfiles/filedetails/?id=3538510666[/url] All music mods are compatible, however mods that add extra space music and set commonality to 0 won't play without a dedicated patch, either in this mod or in the music mod itself. Load as far down as you can, after every other music mod you have, unless they say to load afterwards. Some music mods do very sketchy things that this mod needs to patch, hence why it has to load later. Known Compatible Mods: All Non-Odyssey Music Mods, e.g. P-Music. (no patch needed) Galacticraft Music (patch included) Biomes! Music Mod (patch included) J-Music (no patch needed) Space Warlord Organ Trading Simulator OST Odyssey (no patch needed) Passengers Music (patched in this mod) The Mystery of the Third Planet Music (patched in this mod) Technical Information: Odyssey's music is handled through two MusicSequenceDefs, OrbitalRelax and OrbitalCombat. The former plays a list of 4 songs, and the latter 2 songs. All 6 songs are set to 0 commonality, so they will never play randomly. The game is programmed to activate these sequences when in space, with the latter being used when in combat. This mod uses a PatchOperation to remove the two MusicTransitionDefs that make the game activate OrbitalRelax and OrbitalCombat on normal maps. There is a third MusicTransitionDef to force the game to play OrbitalCombat during the Mechhive event, and I decided to keep that transition since it's a rare event and it deserves to have it's own dedicated music. I've also used a PatchOperation to set the commonality of all the Odyssey songs to 1 so you'll hear them randomly.