Overrides
Overrides change the weather for a while without editing a file. The atmosphereprofile mechanic forces a profile on a world, and the atmosphereforce mechanic and /ms weather push heat, moisture and lift into the air around one place.
The mechanics run in MythicMobs skills, from a season's skill-triggers (see Triggers) or a mob, and do nothing while enabled is false in atmosphere.yml. The MythicSeasons pack file skills/AtmosphereSeasons.yml has the templates MS_SummonStormCell, MS_CalmTheSky, MS_BossSkyStart and MS_BossSkyEnd, which run only when cast (try /mm test cast <skill>).
Which tool to use
| Tool | Reaches | Lasts |
|---|---|---|
| atmosphereprofile | A whole world | duration, in real ticks |
| atmosphereforce | The weather cells within radius of a place |
duration, in weather ticks |
| /ms weather | The weather cells within a radius of the player | Minutes, real time at the default timing |
| A formula with a MythicMobs placeholder | Wherever the formula is written | As long as the placeholder gives that value |
Weather cells are grid.cell-size.xz blocks wide (32 by default).
atmosphereprofile
Forces a profile from the atmosphere-profiles folder on the world of each target entity, or of the caster when the line has no target. The names atmoprofile and setatmoprofile work too, see the mechanic page.
| Attribute | Aliases | Default | What it does |
|---|---|---|---|
profile |
p, name |
none | The profile, by file name without .yml. Not case-sensitive. Needed unless clear=true. |
duration |
d, ticks |
200 |
How long it stays forced, in real ticks (20 per second). 0 or less ends it at once. |
priority |
pri |
0 |
A whole number, negative allowed. Higher applies later and wins for the same setting. |
clear |
reset, remove |
false |
Removes the forced profile named by profile, or without profile all forced profiles of the world. |
- A forced profile wins over the files for every setting it names. Relative values such as
"*1.6"work on what the files left. - The mechanic keeps the profile as it was at the cast, also through
/ms reload. Cast again after you edit the file. - Casting the same profile in the same world again replaces the earlier cast, with a fresh time and the new priority.
- Several forced profiles apply from the lowest priority up, at equal priority in the order they were cast. Relative values stack: two
"*0.5"give 0.25. clearremoves only what skills forced, never aprofile:fromatmosphere.ymlor a season file.- A restart removes forced profiles.
/ms reloadand/ms atmosphere togglekeep them. No command forces or clears a profile. - Each cast rebuilds the weather settings of every world. Cast it once per event, never from
player-tick. - Once per skill line, a line without
profileand withoutclear=truelogsatmosphereprofile needs profile=<name> (or clear=true), and an unknown profile logsatmosphereprofile: no profile '<name>' in plugins/MythicSeasons/atmosphere-profiles/. - Under
Conditions:the namesatmosphereprofileandatmoprofileare the AtmosphereProfile condition.
MS_BossSkyStart:
Skills:
- atmosphereprofile{profile=example;duration=6000} @Self
MS_BossSkyEnd:
Skills:
- atmosphereprofile{clear=true} @Self
The shipped templates: a heavy, dark overcast on the caster's world for 5 minutes, and a skill that ends it early.
atmosphereforce
Pushes heat, moisture and lift into the air at each target location or entity, or at the caster when the line has no target. The names atmoforce and forceweather work too, see the mechanic page.
| Attribute | Aliases | Default | What it does |
|---|---|---|---|
temperature |
temp, t |
0.0 |
Degrees C added to the temperature the ground air moves toward. Negative cools. |
vapor |
humidity, v |
1.0 |
Multiplier for the moisture the ground air moves toward. Below 1 dries the air. |
updraft |
lift, u |
0.0 |
Metres per second added every step to the rising wind of the three lowest levels of air. Negative pushes air down. |
radius |
r |
128.0 |
Reach from the place in blocks, at least one cell size (grid.cell-size.xz). |
duration |
d, ticks |
200 |
How long the force lasts, in weather ticks (20 per weather second). At least 20. |
falloff |
f |
smooth |
smooth fades toward the radius, flat keeps full strength up to it. Any text other than flat counts as smooth. |
- In a short force the updraft does most of the work, since temperature and moisture only change at the pace of physics.surface-tau.
durationcounts weather time. At the default timingduration=600is 30 weather seconds, about 8 real seconds, about a quarter of what the same number lasts inatmosphereprofile.- Every cast adds a force. Overlapping forces add up (moisture multipliers multiply) and updrafts build up fast, so cast it once per event, never from
player-tick. - The force only reaches cells being simulated: master switch on, simulation running in the world, players nearby. Anywhere else, frozen regions included, it fails without a message.
- A restart, switching the world off,
/ms weather resetand a change of the server that simulates shared weather end all forces./ms reloadkeeps them unless it stops the simulation.
MS_SummonStormCell:
Skills:
- atmosphereforce{temp=20;vapor=2.5;updraft=1.5;radius=160;duration=600} @Self
The shipped template: 30 weather seconds of heat, moisture and lift so a storm cell can grow.
MS_CalmTheSkycools and dries instead (temp=-8;vapor=0.3).
/ms weather
/ms weather clear|rain|storm|reset [radius] [minutes] pushes a preset force around the player who runs it. It needs mythicseasons.admin and a player. Where the weather is not simulated, it answers No simulated weather here.
| Preset | What it does |
|---|---|
clear |
Dries the air at all heights and thins its cloud. Rain and drawn cloud are gone within about 10 seconds. |
rain |
Wets the air up to physics.tropopause-height. Rain starts within about half a minute, and summer air or a sky that already rains can thunder. |
storm |
Like rain, wetter and with a 2.5 m/s updraft. Thunder starts within about 20 seconds in spring and summer, about 2 minutes in winter. |
reset |
Ends every force in the world, those of skills included. |
radiusdefaults to 1024 blocks andminutesto 10 (real minutes at the default timing), both whole numbers of at least 1.- The times in the table are for the shipped settings and vary with the weather.
- A new
/ms weatheradds to every force already running. Useresetfirst to replace one.
Seeing what is active
- The
Forced:line of/ms atmosphere profile <world>lists the world's own profile, then the forced profiles from the lowest priority up, and their settings show(override <name>). - The atmosphereprofile condition,
<mythicseasons.atmosphereprofile>and%ms_atmosphere_profile%report the same list. - Forces have no list. Watch their effect with
/ms atmosphere statsand the bars of/ms atmosphere debug temp,precipandcloud.
On a server that shares its weather
In a shared weather group only one server simulates a world, so casts on the other servers are sent to it.
- During a hand-over, while no server holds the weather, forces are lost and profiles are not sent. Such a profile stays on the casting server and applies there if that server takes over.
- A forced profile stays on the casting server and is also sent to the server that simulates, which applies it only when it has a profile file of that name. Without the file on the casting server, nothing happens at all.
clear=trueneeds no file. - The cloud list, layer settings and tint follow each server's own forced profiles, so a server shows the clouds of a forced profile only when the cast reached it.
- A server that takes over ignores forced profiles it never received. Cast them again, and keep the same profile files on every server.