OBD:BINA/OBJC/NEUT: Difference between revisions
Jump to navigation
Jump to search
m (design) |
m (added family to footer template call) |
||
(13 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}} | {{OBD OBJC Header | align=center | type=NEUT | prev=MELE | next=PART | name=Neutral behavior | stuff=b_ne}} | ||
[[ | ---- | ||
[[Image:bin_r_ne.gif]] | |||
{{Table}} | {{Table}} | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | | {{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | ||
{{OBDtr| 0x04 | int32 |FFFF00| 18 31 00 00 | 12568 | size of the complete | {{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 | | {{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 | {{OBDtr| 0x0C | int32 |00FFFF| 50 01 00 00 | 336 | size of the following object in bytes }} | ||
{{OBDtrBK}} | {{OBDtrBK|First object (grey outline}} | ||
{{OBDtr| 0x00 | char[4] |FFC8C8| 54 55 45 4E | NEUT | neutral }} | {{OBDtr| 0x00 | char[4] |FFC8C8| 54 55 45 4E | NEUT | neutral }} | ||
{{OBDtr| 0x04 | int32 |FFFFC8| 3D 07 00 00 | 1853 | old file ID }} | {{OBDtr| 0x04 | int32 |FFFFC8| 3D 07 00 00 | 1853 | old file ID }} | ||
{{OBDtr| 0x08 | int32 |C8FFC8| 00 00 00 00 | 0 | unknown }} | {{OBDtr| 0x08 | int32 |C8FFC8| 00 00 00 00 | 0 | unknown }} | ||
{{OBDtr| 0x0C | float |C8FFFF| 84 69 12 43 | 146.412170 | x-position of the | {{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 | {{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 | {{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 | rotation | {{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 | rotation | {{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 | rotation | {{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 ... | | {{OBDtr2|0x24 | char[32] |FFC800| Give VDG Pistol ... | name }} | ||
{{OBDtr| 0x44 | int16 |C800C8| 02 00 | 2 | neutral ID }} | {{OBDtr| 0x44 | int16 |C800C8| 02 00 | 2 | neutral ID }} | ||
{{OBDtr| 0x46 | int16 |C87C64| 02 00 | 2 | amount of | {{OBDtr| 0x46 | int16 |C87C64| 02 00 | 2 | amount of dialogue lines in array (grey outline) }} | ||
{{OBDtr| 0x48 | | {{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| 0x4C | float |FFDDDD| 00 00 C8 42 | 100.000000 | trigger range }} | ||
Line 38: | Line 34: | ||
{{OBDtr| 0x54 | float |FFDDDD| 00 00 48 43 | 200.000000 | follow 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 }} | {{OBDtr| 0x58 | float |FFDDDD| 00 00 8C 42 | 70.000000 | enemy range }} | ||
{{OBDtr2|0x5C | char[32] |64AAAA| civfem_trigger | trigger speech ( | {{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 ( | {{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 ( | {{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 | | {{OBDtr2|0xBC | char[32] |FF00C8| unused | script action to be performed after the talk }} | ||
{{OBDtr2|0xDC | char[32] |F0F096| w6_vdg | name of | {{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 ammo | {{OBDtr| 0xFC | int8 |00C864| 00 | 0 | amount of ballistic ammo received by the player }} | ||
{{OBDtr| 0xFD | int8 |00C864| 00 | 0 | amount of energy cells | {{OBDtr| 0xFD | int8 |00C864| 00 | 0 | amount of energy cells received by the player }} | ||
{{OBDtr| 0xFE | int8 |00C864| 00 | 0 | amount of | {{OBDtr| 0xFE | int8 |00C864| 00 | 0 | amount of hypo sprays received by the player }} | ||
{{OBDtr| 0xFF | | {{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| | {{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| | {{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 | ||
[[Image:Tool dialog - Edit Neutral Behavior.png]] | |||
---- | |||
---- | |||
{{OBD OBJC Footer | type=NEUT | prev=MELE | next=PART | name=Neutral behavior | family=Level}} | |||
{{OBD | {{OBD}} |
Latest revision as of 21:19, 9 December 2023
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | char[4] | 43 4A 42 4F | OBJC | objects |
0x04 | int32 | 18 31 00 00 | 12568 | size of the complete neutral part from this position in bytes |
0x08 | int32 | 27 00 00 00 | 39 | object list version |
0x0C | int32 | 50 01 00 00 | 336 | size of the following object in bytes |
First object (grey 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 handle |
0x10 | float | 3F 48 43 C2 | -48.820552 | y-position of the handle |
0x14 | float | AE 71 80 44 | 1027.552490 | z-position of the handle |
0x18 | float | 00 00 00 00 | 0.000000 | x-rotation of the handle in degrees |
0x1C | float | 00 00 00 00 | 0.000000 | y-rotation of the handle in degrees |
0x20 | float | 00 00 00 00 | 0.000000 | z-rotation of the handle in degrees |
0x24 | char[32] | Give VDG Pistol ... | name | |
0x44 | int16 | 02 00 | 2 | neutral ID |
0x46 | int16 | 02 00 | 2 | amount of dialogue lines in array (grey outline) |
0x48 | bool1[32] | 02 00 00 00 | 2 | interrupt flags:
|
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 (name of global civfem_trigger.amb.OSBD) | |
0x7C | char[32] | civfem_abort | abort speech (name of global civfem_abort.amb.OSBD) | |
0x9C | char[32] | civfem_enemy | enemy speech (name of global civfem_enemy.amb.OSBD) | |
0xBC | char[32] | unused | script action to be performed after the talk | |
0xDC | char[32] | w6_vdg | name of global w6_vdg.ONWC (weapon) received by the player | |
0xFC | int8 | 00 | 0 | amount of ballistic ammo received by the player |
0xFD | int8 | 00 | 0 | amount of energy cells received by the player |
0xFE | int8 | 00 | 0 | amount of hypo sprays received by the player |
0xFF | bool1[8] | 00 | 0 | item or items received by the player (flags):
|
First dialogue line (grey outline) | ||||
0x00 | int16 | 00 00 | 0 | animation flags:
|
0x02 | int16 | 00 00 | 0 | ignored |
0x04 | int16 | 00 00 | 0 | anim type; the following occur in original NEUT:
|
0x06 | int16 | 00 00 | 0 | "other anim"? |
0x08 | char[32] | civfem_gift_weapon | speech (reference to global civfem_gift_weapon.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
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
MELE << Other OBJC >> PART |
NEUT : Neutral behavior |
Level file |