Difference between revisions of "Sims 3:0x3D8632D0"
HugeLunatic (Talk | contribs) |
HugeLunatic (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{TS3AdvancedModdingHeader}} | {{TS3AdvancedModdingHeader}} | ||
{{TS3Resource | {{TS3Resource | ||
− | |name= | + | |name=World Terrain Paint |
− | |typeid= | + | |typeid= 0x3D8632D0 |
|expansion=The Sims 3 | |expansion=The Sims 3 | ||
}} | }} |
Latest revision as of 01:32, 5 May 2010
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |
World Terrain Paint | ||
---|---|---|
TypeID: | 0x3D8632D0 | |
Game Version: | The Sims 3 |
[edit] Overview
This file does not seem to be actually used by the game currently. The low detail map view uses textures with the paint already applied, and there are textures for the shader to use for close-up rendering which contain the same data as this resource, but in smaller more digestible chunks.
The data in here is compressed with a very simplistic block compression. The map is split into 16x16 blocks (Or whatever the header calls for) and each is either missing (Indicating no terrain paint is applied), a single value for the whole block, or given individual values for each point.
[edit] Format
WORD version 0x300 WORD 0xA5FF DWORD map width (0x800 for current neighborhoods) DWORD map height (0x800 for current neighborhoods) DWORD block width DWORD block height DWORD layer count DWORD texture count (Could have this and the previous reversed as currently they are always the same) REP layer count [BYTE 0 padding to next DWORD boundry] DWORD size (Of this layer, not counting the first two DWORDs) DWORD blockcount BYTE texture (Index to Sims_3:0x9063660d) REP blockcount WORD block number (Big endian order, NOT little endian/Intel order) BYTE compressed IF compressed BYTE data (For all values in the block) ELSE REP block height REP block width BYTE data
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |