OBD:TRAS: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> TRAS File
{{OBD_File_Header | type=TRAS | prev=TRAM | next=TRBS | name=Totoro Aiming Screen | family=Character | align=center}}




<CENTER>[[OBD:TRAM|<==]] <FONT SIZE=5>TRAS File</FONT> [[OBD:TRBS|==>]]<BR>
[[image:tras_all.gif]]
<FONT SIZE=2>Totoro Aiming Screen - Character File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tras_all.gif
{{Table}}
 
{{OBD_Table_Header}}
 
|- ALIGN=CENTER VALIGN=TOP
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{OBDtr| 0x00 | res_id  |FF0000| 01 16 11 00 | 4374   | 04374-MURCOMaim_screen_stand.TRAS }}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3     | level 3 }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x08 | int32    |FFC8C8| 01 15 11 00 | 4373   | link to 04373-MURCOMstand_fire_arc.[[OBD:TRAM|TRAM]] }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x0C | float    |FFFFC8| DB 0F C9 3F | 1.5708 | "left" keyframe size (in radians) }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x10 | float    |FFFFC8| DB 0F C9 3F | 1.5708 | "right" keyframe size (in radians) }}
|- VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x14 | int16    |C8FFC8| 01 00       | 1     | number of "left" keyframes }}
| ALIGN=CENTER BGCOLOR="#FF0000" | 01 16 11 00
{{OBDtr| 0x16 | int16    |C8FFC8| 01 00       | 1     | number of "right" keyframes }}
| ALIGN=CENTER | 4374
{{OBDtr| 0x18 | float    |C8FFFF| 92 0A 86 3F | 1.0472 | "down" keyframe size (in radians) }}
| 04374-MURCOMaim_screen_stand.TRAS
{{OBDtr| 0x1C | float    |C8FFFF| 92 0A 86 3F | 1.0472 | "up" keyframe size (in radians) }}
|- VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x20 | int16    |FFC8FF| 01 00       | 1     | number of "down" keyframes }}
| ALIGN=CENTER BGCOLOR="#FFFF00" | 01 00 00 06
{{OBDtr| 0x22 | int16    |FFC8FF| 01 00       | 1     | number of "up" keyframes }}
| ALIGN=CENTER | 3
| level 3
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#FFC8C8" | 01 15 11 00
| ALIGN=CENTER | 4373
| link to 04373-MURCOMstand_fire_arc.[[OBD:TRAM|TRAM]]
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#FFFFC8" | DB 0F C9 3F
| ALIGN=CENTER | 1.5708
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#FFFFC8" | DB 0F C9 3F
| ALIGN=CENTER | 1.5708
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#C8FFC8" | 01 00
| ALIGN=CENTER | 1
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#C8FFC8" | 01 00
| ALIGN=CENTER | 1
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#C8FFFF" | 92 0A 86 3F
| ALIGN=CENTER | 1.0472
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#C8FFFF" | 92 0A 86 3F
| ALIGN=CENTER | 1.0472
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#FFC8FF" | 01 00
| ALIGN=CENTER | 1
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#FFC8FF" | 01 00
| ALIGN=CENTER | 1
| unknown
|- VALIGN=TOP BGCOLOR="#FFEEDD"
| ALIGN=CENTER BGCOLOR="#FFC800" | AD DE
| ALIGN=CENTER | dead
| not used
|}
|}


;Keyframes
:The aiming screen (zone comprised between the extreme values of the aiming vector) is divided in a few zones.
::(commonly 4, 8 for most rifle aiming screens, 2 for prone pistol aiming)
:Keyframes are placed at the nodes of that grid: commonly 9, 15 for most rifle aiming screens, 6 for prone pistol aiming.
::The corresponding bone rotations are stored in the associated TRAM. Not versus time like in ordinary TRAMs but as a list.
:For a regular aiming screen (9 key frames), the storage is as follows:
:*aiming high and to the left
:*aiming high
:*aiming high and to the right
:*aiming to the left
:*aiming straight ahead
:*aiming to the right
:*aiming low and to the left
:*aiming low
:*aiming low and to the right
:All these take up one frame each, for every affected bone.
::The last frame is duplicated at the end of the track. Not sure it's actually needed.
:The bones (body parts) affected by the keyframes are specified in the body of the TRAM.
;Overview
:See [[OBD_talk:TRAS|HERE]] for now.


<HR>
<CENTER>[[OBD:TRAM|<==]] <B>TRAS File</B> [[OBD:TRBS|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=TRAS | prev=TRAM | next=TRBS | name=Totoro Aiming Screen | family=Character | align=center}}


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

Latest revision as of 14:23, 14 October 2010

ONI BINARY DATA
TRAM << Other file types >> TRBS
TRAS : Totoro Aiming Screen
switch to XML:TRAS page
Overview @ Oni Stuff
OBD.png


Tras all.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 16 11 00 4374 04374-MURCOMaim_screen_stand.TRAS
0x04 lev_id 01 00 00 06 3 level 3
0x08 int32 01 15 11 00 4373 link to 04373-MURCOMstand_fire_arc.TRAM
0x0C float DB 0F C9 3F 1.5708 "left" keyframe size (in radians)
0x10 float DB 0F C9 3F 1.5708 "right" keyframe size (in radians)
0x14 int16 01 00 1 number of "left" keyframes
0x16 int16 01 00 1 number of "right" keyframes
0x18 float 92 0A 86 3F 1.0472 "down" keyframe size (in radians)
0x1C float 92 0A 86 3F 1.0472 "up" keyframe size (in radians)
0x20 int16 01 00 1 number of "down" keyframes
0x22 int16 01 00 1 number of "up" keyframes
Keyframes
The aiming screen (zone comprised between the extreme values of the aiming vector) is divided in a few zones.
(commonly 4, 8 for most rifle aiming screens, 2 for prone pistol aiming)
Keyframes are placed at the nodes of that grid: commonly 9, 15 for most rifle aiming screens, 6 for prone pistol aiming.
The corresponding bone rotations are stored in the associated TRAM. Not versus time like in ordinary TRAMs but as a list.
For a regular aiming screen (9 key frames), the storage is as follows:
  • aiming high and to the left
  • aiming high
  • aiming high and to the right
  • aiming to the left
  • aiming straight ahead
  • aiming to the right
  • aiming low and to the left
  • aiming low
  • aiming low and to the right
All these take up one frame each, for every affected bone.
The last frame is duplicated at the end of the track. Not sure it's actually needed.
The bones (body parts) affected by the keyframes are specified in the body of the TRAM.
Overview
See HERE for now.


ONI BINARY DATA
TRAM << Other file types >> TRBS
TRAS : Totoro Aiming Screen
Character file