Weather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Added even more screenshots. Also tidied them up a bit)
 
(8 intermediate revisions by 8 users not shown)
Line 7: Line 7:
MTA: SA has custom weather functions which can modify how a weather is rendered, but in this list the weathers are described without taking that into account. Also, using [[setWeatherBlended]] allows for more undocumented effects.
MTA: SA has custom weather functions which can modify how a weather is rendered, but in this list the weathers are described without taking that into account. Also, using [[setWeatherBlended]] allows for more undocumented effects.


If you want to see some screenshots of the first 45 weather IDs during different times of the day, visit [http://hotmist.ddo.jp/id/weather.html this page] for now.
For a complete weather gallery, containing images of every weather ID (0 to 255) shot at every in-game hour, visit [http://dev.prineside.com/en/gtasa_weather_id/ this page].


==Default GTA: SA weathers (registered in timecyc.dat)==
==Default GTA: SA weathers (registered in timecyc.dat)==
{|class="wikitable" style="text-align:center; margin: 1em auto 1em auto;"
{|class="wikitable" style="margin: 1em auto 1em auto;"
|-
|-
! width="50" scope="col" style="background:#efefef;"| Wheather IDs
! Weather ID || Name from ''timecyc.dat'' || Screenshots at 12:00 PM || Description
! width="70" scope="col" style="background:#efefef;"| Description
! width="70" scope="col" style="background:#efefef;"| Notes
! width="300" scope="col" style="background:#efefef;"| Screenshots at 12:00 PM
|-
|-
|style="background:#ffffff;"|'''0-4'''
! 0
|style="background:#ffffff;text-align:left"|In singleplayer, these are '''Los Santos specific weathers'''. They are clear weathers, with blue sky and few clouds.
| EXTRASUNNY_LA
 
| [[File:Weather 0.png|150px|thumb|center|Applies a heat haze effect]]
Weather ID '''0''' applies a heat haze effect.
| rowspan="5" style="margin-left:10px; | In singleplayer, these are '''Los Santos specific weathers'''.<br>They are clear weathers, with blue sky and few clouds.
|style="background:#ffffff;text-align:left"|''timecyc.dat'' names:
|-
* '''0''': ''EXTRASUNNY_LA''.
! 1
* '''1''': ''SUNNY_LA''.
| SUNNY_LA
* '''2''': ''EXTRASUNNY_SMOG_LA''.
| [[File:Weather 1.png|150px|thumb|center]]
* '''3''': ''SUNNY_SMOG_LA''.
|-
* '''4''': ''CLOUDY_LA''.
! 2
|style="background:#ffffff;"|[[File:Weather 0.png|150px|thumb|center|Preview of weather ID 0]][[File:Weather 1.png|150px|thumb|center|Preview of weather ID 1]][[File:Weather 2.png|150px|thumb|center|Preview of weather ID 2]][[File:Weather 3.png|150px|thumb|center|Preview of weather ID 3]][[File:Weather 4.png|150px|thumb|center|Preview of weather ID 4]]
| EXTRASUNNY_SMOG_LA
| [[File:Weather 2.png|150px|thumb|center]]
|-
! 3
| SUNNY_SMOG_LA
| [[File:Weather 3.png|150px|thumb|center]]
|-
! 4
| CLOUDY_LA
| [[File:Weather 4.png|150px|thumb|center]]
|-
! 5
| SUNNY_SF
| [[File:Weather 5.png|150px|thumb|center]]
| rowspan="5" style="margin-left:10px; | In singleplayer, these are '''San Fierro specific weathers'''.<br>They are more diverse than Los Santos': some of them are clear, but others are rainy or foggy.
|-
! 6
| EXTRASUNNY_SF
| [[File:Weather 6.png|150px|thumb|center]]
|-
! 7
| CLOUDY_SF
| [[File:Weather 7.png|150px|thumb|center]]
|-
! 8
| RAINY_SF
| [[File:Weather 8.png|150px|thumb|center|Starts a thunderstorm, with rain and lightnings]]
|-
! 9
| FOGGY_SF
| [[File:Weather 9.png|150px|thumb|center|Starts a cloudy, dense fog]]
|-
! 10
| SUNNY_VEGAS
| [[File:Weather 10.png|150px|thumb|center]]
| rowspan="3" style="margin-left:10px; | In singleplayer, these are '''Las Venturas specific weathers'''.<br>They are clear, dry weathers.
|-
! 11
| EXTRASUNNY_VEGAS
| [[File:Weather 11.png|150px|thumb|center|Applies scorching hot weather, with a heat haze effect]]
|-
! 12
| CLOUDY_VEGAS
| [[File:Weather 12.png|150px|thumb|center]]
|-
! 13
| EXTRASUNNY_COUNTRYSIDE
| [[File:Weather 13.png|150px|thumb|center]]
| rowspan="4" style="margin-left:10px; | In singleplayer, these are '''Los Santos countryside specific weathers'''.<br>They are dull, hazy, diverse weathers, with rainy ones.
|-
! 14
| SUNNY_COUNTRYSIDE
| [[File:Weather 14.png|150px|thumb|center]]
|-
! 15
| CLOUDY_COUNTRYSIDE
| [[File:Weather 15.png|150px|thumb|center]]
|-
! 16
| RAINY_COUNTRYSIDE
| [[File:Weather 16.png|150px|thumb|center|Starts a thunderstorm]]
|-
! 17
| EXTRASUNNY_DESERT
| [[File:Weather 17.png|150px|thumb|center|Apply a heat haze effect]]
| rowspan="3" style="margin-left:10px; | In singleplayer, these are '''Bone County specific weathers'''.<br>They are clear, dry, scorching hot weathers.
|-
|-
|style="background:#ffffff;"|'''5-9'''
! 18
|style="background:#ffffff;text-align:left"|In singleplayer, these are '''San Fierro specific weathers'''. They are more diverse than Los Santos': some of them are clear, but others are rainy or foggy.
| SUNNY_DESERT
 
| [[File:Weather 18.png|150px|thumb|center|Apply a heat haze effect]]
Weather ID '''8''' starts a thunderstorm, with rain and lighthings. Weather ID '''9''' starts a cloudy, dense fog.
|style="background:#ffffff;text-align:left"|''timecyc.dat'' names:
* '''5''': ''SUNNY_SF''.
* '''6''': ''EXTRASUNNY_SF''.
* '''7''': ''CLOUDY_SF''.
* '''8''': ''RAINY_SF''.
* '''9''': ''FOGGY_SF''.
|style="background:#ffffff;"|[[File:Weather 5.png|150px|thumb|center|Preview of weather ID 5]][[File:Weather 6.png|150px|thumb|center|Preview of weather ID 6]][[File:Weather 7.png|150px|thumb|center|Preview of weather ID 7]][[File:Weather 8.png|150px|thumb|center|Preview of weather ID 8]][[File:Weather 9.png|150px|thumb|center|Preview of weather ID 9]]
|-
|-
|style="background:#ffffff;"|'''10-12'''
! 19
|style="background:#ffffff;text-align:left"|In singleplayer, these are '''Las Venturas specific weathers'''. They are clear, dry weathers.
| SANDSTORM_DESERT
 
| [[File:Weather 19.png|150px|thumb|center|Starts a dense sandstorm]]
Weather ID '''11''' applies scorching hot weather, with a heat haze effect.
|style="background:#ffffff;text-align:left"|''timecyc.dat'' names:
* '''10''': ''SUNNY_VEGAS''.
* '''11''': ''EXTRASUNNY_VEGAS''.
* '''12''': ''CLOUDY_VEGAS''.
|style="background:#ffffff;"|[[File:Weather 10.png|150px|thumb|center|Preview of weather ID 10]][[File:Weather 11.png|150px|thumb|center|Preview of weather ID 11]][[File:Weather 12.png|150px|thumb|center|Preview of weather ID 12]]
|-
|-
|style="background:#ffffff;"|'''13-16'''
! 20
|style="background:#ffffff;text-align:left"|In singleplayer, these are '''Los Santos countryside specific weathers'''. They are dull, hazy, diverse weathers, with rainy ones.
| UNDERWATER
 
| [[File:Weather 20.png|150px|thumb|center]]
Weather ID '''16''' starts a thunderstorm.
| style="margin-left:10px; | In singleplayer, this is probably the '''weather used internally when camera is underwater'''.<br>It is greenish and cloudy, so it appears to be a kind of contaminated weather.
|style="background:#ffffff;text-align:left"|''timecyc.dat'' names:
* '''13''': ''EXTRASUNNY_COUNTRYSIDE''.
* '''14''': ''SUNNY_COUNTRYSIDE''.
* '''15''': ''CLOUDY_COUNTRYSIDE''.
* '''16''': ''RAINY_COUNTRYSIDE''.
|style="background:#ffffff;"|[[File:Weather 13.png|150px|thumb|center|Preview of weather ID 13]][[File:Weather 14.png|150px|thumb|center|Preview of weather ID 14]][[File:Weather 15.png|150px|thumb|center|Preview of weather ID 15]][[File:Weather 16.png|150px|thumb|center|Preview of weather ID 16]]
|-
|-
|style="background:#ffffff;"|'''17-19'''
! 21
|style="background:#ffffff;text-align:left"|In singleplayer, these are '''Bone County specific weathers'''. They are clear, dry, scorching hot weathers.
| EXTRACOLOURS_1
 
| [[File:Weather 21.png|150px|thumb|center|Adds a purple-ish color to the sky and objects]]
Weather IDs '''17''' and '''18''' apply a heat haze effect. Weather ID '''19''' starts a dense sandstorm.
| rowspan="2" style="margin-left:10px; | In singleplayer, these are weathers '''used in interiors'''.<br>They are somewhat strange, dark weathers with gradiented skyline colors.
|style="background:#ffffff;text-align:left"|''timecyc.dat'' names:
* '''17''': ''EXTRASUNNY_DESERT''.
* '''18''': ''SUNNY_DESERT''.
* '''19''': ''SANDSTORM_DESERT''.
|style="background:#ffffff;"|[[File:Weather 17.png|150px|thumb|center|Preview of weather ID 17]][[File:Weather 18.png|150px|thumb|center|Preview of weather ID 18]][[File:Weather 19.png|150px|thumb|center|Preview of weather ID 19]]
|-
|-
|style="background:#ffffff;"|'''20'''
! 22
|style="background:#ffffff;text-align:left"|In singleplayer, this is probably the '''weather used internally when camera is underwater'''. It is greenish and cloudy, so it appears to be a kind of contaminated weather.
| EXTRACOLOURS_2
|style="background:#ffffff;text-align:left"|''timecyc.dat'' name: ''UNDERWATER''.
| [[File:Weather 22.png|150px|thumb|center|Adds a black-white sky and a uniform light to objects]]
|style="background:#ffffff;"|[[File:Weather 20.png|150px|thumb|center|Preview of weather ID 20]]
|-
|-
|style="background:#ffffff;"|'''21, 22'''
|style="background:#ffffff;text-align:left"|In singleplayer, these are weathers '''used in interiors'''. They are somewhat strange, dark weathers with gradiented skyline colors. Weather ID '''21''' adds a purple-ish color to the sky and objects. Weather ID '''22''' adds a black-white sky and a uniform light to objects.
|style="background:#ffffff;text-align:left"|''timecyc.dat'' names:
* '''21''': ''EXTRACOLOURS_1''.
* '''22''': ''EXTRACOLOURS_2''.
|style="background:#ffffff;"|[[File:Weather 21.png|150px|thumb|center|Preview of weather ID 21]][[File:Weather 22.png|150px|thumb|center|Preview of weather ID 22]]
|}
|}


Line 104: Line 134:


==See also==
==See also==
[[id|ID lists]]
* [[id|ID lists]]


[[hu:Weather]]
[[pl:Weather]]
[[ru:Weather]]
[[ru:Weather]]
[[es:Climas]]
[[es:Climas]]

Latest revision as of 07:20, 1 January 2022

Weather can be changed using setWeather and setWeatherBlended functions. In GTA: SA, every weather has different parameters for the sunrise, morning, midday, noon, afternoon, sunset, night and midnight, so a weather can vary a lot deppending of the time of the day.

Non-standard weather ID's between 20 and 255 are also supported, but they might be buggy at some moments of the day.

MTA: SA has custom weather functions which can modify how a weather is rendered, but in this list the weathers are described without taking that into account. Also, using setWeatherBlended allows for more undocumented effects.

For a complete weather gallery, containing images of every weather ID (0 to 255) shot at every in-game hour, visit this page.

Default GTA: SA weathers (registered in timecyc.dat)

Weather ID Name from timecyc.dat Screenshots at 12:00 PM Description
0 EXTRASUNNY_LA
Applies a heat haze effect
In singleplayer, these are Los Santos specific weathers.
They are clear weathers, with blue sky and few clouds.
1 SUNNY_LA
Weather 1.png
2 EXTRASUNNY_SMOG_LA
Weather 2.png
3 SUNNY_SMOG_LA
Weather 3.png
4 CLOUDY_LA
Weather 4.png
5 SUNNY_SF
Weather 5.png
In singleplayer, these are San Fierro specific weathers.
They are more diverse than Los Santos': some of them are clear, but others are rainy or foggy.
6 EXTRASUNNY_SF
Weather 6.png
7 CLOUDY_SF
Weather 7.png
8 RAINY_SF
Starts a thunderstorm, with rain and lightnings
9 FOGGY_SF
Starts a cloudy, dense fog
10 SUNNY_VEGAS
Weather 10.png
In singleplayer, these are Las Venturas specific weathers.
They are clear, dry weathers.
11 EXTRASUNNY_VEGAS
Applies scorching hot weather, with a heat haze effect
12 CLOUDY_VEGAS
Weather 12.png
13 EXTRASUNNY_COUNTRYSIDE
Weather 13.png
In singleplayer, these are Los Santos countryside specific weathers.
They are dull, hazy, diverse weathers, with rainy ones.
14 SUNNY_COUNTRYSIDE
Weather 14.png
15 CLOUDY_COUNTRYSIDE
Weather 15.png
16 RAINY_COUNTRYSIDE
Starts a thunderstorm
17 EXTRASUNNY_DESERT
Apply a heat haze effect
In singleplayer, these are Bone County specific weathers.
They are clear, dry, scorching hot weathers.
18 SUNNY_DESERT
Apply a heat haze effect
19 SANDSTORM_DESERT
Starts a dense sandstorm
20 UNDERWATER
Weather 20.png
In singleplayer, this is probably the weather used internally when camera is underwater.
It is greenish and cloudy, so it appears to be a kind of contaminated weather.
21 EXTRACOLOURS_1
Adds a purple-ish color to the sky and objects
In singleplayer, these are weathers used in interiors.
They are somewhat strange, dark weathers with gradiented skyline colors.
22 EXTRACOLOURS_2
Adds a black-white sky and a uniform light to objects

Other weather IDs

  • 23 to 26: Pale orange weather.
  • 27 to 29: Fresh blue weather.
  • 30 to 32: Dark, cloudy, teal weather.
  • 33: Dark, cloudy, brown weather.
  • 34: Blue/purple, regular weather.
  • 35: Dull brown weather.
  • 36 to 38: Bright, foggy, orange weather.
  • 39: Very bright weather. Night looks like day.
  • 40 to 42: Blue/purple, cloudy weather.
  • 43: Toxic, contaminated clouds weather.
  • 44: Black/white sky weather, similar to 22.
  • 45 to 60: Normal seeming weather with graphical bugs at evening.
  • 100: Strange weather which makes objects disappear.
  • 118: Stormy weather with pink sky and crystal water.
  • 126 to 150: Horrible flashing red bugged weather.
  • 151 to 175: Far draw distance weather with pink, purple and turquoise clouds.

See also