18,700
edits
m (Completing previous job...) |
(various wording improvements; unused fields are unused, doesn't matter if they were formerly used; restoring "runtime" notes -- OBD is primarily about data on disk, not how it is treated in memory) |
||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=ONCC | prev=OFGA | next=ONCP | name=Oni Character Class | family=Character | align=center}} | {{OBD_File_Header | type=ONCC | prev=OFGA | next=ONCP | name=Oni Character Class | family=Character | align=center}} | ||
[[ | [[Image:oncc_a.gif]] | ||
{{Table}} | {{Table}} | ||
Line 7: | Line 7: | ||
{{OBDtr| 0x000 | res_id |FF0000| 01 DF 03 00 | 991 | 00991-konoko_generic.ONCC }} | {{OBDtr| 0x000 | res_id |FF0000| 01 DF 03 00 | 991 | 00991-konoko_generic.ONCC }} | ||
{{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 06 | 0 | level 3 }} | {{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 06 | 0 | level 3 }} | ||
{{OBDtr| 0x008 | float |00FF00| CD CC 0C 3F | 0.550000 | fall speed | {{OBDtr| 0x008 | float |00FF00| CD CC 0C 3F | 0.550000 | fall speed (always 0.55) (mostly unused, see below) }} | ||
{{OBDtr| 0x00C | float |00FF00| 8F C2 75 3D | 0.060000 | strength of gravity for this character }} | {{OBDtr| 0x00C | float |00FF00| 8F C2 75 3D | 0.060000 | strength of gravity for this character }} | ||
{{OBDtr| 0x010 | float |00FF00| CD CC 8C 3F | 1.100000 | starting velocity for a simple (tap) JUMP }} | {{OBDtr| 0x010 | float |00FF00| CD CC 8C 3F | 1.100000 | starting velocity for a simple (tap) JUMP }} | ||
{{OBDtr| 0x014 | float |00FF00| 00 00 80 C0 | -4.000000 | maximum velocity for jumping and falling }} | {{OBDtr| 0x014 | float |00FF00| 00 00 80 C0 | -4.000000 | maximum velocity for jumping and falling }} | ||
{{OBDtr| 0x018 | float |00FF00| 8F C2 F5 3C | 0.030000 | upward acceleration as long as you hold JUMP }} | {{OBDtr| 0x018 | float |00FF00| 8F C2 F5 3C | 0.030000 | upward acceleration as long as you hold JUMP }} | ||
{{OBDtr| 0x01C | int16 |00FFFF| 07 00 | 7 | fall timer ( | {{OBDtr| 0x01C | int16 |00FFFF| 07 00 | 7 | fall timer (always 7) (mostly unused, see below) }} | ||
{{OBDtr| 0x01E | int16 |00FFFF| 14 00 | 20 | how long you can continue holding down JUMP to increase the height of your jump }} | {{OBDtr| 0x01E | int16 |00FFFF| 14 00 | 20 | how long you can continue holding down JUMP to increase the height of your jump }} | ||
{{OBDtr| 0x020 | float |FF00FF| 00 00 34 42 | 45.000000 | maximum falling height without damage }} | {{OBDtr| 0x020 | float |FF00FF| 00 00 34 42 | 45.000000 | maximum falling height without damage }} | ||
Line 322: | Line 322: | ||
{{Table}} | {{Table}} | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr| 0x440 | bool |C5FF8A| 00 | unused | | {{OBDtr| 0x440 | bool |C5FF8A| 00 | unused | runtime: set to 1 when impact and modifier have been looked up by name }} | ||
{{OBDtr| 0x441 | uint8 |C5FF8A| 00 | unused | padding }} | {{OBDtr| 0x441 | uint8 |C5FF8A| 00 | unused | padding }} | ||
{{OBDtr| 0x442 | uint16 |C5FF8A| 00 00 | unused | modifier type }} | {{OBDtr| 0x442 | uint16 |C5FF8A| 00 00 | unused | runtime: modifier type }} | ||
{{OBDtr2|0x444 | char[16] |C0C0C0| Light | modifier name | {{OBDtr2|0x444 | char[16] |C0C0C0| Light | modifier name (WMDDdialog_impact_effect says: "Effects found for Impact x on Material y with Modifier:") }} | ||
{{OBDtrBK|1=First of 15 impact elements. }} | {{OBDtrBK|1=First of 15 impact elements. }} | ||
{{OBDtr2|0x454 | char[128] |FF0080| Footstep_Walk | | {{OBDtr2|0x454 | char[128] |FF0080| Footstep_Walk | impact name (reference to 04124-Footstep_Walk.[[OBD:Impt|Impt]] of level 0); always the same; without an impact you can't hear the footsteps of the character }} | ||
{{OBDtr| 0x4D4 | int16 |FF0080| FF FF | -1 | set at runtime to the value stored at 0x08 in [[OBD:Impt|Impt]] }} | {{OBDtr| 0x4D4 | int16 |FF0080| FF FF | -1 | set at runtime to the value stored at 0x08 in [[OBD:Impt|Impt]] }} | ||
|} | |} | ||
[[ | [[Image:oncc_e.gif]] | ||
Line 341: | Line 338: | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr2|0xBF4 | char[64] |71FFB8| unused | special death particle; only the Mad Bomber uses it }} | {{OBDtr2|0xBF4 | char[64] |71FFB8| unused | special death particle; only the Mad Bomber uses it }} | ||
{{OBDtr| 0xC34 | link |0000BF| 00 00 00 00 | unused | death particle class }} | {{OBDtr| 0xC34 | link |0000BF| 00 00 00 00 | unused | runtime: link to death particle class }} | ||
{{OBDtr| 0xC38 | link |0000BF| 00 00 00 00 | unused | body | {{OBDtr| 0xC38 | link |0000BF| 00 00 00 00 | unused | runtime: cache of derived information on body model geometry }} | ||
{{OBDtr| 0xC3C | link |0000BF| 01 E6 03 00 | 998 | link to [[OBD:TRBS|00998-konoko_body_high.TRBS]] }} | {{OBDtr| 0xC3C | link |0000BF| 01 E6 03 00 | 998 | link to [[OBD:TRBS|00998-konoko_body_high.TRBS]] }} | ||
{{OBDtr| 0xC40 | link |0000BF| 01 E7 03 00 | 999 | link to [[OBD:TRMA|00999-konoko002_high_texture_generic.TRMA]] }} | {{OBDtr| 0xC40 | link |0000BF| 01 E7 03 00 | 999 | link to [[OBD:TRMA|00999-konoko002_high_texture_generic.TRMA]] }} | ||
Line 351: | Line 348: | ||
{{OBDtr| 0xC54 | int32 |804040| 30 75 00 00 | 30000 | how long in ticks before the Idle animation can be played another time }} | {{OBDtr| 0xC54 | int32 |804040| 30 75 00 00 | 30000 | how long in ticks before the Idle animation can be played another time }} | ||
{{OBDtr| 0xC58 | int32 |804040| C8 00 00 00 | 200 | base health of the character model; specific health information for every unique character is stored in the [[OBD:BINA/OBJC/CHAR|Character.BINA]] file}} | {{OBDtr| 0xC58 | int32 |804040| C8 00 00 00 | 200 | base health of the character model; specific health information for every unique character is stored in the [[OBD:BINA/OBJC/CHAR|Character.BINA]] file}} | ||
{{OBDtr| 0xC5C | int32 |804040| 48 00 00 00 | 72 | | {{OBDtr| 0xC5C | int32 |804040| 48 00 00 00 | 72 | unused }} | ||
{{OBDtr| 0xC60 | float |FF22FF| 00 00 80 3F | 1.000000 | minimum body size factor }} | {{OBDtr| 0xC60 | float |FF22FF| 00 00 80 3F | 1.000000 | minimum body size factor }} | ||
{{OBDtr| 0xC64 | float |FF22FF| 00 00 80 3F | 1.000000 | maximum body size factor }} | {{OBDtr| 0xC64 | float |FF22FF| 00 00 80 3F | 1.000000 | maximum body size factor }} | ||
Line 367: | Line 364: | ||
{{OBDtr| 0xC88 | link |808080| 01 F6 03 00 | 1014 | link to 01014-konoko_animations.[[OBD:TRAC|TRAC]] }} | {{OBDtr| 0xC88 | link |808080| 01 F6 03 00 | 1014 | link to 01014-konoko_animations.[[OBD:TRAC|TRAC]] }} | ||
{{OBDtr| 0xC8C | link |808080| 01 F6 03 00 | 1015 | link to 01015-konoko_screens.[[OBD:TRSC|TRSC]] }} | {{OBDtr| 0xC8C | link |808080| 01 F6 03 00 | 1015 | link to 01015-konoko_screens.[[OBD:TRSC|TRSC]] }} | ||
{{OBDtr| 0xC90 | int16 |FFAA82| 1E 00 | 30 | | {{OBDtr| 0xC90 | int16 |FFAA82| 1E 00 | 30 | unused (formerly an AI's rate of fire) }} | ||
{{OBDtr| 0xC92 | int16 |FFAA82| 00 00 | 0 | time between death and deletion, in frames (0 for all characters except Mad Bomber, who is 190 ticks) }} | {{OBDtr| 0xC92 | int16 |FFAA82| 00 00 | 0 | time between death and deletion, in frames (0 for all characters except Mad Bomber, who is 190 ticks) }} | ||
{{OBDtr| 0xC94 | bitset |00D900| 00 | 0 | TRSC bitset; see below }} | {{OBDtr| 0xC94 | bitset |00D900| 00 | 0 | TRSC bitset; see below }} | ||
{{OBDtr| 0xC95 | int8 |00D900| 01 | 1 | character has Daodan powers (can overheal with hypos, do more damage in overpower mode)}} | {{OBDtr| 0xC95 | int8 |00D900| 01 | 1 | character has Daodan powers (can overheal with hypos, do more damage in overpower mode)}} | ||
{{OBDtr| 0xC96 | int8 |00D900| 00 | 0 | character has supershield (see [[XML:ONCC]] for details) }} | {{OBDtr| 0xC96 | int8 |00D900| 00 | 0 | character has supershield (see [[XML:ONCC]] for details) }} | ||
{{OBDtr| 0xC97 | int8 |00D900| 00 | 0 | knockdown | {{OBDtr| 0xC97 | int8 |00D900| 00 | 0 | knockdown resistant (used by MutantMuro.ONCC) }} | ||
|} | |} | ||