OBD:BINA/OBJC/TURR: Difference between revisions

m
added family to footer template call
No edit summary
 
m (added family to footer template call)
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> [[OBD:BINA|BINA]] >> Turret.BINA
:''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 | stuff=b_tu}}




<CENTER>[[OBD:BINA/Trigger|<==]] <FONT SIZE=5>Turret.BINA</FONT> [[OBD:BINA/Weapon|==>]]</CENTER>
[[Image:Bin_r_tu.gif]]




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_tu.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | objects }}
{{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 list version }}
{{OBDtr| 0x0C | int32    |00FFFF| 90 00 00 00 | 144        | size of the following element in bytes }}
{{OBDtrBK}}
{{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| 0x08 |          |C8FFC8| 09 00 00 00 | 0x09      | object flags (set at runtime); used values:
: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
: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| 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 }}
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000  | rotation on the x-axis in degrees }}
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 34 43 | 180.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 }}
{{OBDtr2| 0x24 | char[63] |FFC800|            "phr_turret_wall"| link by name to global turret class (phr_turret_wall. [[OBD:TURR|TURR]]) }}
{{OBDtr| 0x63 | int16    |C800C8| 01 00      | 1          | turret ID }}
{{OBDtr| 0x65 | int16    |C87C64| 00 00      | 0          | flags; possible values:
:0x'''02''' 00 - unknown }}
{{OBDtr| 0x67 |          |B0C3D4|            |            | ignored }}
{{OBDtr| 0x8B | int32    |FFDDDD| 01 00 00 00 | Konoko    | target team bitset:
:1 - Konoko
:2 - TCTF
:4 - Syndicate
:8 - Neutral
:16 - SecurityGuard
:32 - RogueKonoko
:64 - Switzerland
:128 - SyndicateAccessory }}
{{OBDtr| 0x8F |          |64AAAA| 00          |            | padding }}
|}




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
'''Tool Mode dialog'''
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
| WIDTH=15% | <B>Hex</B>
| WIDTH=15% | <B>Translation</B>
| WIDTH=70% | <B>Meaning</B>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 43 4A 42 4F
| OBJC
| ALIGN=LEFT | object
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 14 04 00 00
| 1044
| ALIGN=LEFT | 1044 bytes is the length of the following turret part from this position
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 27 00 00 00
| 39
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 90 00 00 00
| 144
| ALIGN=LEFT | 144 bytes (9 lines) is the lenght of the following package (area edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 52 52 55 54
| TURR
| ALIGN=LEFT | turret
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | B8 1F 00 00
| 8120
| ALIGN=LEFT | old file ID
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 09 00 00 00
| 9
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 75 E1 CB C3
| -407.761383
| ALIGN=LEFT | x-position of the turret
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 94 42
| 74.000000
| ALIGN=LEFT | y-position (height) of the turret
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | B0 15 33 43
| 179.084717
| ALIGN=LEFT | z-position of the turret
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the x-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 34 43
| 180.000000
| ALIGN=LEFT | rotation on the y-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the z-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>phr_turret_wall</TT>
| ALIGN=LEFT | name of the turret type (00568-phr_turret_wall.[[OBD:TURR|TURR]] of level 0)
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | 01 00
| 1
| ALIGN=LEFT | turret ID
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 00 00
| 0
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" COLSPAN=2 | not used
| ALIGN=LEFT | unknown; maybe space for notes
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown; always zero
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 01 00 00 00
| 1
| ALIGN=LEFT | target team, it's a bitset; the following teams are possible (values in dec):<BR><BR>
{| BORDER=0 CELLPADDING=0 CELLSPACING=0
|- VALIGN=TOP
| ALIGN=RIGHT | 0 -&nbsp;
| no team
|- VALIGN=TOP
| ALIGN=RIGHT | 1 -&nbsp;
| Konoko
|- VALIGN=TOP
| ALIGN=RIGHT | 2 -&nbsp;
| TCTF
|- VALIGN=TOP
| ALIGN=RIGHT | 4 -&nbsp;
| Syndicate
|- VALIGN=TOP
| ALIGN=RIGHT | 8 -&nbsp;
| Neutral
|- VALIGN=TOP
| ALIGN=RIGHT | 16 -&nbsp;
| SecurityGuard
|- VALIGN=TOP
| ALIGN=RIGHT | 32 -&nbsp;
| RogueKonoko
|- VALIGN=TOP
| ALIGN=RIGHT | 64 -&nbsp;
| Switzerland
|- VALIGN=TOP
| ALIGN=RIGHT | 128 -&nbsp;
| SyndicateAccessory
|}<BR>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00
| 1
| ALIGN=LEFT | unknown; always zero; maybe only a filler
|}


[[Image:Tool dialog - Turret Properties.png]]


<CENTER>[[OBD:BINA/Trigger|<==]] <FONT SIZE=5>Turret.BINA</FONT> [[OBD:BINA/Weapon|==>]]</CENTER>


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


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> [[OBD:BINA|BINA]] >> Turret.BINA
{{OBD}}