From JKHub Wiki
Revision as of 11:25, 8 November 2021 by Tonic (talk | contribs) (wikilink)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Weather is a feature in Jedi Outcast and Jedi Academy. Maps can have wind, rain, fog and snow added to them.

Weather entities[edit]

There are several weather entities that will spawn weather effects in a map.


A rain entity has several spawnflags which affect the behaviour of the rain. It can be light, medium or heavy. Heavy rain also comes with lightning.

Acid rain is available in JA, as seen on Vjun. This causes damage to the player and NPCs.

The outside_shake spawnflag causes a camera shake to happen when the player is outside. This is used in t1_rail.


The snow entity creates snow, as seen on Hoth maps.

Both rain and snow can be combined with a fog by setting a spawnflag. This is a fog effect, which is different from volumetric fog, which is a special type of shader.


This generates a wind effect, which blows other weather effects (rain, snow and fog). The angle and speed of the wind can be set by the mapper.


A mapper controls where global weather effects occur by using special brushes called Inside and Outside brushes. These are invisible (nodraw, nonsolid) brushes textured with the "inside" or "outside" shaders. These shaders are system shaders (found in system.shader).

Only one type (inside or outside) may be used in a given map. If inside brushes are used, the areas of the map contained within these brushes will not have weather effects in them. If outside brushes are used, the areas of the map contained within these brushes will have weather effects in them.

JA adds a weatherzone entity to reduce map load times. The game will only check for inside and outside brushes that are inside weatherzone brushes. To make a weatherzone, create a brush and texture it with the weatherzone shader (also in system.shader); then convert this brush into a misc_weather_zone entity.

Console commands[edit]

The console command r_we can be used to generate weather.

R we.jpg