Jump to content

OBD:TRAM/raw0x14: Difference between revisions

corrections, amplifications and added info from Loser's notes on OBD talk:TRAM
m (minor touch-up)
(corrections, amplifications and added info from Loser's notes on OBD talk:TRAM)
 
Line 5: Line 5:




[[image:tram_r03.gif]]
[[Image:Tram_r03.gif]]




Line 32: Line 32:
:0x00 00 '''04''' 00 - right fist
:0x00 00 '''04''' 00 - right fist
}}
}}
{{OBDtr| 0x04 | float    |FFFFC8| 00 00 00 41 | 8.000000    | knockback }}
{{OBDtr| 0x04 | float    |FFFFC8| 00 00 00 41 | 8.000000    | knockback if attack lands }}
{{OBDtr| 0x08 | bitset32 |C8FFC8| 08 00 00 00 | 8, 0, 0, 0  | attack option bits; the following bits are possible:
{{OBDtr| 0x08 | bitset32 |C8FFC8| 08 00 00 00 | 8, 0, 0, 0  | attack option bits; the following bits are possible:
:0x'''01''' 00 00 00 - attack is unblockable
:0x'''01''' 00 00 00 - attack is unblockable
:0x'''02''' 00 00 00 - attack is high (can be blocked only in normal stance, hits if enemy is crouching)
:0x'''02''' 00 00 00 - attack is high (can be blocked only in normal stance, hits if enemy is crouching)
:0x'''04''' 00 00 00 - attack is low (can be blocked only in crouch stance, hits if enemy is in normal stance)
:0x'''04''' 00 00 00 - attack is low (can be blocked only in crouch stance, hits if enemy is in normal stance)
:0x'''08''' 00 00 00 - attack deals 1/2 damage when blocked + while blocking, it does not use blue flash but hit flash (konflash1 for this TRAM)
:0x'''08''' 00 00 00 - attack still deals 1/2 damage when blocked; the attack will use its designated hit flash (konflash1 for this TRAM) instead of the blue hit flash
}}
}}
{{OBDtr| 0x0C | int16    |C8FFFF| 14 00      | 20          | hit points }}
{{OBDtr| 0x0C | int16    |C8FFFF| 14 00      | 20          | damage in hit points }}
{{OBDtr| 0x0E | int16    |FFC8FF| 05 00      | 5          | start frame }}
{{OBDtr| 0x0E | int16    |FFC8FF| 05 00      | 5          | start frame of attack part in TRAM }}
{{OBDtr| 0x10 | int16    |FFC8FF| 0F 00      | 15          | stop frame }}
{{OBDtr| 0x10 | int16    |FFC8FF| 0F 00      | 15          | ending frame of attack part in TRAM }}
{{OBDtr| 0x12 | int16    |FFC800| 50 00      | 80          | anim_type ID for opponent's animation when attack isn't blocked (80 <nowiki>=</nowiki> hit_foot) }}
{{OBDtr| 0x12 | int16    |FFC800| 50 00      | 80          | anim type for opponent's animation when attack lands (80 <nowiki>=</nowiki> Knockdown_Body); list [[XML:StNA#Animation types|HERE]] }}
{{OBDtr| 0x14 | int16    |C800C8| 0A 00      | 10          | duration (in frames) of stunned state it hit }}
{{OBDtr| 0x14 | int16    |C800C8| 0A 00      | 10          | duration (in frames) of stunned state if hit; automatically upgraded to stagger if >20 }}
{{OBDtr| 0x16 | int16    |C800C8| 0A 00      | 10          | duration (in frames) of stunned state if blocked }}
{{OBDtr| 0x16 | int16    |C800C8| 0A 00      | 10          | duration (in frames) of stunned state if blocked; automatically upgraded to block stun if ≥ 15 }}
{{OBDtr| 0x18 | int16    |C800C8| 00 00      | 0          | duration (in frames) ot staggering state if blocked }}
{{OBDtr| 0x18 | int16    |C800C8| 00 00      | 0          | duration (in frames) of staggering state if blocked }}
{{OBDtr| 0x1A | int16    |C800C8| 00 00      | 0          | "precedence"; ignored? }}
{{OBDtr| 0x1A | int16    |C800C8| 00 00      | 0          | precedence; used when competing attacks land at the same time to determine which one takes priority; is this field used in any TRAMs? }}
{{OBDtr| 0x1C | int16    |C87C64| 00 00      | 0          | "attackExtentIndex"; ignored? }}
{{OBDtr| 0x1C | int16    |C87C64| 00 00      | 0          | attack extent index; always zero? used for visual debugging of attack extents }}
{{OBDtr| 0x1E | int16    |C87C64| 00 00      | 0          | "pad"; ignored? }}
{{OBDtr| 0x1E | int16    |C87C64| 00 00      | 0          | padding; unused }}
|}
|}


;High vs. low attacks
Having neither the high or low flag on means that the attack can be blocked by a defender in either high or low stance. How is their stance determined? See the blockHigh and blockLow bits in the flags at TRAM 0x3C.


<CENTER>[[OBD:TRAM/raw0x10|x-z-position part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - attack part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x18|damage part]]</CENTER>
<CENTER>[[OBD:TRAM/raw0x10|x-z-position part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - attack part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x18|damage part]]</CENTER>


{{OBD}}
{{OBD}}