OBD:BINA/ONIE: Difference between revisions

m
added family to footer template call
No edit summary
m (added family to footer template call)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{OBD BINA Header|align=center|prev=OBJC|type=ONIE|next=PAR3|name=Oni Impact Effects|onistuff=b_ie}}
{{OBD BINA Header|align=center|prev=OBJC|type=ONIE|next=PAR3|name=Oni Impact Effects|onistuff=b_ie}}
----
----
----
==General table==
[[Image:Bin_r_i1.gif]]


http://ssg.oni2.net/images/bin_r_i1.gif


{{Table}}
{{Table}}
Line 18: Line 20:
{{OBDtrBK|Impact table }}
{{OBDtrBK|Impact table }}
{{OBDtr| 0x00 | char[128] |FFC800| 44 65 66... | Default | impact name (Default.[[OBD:Impt|Impt]]) }}
{{OBDtr| 0x00 | char[128] |FFC800| 44 65 66... | Default | impact name (Default.[[OBD:Impt|Impt]]) }}
{{OBDtr| 0x80 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtr| 0x80 | int16    |FFC800| 00 00      | 0      | runtime only }}
{{OBDtr| 0x82 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtr| 0x82 | int16    |FFC800| 00 00      | 0      | runtime only }}
{{OBDtrBK|Material table }}
{{OBDtrBK|Material table }}
{{OBDtr| 0x00 | char[128] |FFC800| 44 65 66... | Default | material name (Default.[[OBD:Mtrl|Mtrl]]) }}
{{OBDtr| 0x00 | char[128] |FFC800| 44 65 66... | Default | material name (Default.[[OBD:Mtrl|Mtrl]]) }}
{{OBDtr| 0x80 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtr| 0x80 | int16    |FFC800| 00 00      | 0      | runtime only }}
{{OBDtr| 0x82 | int16    |FFC800| 00 00      | 0      | unknown }}
{{OBDtr| 0x82 | int16    |FFC800| 00 00      | 0      | runtime only }}
|}
|}


http://ssg.oni2.net/images/bin_r_i2.gif
 
----
==Impact lookup table==
 
This table has the same number of entries as the impact table.
 
[[Image:Bin_r_i2.gif]]
 


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Impact lookup table (same number of entries as the impact table) }}
{{OBDtr| 0x00 | int16 |FFC8C8| 00 00      | 0  | index into the impact table }}
{{OBDtr| 0x00 | int16 |FFC8C8| 00 00      | 0  | index into the impact table }}
{{OBDtr| 0x02 | int16 |FFFFC8| 00 00      | 0  | number of used entries in the material index table }}
{{OBDtr| 0x02 | int16 |FFFFC8| 00 00      | 0  | number of used entries in the material index table }}
Line 36: Line 44:
|}
|}


http://ssg.oni2.net/images/bin_r_i3.gif
 
----
==Particle table==
[[Image:Bin_r_i3.gif]]
 


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Particle table }}
{{OBDtr| 0x00 | char[64] |FFC8C8| 77 31 30... | w10_sni_x02| particle name (06193-3RAPw10_sni_x02.[[OBD:BINA/PAR3|BINA]]) }}
{{OBDtr| 0x00 | char[64] |FFC8C8| 77 31 30... | w10_sni_x02| particle name (06193-3RAPw10_sni_x02.[[OBD:BINA/PAR3|BINA]]) }}
{{OBDtr| 0x40 | int32    |FFFFC8| A8 67 7A 00 | 7A 67 A8  | old offset link }}
{{OBDtr| 0x40 | int32    |FFFFC8|             |           | runtime: pointer to particle class }}
{{OBDtr| 0x44 | int32    |C8FFC8| 00 00 00 00 | 0          | collistion type; the following values are possible:
{{OBDtr| 0x44 | int32    |C8FFC8| 00 00 00 00 | 0          | orientation type; the following values are possible:
:0 - ?any?
:0 - impact projectile orientation?
:1 - ?heavy?
:1 - impact projectile reversed orientation?
:2 - ?medium?
:2 - impact direction perpendicular?
:3 - ?light? }}
:3 - impact projectile velocity orientation?
{{OBDtr| 0x48 | int32    |C8FFFF| 05 00 00 00 | 5        | location type: the following values are possible:
}}
:0 - ?
{{OBDtr| 0x48 | int32    |C8FFFF| 05 00 00 00 | 5        | location type; the following values are possible:
:1 - ?
:0 - impact location
:3 - ?
:1 - impact location + impact direction * float value at 0x4C
:4 - ?
:4 - impact location; used for decals; at 0x4C there are 2 true/false bytes that control some decal parameters
:5 - ?
:5 - impact location and attach to character?
}}
}}
{{OBDtr| 0x4C |          |FFC8FF| 00 00 00 00 |          | unknown; used only location type is 1 or 3 }}
{{OBDtr| 0x4C |          |FFC8FF| 00 00 00 00 |          | depends on location type }}
{{OBDtr| 0x50 |          |FFC800| 00 00 00 00 |          | unknown; always zero }}
{{OBDtr| 0x50 |          |FFC800| 00 00 00 00 |          | unknown; always zero }}
|}
|}


http://ssg.oni2.net/images/bin_r_i4.gif
 
----
 
==Sound table==
[[Image:Bin_r_i4.gif]]
 


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Sound table }}
{{OBDtr| 0x00 | char[32] |FFC8C8|            | not used  | sound name (link to an [[OBD:OSBD|OSBD]] file) }}
{{OBDtr| 0x00 | char[32] |FFC8C8|            | not used  | sound name (link to an [[OBD:OSBD|OSBD]] file) }}
{{OBDtr| 0x20 | int16    |FFFFC8| CD CD      | 52685      | unknown; maybe it's garbage that belongs to the sound name field above }}
{{OBDtr| 0x20 |         |FFFFC8| CD CD      |           | ignored }}
{{OBDtr| 0x22 | int16    |C8FFC8| CD CD      | 52685      | unknown; maybe it's garbage that belongs to the sound name field above }}
{{OBDtr| 0x22 |         |C8FFC8| CD CD      |           | ignored }}
{{OBDtr| 0x24 | int32    |C8FFFF| 00 00 00 00 | not used  | old offset link }}
{{OBDtr| 0x24 | int32    |C8FFFF| 00 00 00 00 |           | runtime: pointer to sound }}
{{OBDtr| 0x28 | int16    |FFC8FF| 01 00      | 1          | AI can hear; 0 <nowiki>=</nowiki> no, 1 <nowiki>=</nowiki> yes }}
{{OBDtr| 0x28 | int16    |FFC8FF| 01 00      | 1          | AI can hear; 0 <nowiki>=</nowiki> no, 1 <nowiki>=</nowiki> yes }}
{{OBDtr| 0x2A | int16    |FFC800| 03 00      | 3          | sound type; the following types are possible:
{{OBDtr| 0x2A | int16    |FFC800| 03 00      | 3          | AI sound type; the following types are possible:
:0 - unimportant
:0 - unimportant
:1 - interesting
:1 - interesting
Line 75: Line 90:
:3 - melee
:3 - melee
:4 - gunfire }}
:4 - gunfire }}
{{OBDtr| 0x2C | float    |C800C8| 00 00 16 43 | 150.000000 | earshot radius }}
{{OBDtr| 0x2C | float    |C800C8| 00 00 16 43 | 150.000000 | AI sound radius }}
|}
|}


http://ssg.oni2.net/images/bin_r_i5.gif
 
----
==Impact effects table==
[[Image:Bin_r_i5.gif]]
 


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Impact effects table }}
{{OBDtr| 0x00 | int16 |FFC8C8| 37 00      | 55 | number of the used impact of the first package of part 1 }}
{{OBDtr| 0x00 | int16 |FFC8C8| 37 00      | 55 | number of the used impact of the first package of part 1 }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of the used material of the second package of part 1 }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of the used material of the second package of part 1 }}
Line 94: Line 112:
:2 - medium
:2 - medium
:3 - light }}
:3 - light }}
{{OBDtr| 0x08 | int16 |FFC8FF| 01 00      | 1  | number of the used packages in part 3 }}
{{OBDtr| 0x08 | int16 |FFC8FF| 01 00      | 1  | number of used entries from the particle table }}
{{OBDtr| 0x0A | int16 |FFC800| 00 00      | 0  | unknown; looks like garbage to me }}
{{OBDtr| 0x0A | int16 |FFC800| 00 00      | 0  | unknown; looks like garbage to me }}
{{OBDtr| 0x0C | int32 |C800C8| FF FF FF FF | -1 | number of the used package in part 4; -1 <nowiki>=</nowiki> not used }}
{{OBDtr| 0x0C | int32 |C800C8| FF FF FF FF | -1 | index of the used entry in sound table; -1 <nowiki>=</nowiki> not used }}
{{OBDtr| 0x10 | int32 |C87C64| 53 00 00 00 | 83 | start package in part 3 }}
{{OBDtr| 0x10 | int32 |C87C64| 53 00 00 00 | 83 | index of the first used entry in the particle table }}
|}
|}


http://ssg.oni2.net/images/bin_r_i6.gif
 
----
==Material index table==
[[Image:Bin_r_i6.gif]]
 


{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtrBK|Material index table }}
{{OBDtr| 0x00 | int16 |FFC8C8| 01 00      | 1  | index into material table }}
{{OBDtr| 0x00 | int16 |FFC8C8| 01 00      | 1  | index into material table }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of used entries in the impact effect table }}
{{OBDtr| 0x02 | int16 |FFFFC8| 01 00      | 1  | number of used entries in the impact effect table }}
Line 112: Line 133:


----
----
----
==Dialogs from level0_Tools==
{{OBD BINA Footer|align=center|prev=OBJC|type=ONIE|next=PAR3|name=Oni Impact Effects|onistuff=b_ie}}
 
[[Image:Tool dialog - Impact Effects.png]]
 
 
[[Image:Tool dialog - Impact Effect Properties.png]]
 
 
{{OBD BINA Footer | align=center | prev=OBJC | type=ONIE | next=PAR3 | name=Oni Impact Effects | onistuff=b_ie | family=Level}}
 
{{OBD}}