Difference between revisions of "04F9"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 04F9=2,%1h% %2h% | description = Sets the color of the interior | p1 = Color | p2 = Fade | game = Vice City, San Andreas }} Th...)
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 04F9=2,%1h% %2h%
 
| ini        = 04F9=2,%1h% %2h%
| description = Sets the color of the [[interior]]
+
| description = Sets the color of the sky
 
| p1          = Color
 
| p1          = Color
 
| p2          = Fade
 
| p2          = Fade
 
| game        = [[Vice City]], [[San Andreas]]
 
| game        = [[Vice City]], [[San Andreas]]
 
}}
 
}}
This opcode sets the color of the interior. This is not restricted to interiors; it can be used outside interiors. In Vice City, the colors are defined in the "Extracolours" section of the <code>[[timecyc.dat]]</code> file. Each line in the section corresponds to the color of the interior. Colors 1 through 24 are used. The second parameter determines if the color should instantly appear (0) or fade into appearance (1).
+
This opcode sets the color of the sky. It was mainly used in [[interior]]s but it is not restricted to interiors; it can be used outside interiors. In Vice City, the colors are defined in the "Extracolours" section of the <code>[[timecyc.dat]]</code> file. Each line in the section corresponds to the color of the interior. Colors 1 through 24 are used. The second parameter determines if the color should instantly appear (0) or fade into appearance (1).

Revision as of 10:37, 20 August 2010

{{{games}}}


Description
Sets the color of the sky
Syntax
{{{syntax1}}}
Parameter

This opcode sets the color of the sky. It was mainly used in interiors but it is not restricted to interiors; it can be used outside interiors. In Vice City, the colors are defined in the "Extracolours" section of the timecyc.dat file. Each line in the section corresponds to the color of the interior. Colors 1 through 24 are used. The second parameter determines if the color should instantly appear (0) or fade into appearance (1).