SoundAPIWeatherBinding
SoundAPI condition for soundpack makers to change sounds based on the current weather!
By ZetaArcade
| Last updated | 3 weeks ago |
| Total downloads | 325 |
| Total rating | 1 |
| Categories | Mods Tools Audio Client-side |
| Dependency string | ZetaArcade-SoundAPIWeatherBinding-1.0.1 |
| Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
loaforc-loaforcsSoundAPI
A general use library to replace sounds in Unity games.
Preferred version: 2.0.4loaforc-loaforcsSoundAPI_LethalCompany
LethalCompany bindings for loaforcsSoundAPI (v2)
Preferred version: 1.0.2README
SoundAPI Conditions for the current Weather!
Adds 3 new conditions you can use for SoundAPI mods:
- "LethalCompany:weather:name" - (String) Returns true if the exact name matches (Basically the name of the Weather you would see on the terminal). Works with any kind of weather!
- "LethalCompany:weather:isweatherpresent" - (String) Returns true if the name of the weather is included in the list of current weathers (For use with WeatherTweaks Combined Weathers, where multiple are present). Sadly does not work yet for Progressing Weathers!
- "LethalCompany:weather:iscombinedweather" - (Bool) Returns true if the current weather on the moon is combined (more than 1 weather effect detected)
For an example how to use it, check out my LalalatteLoadstone mod, which changes the Loadstone Loading Music depending on the current weather! You're welcome to use it as a base for your own mod.
Support for WeatherTweaks progressing weathers is planned so it can detect later weathers, as both conditions will only return true for the first weather part of the chain. For now, you would just have to use the "name" condition, and put the full name of the progressing weather (E.g. "None > Foggy").
Changelog
- 1.0.0 Initial upload
- 1.0.1 Added new "iscombinedweather" condition