OBD:BINA/OBJC/TURR: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
No edit summary
m (added family to footer template call)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
:''This is about turret instances. For the turret class resource see [[OBD:TURR]]
:''This is about turret instances. For the turret class resource see [[OBD:TURR]].''
{{OBD OBJC Header|align=center|type=TURR|prev=TRIG|next=WEAP|name=Turret|}}
{{OBD OBJC Header | align=center | type=TURR | prev=TRIG | next=WEAP | name=Turret | stuff=b_tu}}




Line 8: Line 8:
{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | object collection }}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | objects }}
{{OBDtr| 0x04 | int32    |FFFF00| 14 04 00 00 | 1044      | size of the complete collection from this postion in bytes }}
{{OBDtr| 0x04 | int32    |FFFF00| 14 04 00 00 | 1044      | size of the complete list from this position in bytes }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object collection version }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object list version }}
{{OBDtr| 0x0C | int32    |00FFFF| 90 00 00 00 | 144        | size of the following element in bytes }}
{{OBDtr| 0x0C | int32    |00FFFF| 90 00 00 00 | 144        | size of the following element in bytes }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr| 0x00 | char[4]  |FFC8C8| 52 52 55 54 | TURR      | object type: turret }}
{{OBDtr| 0x00 | char[4]  |FFC8C8| 52 52 55 54 | TURR      | object type: turret }}
{{OBDtr| 0x04 | int32    |FFFFC8| B8 1F 00 00 | 8120      | object ID }}
{{OBDtr| 0x04 | int32    |FFFFC8| B8 1F 00 00 | 8120      | object ID }}
{{OBDtr| 0x08 |          |C8FFC8| 09 00 00 00 | 0x09      | object flags; used values:
{{OBDtr| 0x08 |          |C8FFC8| 09 00 00 00 | 0x09      | object flags (set at runtime); used values:
:0x'''01''' 00 00 00 - unknown
:0x'''01''' 00 - appears to be set at runtime if the turret has no particles and on resets (?)
:0x'''08''' 00 00 00 - unknown }}
:0x'''08''' 00 - unknown, something to do with sound
:0x'''F6 FF''' - unknown, something to do with sound }}
{{OBDtr| 0x0C | float    |C8FFFF| 75 E1 CB C3 | -407.761383| x-position of the turret }}
{{OBDtr| 0x0C | float    |C8FFFF| 75 E1 CB C3 | -407.761383| x-position of the turret }}
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 94 42 | 74.000000  | y-position (height) of the turret }}
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 94 42 | 74.000000  | y-position (height) of the turret }}
Line 27: Line 28:
{{OBDtr| 0x63 | int16    |C800C8| 01 00      | 1          | turret ID }}
{{OBDtr| 0x63 | int16    |C800C8| 01 00      | 1          | turret ID }}
{{OBDtr| 0x65 | int16    |C87C64| 00 00      | 0          | flags; possible values:
{{OBDtr| 0x65 | int16    |C87C64| 00 00      | 0          | flags; possible values:
:0x'''01''' 00 - appears to be set at runtime if the turret has no particles (?) }}
:0x'''02''' 00 - unknown }}
:0x'''02''' 00 - unknown }}
{{OBDtr| 0x67 |          |B0C3D4|            |            | ignored }}
{{OBDtr| 0x67 |          |B0C3D4|            |            | ignored }}
Line 43: Line 43:




'''Bluebox screenshot'''
'''Tool Mode dialog'''


http://ssg.oni2.net/subfold/bluebox/images/217_turret_properties.png
[[Image:Tool dialog - Turret Properties.png]]




{{OBD OBJC Footer|align=center|type=TURR|prev=TRIG|next=WEAP|name=Turret}}
{{OBD OBJC Footer | align=center | type=TURR | prev=TRIG | next=WEAP | name=Turret | family=Level}}
 
{{OBD}}

Latest revision as of 21:23, 9 December 2023

This is about turret instances. For the turret class resource see OBD:TURR.
ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
TRIG << Other OBJC >> WEAP
TURR : Turret
XML tutorial
Overview @ Oni Stuff
OBD.png


Bin r tu.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC objects
0x04 int32 14 04 00 00 1044 size of the complete list from this position in bytes
0x08 int32 27 00 00 00 39 object list version
0x0C int32 90 00 00 00 144 size of the following element in bytes
First element (black outline)
0x00 char[4] 52 52 55 54 TURR object type: turret
0x04 int32 B8 1F 00 00 8120 object ID
0x08 09 00 00 00 0x09 object flags (set at runtime); used values:
0x01 00 - appears to be set at runtime if the turret has no particles and on resets (?)
0x08 00 - unknown, something to do with sound
0xF6 FF - unknown, something to do with sound
0x0C float 75 E1 CB C3 -407.761383 x-position of the turret
0x10 float 00 00 94 42 74.000000 y-position (height) of the turret
0x14 float B0 15 33 43 179.084717 z-position of the turret
0x18 float 00 00 00 00 0.000000 rotation on the x-axis in degrees
0x1C float 00 00 34 43 180.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] "phr_turret_wall" link by name to global turret class (phr_turret_wall. TURR)
0x63 int16 01 00 1 turret ID
0x65 int16 00 00 0 flags; possible values:
0x02 00 - unknown
0x67 ignored
0x8B int32 01 00 00 00 Konoko target team bitset:
1 - Konoko
2 - TCTF
4 - Syndicate
8 - Neutral
16 - SecurityGuard
32 - RogueKonoko
64 - Switzerland
128 - SyndicateAccessory
0x8F 00 padding


Tool Mode dialog

Tool dialog - Turret Properties.png


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
TRIG << Other OBJC >> WEAP
TURR : Turret
Level file