OBD:TRIG

From OniGalore
Jump to navigation Jump to 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
Overview @ Oni Stuff
OBD.png


Trig all.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 75 02 00 629 ID for TRIGtrigger_arc
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 M3GM00630 - 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 TRGE00622 (trigger_emitter_0); always the same
0x28 int32 01 74 02 00 628 link to OBAN00628 (eyearc)
0x2C char[32] trigger_active active trigger sound (reference to OSBDtrigger_active.amb); always the same
0x4C char[32] trigger_hit hit trigger sound (reference to OSBDtrigger_hit.imp); 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
Level file