Difference between revisions of "04F9"
(page updates) |
|||
Line 11: | Line 11: | ||
:: Fade | :: Fade | ||
− | This opcode sets the extra color of the sky. It is mainly used in [[interior]]s in the original script but it can be used outside interiors. In Vice City, the colors are defined in the "Extracolours" section of the <code>[[timecyc.dat]]</code> file. Each line in the section corresponds to the color of the sky. Colors 1 through 24 are available. Values outside the range defined in the file produce weird effects. The second parameter determines if the color should instantly change (0) or set to the default sky briefly and then fade into change (1). Opcode [[04FA]] clears the extra color effect. The effect will carry into a new game so you have to explicitly clear the effect if you don't want it carried over. The extra color, fade, and whether extra color is active are saved in [[Saves (GTA VC)#Block 0: Simple Vars|block 0 of the save file]] in Vice City and [[Saves (GTA SA)#Block 0: Simple Vars|block 0]] in San Andreas. | + | This opcode sets the extra color of the sky. It is mainly used in [[interior]]s in the [[Main.scm|original script]] but it can be used outside interiors. In Vice City, the colors are defined in the "Extracolours" section of the <code>[[timecyc.dat]]</code> file. Each line in the section corresponds to the color of the sky. Colors 1 through 24 are available. Values outside the range defined in the file produce weird effects. The second parameter determines if the color should instantly change (0) or set to the default sky briefly and then fade into change (1). Opcode [[04FA]] clears the extra color effect. The effect will carry into a new game so you have to explicitly clear the effect if you don't want it carried over. The extra color, fade, and whether extra color is active are saved in [[Saves (GTA VC)#Block 0: Simple Vars|block 0 of the save file]] in Vice City and [[Saves (GTA SA)#Block 0: Simple Vars|block 0]] in San Andreas. |
+ | |||
+ | == Usage == | ||
+ | The following lists all extra colors used in areas in the original script of Vice City. It includes comments made in Rockstar's documentation if available. | ||
+ | {| class="wikitable sortable" | ||
+ | ! Color || Area || Comment | ||
+ | |- | ||
+ | | 1 || The Malibu Club || <code>MALIBU CLUB</code> | ||
+ | |- | ||
+ | | 2 || The 'Pole Position Club' || <code>Strip Club</code> | ||
+ | |- | ||
+ | | 3 || Apartment 3c || | ||
+ | |- | ||
+ | | 3 || Ocean View || <code>Hotel</code> | ||
+ | |- | ||
+ | | 4 || El Banco Corrupto Grande || <code>Bank</code> | ||
+ | |- | ||
+ | | 5 || VCPD HQ || <code>Police HQ</code> | ||
+ | |- | ||
+ | | 6 || North Point Mall || <code>Mall</code> | ||
+ | |- | ||
+ | | 7 || Finale mission || | ||
+ | |- | ||
+ | | 7 || Rifle Range || <code>Rifle Range</code> | ||
+ | |- | ||
+ | | 8 || Diaz's Mansion/Vercetti Estate || <code>Mansion</code> | ||
+ | |- | ||
+ | | 9 || Dirtring || <code>dirtring</code> | ||
+ | |- | ||
+ | | 10 || Bloodring || <code>Blood ring</code> | ||
+ | |- | ||
+ | | 11 || Hotring || <code>Hot ring</code> | ||
+ | |- | ||
+ | | 12 || Love Fist concert hall || <code>concerthall</code> | ||
+ | |- | ||
+ | | 13 || Auntie Poulet's || <code>auntie poulets</code> | ||
+ | |- | ||
+ | | 14 || Introduction Viceport cutscene || <code>intro at docks</code> | ||
+ | |- | ||
+ | | 15 || Greasy Choppers || <code>biker bar</code> | ||
+ | |- | ||
+ | | 16 || Marco's Bistro || <code>the intro cafe dark room</code> | ||
+ | |- | ||
+ | | 17 || Love Fist recording studio || <code>studio</code> | ||
+ | |} | ||
== Keywords == | == Keywords == | ||
− | set, weather, sky, extra, color, colour | + | set, weather, sky, extra, color, colour, interior, interiour |
[[Category:OpCodes]] | [[Category:OpCodes]] |
Latest revision as of 04:46, 16 July 2015
Description
- Sets the extra color of the sky
Syntax
- 04F9: set_extracolors [int1] fade [int2]
Parameter
- [int1]
- Extra color
- [int2]
- Fade
This opcode sets the extra color of the sky. It is mainly used in interiors in the original script but it can be used outside interiors. In Vice City, the colors are defined in the "Extracolours" section of the timecyc.dat
file. Each line in the section corresponds to the color of the sky. Colors 1 through 24 are available. Values outside the range defined in the file produce weird effects. The second parameter determines if the color should instantly change (0) or set to the default sky briefly and then fade into change (1). Opcode 04FA clears the extra color effect. The effect will carry into a new game so you have to explicitly clear the effect if you don't want it carried over. The extra color, fade, and whether extra color is active are saved in block 0 of the save file in Vice City and block 0 in San Andreas.
Usage
The following lists all extra colors used in areas in the original script of Vice City. It includes comments made in Rockstar's documentation if available.
Color | Area | Comment |
---|---|---|
1 | The Malibu Club | MALIBU CLUB
|
2 | The 'Pole Position Club' | Strip Club
|
3 | Apartment 3c | |
3 | Ocean View | Hotel
|
4 | El Banco Corrupto Grande | Bank
|
5 | VCPD HQ | Police HQ
|
6 | North Point Mall | Mall
|
7 | Finale mission | |
7 | Rifle Range | Rifle Range
|
8 | Diaz's Mansion/Vercetti Estate | Mansion
|
9 | Dirtring | dirtring
|
10 | Bloodring | Blood ring
|
11 | Hotring | Hot ring
|
12 | Love Fist concert hall | concerthall
|
13 | Auntie Poulet's | auntie poulets
|
14 | Introduction Viceport cutscene | intro at docks
|
15 | Greasy Choppers | biker bar
|
16 | Marco's Bistro | the intro cafe dark room
|
17 | Love Fist recording studio | studio
|
Keywords
set, weather, sky, extra, color, colour, interior, interiour