OBD:TRIG: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
 
m (changed family; terminology)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> TRIG File
:''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=Level | align=center}}




<CENTER>[[OBD:TRIA|<==]] <FONT SIZE=5>TRIG File</FONT> [[OBD:TRMA|==>]]<BR>
[[Image:trig_all.gif]]
<FONT SIZE=2>Trigger - Level 0 File</FONT></CENTER>




http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/trge_all.gif
{{Table}}
 
{{OBD_Table_Header}}
 
|- ALIGN=CENTER VALIGN=TOP
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{OBDtr| 0x00 | res_id  |FF0000| 01 75 02 00 | 629           | ID for TRIGtrigger_arc }}
|- ALIGN=CENTER ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0             | level 0 }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x08 | int32    |FFC8C8| 00 00 FF 7F | 0, 0, 255; 127 | ignored; was trigger colour }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x0C | int32    |FFFFC8| 00 00 00 00 | 0             | ignored }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x10 | int32    |C8FFC8| 00 00 00 00 | 0             | ignored }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x14 | int32    |C8FFFF| 00 00 80 3F | 1.000000       | ignored }}
| BGCOLOR="#FF0000" | 01 75 02 00
{{OBDtr| 0x18 | int32    |FFC8FF| 01 76 02 00 | 630           | link to [[M3GM]]00630 - rail geometry }}
| 629
{{OBDtr| 0x1C | int32    |FFC800| 00 00 00 00 | 0             | OBLS link; never used }}
| ALIGN=LEFT | 00629-trigger_arc.TRIG
{{OBDtr| 0x20 | int32    |C800C8| 00 00 00 00 | 0             | ignored }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x24 | int32    |C87C64| 01 6E 02 00 | 622           | link to [[TRGE]]00622 (trigger_emitter_0); always the same }}
| BGCOLOR="#FFFF00" | 01 00 00 00
{{OBDtr| 0x28 | int32    |B0C3D4| 01 74 02 00 | 628           | link to [[OBAN]]00628 (eyearc) }}
| 0
{{OBDtr2| 0x2C | char[32]|E7CEA5| trigger_active               | active trigger sound (reference to OSBDtrigger_active.[[OBD:OSBD/OSAm|amb]]); always the same }}
| ALIGN=LEFT | level 0
{{OBDtr2| 0x4C | char[32]|FFDDDD| trigger_hit                 | hit trigger sound (reference to OSBDtrigger_hit.[[OBD:OSBD/OSIm|imp]]); always the same }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x6C | int32    |64AAAA| 00 00 00 00 | 0             | runtime only }}
| BGCOLOR="#FFC8C8" | 00 00 FF 7F
{{OBDtr| 0x70 | int32    |EBEBEB| 00 00 00 00 | 0             | runtime only }}
| unknown
{{OBDtr| 0x74 | char[12] |8C8CCC| AD DE       | dead           | unused }}
| ALIGN=LEFT | unknown; always the same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 80 3F
| 1.000000
| ALIGN=LEFT | unknown; always the same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 76 02 00
| 630
| ALIGN=LEFT | link to 00630-.[[OBD:M3GM|M3GM]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 01 6E 02 00
| 622
| ALIGN=LEFT | link to 00622-trigger_emitter_0.[[OBD:TRGE|TRGE]]; always the same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" | 01 74 02 00
| 628
| ALIGN=LEFT | link to 00628-eyearc.[[OBD:OBAN|OBAN]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" COLSPAN=2 | <TT>trigger_active</TT>
| ALIGN=LEFT | active trigger sound (08668-trigger_active.amb.[[OBD:OSBD|OSBD]]); always the same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" COLSPAN=2 | <TT>trigger_hit</TT>
| ALIGN=LEFT | hit trigger sound (08670-trigger_hit.imp.[[OBD:OSBD|OSBD]]); always the same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" | AD DE
| dead
| ALIGN=LEFT | not used
|}
|}


;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 [[OBD:AKEV|environment]].


<HR>
{{OBD_File_Footer | type=TRIG | prev=TRIA | next=TRMA | name=Trigger | family=Level}}
<CENTER>[[OBD:TRIA|<==]] <B>TRIG File</B> [[OBD:TRMA|==>]]</CENTER>
<HR>
 


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> TRIG File
{{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