024F

From GTAMods Wiki
Revision as of 20:35, 27 December 2011 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

GTA III Vice City San Andreas


Description

Draws a corona

Syntax

024F: create_corona_with_radius [flt1] type [int1] lensflares [int2] with_color [int3] [int4] [int5] at [flt2] [flt3] [flt4]

Parameter

[flt1]
Radius
[int1]
Type
[int2]
Lensflare
[int3]
Red
[int4]
Green
[int5]
Blue
[flt2]
X-coordinate
[flt3]
Y-coordinate
[flt4]
Z-coordinate

Native analog

DRAW_CORONA

This opcode draws a corona at a point. It is nearly identical to opcode 04D5. This opcode has to be placed in a loop in order for the corona to appear. When the corona is placed in a loop, it begins to appear by fading in. Coronas are transparent and all their textures are from the particle.txd file. When not placed in a loop anymore, it fades out and disappears. Coronas are mainly used as checkpoints in races in the games.

Types of Coronas

Values not listed in the table will crash the game. The following images all have a size of 1.0 with the color white.

Type GTA III Vice City San Andreas Texture Description
0 Type 0 Type 0 coronastar Solid light
1 Type 1 Type 1 coronastar Slightly brighter solid light
2 Type 2 Type 2 coronamoon Moon
3 Type 3 Type 3 coronareflect Oval light used for "reflective" lights
4 Type 4 Type 4 coronaheadlightline Elongated light
5 Type 5 Type 5 coronahax Hexagonal light
6 Type 6 Type 6 coronacircle Circular light
7 Type 7 Type 7 coronaringa Ring light
8 Type 8 Type 8 streek Very thin and long light

Types of Lens Flare

Lens flare is the light scattering effect on the lens of a camera. The most noticeably obvious use of lens flare in the games is when the player looks toward the sun but not directly at the sun.

Lensflare Description
0 none
1 yellow
2 white

Keywords

create, draw, corona