OBD:TRAM/raw0x24: Difference between revisions

m
OniX-affected article
(notes from Loser on OBD talk:TRAM and some clarifications)
m (OniX-affected article)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<CENTER>[[OBD:TRAM/raw0x20|shortcut part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - throw part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x28|footstep part]]</CENTER>
<CENTER>[[OBD:TRAM/raw0x20|shortcut part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - throw part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x28|footstep part]]</CENTER>
 
{{UpdatedForOniX|1.0.0}}


This part belongs to the 01828-KONCOMthrow_fw_p.TRAM file.
This part belongs to the 01828-KONCOMthrow_fw_p.TRAM file.
Line 11: Line 11:
{{OBDth}}
{{OBDth}}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr| 0x00 | float |FFC8C8| 8A 39 2C BF | -0.672752 | X-axis victim adjustment; see below for info
{{OBDtr| 0x00 | float |FFC8C8| 8A 39 2C BF | -0.672752 | X-axis adjustment to throw target; see below for info
X+ is left, X- is right }}
X+ is left, X- is right }}
{{OBDtr| 0x04 | float |FFFFC8| 10 39 B4 3F | 0.793839  | Y-axis victim adjustment; see below for info
{{OBDtr| 0x04 | float |FFFFC8| 10 39 B4 3F | 0.793839  | Y-axis adjustment to throw target; see below for info
Y+ is up, Y- is down }}
Y+ is up, Y- is down }}
{{OBDtr| 0x08 | float |C8FFC8| 44 2D 1C 41 | 9.761051  | Z-axis victim adjustment; see below for info
{{OBDtr| 0x08 | float |C8FFC8| 44 2D 1C 41 | 9.761051  | Z-axis adjustment to throw target; see below for info
Z+ is forward, Z- is backward }}
Z+ is forward, Z- is backward }}
{{OBDtr| 0x0C | float |C8FFFF| DB 0F 49 40 | 3.141593  | angle adjustment in radians; when throw is successful, victim is turned around his axis by this angle (π <nowiki>=</nowiki> 180°)}}
{{OBDtr| 0x0C | float |C8FFFF| DB 0F 49 40 | 3.141593  | angle adjustment in radians; when throw is successful, target is turned around his axis by this angle (π <nowiki>=</nowiki> 180°)}}
{{OBDtr| 0x10 | float |FFC8FF| 00 00 40 41 | 12.000000 | distance tolerance; read below for important notice }}
{{OBDtr| 0x10 | float |FFC8FF| 00 00 40 41 | 12.000000 | distance tolerance; read below for important notice }}
{{OBDtr| 0x14 | int16 |FFC800| 60 00      | 96        | anim type for the animation of the target; types listed [[OBD:StNA|HERE]] }}
{{OBDtr| 0x14 | int16 |FFC800| 60 00      | 96        | anim type for the animation of the target; types listed [[XML:StNA|HERE]] }}
|}
|}




'''Victim axis adjustment'''
'''Throw target axis adjustment'''
:*When throw is successful, these axis adjustments are applied on victim to move ("teleport") him in corresponding way to set some distance between participants so throw looks good. If victim cannot move in some direction (obstacle), then this direction is ignored.
:*When throw is successful, these axis adjustments are applied on the target to move ("teleport") him in a way which creates the proper distance between participants so the throw looks good. Note that this adjustment happens instantly <u>at the start</u> of the throw. Oni will perform a collision check and modify the target's adjusted location so that it doesn't pass through any intervening obstacle.


:*Y-axis surprise: When you lift the enemy with a +Y value, he is lifted '''as if he jumped''' – the bounding box actually lifts! Usually when executing TRAMs, a +Y value just stretches the bounding box of the character from the floor to their current height; that is why you cannot throw enemies over railings. But this field lifts the character completely. After the lift reaches its peak, the victim falls down normally according to gravity.
:*Y-axis surprise: When you lift the enemy with a +Y value, the bounding box actually raises off the ground as if he jumped. Usually when executing TRAMs, a +Y value just stretches the bounding box of the character from the floor to their current height; that is why you cannot throw enemies over railings. After the lift is performed, the target falls down normally according to gravity.


'''Distance tolerance'''
'''Distance tolerance'''