ofp:file_formats:rtm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| ofp:file_formats:rtm [2007/07/10 09:52] – external edit 127.0.0.1 | ofp:file_formats:rtm [2024/07/31 12:54] (current) – links added. snakeman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== RTM Animation File Format ====== | + | ====== |
| + | |||
| + | [[https:// | ||
| + | |||
| + | **Operation Flashpoint (OFP)** aka ArmA: Cold War Assault (CWA) | ||
| To help understand the contents of the file format, a brief idea of what animations are, is in order. | To help understand the contents of the file format, a brief idea of what animations are, is in order. | ||
| Line 25: | Line 29: | ||
| < | < | ||
| - | | + | |
| { | { | ||
| byte Signature[8]; | byte Signature[8]; | ||
| Line 34: | Line 38: | ||
| // All, in fixed 32 byte records | // All, in fixed 32 byte records | ||
| // The .p3d extension is default (not stored) | // The .p3d extension is default (not stored) | ||
| - | struct Frame1 | + | struct Frame1 |
| ( | ( | ||
| float FrameTime; // Values 0.0 to 1.0 | float FrameTime; // Values 0.0 to 1.0 | ||
| /* Represents a percentage of ' | /* Represents a percentage of ' | ||
| - | ** The overall time is '' | + | ** The overall time is '' |
| ** fast, or slow, or whatever. See note4 below | ** fast, or slow, or whatever. See note4 below | ||
| */ | */ | ||
| struct Component1 | struct Component1 | ||
| { | { | ||
| - | | + | |
| // | // | ||
| | | ||
| Line 68: | Line 72: | ||
| </ | </ | ||
| - | and so is never stored. | + | and so is never stored. |
| This identical matrix is used for WRP files (both formats) and RTM files. | This identical matrix is used for WRP files (both formats) and RTM files. | ||
| Line 74: | Line 78: | ||
| The last row (M41...) happens to be the position of the object X Z Y co-ordinates, | The last row (M41...) happens to be the position of the object X Z Y co-ordinates, | ||
| - | For further information visit | + | For further information visit |
| [[http:// | [[http:// | ||
| Line 93: | Line 97: | ||
| Given ten frames, all of which you want displayed for the same amount of time. the frametime value would progress, 0, | Given ten frames, all of which you want displayed for the same amount of time. the frametime value would progress, 0, | ||
| + | |||
ofp/file_formats/rtm.1184061152.txt.gz · Last modified: 2007/07/10 09:52 by 127.0.0.1
