Jump to content

OBD:BINA/OBJC/TURR: Difference between revisions

m
added family to footer template call
mNo edit summary
m (added family to footer template call)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{OBD OBJC Header|align=right|type=TURR|prev=TRIG|next=WEAP|name=Turret|onistuff=b_tu}}
:''This is about turret instances. For the turret class resource see [[OBD:TURR]].''
;Blue Box Beta WMDD
{{OBD OBJC Header | align=center | type=TURR | prev=TRIG | next=WEAP | name=Turret | stuff=b_tu}}
http://www6.fh-eberswalde.de/user/dkriesch/oni/bina_turret.gif




----
[[Image:Bin_r_tu.gif]]
----
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_tu.gif




{|{{OBDtable}}
{{Table}}
|align=center|
{{OBDth}}
{|{{OBDtable}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | objects }}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
{{OBDtr| 0x04 | int32    |FFFF00| 14 04 00 00 | 1044      | size of the complete list from this position in bytes }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object list version }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x0C | int32    |00FFFF| 90 00 00 00 | 144        | size of the following element in bytes }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtrBK}}
|-
{{OBDtr| 0x00 | char[4]  |FFC8C8| 52 52 55 54 | TURR       | object type: turret }}
| BGCOLOR="#FFC8C8" | 52 52 55 54
{{OBDtr| 0x04 | int32    |FFFFC8| B8 1F 00 00 | 8120       | object ID }}
| TURR
{{OBDtr| 0x08 |         |C8FFC8| 09 00 00 00 | 0x09      | object flags (set at runtime); used values:
| ALIGN=LEFT | turret
:0x'''01''' 00 - appears to be set at runtime if the turret has no particles and on resets (?)
|-
:0x'''08''' 00 - unknown, something to do with sound
| BGCOLOR="#FFFFC8" | B8 1F 00 00
:0x'''F6 FF''' - unknown, something to do with sound }}
| 8120
{{OBDtr| 0x0C | float    |C8FFFF| 75 E1 CB C3 | -407.761383| x-position of the turret }}
| ALIGN=LEFT | old file ID
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 94 42 | 74.000000 | y-position (height) of the turret }}
|-
{{OBDtr| 0x14 | float    |C8FFFF| B0 15 33 43 | 179.084717 | z-position of the turret }}
| BGCOLOR="#C8FFC8" | 09 00 00 00
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the x-axis in degrees }}
| 9
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 34 43 | 180.000000 | rotation on the y-axis in degrees }}
| ALIGN=LEFT | unknown
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the z-axis in degrees }}
|-
{{OBDtr2| 0x24 | char[63] |FFC800|            "phr_turret_wall"| link by name to global turret class (phr_turret_wall. [[OBD:TURR|TURR]]) }}
| BGCOLOR="#C8FFFF" | 75 E1 CB C3
{{OBDtr| 0x63 | int16    |C800C8| 01 00       | 1         | turret ID }}
| -407.761383
{{OBDtr| 0x65 | int16    |C87C64| 00 00       | 0         | flags; possible values:
| ALIGN=LEFT | x-position of the turret
:0x'''02''' 00 - unknown }}
|-
{{OBDtr| 0x67 |         |B0C3D4|             |           | ignored }}
| BGCOLOR="#C8FFFF" | 00 00 94 42
{{OBDtr| 0x8B | int32    |FFDDDD| 01 00 00 00 | Konoko    | target team bitset:
| 74.000000
| ALIGN=LEFT | y-position (height) of the turret
|-
| BGCOLOR="#C8FFFF" | B0 15 33 43
| 179.084717
| ALIGN=LEFT | z-position of the turret
|-
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the x-axis in degrees
|-
| BGCOLOR="#FFC8FF" | 00 00 34 43
| 180.000000
| ALIGN=LEFT | rotation on the y-axis in degrees
|-
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the z-axis in degrees
|-
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>phr_turret_wall</TT>
| ALIGN=LEFT | link by name to global turret class (phr_turret_wall.[[OBD:TURR|TURR]])
|-
| BGCOLOR="#C800C8" | 01 00
| 1
| ALIGN=LEFT | turret ID
|-
| BGCOLOR="#C87C64" | 00 00
| 0
| ALIGN=LEFT | unknown
|-
| BGCOLOR="#B0C3D4" COLSPAN=2 | not used
| ALIGN=LEFT | unknown; maybe space for notes
|-
| BGCOLOR="#E7CEA5" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|-
| BGCOLOR="#FFDDDD" | 01 00 00 00
| 1
| ALIGN=LEFT | target team bitset (see below)
|-
| BGCOLOR="#64AAAA" | 00
| 1
| ALIGN=LEFT | unknown; always zero; maybe only a filler
|}
|}
;Target team bitset
:1 - Konoko
:1 - Konoko
:2 - TCTF
:2 - TCTF
Line 88: Line 38:
:32 - RogueKonoko
:32 - RogueKonoko
:64 - Switzerland
:64 - Switzerland
:128 - SyndicateAccessory
:128 - SyndicateAccessory }}
{{OBDtr| 0x8F |          |64AAAA| 00          |            | padding }}
|}
 
 
'''Tool Mode dialog'''
 
[[Image:Tool dialog - Turret Properties.png]]
 


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


----
{{OBD}}
----
{{OBD TXT|align=center|size=4|onistuff=bina_turrets}}
----
----
{{OBD OBJC Footer|align=center|type=TURR|prev=TRIG|next=WEAP|name=Turret}}