OBD:TRAM/raw0x14: Difference between revisions

corrections, amplifications and added info from Loser's notes on OBD talk:TRAM
No edit summary
 
(corrections, amplifications and added info from Loser's notes on OBD talk:TRAM)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> [[OBD:TRAM|TRAM File]] >> attack part
<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|<==]] <FONT SIZE=5>TRAM - attack part</FONT> [[OBD:TRAM/raw0x18|==>]]</CENTER>




Line 8: Line 5:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tram_r03.gif
[[Image:Tram_r03.gif]]




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | bitset32 |FFC8C8| 00 60 06 00 | 0, 96, 6, 0 | damage-dealing bones; the following bits are possible:
| WIDTH=70% | <B>Meaning</B>
:0x'''01''' 00 00 00 - pelvis
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
:0x'''02''' 00 00 00 - left thigh
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows one attack block.</FONT>
:0x'''04''' 00 00 00 - left calf
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:0x'''08''' 00 00 00 - left foot
| BGCOLOR="#FFC8C8" | 00 60
:0x'''10''' 00 00 00 - right thigh
| 24576
:0x'''20''' 00 00 00 - right calf
| ALIGN=LEFT | unknown
:0x'''40''' 00 00 00 - right foot
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:0x'''80''' 00 00 00 - mid
| BGCOLOR="#FFFFC8" | 06 00
:0x00 '''01''' 00 00 - chest
| 6
:0x00 '''02''' 00 00 - neck
| ALIGN=LEFT | unknown
:0x00 '''04''' 00 00 - head
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:0x00 '''08''' 00 00 - left shoulder
| BGCOLOR="#C8FFC8" | 00&nbsp;00&nbsp;00&nbsp;41
:0x00 '''10''' 00 00 - left arm
| 8.000000
:0x00 '''20''' 00 00 - left wrist
| ALIGN=LEFT | unknown
:0x00 '''40''' 00 00 - left fist
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:0x00 '''80''' 00 00 - right shoulder
| BGCOLOR="#C8FFFF" | 08 00 00 00
:0x00 00 '''01''' 00 - right arm
| 8
:0x00 00 '''02''' 00 - right wrist
| ALIGN=LEFT | unknown
:0x00 00 '''04''' 00 - right fist
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
}}
| BGCOLOR="#FFC8FF" | 14 00
{{OBDtr| 0x04 | float    |FFFFC8| 00 00 00 41 | 8.000000   | knockback if attack lands }}
| 20
{{OBDtr| 0x08 | bitset32 |C8FFC8| 08 00 00 00 | 8, 0, 0, 0  | attack option bits; the following bits are possible:
| ALIGN=LEFT | hit points
:0x'''01''' 00 00 00 - attack is unblockable
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
:0x'''02''' 00 00 00 - attack is high (can be blocked only in normal stance, hits if enemy is crouching)
| BGCOLOR="#FFC800" | 05 00
:0x'''04''' 00 00 00 - attack is low (can be blocked only in crouch stance, hits if enemy is in normal stance)
| 5
: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
| ALIGN=LEFT | unknown
}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x0C | int16    |C8FFFF| 14 00       | 20         | damage in hit points }}
| BGCOLOR="#C800C8" | 0F 00
{{OBDtr| 0x0E | int16    |FFC8FF| 05 00       | 5           | start frame of attack part in TRAM }}
| 15
{{OBDtr| 0x10 | int16    |FFC8FF| 0F 00       | 15         | ending frame of attack part in TRAM }}
| ALIGN=LEFT | start frame
{{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]] }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x14 | int16    |C800C8| 0A 00       | 10         | duration (in frames) of stunned state if hit; automatically upgraded to stagger if >20 }}
| BGCOLOR="#C87C64" | 50 00
{{OBDtr| 0x16 | int16    |C800C8| 0A 00       | 10         | duration (in frames) of stunned state if blocked; automatically upgraded to block stun if ≥ 15 }}
| 80
{{OBDtr| 0x18 | int16    |C800C8| 00 00      | 0          | duration (in frames) of staggering state if blocked }}
| ALIGN=LEFT | stop frame
{{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? }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x1C | int16    |C87C64| 00 00       | 0           | attack extent index; always zero? used for visual debugging of attack extents }}
| BGCOLOR="#B0C3D4" | 0A 00
{{OBDtr| 0x1E | int16    |C87C64| 00 00       | 0           | padding; unused }}
| 10
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" | 0A 00
| 10
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|}
|}




<HR>
;High vs. low attacks
<CENTER>[[OBD:TRAM/raw0x10|<==]] <B>TRAM - attack part</B> [[OBD:TRAM/raw0x18|==>]]</CENTER>
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.
<HR>


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


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> [[OBD:TRAM|TRAM File]] >> attack part
{{OBD}}