Difference between revisions of "WPL"
Jump to navigation
Jump to search
m |
(→File Format) |
||
Line 3: | Line 3: | ||
==File Format== | ==File Format== | ||
+ | |||
+ | Each world placement file starts with one single header followed by the object placement information. The structure for the header is very simple: | ||
+ | |||
+ | 4b - UINT32 - Unknown | ||
+ | 4b - UINT32 - Instances | ||
+ | |||
+ | The placement information corresponds to the previous [[Item_Placement#inst|instance]] section of the <code>.ipl</code> files. They have a binary structure like the [[Binary_IPL|binary ipl]] files introduced with [[:Category:GTA_SA|San Andreas]]: | ||
+ | |||
+ | 4b - FLOAT - Position X | ||
+ | 4b - FLOAT - Position Y | ||
+ | 4b - FLOAT - Position Z | ||
+ | 4b - FLOAT - Rotation X | ||
+ | 4b - FLOAT - Rotation Y | ||
+ | 4b - FLOAT - Rotation Z | ||
+ | 4b - FLOAT - Rotation W | ||
+ | 4b - UINT32 - Model name [[:Category:Static_Model_Hashes|hash]] | ||
+ | 4b - UINT32 - Unknown | ||
+ | 4b - UINT32 - [[LOD]] Index (Index of another model in the current file) | ||
+ | 4b - UINT32 - Unknown | ||
+ | 4b - UINT32 - Unknown | ||
+ | |||
+ | <!--- | ||
;Header | ;Header | ||
<source lang="cpp"> | <source lang="cpp"> | ||
Line 25: | Line 47: | ||
}; | }; | ||
</source> | </source> | ||
− | + | --> | |
{{File-stub}} | {{File-stub}} |
Revision as of 20:08, 5 February 2009
World PLacement files are map-related files similar to IPL files from previous games. It can be edited using WPL Manager.
File Format
Each world placement file starts with one single header followed by the object placement information. The structure for the header is very simple:
4b - UINT32 - Unknown 4b - UINT32 - Instances
The placement information corresponds to the previous instance section of the .ipl
files. They have a binary structure like the binary ipl files introduced with San Andreas:
4b - FLOAT - Position X 4b - FLOAT - Position Y 4b - FLOAT - Position Z 4b - FLOAT - Rotation X 4b - FLOAT - Rotation Y 4b - FLOAT - Rotation Z 4b - FLOAT - Rotation W 4b - UINT32 - Model name hash 4b - UINT32 - Unknown 4b - UINT32 - LOD Index (Index of another model in the current file) 4b - UINT32 - Unknown 4b - UINT32 - Unknown
External Link
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |