Difference between revisions of "057C"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 057C=1,%1h% | description = Sets the weather table | p1 = Integer (0 or 1) | game = Vice City }} This opcode sets …')
 
(updating page)
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}}
| ini        = 057C=1,%1h%
+
<hr />
| description = Sets the [[01B6#Vice_City|weather]] table
+
'''Description'''
| p1          = Integer (0 or 1)
+
: Sets the current [[01B6#Vice_City|weather]] table to use
| game        = [[Vice City]]
+
'''Syntax'''
}}
+
: 057C: set_weather_table [''int'']
This opcode sets which weather table to use. There are two weather tables: 0 and 1. The main difference between the tables is that table 0 has stormy weather while table 1 has rainy. The weather table can be edited using [[VC.Config|VC:Weather]].
+
'''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.Config|VC:Weather]]. The value set with this opcode is saved in block 19 of the [[Saves (GTA VC)|save file]].
 +
 
 +
== Weather tables ==
 +
These are the data in the weather tables, which use [[01B6#Vice_City|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==
 
==Keywords==
 
set, weather, table, pattern
 
set, weather, table, pattern

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