OBD:TRIG: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (changed family; terminology)
 
Line 1: Line 1:
:''This is about the trigger class resource. For trigger instances, see [[OBD:BINA/OBJC/TRIG]]
:''This is about the trigger class resource. For trigger instances, see [[OBD:BINA/OBJC/TRIG]].
{{OBD_File_Header | type=TRIG | prev=TRIA | next=TRMA | name=Trigger | family=Global | align=center}}
{{OBD_File_Header | type=TRIG | prev=TRIA | next=TRMA | name=Trigger | family=Level | align=center}}




[[image:trig_all.gif]]
[[Image:trig_all.gif]]




Line 9: Line 9:
{{OBD_Table_Header}}
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | res_id  |FF0000| 01 75 02 00 | 629            | 00629-trigger_arc.TRIG }}
{{OBDtr| 0x00 | res_id  |FF0000| 01 75 02 00 | 629            | ID for TRIGtrigger_arc }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0              | level 0 }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0              | level 0 }}
{{OBDtr| 0x08 | int32    |FFC8C8| 00 00 FF 7F | 0, 0, 255; 127 | ignored; was trigger colour }}
{{OBDtr| 0x08 | int32    |FFC8C8| 00 00 FF 7F | 0, 0, 255; 127 | ignored; was trigger colour }}
Line 15: Line 15:
{{OBDtr| 0x10 | int32    |C8FFC8| 00 00 00 00 | 0              | ignored }}
{{OBDtr| 0x10 | int32    |C8FFC8| 00 00 00 00 | 0              | ignored }}
{{OBDtr| 0x14 | int32    |C8FFFF| 00 00 80 3F | 1.000000      | ignored }}
{{OBDtr| 0x14 | int32    |C8FFFF| 00 00 80 3F | 1.000000      | ignored }}
{{OBDtr| 0x18 | int32    |FFC8FF| 01 76 02 00 | 630            | link to 00630-.[[OBD:M3GM|M3GM]] - rail geometry }}
{{OBDtr| 0x18 | int32    |FFC8FF| 01 76 02 00 | 630            | link to [[M3GM]]00630 - rail geometry }}
{{OBDtr| 0x1C | int32    |FFC800| 00 00 00 00 | 0              | OBLS link; never used }}
{{OBDtr| 0x1C | int32    |FFC800| 00 00 00 00 | 0              | OBLS link; never used }}
{{OBDtr| 0x20 | int32    |C800C8| 00 00 00 00 | 0              | ignored }}
{{OBDtr| 0x20 | int32    |C800C8| 00 00 00 00 | 0              | ignored }}
{{OBDtr| 0x24 | int32    |C87C64| 01 6E 02 00 | 622            | link to 00622-trigger_emitter_0.[[OBD:TRGE|TRGE]]; always the same }}
{{OBDtr| 0x24 | int32    |C87C64| 01 6E 02 00 | 622            | link to [[TRGE]]00622 (trigger_emitter_0); always the same }}
{{OBDtr| 0x28 | int32    |B0C3D4| 01 74 02 00 | 628            | link to 00628-eyearc.[[OBD:OBAN|OBAN]] }}
{{OBDtr| 0x28 | int32    |B0C3D4| 01 74 02 00 | 628            | link to [[OBAN]]00628 (eyearc) }}
{{OBDtr2| 0x2C | char[32]|E7CEA5| trigger_active              | active trigger sound (reference to 08668-trigger_active.[[OBD:OSBD/OSAm|amb.OSBD]]); always the same }}
{{OBDtr2| 0x2C | char[32]|E7CEA5| trigger_active              | active trigger sound (reference to OSBDtrigger_active.[[OBD:OSBD/OSAm|amb]]); always the same }}
{{OBDtr2| 0x4C | char[32]|FFDDDD| trigger_hit                  | hit trigger sound (reference to 08670-trigger_hit.[[OBD:OSBD/OSIm|imp.OSBD]]); always the same }}
{{OBDtr2| 0x4C | char[32]|FFDDDD| trigger_hit                  | hit trigger sound (reference to OSBDtrigger_hit.[[OBD:OSBD/OSIm|imp]]); always the same }}
{{OBDtr| 0x6C | int32    |64AAAA| 00 00 00 00 | 0              | runtime only }}
{{OBDtr| 0x6C | int32    |64AAAA| 00 00 00 00 | 0              | runtime only }}
{{OBDtr| 0x70 | int32    |EBEBEB| 00 00 00 00 | 0              | runtime only }}
{{OBDtr| 0x70 | int32    |EBEBEB| 00 00 00 00 | 0              | runtime only }}
Line 30: Line 30:
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 [[OBD:AKEV|environment]].
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 [[OBD:AKEV|environment]].


{{OBD_File_Footer | type=TRIG | prev=TRIA | next=TRMA | name=Trigger | family=Global}}
{{OBD_File_Footer | type=TRIG | prev=TRIA | next=TRMA | name=Trigger | family=Level}}


{{OBD}}
{{OBD}}

Latest revision as of 21:33, 9 December 2023

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