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 …')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}} '''SET_ALLOW_HURRICANES'''
| ini        = 057C=1,%1h%
+
<hr />
| description = Sets the [[01B6#Vice_City|weather]] table
+
'''Description'''
| p1          = Integer (0 or 1)
+
: Allows hurricane [[weather]]
| game        = [[Vice City]]
+
'''Syntax'''
}}
+
: 057C: set_allow_hurricanes [''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'']
 +
:: 0 = no hurricane, {{hint|1|or any value other than 0}} = hurricane (default)
  
==Keywords==
+
This opcode allows hurricane weather. It can choose from the two [[Time cycle#Vice City 2|weather lists]] available in the game. The value set with this opcode is saved in [[Saves (GTA VC)#Block 19: Stats|block 19 of the save file]] in Vice City.
set, weather, table, pattern
+
 
 +
== Keywords ==
 +
set, allow, weather, table, pattern, hurricane, hurricanes
 +
 
 +
[[Category:OpCodes]]

Latest revision as of 21:43, 9 August 2015

Vice City SET_ALLOW_HURRICANES


Description

Allows hurricane weather

Syntax

057C: set_allow_hurricanes [int]

Parameter

[int]
0 = no hurricane, 1 = hurricane (default)

This opcode allows hurricane weather. It can choose from the two weather lists available in the game. The value set with this opcode is saved in block 19 of the save file in Vice City.

Keywords

set, allow, weather, table, pattern, hurricane, hurricanes