Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 024F

Opcode Database

024F

DescriptionCreates a corona at the specified coordinates.

The RGB colour of the corona can be changed and a lensflare effect can be applied to the camera when near the corona.

There are several types of coronas.

Note that some of the coronas on that list do not work in San Andreas. See here for the ones that do. They may differ from the VC and III versions.
Parameters (v2)1) X Coord (Float) (FLOAT)
2) Y Coord (Float) (FLOAT)
3) Z Coord (Float) (FLOAT)
4) Radius (Float) (FLOAT)
5) Integer (INT)
6) Boolean (1 or 0) (INT)
7) Red (0 to 255) (INT)
8) Green (0 to 255) (INT)
9) Blue (0 to 255) (INT)
Gamessa vc iii
CategoryCreation, Game, Particle
Command Name (IV)DRAW_CORONA
San Andreas
sascm.ini024F=9,draw_corona %1d% %2d% %3d% radius %4d% type %5d% lensflare %6d% colour %7d% %8d% %9d%
Example024F: draw_corona $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.2 type 2 lensflare 0 colour 255 0 0
Command NameDRAW_CORONA
Vice City
sascm.ini024f=9,create_corona_with_radius %4d% type %5d% lensflares %6d% with_color %7d% %8d% %9d% at %1d% %2d% %3d%
Example024F: create_corona_with_radius 5.5 type 6 lensflares 0 with_color 255 0 0 at $4010 $4011 $4012
Command NameDRAW_CORONA
GTA III
gtascm.ini024f=9,create_corona %4d% %5d% %6d% with_color %7d% %8d% %9d% at_point %1d% %2d% %3d%
Example024F: create_corona 1.0 5 0 with_color 0 200 200 at_point $OFFROAD_CHECKPOINT_1_X $OFFROAD_CHECKPOINT_1_Y $OFFROAD_CHECKPOINT_1_Z
Command NameDRAW_CORONA

<< 024E

0250 >>