CptDristyler-LethalElementsThetaV81 icon

LethalElementsThetaV81

Unofficial rebuild. Five new weather effects (Heatwave, Solar Flare, Snowfall, Blizzard, Toxic Smog). Rebuilt for v81 by Cpt.Dristyler. Fork of LethalElementsTheta (pacoito), original by voxx. CC BY-NC 4.0.

CHANGELOG

Changelog

Entries below are for this unofficial v81 rebuild by Cpt.Dristyler. Original mod by voxx, Theta fork by pacoito — their upstream release history (1.3.5 and earlier) is not duplicated here.

1.3.7 — v81 rebuild by Cpt.Dristyler

Continues from pacoito's last public LethalElementsTheta 1.3.5. GUID voxx.LethalElementsPlugin unchanged — existing configs and the asset bundle stay compatible. Licensed CC BY-NC 4.0.

  • Fixed HeatstrokeAudioPatch crashing the whole plugin on v81. The CodeMatcher pattern for SoundManager.SetAudioFilters stopped matching the updated game IL; the unguarded Advance/CreateLabel threw inside the transpiler, aborting Awake() and silently disabling every weather with log spam. The transpiler is now fail-safe: if the pattern is not found it logs a warning and leaves SetAudioFilters unmodified, so all weathers keep working (only the minor heatstroke audio-muffle is skipped).
  • Fixed SnowHindranceTranspiler producing invalid IL on v81. It hardcoded local index 8 (ldloc.s 8 / stloc.s 8) in PlayerControllerB.Update; v81 renumbered the method's locals, so the injected div was rejected (InvalidProgramException: Invalid IL code ... div). This crashed plugin init and MonoDetour retried endlessly, dumping the full CIL listing to the log every launch — which also broke every other mod patching PlayerControllerB.Update. The transpiler now reuses the operand of the matched stloc.s instead of a hardcoded index.
  • Resolved a GetRandomNavMeshPositionInBoxPredictable overload ambiguity (v81 added a second overload) by pinning the original via the verticalScale parameter.
  • Rebuilt against LethalCompany.GameLibs.Steam 81.0.5 (was 73.0.0). Dependency manifest corrected to mrov-WeatherRegistry-0.8.8 + mrov-MrovLib-0.4.3 — the versions the plugin is actually compiled against (the upstream manifest pinned the older WeatherRegistry 0.7.5, which made the mod manager downgrade WeatherRegistry profile-wide and break every weather mod's networking).