User Tools

Site Tools


ofp:file_formats:oprw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ofp:file_formats:oprw [2007/07/04 14:13] – created oprwv initial page snakemanofp:file_formats:oprw [2024/07/31 12:46] (current) – links added. snakeman
Line 1: Line 1:
-====== WRP OPRW ======+====== OFP WRP OPRW ======
  
-Flashpoint wrp files use two different file formats to contain the data. This document contains information on OPRW format as used by WrpEdit, and as supplied in the standard BI Islands of Malden, Nogova and etc. This document does not provide information on the better known [[ofp:file_formats:4wvr|4WVR]] format. +[[https://www.pmctactical.org/forum/viewforum.php?f=43|OFP Forum]], [[:ofp|OFP Home]], [[ofp:file_formats|OFP File Formats]], [[ofp:tools|OFP Tools]], [[ofp:missions|OFP Missions]], [[ofp:modeling|OFP 3D Modeling]], [[ofp:terrain|OFP Terrain]] 
 + 
 +**Operation Flashpoint (OFP)** aka ArmA: Cold War Assault (CWA) 
 + 
 +OFP WRP files use two different file formats to contain the data. This document contains information on OPRW format as used by WrpEdit, and as supplied in the standard bis Islands of Malden, Nogova and etc. This document does not provide information on the better known [[ofp:file_formats:4wvr|4WVR]] format. 
  
 See General wrp format for more info  See General wrp format for more info 
Line 11: Line 15:
 2. Version 3 (Post) Resistance.  2. Version 3 (Post) Resistance. 
  
-The only difference between these two formats is a 16 byte added map dimension size inserted towards beginning of header. Since all BI islands, including Resistance's Nogova, are 256 x 256 cells square, the information is redundant in terms of the 'official' maps. However this feature has been exploited heavily by map modellers to make some huge territories. Cat Aghansitan, and PMC Vietnam to name but two.+The only difference between these two formats is a 16 byte added terrain dimension size inserted towards beginning of header. Since all BI islands, including Resistance's Nogova, are 256 x 256 cells square, the information is redundant in terms of the 'official' terrains. However this feature has been exploited heavily by terrain editors to make some huge territories. Cat Aghansitan, and PMC Vietnam to name but two.
  
 **Conventions** **Conventions**
Line 112: Line 116:
 Objects, if any, are indexes into the models named above (if any).  Objects, if any, are indexes into the models named above (if any). 
  
-Objects, and the models they refer to, are the way to place buildings, trees, etc on the map+Objects, and the models they refer to, are the way to place buildings, trees, etc on the terrain
  
 Objects consist of contiguous 56-byte records of floats and ulongs. The last 'object' is different, it is simply a 4 byte (ulong) value containing 0xFFFFFFFF signifying the end of the object list (if any) and, the end of the file.  Objects consist of contiguous 56-byte records of floats and ulongs. The last 'object' is different, it is simply a 4 byte (ulong) value containing 0xFFFFFFFF signifying the end of the object list (if any) and, the end of the file. 
Line 131: Line 135:
       /* A unique identifier for every object in this list, as each object,        /* A unique identifier for every object in this list, as each object, 
       ** even if using an identical model,        ** even if using an identical model, 
-      ** is in a different position on the map. Ie three buildings in a row.+      ** is in a different position on the terrain. Ie three buildings in a row.
       */       */
  
Line 172: Line 176:
  
 For further information on this packing method see pbo file format For further information on this packing method see pbo file format
 +
ofp/file_formats/oprw.1183558380.txt.gz · Last modified: 2007/07/10 09:52 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.