PickupSound
Tool to play sounds when picking up a valuable item.
About this mod Author’s original text
PickupSound DLL for R.E.P.O.
This DLL provides an easy way to play pickup sounds for valuables you add to the game R.E.P.O. Add the DLL to your Unity project and attach the PickupSoundComponent to a valuable's prefab to play one or more sounds when it's picked up by the player.
Supported scenario
- Attach per-prefab pickup sounds for valuables so a sound plays whenever a player picks one up.
Installation
- Copy the DLL into the Assets folder of your Unity project.
- If done correctly, it should look like this:
Usage (Editor)
- Open the prefab for the valuable you want to add a pickup sound to.
- In the Inspector, click Add Component and search for PickupSoundComponent.
- Add the component to the prefab.
- Add your sound(s) to the component's Sounds field (see image below)
- Optionally adjust any exposed settings (volume, pitch, delay, spatial blend, etc.).
- Save the prefab.
At runtime, when the player picks up that prefab, a random pickup sound will play automatically.
Notes & Troubleshooting
- If the component does not appear in the Add Component list:
- Try drag/dropping the PickupSoundComponent in the components list of the prefab.
- If the sound doesn't play at runtime, check:
- The Sounds are not empty.
- The prefab instance in the scene uses the updated prefab with the component.
- The game audio isn't muted and the master/AudioSource volumes are reasonable.
Contact
If you have any other issues to report, please do using my various social media profiles:
- Discord (loray_guy)
- GitHub (LORAY-guy)
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.