OBD:TRIG

From OniGalore
(Redirected from TRIG)
Jump to: navigation, search
This is about the trigger class resource. For trigger instances, see OBD:BINA/OBJC/TRIG
ONI BINARY DATA
TRIA << Other file types >> TRMA
TRIG : Trigger
switch to XML:TRIG page
Struct def for OUP
Overview @ Oni Stuff
OBD.png


Trig all.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 75 02 00 629 00629-trigger_arc.TRIG
0x04 lev_id 01 00 00 00 0 level 0
0x08 int32 00 00 FF 7F 0, 0, 255; 127 ignored; was trigger colour
0x0C int32 00 00 00 00 0 ignored
0x10 int32 00 00 00 00 0 ignored
0x14 int32 00 00 80 3F 1.000000 ignored
0x18 int32 01 76 02 00 630 link to 00630-.M3GM - rail geometry
0x1C int32 00 00 00 00 0 OBLS link; never used
0x20 int32 00 00 00 00 0 ignored
0x24 int32 01 6E 02 00 622 link to 00622-trigger_emitter_0.TRGE; always the same
0x28 int32 01 74 02 00 628 link to 00628-eyearc.OBAN
0x2C char[32] trigger_active active trigger sound (reference to 08668-trigger_active.amb.OSBD); always the same
0x4C char[32] trigger_hit hit trigger sound (reference to 08670-trigger_hit.imp.OSBD); always the same
0x6C int32 00 00 00 00 0 runtime only
0x70 int32 00 00 00 00 0 runtime only
0x74 char[12] AD DE dead unused
Rail geometry

This is the rail on which the trigger emitter moves. This geometry is used only during design time, after a level is created the geometry is baked into the environment.

ONI BINARY DATA
TRIA << Other file types >> TRMA
TRIG : Trigger
Global file