5,391
edits
m (just finished that joke about me ^_^) |
(the Y track is an array of actual heights, not velocities/increments) |
||
Line 30: | Line 30: | ||
{{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | {{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | ||
{{OBDtr| 0x008 | int32 |FFC8C8| 00 00 00 00 | 0 | unknown; always zero }} | {{OBDtr| 0x008 | int32 |FFC8C8| 00 00 00 00 | 0 | unknown; always zero }} | ||
{{OBDtr| 0x00C | offset |FFFFC8| A0 B4 80 00 | 00 80 B4 A0 | at this position starts the "Y- | {{OBDtr| 0x00C | offset |FFFFC8| A0 B4 80 00 | 00 80 B4 A0 | at this position starts the "Y-positions of the pelvis" in the raw file.It looks like this: }} | ||
[[image:tram_r01.gif]] | [[image:tram_r01.gif]] | ||
{{Table}} | {{Table}} | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr| 0x00 | float |FFC8C8| 67 64 9B 40 | 4.856006 | y- | {{OBDtr| 0x00 | float |FFC8C8| 67 64 9B 40 | 4.856006 | y-position of the pelvis in 0th frame of TRAM }} | ||
|} | |} | ||
This part contains Y-axis | This part contains Y-axis position (height) of pelvis in EACH frame of animation. If we need to "lower" or "elevate" character (we adopted some TRAM from other character and while performing, our char is "sinking" or "floating") this is place where we go. | ||
Beware: wrong values cause Oni to hang. | Beware: wrong values cause Oni to hang. | ||
{{OBDtr| 0x010 | offset |FFFFC8| E0 B5 80 00 | 00 80 B5 E0 | at this position starts the "X/Z - velocities of the pelvis" in the raw file. It looks like this:}} | {{OBDtr| 0x010 | offset |FFFFC8| E0 B5 80 00 | 00 80 B5 E0 | at this position starts the "X/Z - velocities of the pelvis" in the raw file. It looks like this:}} |