OBD:BINA/OBJC/TRIG: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (added family to footer template call) |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD OBJC Header|align=center|type=TRIG|prev=TRGV|next=TURR|name=Trigger| | :''This is about trigger instances. For the trigger class resource, see [[OBD:TRIG]] | ||
{{OBD OBJC Header | align=center | type=TRIG | prev=TRGV | next=TURR | name=Trigger | stuff=b_tr}} | |||
[[Image:bin_r_tr.gif]] | |||
{{Table}} | |||
| | {{OBDth}} | ||
{{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | |||
| | {{OBDtr| 0x04 | int32 |FFFF00| DC 0A 00 00 | 2780 | size of the complete list from this position in bytes }} | ||
| OBJC | {{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | object list version }} | ||
| | {{OBDtr| 0x0C | int32 |00FFFF| 80 00 00 00 | 128 | size of the following element in bytes }} | ||
| | {{OBDtrBK}} | ||
{{OBDtr| 0x00 | char[4] |FFC8C8| 47 49 52 54 | TRIG | trigger }} | |||
| 2780 | {{OBDtr| 0x04 | int32 |FFFFC8| 15 0F 00 00 | 3861 | old file ID? }} | ||
| | {{OBDtr| 0x08 | |C8FFC8| 09 00 00 00 | | unknown }} | ||
| | {{OBDtr| 0x0C | float |C8FFFF| 5E FA 03 C3 | -131.977996| x-position of the trigger }} | ||
| | {{OBDtr| 0x10 | float |C8FFFF| 9A 99 82 C2 | -65.300003 | y-position (height) of the trigger }} | ||
| 39 | {{OBDtr| 0x14 | float |C8FFFF| EE FC 94 43 | 297.976013 | z-position of the trigger }} | ||
| | {{OBDtr| 0x18 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the x-axis in degrees }} | ||
| | {{OBDtr| 0x1C | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the y-axis in degrees }} | ||
{{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees }} | |||
| 128 | {{OBDtr| 0x24 | char[63] |FFC800| |"trigger_evilbrain" | trigger type (00701-trigger_evilbrain.[[OBD:TRIG|TRIG]] of level 0) }} | ||
{{OBDtr| 0x63 | int16 |C800C8| CA 00 | 202 | trigger ID }} | |||
{{OBDtr| 0x65 | |C87C64| 4C 00 | 0x4C00 | flags; used flags: | |||
| | : 0x'''04''' 00 - active? | ||
| | : 0x'''08''' 00 - initial active | ||
: 0x'''10''' 00 - reverse | |||
| TRIG | : 0x'''20''' 00 - pingpong | ||
: 0x'''40''' 00 - unknown | |||
| | : 0x'''80''' 00 - unknown }} | ||
| | {{OBDtr| 0x67 | |B0C3D4| 00 00 FF FF | red | laser color }} | ||
| 3861 | {{OBDtr| 0x6B | float |E7CEA5| 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) }} | ||
{{OBDtr| 0x6F | float |FFDDDD| 00 00 40 3F | 0.750000 | speed of the trigger; range from 0 (stop) to 2 (very fast) }} | |||
| | {{OBDtr| 0x73 | int16 |64AAAA| 02 00 | 2 | trigger emitter count }} | ||
| | {{OBDtr| 0x75 | int16 |EBEBEB| 00 00 | 0 | time of interruption interval in frames }} | ||
{{OBDtr| 0x77 | int16 |8C8CCC| 00 00 | 0 | time of interruption in frames }} | |||
| | {{OBDtr| 0x79 | int16 |FF00C8| 01 00 | 1 | 1 event block follows (the block is edged in grey) }} | ||
| | {{OBDtrBK|Event Block}} | ||
| | {{OBDtr| 0x00 | |F0F096| 02 00 | 2 | event type; used types: | ||
| -131.977996 | :1 - call up function | ||
:2 - activate turret }} | |||
| | {{OBDtr| 0x02 | |00C864| 14 00 | 20 | event argument: turret id }} | ||
| | {{OBDtrBK|Event Block End}} | ||
| -65.300003 | {{OBDtr| | |00C8FF| 00 | | padding }} | ||
| | |||
| | |||
| 297.976013 | |||
| | |||
| | |||
| 0.000000 | |||
| | |||
| | |||
| 0.000000 | |||
| | |||
| | |||
| 0.000000 | |||
| | |||
| | |||
| | |||
| | |||
| 202 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| 0.500000 | |||
| | |||
| | |||
| 0.750000 | |||
| | |||
| | |||
| 2 | |||
| | |||
| | |||
| 0 | |||
| | |||
| | |||
| 0 | |||
| | |||
| | |||
| 1 | |||
| | |||
| | |||
| | |||
| 2 | |||
| | |||
| 20 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
- | |||
{{OBD OBJC Footer|align=center|type=TRIG|prev=TRGV|next=TURR|name=Trigger|onistuff=b_tr}} | '''Tool Mode dialog''' | ||
[[Image:Tool dialog - Trigger Properties.png]] | |||
{{OBD OBJC Footer | align=center | type=TRIG | prev=TRGV | next=TURR | name=Trigger | onistuff=b_tr | family=Level}} | |||
{{OBD}} |
Latest revision as of 21:22, 9 December 2023
- This is about trigger instances. For the trigger class resource, see OBD:TRIG
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | char[4] | 43 4A 42 4F | OBJC | objects |
0x04 | int32 | DC 0A 00 00 | 2780 | size of the complete list from this position in bytes |
0x08 | int32 | 27 00 00 00 | 39 | object list version |
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 | 0x4C00 | flags; used flags:
| |
0x67 | 00 00 FF FF | red | laser color | |
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 emitter count |
0x75 | int16 | 00 00 | 0 | time of interruption interval in frames |
0x77 | int16 | 00 00 | 0 | time of interruption in frames |
0x79 | int16 | 01 00 | 1 | 1 event block follows (the block is edged in grey) |
Event Block | ||||
0x00 | 02 00 | 2 | event type; used types:
| |
0x02 | 14 00 | 20 | event argument: turret id | |
Event Block End | ||||
00 | padding |
Tool Mode dialog
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
TRGV << Other OBJC >> TURR |
TRIG : Trigger |
Level file |