Difference between revisions of "0169"

From GTAMods Wiki
Jump to navigation Jump to search
m
(hardcoded colors)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0169=3,%1d% %2d% %3d%
+
| games      = {{Icon|t}}
| description = Sets the color of the fade
+
| command    = SET_FADING_COLOUR
| p1          = red
+
| description = Sets the [[016A|fading]] color
| p2          = green
+
| syntax1    = 0169: set_fade_color [''int1''] [''int2''] [''int3'']
| p3          = blue
+
| p1t        = [''int1'']
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| p1d        = Red, between 0 and 255
 +
| p2t        = [''int2'']
 +
| p2d        = Green, between 0 and 255
 +
| p3t        = [''int3'']
 +
| p3d        = Blue, between 0 and 255
 
}}
 
}}
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).
+
 
 +
This opcode sets the RGB color of a fade. When the game is fading either in or out using opcode [[016A]], the fade overlay screen will be set to the color. Colors can be actively set during fading. This color is reset during certain hardcoded fade events listed below that set their own fade color. Using the unique set of values "0 0 0" in GTA III or "2 2 2" in Vice City and San Andreas allows the game to fade into the last loaded [[Splash.txd|splash screen]], which is loaded through opcode [[044D]], instead of a color.
 +
 
 +
== Hardcoded fade colors ==
 +
This is a list of events in Vice City that are [[hardcoded]] to modify the fade color.
 +
{|class="wikitable"
 +
!Color ||Event
 +
|-
 +
|0 0 0 ||[[058E|Taxi shortcut]]
 +
|-
 +
|200 200 200 ||Wasted
 +
|-
 +
|0 0 0 ||Busted
 +
|-
 +
|0 0 0 ||[[016E|Overridden restart]]
 +
|-
 +
|0 0 0 ||Game load
 +
|-
 +
|0 0 0 ||Exit out of [[046E|remote mode]]
 +
|-
 +
|200 200 200 ||[[flight.dat|Dodo]] explosion
 +
|}
 +
 
 +
== Keywords ==
 +
set, fade, fading, color, colour
 +
 
 +
== External link ==
 +
* [http://gtag.gtagaming.com/forums/index.php?s=&showtopic=111&view=findpost&p=3000 Deji's comment @ GTAGaming]

Latest revision as of 04:00, 13 June 2016

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. When the game is fading either in or out using opcode 016A, the fade overlay screen will be set to the color. Colors can be actively set during fading. This color is reset during certain hardcoded fade events listed below that set their own fade color. Using the unique set of values "0 0 0" in GTA III or "2 2 2" in Vice City and San Andreas allows the game to fade into the last loaded splash screen, which is loaded through opcode 044D, instead of a color.

Hardcoded fade colors

This is a list of events in Vice City that are hardcoded to modify the fade color.

Color Event
0 0 0 Taxi shortcut
200 200 200 Wasted
0 0 0 Busted
0 0 0 Overridden restart
0 0 0 Game load
0 0 0 Exit out of remote mode
200 200 200 Dodo explosion

Keywords

set, fade, fading, color, colour

External link