OBD:BINA/OBJC/NEUT: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
m (LEARN, SSG :)))
m (design)
Line 1: Line 1:
{{OBD OBJC Header|align=center|type=NEUT|prev=MELE|next=PART|name=Neutral behavior|onistuff=b_ne}}
{{OBD OBJC Header | align=center | type=NEUT | prev=MELE | next=PART | name=Neutral behavior}}
----
----


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_ne.gif


[[image:bin_r_ne.gif]]


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
 
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{Table}}
| WIDTH=15% | <B>Hex</B>
{{OBDth}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC       | object collection }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x04 | int32    |FFFF00| 18 31 00 00 | 12568     | size of the complete combat part from this postion in bytes }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39         | unknown; do not change it }}
| BGCOLOR="#FF0000" | 43 4A 42 4F
{{OBDtr| 0x0C | int32    |00FFFF| 50 01 00 00 | 336       | size of the following element in bytes }}
| OBJC
{{OBDtrBK}}
| ALIGN=LEFT | object
{{OBDtr| 0x00 | char[4]  |FFC8C8| 54 55 45 4E | NEUT       | neutral }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x04 | int32    |FFFFC8| 3D 07 00 00 | 1853       | old file ID }}
| BGCOLOR="#FFFF00" | 18 31 00 00
{{OBDtr| 0x08 | int32    |C8FFC8| 00 00 00 00 | 0         | unknown }}
| 12568
{{OBDtr| 0x0C | float    |C8FFFF| 84 69 12 43 | 146.412170 | x-position of the neutral character }}
| ALIGN=LEFT | 12568 bytes is the length of the following neutral part from this position
{{OBDtr| 0x10 | float    |C8FFFF| 3F 48 43 C2 | -48.820552 | y-position (height) of the neutral character }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x14 | float    |C8FFFF| AE 71 80 44 | 1027.552490| z-position of the neutral character }}
| BGCOLOR="#00FF00" | 27 00 00 00
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the x-axis in degrees }}
| 39
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the y-axis in degrees }}
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the z-axis in degrees }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr2|0x24 | char[32] |FFC800| Give VDG Pistol ...     | space for notes }}
| BGCOLOR="#00FFFF" | 50 01 00 00
{{OBDtr| 0x44 | int16    |C800C8| 02 00       | 2         | neutral ID }}
| 336
{{OBDtr| 0x46 | int16    |C87C64| 02 00       | 2         | amount of elements in array (grey outline) }}
| ALIGN=LEFT | 336 bytes (21 lines) is the lenght of the following package (area edged in black)
{{OBDtr| 0x48 | bitset32 |B0C3D4| 02 00 00 00 | 2         | interrupt option; the following bits are possible:
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
 
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:0 - nothing
| BGCOLOR="#FFC8C8" | 54 55 45 4E
:1 - no resume
| NEUT
:2 - no resume after give
| ALIGN=LEFT | neutral
:4 - uninterruptable
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
 
| BGCOLOR="#FFFFC8" | 3D 07 00 00
 
| 1853
}}
| ALIGN=LEFT | old file ID
{{OBDtr| 0x4C | float    |FFDDDD| 00 00 C8 42 | 100.000000 | trigger range }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x50 | float    |FFDDDD| 00 00 20 42 | 40.000000 | talk range }}
| BGCOLOR="#C8FFC8" | 00 00 00 00
{{OBDtr| 0x54 | float    |FFDDDD| 00 00 48 43 | 200.000000 | follow range }}
| 0
{{OBDtr| 0x58 | float    |FFDDDD| 00 00 8C 42 | 70.000000 | enemy range }}
| ALIGN=LEFT | unknown
{{OBDtr2|0x5C | char[32] |64AAAA| civfem_trigger           | trigger speech (reference to 07942-civfem_trigger.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr2|0x7C | char[32] |EBEBEB| civfem_abort             | abort speech (reference to 07930-civfem_abort.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
| BGCOLOR="#C8FFFF" | 84 69 12 43
{{OBDtr2|0x9C | char[32] |8C8CCC| civfem_enemy             | enemy speech (reference to 07932-civfem_enemy.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
| 146.412170
{{OBDtr2|0xBC | char[32] |FF00C8| unused                  | name of the function, which is called up after the talk }}
| ALIGN=LEFT | x-position of the neutral character
{{OBDtr2|0xDC | char[32] |F0F096| w6_vdg                   | name of the weapon, which the character gives to the player }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0xFC | int8    |00C864| 00         | 0         | amount of ammo (red clips), which the character gives to the player }}
| BGCOLOR="#C8FFFF" | 3F 48 43 C2
{{OBDtr| 0xFD | int8    |00C864| 00         | 0         | amount of energy cells (green clips), which the character gives to the player }}
| -48.820552
{{OBDtr| 0xFE | int8    |00C864| 00         | 0         | amount of hypos, which the character gives to the player }}
| ALIGN=LEFT | y-position (height) of the neutral character
{{OBDtr| 0xFF | bitset  |00C864| 00         | 0         | item, which the character gives to the player; the following bits are possible:
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
 
| BGCOLOR="#C8FFFF" | AE 71 80 44
 
| 1027.552490
:0 - nothing
| ALIGN=LEFT | z-position of the neutral character
:1 - force shield
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:2 - phase cloak
| BGCOLOR="#FFC8FF" | 00 00 00 00
:4 - LSI (level specific item)
| 0.000000
 
| ALIGN=LEFT | rotation on the x-axis in degrees
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
}}
| BGCOLOR="#FFC8FF" | 00 00 00 00
{{OBDtrBK|1=First element (grey outline)}}
| 0.000000
{{OBDtr| 0x44 | bitset32 |00C8FF| 00 00 00 00 | 0         | animation option; the following bits are possible:
| ALIGN=LEFT | rotation on the y-axis in degrees
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
 
| BGCOLOR="#FFC8FF" | 00 00 00 00
:0 - nothing
| 0.000000
:1 - animation to player
| ALIGN=LEFT | rotation on the z-axis in degrees
:2 - give item
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:4 - animation once
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>Give VDG Pistol ...</TT>
 
| ALIGN=LEFT | space for notes
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
}}
| BGCOLOR="#C800C8" | 02 00
{{OBDtr| 0x44 | int32    |C80040| 00 00 00 00 | 0         | animation type; the following types are possible (values in dec):
| 2
 
| ALIGN=LEFT | neutral ID
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:000 - nothing
| BGCOLOR="#C87C64" | 02 00
:200 - no
| 2
:201 - yes
| ALIGN=LEFT | 2 blocks follow (one block is edged in grey)
:202 - talk
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:203 - shrug
| BGCOLOR="#B0C3D4" | 02 00 00 00
:204 - shout
| 2
 
| ALIGN=LEFT | interrupt option; it's a bitset; the following options are possible (values in dec):<BR><BR>0 - nothing<BR>1 - no resume<BR>2 - no resume after give<BR>4 - uninterruptable<BR><BR>
 
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
}}
| BGCOLOR="#FFDDDD" | 00 00 C8 42
{{OBDtr2|0x44 | char[32] |FFCD96| civfem_gift_weapon       | speech (reference to 07940-civfem_gift_weapon.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
| 100.000000
| ALIGN=LEFT | trigger range
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00 20 42
| 40.000000
| ALIGN=LEFT | talk range
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00 48 43
| 200.000000
| ALIGN=LEFT | follow range
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00 8C 42
| 70.000000
| ALIGN=LEFT | enemy range
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" COLSPAN=2 | <TT>civfem_trigger</TT>
| ALIGN=LEFT | trigger speech<BR>(07942-civfem_trigger.amb.[[OBD:OSBD|OSBD]] of level 0)<BR>(07943-civfem_trigger.grp.[[OBD:OSBD|OSBD]] of level 0)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" COLSPAN=2 | <TT>civfem_abort</TT>
| ALIGN=LEFT | abort speech<BR>(07930-civfem_abort.amb.[[OBD:OSBD|OSBD]] of level 0)<BR>(07931-civfem_abort.grp.[[OBD:OSBD|OSBD]] of level 0)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" COLSPAN=2 | <TT>civfem_enemy</TT>
| ALIGN=LEFT | enemy speech<BR>(07932-civfem_enemy.amb.[[OBD:OSBD|OSBD]] of level 0)<BR>(07933-civfem_enemy.grp.[[OBD:OSBD|OSBD]] of level 0)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00C8" COLSPAN=2 | not used
| ALIGN=LEFT | name of the function, which is called up after a talk
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#F0F096" COLSPAN=2 | <TT>w6_vdg</TT>
| ALIGN=LEFT | name of the weapon, which the character gives to the player
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C864" | 00
| 0
| ALIGN=LEFT | amount of ammo (red clips), which the character gives to the player
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C864" | 00
| 0
| ALIGN=LEFT | amount of energy cells (green clips), which the character gives to the player
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C864" | 00
| 0
| ALIGN=LEFT | amount of hypos, which the character gives to the player
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C864" | 00
| 0
| ALIGN=LEFT | item, which the character gives to the player; it's a bitset; the following items are possible (values in dec):<BR><BR>0 - nothing<BR>1 - force shield<BR>2 - phase cloak<BR>4 - LSI<BR><BR>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#808080"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first block. It's a part of the package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C8FF" | 00 00 00 00
| 0
| ALIGN=LEFT | animation option; it's a bitset, the following options are possible (values in dec):<BR><BR>0 - nothing<BR>1 - animation to player<BR>2 - give item<BR>4 - animation once<BR><BR>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 00 00 00 00
| 0
| ALIGN=LEFT | animation type; it's a bitset, the following animations are possible (values in dec):<BR><BR><FONT COLOR="#FFEEDD">00</FONT>0 - none<BR>200 - no<BR>201 - yes<BR>202 - talk<BR>203 - shrug<BR>204 - shout<BR><BR>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFCD96" COLSPAN=2 | <TT>civfem_gift_weapon</TT>
| ALIGN=LEFT | speech<BR>(07940-civfem_gift_weapon.amb.[[OBD:OSBD|OSBD]] of level 0)<BR>(07941-civfem_gift_weapon.grp.[[OBD:OSBD|OSBD]] of level 0)
|}
|}
----
 
----
 
{{OBD OBJC Footer|align=center|type=NEUT|prev=MELE|next=PART|name=Neutral behavior|onistuff=b_ne}}
;Bluebox screenshot
 
http://ssg.oni2.net/subfold/bluebox/images/309_edit_neutral_behavior.jpg
 
Abbrechen = Cancel
 
 
{{OBD OBJC Footer | type=NEUT | prev=MELE | next=PART | name=Neutral behavior}}

Revision as of 09:28, 25 September 2007

ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
MELE << Other OBJC >> PART
NEUT : Neutral behavior
XML tutorial
Overview @ Oni Stuff
OBD.png


Bin r ne.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC object collection
0x04 int32 18 31 00 00 12568 size of the complete combat part from this postion in bytes
0x08 int32 27 00 00 00 39 unknown; do not change it
0x0C int32 50 01 00 00 336 size of the following element in bytes
First element (black outline)
0x00 char[4] 54 55 45 4E NEUT neutral
0x04 int32 3D 07 00 00 1853 old file ID
0x08 int32 00 00 00 00 0 unknown
0x0C float 84 69 12 43 146.412170 x-position of the neutral character
0x10 float 3F 48 43 C2 -48.820552 y-position (height) of the neutral character
0x14 float AE 71 80 44 1027.552490 z-position of the neutral character
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[32] Give VDG Pistol ... space for notes
0x44 int16 02 00 2 neutral ID
0x46 int16 02 00 2 amount of elements in array (grey outline)
0x48 bitset32 02 00 00 00 2 interrupt option; the following bits are possible:


0 - nothing
1 - no resume
2 - no resume after give
4 - uninterruptable


0x4C float 00 00 C8 42 100.000000 trigger range
0x50 float 00 00 20 42 40.000000 talk range
0x54 float 00 00 48 43 200.000000 follow range
0x58 float 00 00 8C 42 70.000000 enemy range
0x5C char[32] civfem_trigger trigger speech (reference to 07942-civfem_trigger.amb.OSBD of level 0)
0x7C char[32] civfem_abort abort speech (reference to 07930-civfem_abort.amb.OSBD of level 0)
0x9C char[32] civfem_enemy enemy speech (reference to 07932-civfem_enemy.amb.OSBD of level 0)
0xBC char[32] unused name of the function, which is called up after the talk
0xDC char[32] w6_vdg name of the weapon, which the character gives to the player
0xFC int8 00 0 amount of ammo (red clips), which the character gives to the player
0xFD int8 00 0 amount of energy cells (green clips), which the character gives to the player
0xFE int8 00 0 amount of hypos, which the character gives to the player
0xFF bitset 00 0 item, which the character gives to the player; the following bits are possible:


0 - nothing
1 - force shield
2 - phase cloak
4 - LSI (level specific item)


First element (grey outline)
0x44 bitset32 00 00 00 00 0 animation option; the following bits are possible:


0 - nothing
1 - animation to player
2 - give item
4 - animation once


0x44 int32 00 00 00 00 0 animation type; the following types are possible (values in dec):


000 - nothing
200 - no
201 - yes
202 - talk
203 - shrug
204 - shout


0x44 char[32] civfem_gift_weapon speech (reference to 07940-civfem_gift_weapon.amb.OSBD of level 0)


Bluebox screenshot

309_edit_neutral_behavior.jpg

Abbrechen = Cancel


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
MELE << Other OBJC >> PART
NEUT : Neutral behavior
[[OBD:File types/{{{family}}}|{{{family}}} file]]