GTAG - Modding - San Andreas - Coronas
Coronas
The corona types are used in opcodes 024F and 04D5, which make a call to the function 0x6FC580.
Memory Structure
The following list shows the corona memory structure. Some values were found from the MTA Source and Ryosukes Documentation.
- Base Info
- Base: 0xC3E058
- Size: 0x3C
- Num: 0x40
- Offsets
- +0x00: Coordinates Array
- +0x00 [float]: X Coord
- +0x04 [float]: Y Coord
- +0x08 [float]: Z Coord
- +0x0C [dword]: Indentifier / Address?
- +0x10 [dword]: Pointer to texture structure
- +0x14 [float]: Radius
- +0x18 [float]: Normal Angle? (0.0 by default)
- +0x1C [float]: Far Clip
- +0x20 [float]: Near Clip
- +0x24 [float]: Height Above Ground?
- +0x28 [float]: Fade Speed
- +0x2C: RGBA Colour
- +0x0 [byte]: Red Value
- +0x4 [byte]: Green Value
- +0x8 [byte]: Blue Value
- +0xC [byte]: Alpha Value
- +0x30 [byte]: Visibility (0 = invisible / 255 = visible)
- +0x31 [byte]: Faded intensity
- +0x32 [byte]: Flare type
- +0x33 [byte]: Wet reflection type?
- +0x34 [byte]: Unknown
- +0x35 [byte]: Unknown
- +0x36 [byte]: Unknown
- +0x37 [byte]: Unknown
- +0x38 [byte]: Unknown
- +0x00: Coordinates Array







