Difference between revisions of "4B58975B"
From SimsWiki
(Cleanup and clarification.) |
(Lots which are too close to the water will get the beach terrain.) |
||
(One intermediate revision by one user not shown) | |||
Line 36: | Line 36: | ||
;[[7BITSTR]] (starting at offset 50 HEX) | ;[[7BITSTR]] (starting at offset 50 HEX) | ||
: Default terrain texture name | : Default terrain texture name | ||
− | : | + | : Usually one of: |
− | :: lottexture-test-01 | + | :: lottexture-test-01 (This is the standard lush terrain) |
:: lottexture-canvas-desert | :: lottexture-canvas-desert | ||
+ | :: lottexture-canvas-dirt | ||
+ | :: lottexture-concrete-01 | ||
+ | :: terrain-beach | ||
; DWORD | ; DWORD | ||
Line 59: | Line 62: | ||
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. | 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. | ||
− | |||
− | |||
===Resources=== | ===Resources=== |
Latest revision as of 02:20, 17 May 2013
4B58975B | |
---|---|
Short name: | LTTX |
Long name: | Lot Texture |
- - previously named as TMAP
- - presently named as LTTX
- - Hex Code: 4B58975B
- - Description: Lot Texture
Contents |
[edit] Format
[edit] 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.
[edit] 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
- Usually one of:
- lottexture-test-01 (This is the standard lush terrain)
- lottexture-canvas-desert
- lottexture-canvas-dirt
- lottexture-concrete-01
- terrain-beach
- 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.
[edit] 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
[edit] Properties
[edit] 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.