Difference between revisions of "0169"
Jump to navigation
Jump to search
(hardcoded colors) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = SET_FADING_COLOUR | |
− | + | | description = Sets the [[016A|fading]] color | |
− | + | | syntax1 = 0169: set_fade_color [''int1''] [''int2''] [''int3''] | |
− | + | | p1t = [''int1''] | |
− | + | | 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 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 | + | 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 == | == 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] | ||
− |
Latest revision as of 04:00, 13 June 2016
- 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