4B58975B
From SimsWiki
4B58975B | |
---|---|
Short name: | LTTX |
Long name: | Lot Texture |
- - previously named as TMAP
- - presently named as LTTX
- - Hex Code: 4B58975B
- - Description: Lot Texture
Contents |
Format
Header
As specified in WDB.
- ZEROs (offsets 00-3F HEX)
- Unknown
- DWORD (offsets 40-43 HEX)
- Block ID
- Value = 0x4B58975B
- DWORD (offsets 44-47 HEX)
- Block Version
- The only known Block Version is 7.
Data Section
- DWORD (offsets 48-4B HEX)
- Lot Width
- DWORD (offsets 4C-4F HEX)
- Lot Height
- 7BITSTR (starting at offset 50 HEX)
- Default terrain texture name
- One of:
- lottexture-test-01
- lottexture-canvas-desert
- DWORD
- Count X
- Number of additional terrain paints on the lot.
- Default for a new lot is 4
- repeat X times
-
- 7BITSTR
- Terrain texture name
- First 4 values on any lot are:
- terrain-cliff
- terrain-seabed-shallow
- terrain-seabed-deep
- terrain-beach
- These 4 default values are followed by the any additional terrain textures used on the lot.
- First 4 values on any lot are:
Note:
1) Lot Terrain Geometry LOTG records from instance 0x5CBC to 0x5CED contain the strengths of the terrain paints listed in the LTTX record, in order.
2) Lot Terrain Geometry LOTG records with instances above 0x5CEE on may be the cause of a problem with blue terrain on lots when custom terrain paints are not available.
Resources
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/4B58975B
- http://www.modthesims2.com/showpost.php?p=1900590&postcount=1475
- http://www.modthesims2.com/showpost.php?p=1791493&postcount=295
- http://www.modthesims2.com/showpost.php?p=1901160&postcount=1478
Properties
Functions
- To decide which lot texture(s) to draw and/or blend for the lot terrain graphical presentation.
- To contain the terrain paint names added following the default ones. More terrain paint infos can be found 6B943B43.