Difference between revisions of "WPL"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
  
 
==File Format==
 
==File Format==
 +
;Header
 
<source lang="cpp">
 
<source lang="cpp">
;Header
 
 
  struct Header_t
 
  struct Header_t
 
  {
 
  {

Revision as of 18:58, 8 January 2009

World PLacement files are map-related files similar to IPL-files. It can be edited using WPL Manager.


File Format

Header
 struct Header_t
 {
     BYTE byteUnknown01[4];
     DWORD dwNbrOfBlockInst;
 };


InstBlock (Start from 0x44)
 struct Inst_t
 {
     float  fPosition[3];
     float  fRotation[4];
     DWORD dwModelNameHash;
     BYTE byteUnknown01[4];
     DWORD dwAttachedLod;
     BYTE byteUnknown02[8];
 };

External Link

GTA Net GTAForums topic