Difference between revisions of "057C"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Icon|VC}}
+
{{Icon|VC}} '''SET_ALLOW_HURRICANES'''
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
: Sets the current [[01B6#Vice_City|weather]] table to use
+
: Allows hurricane [[weather]]
 
'''Syntax'''
 
'''Syntax'''
: 057C: set_weather_table [''int'']
+
: 057C: set_allow_hurricanes [''int'']
 
'''Parameter'''
 
'''Parameter'''
 
: [''int'']
 
: [''int'']
:: Weather table, either 0 or 1
+
:: 0 = no hurricane, {{hint|1|or any value other than 0}} = hurricane (default)
  
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]].
+
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.
  
== Weather tables ==
+
== Keywords ==
These are the data in the weather tables, which use [[01B6#Vice_City|these values]] for weather.
+
set, allow, weather, table, pattern, hurricane, hurricanes
{|
 
! 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
 
  
 
[[Category:OpCodes]]
 
[[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