Beemans Prime Mover Audio Patcher
⚪ Last updated 2024Preview

🔍 Analysis
- 👍 3.8% endorsement rate — high engagement, a strong quality signal
- 🏆 #145 of 346 Miscellaneous mods in this game by downloads
📋 About This Mod
This allows you to add custom prime mover audio to your custom diesel locomotives.Thanks to Latom on discord for helping me pinpoint an issue with this not working. I have updated the files
This is a script that I use in my GP38 that replaces the default audio with the 645 audio, this will allow you to utilize that functionality with your own audio files.
THANKS TO LATOM ON DISCORD: I realized that the asdmf file for the GP38 scripts is needed for these to work, it has been added
Included are 4 Scripts, all 4 are required for the audio patching to take place.
-CustomPrimeMoverAudioProfile. CS: This one is used for all engine audio, notch loops, startup and shutdown.
-SpecialPrimeMoverModifier. CS: This tells harmony that this locomotive is being patched
-StartupAudioPlayer. CS: This is used to play a startup sound on spawn. There must be audio here or it will crash, if you dont want audio here, simply use a wav file with silence. Also add an audio source to for this to play through.
-AudioSourceInitializer. CS: This ensures that all sounds are piped through the in game audio mixer.
This works on a per-locomotive basis, the way the scripts work internally is that it will force it to load the audio files that are loaded inside of the main object bundle, and override the default sound. No, this will not replace your audio with the 645 audio, it will replace it with whatever audio you assign.
Its a hard requirement that you have the GP38 mod installed, as the actual handling of the patch is inside GP38Scripts, these are simply "reference scripts" for Unity.
To use these scripts:
Attach all 4 directly to your main prefab parent object in the Unity Inspector. (for example mine is ld-gp38)
Add the audio for each notch, and the startup audio and delay (there must be an audio file here or it will crash) it should automatically build a list of 8, with 9 loops (Idle-8) and you should also be able to add in your audio for the startup sound.
Build the bundle.
Changing the amount of loops, Transitions Up or Transitions Down is untested. I advise against editing these values as I am not sure how the game would handle it.
DO NOT STEAL OTHER CREATORS AUDIO FILES! MAKE SURE YOU HAVE THEIR PERMISSION FIRST!
THIS IS A TOOL FOR MODDERS, THIS WILL NOT WORK BASE GAME, AND DOES NOT CHANGE ANYTHING IN THE BASE GAME. PLEASE DO NOT ATTEMPT TO ADD THIS TO YOUR GAME, EITHER RAIL LOADER OR UMM WILL NOT SUPPORT IT, IT IS DESIGNED TO BE UTILIZED IN UNITY EDITOR TO ENABLE THE AUDIO OVERRIDING FUNCTION THAT THE GP38 SCRIPTS HANDLE
LOCOMOTIVES PATCHED WITH THIS MUST HAVE THE GP38 INSTALLED
📊 Mod Details
- Game
- Railroader Mods
- Author
- TheBeeMan94
- Version
- 1.2
- Downloads
- 839
- Endorsements
- 32
- Category
- Miscellaneous
- Created
- 8/18/2024
- Updated
- 9/15/2024
🔧 How to Install Railroader Mods
Download from Nexus Mods.
📖 Full step-by-step install guide for Railroader →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Railroader commands, item IDs, and more.
Keep browsing — more Railroader mods await