Jump to content

OBD:BINA/OBJC/NEUT: Difference between revisions

m
experimenting
m (design)
m (experimenting)
Line 1: Line 1:
{{OBD OBJC Header | align=center | type=NEUT | prev=MELE | next=PART | name=Neutral behavior}}
;[[OBD:BINA/OBJC/MELE|MELE]] << Neutral behavior >> [[OBD:BINA/OBJC/PART|PART]]




----
[[image:bin_r_ne.gif]]
[[image:bin_r_ne.gif]]


Line 10: Line 11:
{{OBDtr| 0x04 | int32    |FFFF00| 18 31 00 00 | 12568      | size of the complete combat part from this postion in bytes }}
{{OBDtr| 0x04 | int32    |FFFF00| 18 31 00 00 | 12568      | size of the complete combat part from this postion in bytes }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | unknown; do not change it }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | unknown; do not change it }}
{{OBDtr| 0x0C | int32    |00FFFF| 50 01 00 00 | 336        | size of the following element in bytes }}
{{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 neutral character }}
{{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 (height) of the neutral character }}
{{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 neutral character }}
{{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 on the x-axis in degrees }}
{{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 on the y-axis 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  | rotation on the z-axis 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 ...      | space for notes  }}
{{OBDtr2|0x24 | char[32] |FFC800| Give VDG Pistol ...      | space for notes  }}
{{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 elements in array (grey outline) }}
{{OBDtr| 0x46 | int16    |C87C64| 02 00       | 2          | amount of dialogue lines in array (grey outline) }}
{{OBDtr| 0x48 | bitset32 |B0C3D4| 02 00 00 00 | 2          | interrupt option; the following bits are possible:
{{OBDtr| 0x48 | bool1[32]|B0C3D4| 02 00 00 00 | 2          | interrupt flags:




:0 - nothing
:0x01 - no resume
:1 - no resume
:0x02 - no resume after give
:2 - no resume after give
:0x04 - uninterruptible
:4 - uninterruptable




Line 38: Line 38:
{{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 (reference to 07942-civfem_trigger.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
{{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 (reference to 07930-civfem_abort.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
{{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 (reference to 07932-civfem_enemy.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
{{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                  | name of the function, which is called up after the talk }}
{{OBDtr2|0xBC | char[32] |FF00C8| unused                  | script action to be performed after the talk }}
{{OBDtr2|0xDC | char[32] |F0F096| w6_vdg                  | name of the weapon, which the character gives to the player }}
{{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 (red clips), which the character gives to 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 (green clips), which the character gives to the player }}
{{OBDtr| 0xFD | int8    |00C864| 00          | 0          | amount of energy cells received by the player }}
{{OBDtr| 0xFE | int8    |00C864| 00          | 0          | amount of hypos, which the character gives to the player }}
{{OBDtr| 0xFE | int8    |00C864| 00          | 0          | amount of hypo sprays received by the player }}
{{OBDtr| 0xFF | bitset  |00C864| 00          | 0          | item, which the character gives to the player; the following bits are possible:
{{OBDtr| 0xFF | bool1[8] |00C864| 00          | 0          | item or items received by the player (flags):




:0 - nothing
:0x01 - force shield ON/OFF
:1 - force shield
:0x02 - phase cloak ON/OFF
:2 - phase cloak
:0x04 - LSI (level specific item) ON/OFF
:4 - LSI (level specific item)




}}
}}
{{OBDtrBK|1=First element (grey outline)}}
{{OBDtrBK|First dialogue line (grey outline)}}
{{OBDtr| 0x44 | bitset32 |00C8FF| 00 00 00 00 | 0          | animation option; the following bits are possible:
{{OBDtr| 0x44 | bool1[32]|00C8FF| 00 00 00 00 | 0          | animation flags:




:0 - nothing
:0x01 - is player ON/OFF
:1 - animation to player
:0x02 - give items ON/OFF
:2 - give item
:0x04 - anim once ON/OFF
:4 - animation once
:0x08 - other anim once ON/OFF
 


}}
}}
{{OBDtr| 0x44 | int32    |C80040| 00 00 00 00 | 0          | animation type; the following types are possible (values in dec):
{{OBDtr| 0x44 | int32    |C80040| 00 00 00 00 | 0          | anim type; the following occur in original NEUT:




:000 - nothing
:000 - None
:200 - no
:200 - Act_No
:201 - yes
:201 - Act_Yes
:202 - talk
:202 - Act_Talk
:203 - shrug
:203 - Act_Shrug
:204 - shout
:204 - Act_Shout




}}
}}
{{OBDtr2|0x44 | char[32] |FFCD96| civfem_gift_weapon      | speech (reference to 07940-civfem_gift_weapon.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }}
{{OBDtr2|0x44 | 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.
;Other anim
:Could it be that "anim type" is in fact an int16, the other half being the "other anim"? [[User:Geyser|geyser]]




Line 90: Line 94:




----
----
<!--
{{OBD OBJC Footer | type=NEUT | prev=MELE | next=PART | name=Neutral behavior}}
{{OBD OBJC Footer | type=NEUT | prev=MELE | next=PART | name=Neutral behavior}}
-->
{{OBD OBJC Header | align=center | type=NEUT | prev=MELE | next=PART | name=Neutral behavior}}