Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Polygoninfo / soundpolygoninfo: Difference between revisions

From LMHack
Created page with "==== Original Author(s) ==== ''opeyx'' ==== Description ==== Documentation on the jump tables ''polygoninfo'' and ''soundpolygoninfo.'' These files can be edited with Jumpah; however, this is not recommended since these files will be automatically generated with Collidah after exporting. ==== <span id="Polygoninfo" class="mw-headline">'''Polygoninfo'''</span> ==== ''polygoninfo'' is a jump table defining collision properties for the triangles within a map's..."
 
m Removed protection from "Polygoninfo / soundpolygoninfo"
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
These files can be edited with [[Jumpah]]; however, this is not recommended since these files will be automatically generated with [[Collidah]] after exporting.
These files can be edited with [[Jumpah]]; however, this is not recommended since these files will be automatically generated with [[Collidah]] after exporting.


==== <span id="Polygoninfo" class="mw-headline">'''Polygoninfo'''</span> ====
==== Polygoninfo ====


''polygoninfo'' is a jump table defining collision properties for the triangles within a map's collision mesh. Each entry has a corresponding triangle with the same index in the map's collision file: ''col.mp.''
''polygoninfo'' is a jump table defining collision properties for the triangles within a map's collision mesh. Each entry has a corresponding triangle with the same index in the map's collision file: ''col.mp.''
Line 32: Line 32:
|}
|}


==== <span id="Soundpolygoninfo" class="mw-headline">'''Soundpolygoninfo'''</span> ====
==== Soundpolygoninfo ====


''soundpolygoninfo'' is a jump table defining collision sound properties for the triangles within a map's collision mesh. Each entry has a corresponding triangle with the same index in the map's collision file: ''col.mp.'' The sound associated with each triangle will be played when Luigi walks over or taps on the traingle.
''soundpolygoninfo'' is a jump table defining collision sound properties for the triangles within a map's collision mesh. Each entry has a corresponding triangle with the same index in the map's collision file: ''col.mp.'' The sound associated with each triangle will be played when Luigi walks over or taps on the traingle.

Latest revision as of 15:29, 8 October 2024

Original Author(s)

opeyx

Description

Documentation on the jump tables polygoninfo and soundpolygoninfo.

These files can be edited with Jumpah; however, this is not recommended since these files will be automatically generated with Collidah after exporting.

Polygoninfo

polygoninfo is a jump table defining collision properties for the triangles within a map's collision mesh. Each entry has a corresponding triangle with the same index in the map's collision file: col.mp.

Field Name Type Description
poly_material Integer Collision materials. 0 = default, 1 = ice.
hashigo Integer (WIP) 0 = default, 1 = stairs (1 is set for half a stairs step's face).
ignore_pointer Integer (WIP) Seems to be 1 bit of padding.

Soundpolygoninfo

soundpolygoninfo is a jump table defining collision sound properties for the triangles within a map's collision mesh. Each entry has a corresponding triangle with the same index in the map's collision file: col.mp. The sound associated with each triangle will be played when Luigi walks over or taps on the traingle.

Field Name Type Description
sound_material Integer 0 = SND_MAT_DEFAULT
1 = SND_MAT_CARPET
2 = SND_MAT_DIRT
3 = SND_MAT_GRASS
4 = SND_MAT_WOOD
5 = SND_MAT_TILE
6 = SND_MAT_FLUFFY
7 = SND_MAT_KEYCOIN
8 = SND_MAT_EQUIPMENT1
9 = SND_MAT_EQUIPMENT2
10 = SND_MAT_POISON1
11 = SND_MAT_POISON2
12 = SND_MAT_METAL1
13 = SND_MAT_METAL2
14 = SND_MAT_SNARE
15 = SND_MAT_FLASHLIGHT
sound_echo_switch Integer (WIP)