Difference between revisions of "01B6"

From GTAMods Wiki
Jump to navigation Jump to search
(moved images to main weather page)
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|t}} '''FORCE_WEATHER_NOW'''
| ini        = 01B6=1,%1d%
+
<hr />
| description = Sets the [[weather]] in the game
+
'''Description'''
| p1          = Flag (weather ID)
+
: Sets the [[weather]] type immediately
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]], [[Liberty City Stories]] (01BB), [[Vice City Stories]] (0109)
+
'''Syntax'''
}}
+
: 01B6: set_weather [''int'']
This opcode instantly changes the weather in the game. Values higher than the ones listed can be used (up to 255) but will have weird results, especially at higher values.
+
: set_weather [''int'']
 +
'''Parameter'''
 +
: [''int'']
 +
:: [[Time cycle#Weather Types|Weather type]]
  
==List of weather IDs==
+
This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results.
===GTA 3===
 
{|{{Prettytable}}
 
! ID
 
! Description
 
|-
 
| 0
 
| Sunny
 
|-
 
| 1
 
| Cloudy
 
|-
 
| 2
 
| Rainy
 
|-
 
| 3
 
| Foggy
 
|}
 
  
===Vice City===
+
== Keywords ==
{|{{Prettytable}}
+
set, force, weather, now
! ID
 
! Description
 
|-
 
| 0
 
| Sunny
 
|-
 
| 1
 
| Cloudy
 
|-
 
| 2
 
| Rainy
 
|-
 
| 3
 
| Foggy
 
|-
 
| 4
 
| Extra Sunny
 
|-
 
| 5
 
| Rainy (hurricane)
 
|-
 
| 6
 
| Extra Colors
 
|}
 
  
===San Andreas===
+
[[Category:OpCodes]]
{|{{Prettytable}}
 
! ID
 
! Description
 
|-
 
| 0
 
| Extra Sunny Los Santos
 
|-
 
| 1
 
| Sunny Los Santos
 
|-
 
| 2
 
| Extra Sunny Smoggy Los Santos
 
|-
 
| 3
 
| Sunny Smoggy Los Santos
 
|-
 
| 4
 
| Cloudy Los Santos
 
|-
 
| 5
 
| Sunny San Fierro
 
|-
 
| 6
 
| Extra Sunny San Fierro
 
|-
 
| 7
 
| Cloudy San Fierro
 
|-
 
| 8
 
| Rainy San Fierro
 
|-
 
| 9
 
| Foggy San Fierro
 
|-
 
| 10
 
| Sunny Las Venturas
 
|-
 
| 11
 
| Extra Sunny Las Venturas
 
|-
 
| 12
 
| Cloudy Las Venturas
 
|-
 
| 13
 
| Extra Sunny Countryside
 
|-
 
| 14
 
| Sunny Countryside
 
|-
 
| 15
 
| Cloudy Countryside
 
|-
 
| 16
 
| Rainy Countryside
 
|-
 
| 17
 
| Extra Sunny Desert
 
|-
 
| 18
 
| Sunny Desert
 
|-
 
| 19
 
| Sandstorm Desert
 
|-
 
| 20
 
| Underwater
 
|-
 
| 21
 
| Extra Colors
 
|-
 
| 22
 
| Extra Colors
 
|}
 
 
 
===Liberty City Stories===
 
{|{{Prettytable}}
 
! ID
 
! Description
 
|-
 
| 0
 
| Sunny
 
|-
 
| 1
 
| Cloudy
 
|-
 
| 2
 
| Rainy
 
|-
 
| 3
 
| Foggy
 
|-
 
| 4
 
| Extra Sunny
 
|-
 
| 5
 
| Hurricane
 
|-
 
| 6
 
| Extra Colors
 
|-
 
| 7
 
| Snow
 
|}
 
 
 
===Vice City Stories===
 
{|{{Prettytable}}
 
! ID
 
! Description
 
|-
 
| 0
 
| Sunny
 
|-
 
| 1
 
| Cloudy
 
|-
 
| 2
 
| Rainy
 
|-
 
| 3
 
| Foggy
 
|-
 
| 4
 
| Extra Sunny
 
|-
 
| 5
 
| Hurricane
 
|-
 
| 6
 
| Extra Colors
 
|-
 
| 7
 
| Ultra Sunny
 
|}
 
 
 
==Keywords==
 
set, force, weather
 

Revision as of 01:27, 9 August 2015

GTA III Vice City San Andreas FORCE_WEATHER_NOW


Description

Sets the weather type immediately

Syntax

01B6: set_weather [int]
set_weather [int]

Parameter

[int]
Weather type

This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results.

Keywords

set, force, weather, now