Difference between revisions of "0169"

From GTAMods Wiki
Jump to navigation Jump to search
m
(updating page)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SET_FADING_COLOUR'''
| ini        = 0169=3,%1d% %2d% %3d%
+
<hr />
| description = Sets the color of the fade
+
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
| p1          = red
+
'''Description'''
| p2          = green
+
: Sets the [[016A|fading]] color
| p3          = blue
+
'''Syntax'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: 0169: set_fade_color [''int1''] [''int2''] [''int3'']
}}
+
'''Parameter'''
This opcode sets the color of the fade in RGB value. The next time the game fades using opcode [[016A]], the screen will fade in or out with the set color. This opcode is reset if the player gets wasted or busted. If the opcode is not used, by default the fade color is black (0,0,0).
+
: [''int1'']
 +
:: Red, between 0 and 255
 +
: [''int2'']
 +
:: Green, between 0 and 255
 +
: [''int3'']
 +
:: Blue, between 0 and 255
 +
 
 +
This opcode sets the RGB color of a fade. The next time the game fades in using opcode [[016A]], the screen will fade in towards the set color. This color is reset during certain hardcoded fade events that sets their own fade color, like when the player gets wasted or busted. Using the unique set of values "2 2 2" allows the game to fade into the last loaded splash screen instead of a color. Splash screens can be loaded through opcode [[044D]].
 +
}}</onlyinclude>
 +
 
 +
== External link ==
 +
* [http://gtag.gtagaming.com/forums/index.php?s=&showtopic=111&view=findpost&p=3000 Deji's comment @ GTAGaming]
 +
[[Category:OpCodes]]

Revision as of 11:35, 26 January 2012

GTA III Vice City San Andreas SET_FADING_COLOUR


Description

Sets the fading color

Syntax

0169: set_fade_color [int1] [int2] [int3]

Parameter

[int1]
Red, between 0 and 255
[int2]
Green, between 0 and 255
[int3]
Blue, between 0 and 255

This opcode sets the RGB color of a fade. The next time the game fades in using opcode 016A, the screen will fade in towards the set color. This color is reset during certain hardcoded fade events that sets their own fade color, like when the player gets wasted or busted. Using the unique set of values "2 2 2" allows the game to fade into the last loaded splash screen instead of a color. Splash screens can be loaded through opcode 044D.

External link