Difference between revisions of "Template:KMP AREA header"

From Custom Mario Kart
Jump to navigation Jump to search
(Information added for an offset which was unknown before)
Line 23: Line 23:
 
| 0x28 || short || '''unknown''', usually 0 in Nintendos tracks. If not 0, then '''type''' is also not 0.
 
| 0x28 || short || '''unknown''', usually 0 in Nintendos tracks. If not 0, then '''type''' is also not 0.
 
|-
 
|-
| 0xa8 || short || '''unknown''', usually 0 in Nintendos tracks.
+
| 0xa8 || short || Defines the '''posteffect''' that is used.
 +
'''0'''= Posteffect 1, '''10401'''= Posteffect 2, other values unknown.
 
|-
 
|-
 
| 0x2C || short || '''Route ID''', exact meaning unknown, usually 0xffff in Nintendos tracks.
 
| 0x2C || short || '''Route ID''', exact meaning unknown, usually 0xffff in Nintendos tracks.

Revision as of 20:45, 28 December 2013

AREA entry data structure (0x30 bytes)
Offset Type Description
0x00 byte Area mode. Values 0 or 1, meaning unknown.
0x01 byte Area type. Values 0–4 and 6–9:

0=cameras, 4=leaves, 7=boos, other values unknown.

0x02 byte Index of CAME if type==0x00, 0xff else.
0x03 byte 'unknown
0x04 vector A 3D position vector of the object.
0x10 vector A 3D rotation vector of the object's rotation in degree.
0x1C vector A 3D scale vector of the object's scale.
0x28 short unknown, usually 0 in Nintendos tracks. If not 0, then type is also not 0.
0xa8 short Defines the posteffect that is used.

0= Posteffect 1, 10401= Posteffect 2, other values unknown.

0x2C short Route ID, exact meaning unknown, usually 0xffff in Nintendos tracks.
0x2E short Enemy route ID, Exact meaning unknown, always 0 in Nintendos tracks.