You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
New system for detecting when the player is outdoors, indoors, or deep indoors
A new soundpack making use of the new features: Matmos 2020 "Zen"
Update checking for sound packs which support it
Versions are now also built for Forge
Made large_scanner more responsive
Many bug fixes and performance improvements
Changes for soundpack authors
Finished implementing streamed sounds
New scanner: scan_raycast scans the blocks near the hits of roughly uniformly distributed rays. Has a weighted version (raycast_w) which gives a smaller weight the further away the block is.
Variables:
.spaciousness: Larger the more spacious the player's environment is
(e.g. low in a cave, high in an expansive area)
.is_outdoors: boolean which is true if the player is outdoors
New scanner: scan_air finds nearby skylit air blocks using a flood fill until a threshold is reached. Used internally for indoor detection. It exposes the .is_near_surface boolean variable
scan_large and scan_raycast have _above and _below versions which only count blocks above and below the player, respectively
w_general has 4 new fields: can_snow_here, biome_is_snowy, biome_temperature, biome_rainfall
Additions to json format (see the mat_zen soundpack for examples):
New built-in sets: _OUTDOORS, _INDOORS and _DEEP_INDOORS
A machine can have multiple streams which will all be played when the machine is active (stream can be a list)
Machines can be dual machines (using stream_pair and event_pair), which is a shorthand for having an indoors and and outdoors variation of the machine
Prefixing a set with ! in a machine means its negated version
mat_pack.json:
Required MAtmos version can be specified (engineversion)
updatejson URL can be specified (uniquename and version must also be specified)
expansions.json:
Global volume for the expansion can be set through the volumemodifier property