|
|
| (14 intermediate revisions by 4 users not shown) |
| 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 | stuff=b_ne}} |
| ----
| | |
| | |
| ---- | | ---- |
| | [[Image:bin_r_ne.gif]] |
| | |
| | |
| | {{Table}} |
| | {{OBDth}} |
| | {{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} |
| | {{OBDtr| 0x04 | int32 |FFFF00| 18 31 00 00 | 12568 | size of the complete neutral part from this position in bytes }} |
| | {{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | object list version }} |
| | {{OBDtr| 0x0C | int32 |00FFFF| 50 01 00 00 | 336 | size of the following object in bytes }} |
| | {{OBDtrBK|First object (grey outline}} |
| | {{OBDtr| 0x00 | char[4] |FFC8C8| 54 55 45 4E | NEUT | neutral }} |
| | {{OBDtr| 0x04 | int32 |FFFFC8| 3D 07 00 00 | 1853 | old file ID }} |
| | {{OBDtr| 0x08 | int32 |C8FFC8| 00 00 00 00 | 0 | unknown }} |
| | {{OBDtr| 0x0C | float |C8FFFF| 84 69 12 43 | 146.412170 | x-position of the handle }} |
| | {{OBDtr| 0x10 | float |C8FFFF| 3F 48 43 C2 | -48.820552 | y-position of the handle }} |
| | {{OBDtr| 0x14 | float |C8FFFF| AE 71 80 44 | 1027.552490| z-position of the handle }} |
| | {{OBDtr| 0x18 | float |FFC8FF| 00 00 00 00 | 0.000000 | x-rotation of the handle in degrees }} |
| | {{OBDtr| 0x1C | float |FFC8FF| 00 00 00 00 | 0.000000 | y-rotation of the handle in degrees }} |
| | {{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | z-rotation of the handle in degrees }} |
| | {{OBDtr2|0x24 | char[32] |FFC800| Give VDG Pistol ... | name }} |
| | {{OBDtr| 0x44 | int16 |C800C8| 02 00 | 2 | neutral ID }} |
| | {{OBDtr| 0x46 | int16 |C87C64| 02 00 | 2 | amount of dialogue lines in array (grey outline) }} |
| | {{OBDtr| 0x48 | bool1[32]|B0C3D4| 02 00 00 00 | 2 | interrupt flags: |
| | :0x01 - no resume |
| | :0x02 - no resume after give |
| | :0x04 - uninterruptible |
| | }} |
| | {{OBDtr| 0x4C | float |FFDDDD| 00 00 C8 42 | 100.000000 | trigger range }} |
| | {{OBDtr| 0x50 | float |FFDDDD| 00 00 20 42 | 40.000000 | talk range }} |
| | {{OBDtr| 0x54 | float |FFDDDD| 00 00 48 43 | 200.000000 | follow range }} |
| | {{OBDtr| 0x58 | float |FFDDDD| 00 00 8C 42 | 70.000000 | enemy range }} |
| | {{OBDtr2|0x5C | char[32] |64AAAA| civfem_trigger | trigger speech (name of global civfem_trigger.[[OBD:OSBD/OSAm|amb.OSBD]]) }} |
| | {{OBDtr2|0x7C | char[32] |EBEBEB| civfem_abort | abort speech (name of global civfem_abort.[[OBD:OSBD/OSAm|amb.OSBD]]) }} |
| | {{OBDtr2|0x9C | char[32] |8C8CCC| civfem_enemy | enemy speech (name of global civfem_enemy.[[OBD:OSBD/OSAm|amb.OSBD]]) }} |
| | {{OBDtr2|0xBC | char[32] |FF00C8| unused | script action to be performed after the talk }} |
| | {{OBDtr2|0xDC | char[32] |F0F096| w6_vdg | name of global w6_vdg.[[ONWC]] (weapon) received by the player }} |
| | {{OBDtr| 0xFC | int8 |00C864| 00 | 0 | amount of ballistic ammo received by the player }} |
| | {{OBDtr| 0xFD | int8 |00C864| 00 | 0 | amount of energy cells received by the player }} |
| | {{OBDtr| 0xFE | int8 |00C864| 00 | 0 | amount of hypo sprays received by the player }} |
| | {{OBDtr| 0xFF | bool1[8] |00C864| 00 | 0 | item or items received by the player (flags): |
| | :0x01 - force shield ON/OFF |
| | :0x02 - phase cloak ON/OFF |
| | :0x04 - [[LSI]] (level specific item) ON/OFF |
| | }} |
| | {{OBDtrBK|First dialogue line (grey outline)}} |
| | {{OBDtr| 0x00 | int16 |00C8FF| 00 00 | 0 | animation flags: |
| | :0x01 - is player ON/OFF |
| | :0x02 - give items ON/OFF |
| | :0x04 - anim once ON/OFF |
| | :0x08 - other anim once ON/OFF |
| | }} |
| | {{OBDtr| 0x02 | int16 |00C8FF| 00 00 | 0 | ignored }} |
| | {{OBDtr| 0x04 | int16 |C80040| 00 00 | 0 | anim type; the following occur in original NEUT: |
| | :000 - None |
| | :200 - Act_No |
| | :201 - Act_Yes |
| | :202 - Act_Talk |
| | :203 - Act_Shrug |
| | :204 - Act_Shout |
| | }} |
| | {{OBDtr| 0x06 | int16 |C80040| 00 00 | 0 | "other anim"? }} |
| | {{OBDtr2|0x08 | char[32] |FFCD96| civfem_gift_weapon | speech (reference to global civfem_gift_weapon.[[OBD:OSBD/OSAm|amb.OSBD]]) }} |
| | |} |
| | |
| | |
| | ;Is player |
| | :Plays the specified anim type on the player rather than on the NPC. Same for "other anim"? |
| | ;Anim type |
| | :Any non-ambiguous anim type compatible with the Standing anim state should be valid. |
| | |
| | |
| | ;Tool Mode dialog |
|
| |
|
| http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_ne.gif
| | [[Image:Tool dialog - Edit Neutral Behavior.png]] |
|
| |
|
|
| |
|
| {| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
| |
| |- ALIGN=CENTER BGCOLOR="#FFDDBB"
| |
| | WIDTH=15% | <B>Hex</B>
| |
| | WIDTH=15% | <B>Translation</B>
| |
| | WIDTH=70% | <B>Meaning</B>
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FF0000" | 43 4A 42 4F
| |
| | OBJC
| |
| | ALIGN=LEFT | object
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFFF00" | 18 31 00 00
| |
| | 12568
| |
| | ALIGN=LEFT | 12568 bytes is the length of the following neutral part from this position
| |
| |- ALIGN=CENTER VALIGN=TOP 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
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#00FFFF" | 50 01 00 00
| |
| | 336
| |
| | ALIGN=LEFT | 336 bytes (21 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>
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8C8" | 54 55 45 4E
| |
| | NEUT
| |
| | ALIGN=LEFT | neutral
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFFFC8" | 3D 07 00 00
| |
| | 1853
| |
| | ALIGN=LEFT | old file ID
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C8FFC8" | 00 00 00 00
| |
| | 0
| |
| | ALIGN=LEFT | unknown
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C8FFFF" | 84 69 12 43
| |
| | 146.412170
| |
| | ALIGN=LEFT | x-position of the neutral character
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C8FFFF" | 3F 48 43 C2
| |
| | -48.820552
| |
| | ALIGN=LEFT | y-position (height) of the neutral character
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C8FFFF" | AE 71 80 44
| |
| | 1027.552490
| |
| | ALIGN=LEFT | z-position of the neutral character
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8FF" | 00 00 00 00
| |
| | 0.000000
| |
| | ALIGN=LEFT | rotation on the x-axis in degrees
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8FF" | 00 00 00 00
| |
| | 0.000000
| |
| | ALIGN=LEFT | rotation on the y-axis in degrees
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8FF" | 00 00 00 00
| |
| | 0.000000
| |
| | ALIGN=LEFT | rotation on the z-axis in degrees
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC800" COLSPAN=2 | <TT>Give VDG Pistol ...</TT>
| |
| | ALIGN=LEFT | space for notes
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C800C8" | 02 00
| |
| | 2
| |
| | ALIGN=LEFT | neutral ID
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#C87C64" | 02 00
| |
| | 2
| |
| | ALIGN=LEFT | 2 blocks follow (one block is edged in grey)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#B0C3D4" | 02 00 00 00
| |
| | 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
| |
| | 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}} | | {{OBD OBJC Footer | type=NEUT | prev=MELE | next=PART | name=Neutral behavior | family=Level}} |
| | |
| | {{OBD}} |