XML:TRIG
TRIG : Trigger | ![]() | |
---|---|---|
XML
TRGE << Other file types >> TRMA |
General information
- TRIG files are stored globally in level0_Final.dat.
- TRIG files were originally intended to hold the rail geometry, but the <BaseGeometry>-linked M3GM isn't used in-game; instead the trigger rail is part of the AKEV level geometry.
- The XML on this page is compatible with OniSplit v0.9.61.0.
File structure
- TRIG
- M3GM <BaseGeometry> (not used; trigger rails must be part of the AKEV level geometry)
- PNTA <Points>
- VCRA <VertexNormals>
- VCRA <FaceNormals>
- TXCA <TextureCoordinates>
- IDXA <TriangleStrips>
- IDXA <FaceNormalIndices>
- TXMP <Texture> (link to external file)
- M3GM <BaseGeometry> (not used; trigger rails must be part of the AKEV level geometry)
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.
XML tag | Content type | Description |
---|---|---|
<Color> | color32 | Ignored |
<TimeOn> | int32 | Ignored |
<TimeOff> | int32 | Ignored |
<StartOffset> | ? | Ignored |
<AnimScale> | int32 | Ignored |
<BaseGeometry> | link | M3GM instance number (#N) |
<BaseGunkFlags> | flag | Ignored |
<Emitter> | char[32] | TRGEfile.oni |
<Animation> | char[32] | OBANfile.oni |
<ActiveSound> | char[32] | OSBDfile.amb.oni |
<TriggerSound> | char[32] | OSBDfile.imp.oni |
3D model
The 3D model for a laser trigger is in a TRGE, linked to from the <Emitter> tag. See XML:TRGE for extraction and creation of this geometry.