XML:TRIG: Difference between revisions

clarified fields that are ignored; applied Tree list to hierarchy
m (copy-edit)
(clarified fields that are ignored; applied Tree list to hierarchy)
 
Line 7: Line 7:


==File structure==
==File structure==
TRIG
{{Tree list}}
  |
* TRIG
  +-- M3GM <BaseGeometry> (not used; trigger rails must be part of the AKEV level geometry)
** M3GM <BaseGeometry> (not used; trigger rails must be part of the AKEV level geometry)
        |
*** PNTA <Points>
        +-- PNTA <Points>
*** VCRA <VertexNormals>
        +-- VCRA <VertexNormals>
*** VCRA <FaceNormals>
        +-- VCRA <FaceNormals>
*** TXCA <TextureCoordinates>
        +-- TXCA <TextureCoordinates>
*** IDXA <TriangleStrips>
        +-- IDXA <TriangleStrips>
*** IDXA <FaceNormalIndices>
        +-- IDXA <FaceNormalIndices>
*** TXMP <Texture> (link to external file)
        +-- TXMP <Texture> (link to external file)
{{Tree list|end}}


==XML tags==
==XML tags==
Many tags below were never implemented at the class level, only at the BINA/OBJC level, so see [[XML:BINA/OBJC/TRIG]] for those fields if you want to know what they do.
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=150px| XML tag
Line 27: Line 29:
|width=200px| <Color>
|width=200px| <Color>
|width=40px| color32
|width=40px| color32
| RGBA value (ignored; was intended to be trigger color)
| Ignored
|-
|-
| <TimeOn>
| <TimeOn>
| int32
| int32
| Laser is on for this many frames (overridden by BINACJBOTrigger's <TimeOn> and <TimeOff> tags?)
| Ignored
|-
|-
| <TimeOff>
| <TimeOff>
| int32
| int32
| Laser is off for this many frames (overridden by BINACJBOTrigger's <TimeOn> and <TimeOff> tags?)
| Ignored
|-
|-
| <StartOffset>
| <StartOffset>
| ?
| ?
| ?
| Ignored
|-
|-
| <AnimScale>
| <AnimScale>
| int32
| int32
| ?
| Ignored
|-
|-
| <BaseGeometry>
| <BaseGeometry>
Line 51: Line 53:
| <BaseGunkFlags>
| <BaseGunkFlags>
| flag
| flag
| ?
| Ignored
|-
|-
| <Emitter>
| <Emitter>