Difference between revisions of "WPL"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 25: Line 25:
 
  };
 
  };
 
</source>
 
</source>
 +
  
 
{{File-stub}}
 
{{File-stub}}
 +
 
==External Link==
 
==External Link==
 
{{GTAF|389423}}
 
{{GTAF|389423}}
  
 
[[Category:Map Formats]][[Category:GTA 4]]
 
[[Category:Map Formats]][[Category:GTA 4]]

Revision as of 18:59, 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