OBD:BINA/OBJC/TRIG: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
mNo edit summary
m (formatting)
Line 1: Line 1:
{{OBD OBJC Header|align=center|type=TRIG|prev=TRGV|next=TURR|name=Trigger|onistuff=b_tr}}
{{OBD OBJC Header|align=center|type=TRIG|prev=TRGV|next=TURR|name=Trigger}}
----
----
----
----
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_tr.gif
http://ssg.oni2.net/images/bin_r_tr.gif


 
{{Table}}
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{OBDth}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC       | object collection }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x04 | int32    |FFFF00| DC 0A 00 00 | 2780       | size of the complete collection from this postion in bytes }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39         | unknown }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x0C | int32    |00FFFF| 80 00 00 00 | 128       | size of the following element in bytes }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtrBK}}
| BGCOLOR="#FF0000" | 43 4A 42 4F
{{OBDtr| 0x00 | char[4]  |FFC8C8| 47 49 52 54 | TRIG       | trigger }}
| OBJC
{{OBDtr| 0x04 | int32    |FFFFC8| 15 0F 00 00 | 3861       | old file ID? }}
| ALIGN=LEFT | object
{{OBDtr| 0x08 |          |C8FFC8| 09 00 00 00 |           | unknown }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x0C | float    |C8FFFF| 5E FA 03 C3 | -131.977996| x-position of the trigger }}
| BGCOLOR="#FFFF00" | DC 0A 00 00
{{OBDtr| 0x10 | float    |C8FFFF| 9A 99 82 C2 | -65.300003 | y-position (height) of the trigger }}
| 2780
{{OBDtr| 0x14 | float    |C8FFFF| EE FC 94 43 | 297.976013 | z-position of the trigger }}
| ALIGN=LEFT | 2780 bytes is the length of the following trigger part from this position
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the x-axis in degrees }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the y-axis in degrees }}
| BGCOLOR="#00FF00" | 27 00 00 00
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the z-axis in degrees }}
| 39
{{OBDtr| 0x24 | char[63] |FFC800|            |"trigger_evilbrain| trigger type (00701-trigger_evilbrain.[[OBD:TRIG|TRIG]] of level 0) }}
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it
{{OBDtr| 0x63 | int16    |C800C8| CA 00       | 202       | trigger ID }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x65 |          |C87C64| 4C 00       |           | unknown }}
| BGCOLOR="#00FFFF" | 80 00 00 00
{{OBDtr| 0x67 |          |B0C3D4| 00 00       |           | unknown; always zero }}
| 128
{{OBDtr| 0x69 |          |E7CEA5| FF FF       |           | unknown }}
| ALIGN=LEFT | 128 bytes (8 lines) is the lenght of the following package (area edged in black)
{{OBDtr| 0x6B | float    |FFDDDD| 00 00 00 3F | 0.500000   | start position of the trigger in the rail; range from 0 (bottom) to 1 (top) in connection to the spawn point of the trigger (spawn point <nowiki>=</nowiki> bottom) }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x6F | float    |64AAAA| 00 00 40 3F | 0.750000   | speed of the trigger; range from 0 (stop) to 2 (very fast) }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
{{OBDtr| 0x73 | int16    |EBEBEB| 02 00       | 2         | trigger amount }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x75 | int16    |8C8CCC| 00 00       | 0         | unknown; always zero }}
| BGCOLOR="#FFC8C8" | 47 49 52 54
{{OBDtr| 0x77 | int16    |FF00C8| 00 00       | 0         | unknown; always zero }}
| TRIG
{{OBDtr| 0x79 | int16    |F0F096| 01 00       | 1         | 1 block follows (the block is edged in grey) }}
| ALIGN=LEFT | trigger
{{OBDtrBK}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x00 |         |00C864| 02 00       | 2         | unknown }}
| BGCOLOR="#FFFFC8" | 15 0F 00 00
{{OBDtr| 0x02 |         |00C8FF| 14 00       | 20         | unknown }}
| 3861
{{OBDtrBK}}
| ALIGN=LEFT | old file ID
{{OBDtr|     |         |C80040| 00         | 0         | unknown; always zero }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 09 00 00 00
| 9
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 5E FA 03 C3
| -131.977996
| ALIGN=LEFT | x-position of the trigger
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 9A 99 82 C2
| -65.300003
| ALIGN=LEFT | y-position (height) of the trigger
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | EE FC 94 43
| 297.976013
| ALIGN=LEFT | z-position of the trigger
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the x-axis in degrees
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the y-axis in degrees
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the z-axis in degrees
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>trigger_evilbrain</TT>
| ALIGN=LEFT | trigger type (00701-trigger_evilbrain.[[OBD:TRIG|TRIG]] of level 0)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | CA 00
| 202
| ALIGN=LEFT | trigger ID
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 4C 00
| 76
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" | 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" | FF FF
| 65535
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00 00 3F
| 0.500000
| ALIGN=LEFT | start position of the trigger in the rail; range from 0 (bottom) to 1 (top) in connection to the spawn point of the trigger (spawn point = bottom)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00 00 40 3F
| 0.750000
| ALIGN=LEFT | speed of the trigger; range from 0 (stop) to 2 (very fast)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" | 02 00
| 2
| ALIGN=LEFT | trigger amount
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" | 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00C8" | 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#F0F096" | 01 00
| 1
| ALIGN=LEFT | 1 block follows (the block is edged in grey)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#808080"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the block. It's a part of the package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C864" | 02 00
| 2
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C8FF" | 14 00
| 20
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#808080"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">End of the block. Below follows the last byte of the package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 00
| 0
| ALIGN=LEFT | stop-byte; always zero
|}
|}
----
----
----
----
{{OBD OBJC Footer|align=center|type=TRIG|prev=TRGV|next=TURR|name=Trigger|onistuff=b_tr}}
{{OBD OBJC Footer|align=center|type=TRIG|prev=TRGV|next=TURR|name=Trigger|onistuff=b_tr}}

Revision as of 00:20, 20 December 2007

ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
TRGV << Other OBJC >> TURR
TRIG : Trigger
XML tutorial
Overview @ Oni Stuff
OBD.png


bin_r_tr.gif

Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC object collection
0x04 int32 DC 0A 00 00 2780 size of the complete collection from this postion in bytes
0x08 int32 27 00 00 00 39 unknown
0x0C int32 80 00 00 00 128 size of the following element in bytes
First element (black outline)
0x00 char[4] 47 49 52 54 TRIG trigger
0x04 int32 15 0F 00 00 3861 old file ID?
0x08 09 00 00 00 unknown
0x0C float 5E FA 03 C3 -131.977996 x-position of the trigger
0x10 float 9A 99 82 C2 -65.300003 y-position (height) of the trigger
0x14 float EE FC 94 43 297.976013 z-position of the trigger
0x18 float 00 00 00 00 0.000000 rotation on the x-axis in degrees
0x1C float 00 00 00 00 0.000000 rotation on the y-axis in degrees
0x20 float 00 00 00 00 0.000000 rotation on the z-axis in degrees
0x24 char[63] "trigger_evilbrain" trigger type (00701-trigger_evilbrain.TRIG of level 0)
0x63 int16 CA 00 202 trigger ID
0x65 4C 00 unknown
0x67 00 00 unknown; always zero
0x69 FF FF unknown
0x6B float 00 00 00 3F 0.500000 start position of the trigger in the rail; range from 0 (bottom) to 1 (top) in connection to the spawn point of the trigger (spawn point = bottom)
0x6F float 00 00 40 3F 0.750000 speed of the trigger; range from 0 (stop) to 2 (very fast)
0x73 int16 02 00 2 trigger amount
0x75 int16 00 00 0 unknown; always zero
0x77 int16 00 00 0 unknown; always zero
0x79 int16 01 00 1 1 block follows (the block is edged in grey)
First element (black outline)
0x00 02 00 2 unknown
0x02 14 00 20 unknown
First element (black outline)
00 0 unknown; always zero


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
TRGV << Other OBJC >> TURR
TRIG : Trigger
[[OBD:File types/{{{family}}}|{{{family}}} file]]