Difference between revisions of "0169"
Jump to navigation
Jump to search
(fade color 0 0 0 in III shows a splash screen) |
|||
Line 14: | Line 14: | ||
:: Blue, between 0 and 255 | :: 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 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 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]]. |
}}</onlyinclude> | }}</onlyinclude> | ||
Revision as of 23:56, 25 June 2015
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 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 screens can be loaded through opcode 044D.