Difference between revisions of "057C"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
m
Line 34: Line 34:
 
==Keywords==
 
==Keywords==
 
set, weather, table, pattern
 
set, weather, table, pattern
 +
 +
[[Category:OpCodes]]

Revision as of 06:30, 23 August 2011

Vice City


Description

Sets the current weather table to use

Syntax

057C: set_weather_table [int]

Parameter

[int]
Weather table, either 0 or 1

This opcode sets which weather table to use. There are two weather tables available to use: 0 or 1. By default, the game uses weather table 1. The main difference between the tables is that table 0 has stormy weather while table 1 has rainy weather. The data within the weather table can be edited using VC:Weather. The value set with this opcode is saved in block 19 of the save file.

Weather tables

These are the data in the weather tables, which use these values for weather.

Table 1 (default) Table 0
04 04 04 04 04 04 04 04 00 00 00 04
04 04 00 00 00 04 04 04 04 00 00 04
04 04 04 04 04 04 04 04 04 04 00 00
00 00 00 00 00 00 00 01 02 02 02 02
01 00 00 00 00 04 04 04 04 04 04 04
04 04 04 04
04 04 04 04 04 04 04 04 00 00 00 04
04 04 00 00 00 04 04 01 05 05 01 00
04 04 04 04 04 04 04 04 04 04 00 00
00 00 00 00 00 00 00 00 01 05 05 05
01 00 00 00 00 04 04 04 04 04 04 04
04 04 04 04

Keywords

set, weather, table, pattern