Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 9: |
Line 9: |
| Acid rain is available in JA, as seen on [[Vjun]]. This causes damage to the player and NPCs. | | 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 outside_shake spawnflag causes a camera shake to happen when the player is outside. This is used in t1_rail. |
|
| |
|
| ==== fx_snow ==== | | ==== fx_snow ==== |
| The snow entity creates snow, as seen on [[Hoth]] maps. | | 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]]. | | 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]]. |
|
| |
|
| ==== fx_wind ==== | | ==== fx_wind ==== |
Line 20: |
Line 20: |
|
| |
|
| == Mapping == | | == Mapping == |
| 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" [[shader]]s. 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 [[Entity#misc_weather_zone|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 == | | == Console commands == |
| The console command '''r_we''' can be used to generate weather.
| |
|
| |
| [[File:R_we.jpg|thumb|right]]
| |
|
| |
| [[Category:General Modding]]
| |