Difference between revisions of "0169"

From GTAMods Wiki
Jump to navigation Jump to search
(hardcoded colors)
 
Line 1: Line 1:
{{Icon|trilogy}} '''SET_FADING_COLOUR'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = SET_FADING_COLOUR
'''Description'''
+
| description = Sets the [[016A|fading]] color
: Sets the [[016A|fading]] color
+
| syntax1    = 0169: set_fade_color [''int1''] [''int2''] [''int3'']
'''Syntax'''
+
| p1t        = [''int1'']
: 0169: set_fade_color [''int1''] [''int2''] [''int3'']
+
| p1d        = Red, between 0 and 255
'''Parameter'''
+
| p2t        = [''int2'']
: [''int1'']
+
| p2d        = Green, between 0 and 255
:: Red, between 0 and 255
+
| p3t        = [''int3'']
: [''int2'']
+
| p3d        = Blue, between 0 and 255
:: 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 that sets their own fade color, like when the player gets wasted or busted. 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 instead of a color. [[Splash.txd|Splash screens]] can be loaded through opcode [[044D]].
+
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.
}}</onlyinclude>
+
 
 +
== 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 ==
 
== External link ==
 
* [http://gtag.gtagaming.com/forums/index.php?s=&showtopic=111&view=findpost&p=3000 Deji's comment @ GTAGaming]
 
* [http://gtag.gtagaming.com/forums/index.php?s=&showtopic=111&view=findpost&p=3000 Deji's comment @ GTAGaming]
[[Category:OpCodes]]
 

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