ZetaArcade-SoundAPIWeatherBinding icon

SoundAPIWeatherBinding

SoundAPI condition for soundpack makers to change sounds based on the current weather!

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-2.0.4 icon
loaforc-loaforcsSoundAPI

A general use library to replace sounds in Unity games.

Preferred version: 2.0.4
loaforc-loaforcsSoundAPI_LethalCompany-1.0.2 icon
loaforc-loaforcsSoundAPI_LethalCompany

LethalCompany bindings for loaforcsSoundAPI (v2)

Preferred version: 1.0.2
mrov-WeatherRegistry-0.7.4 icon
mrov-WeatherRegistry

A mod for controlling the game's weather system.

Preferred version: 0.7.4

README

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