Difference between revisions of "Sims 3:0xD382BF57"

From SimsWiki
Jump to: navigation, search
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<pre>
+
{{TS3AdvancedModdingHeader}}
DWORD - FTPT
+
{{TS3Resource
DWORD - Version
+
|name=Model Footprint - FTPT
 +
|typeid= 0x015A1849
 +
|expansion=The Sims 3
 +
}}
 +
<br clear="all">
  
BYTE - EntryCount
+
==Overview==
-Entries
+
This is an [[Sims 3:RCOL|RCOL]] chunk.
4 BYTES - GUID?
+
BYTE
+
DWORD
+
  
BYTE - SubEntrycount
+
==Format==
-SubEntries
+
DWORD - FTPT
FLOAT
+
DWORD - Version
FLOAT
+
 +
BYTE - EntryCount
 +
-Entries // Footprint/shape related areas
 +
DWORD Name (Hash 32)
 +
BYTE // Priority
 +
DWORD FootprintTypeFlags
 +
 +
BYTE - points2
 +
-point2 entries // Closed polygon
 +
FLOAT X
 +
FLOAT Y
 +
 +
DWORD // AllowIntersectionFlags
 +
DWORD // SurfaceTypeFlags
 +
DWORD // SurfaceAttributeFlags
 +
BYTE  // Level Offset
 +
if(Version >= 7) FLOAT //Elevation Offset
 +
FLOAT X // Bounding box lower X
 +
FLOAT Y // Bounding box lower Y
 +
FLOAT X // Bounding box upper X
 +
FLOAT Y // Bounding box upper Y
 +
 +
BYTE - EntryCount2
 +
-Entries2 // Slot related areas
 +
DWORD Name (Hash 32)
 +
BYTE // Priority
 +
DWORD FootprintTypeFlags
 +
 +
BYTE - points2
 +
-point2 entries // Closed polygon
 +
FLOAT X
 +
FLOAT Y
 +
 +
DWORD // AllowIntersectionFlags
 +
DWORD // SurfaceTypeFlags
 +
DWORD // SurfaceAttributeFlags
 +
BYTE  // Level Offset
 +
if(Version >= 7) FLOAT //Elevation Offset
 +
FLOAT X // Bounding box lower X
 +
FLOAT Y // Bounding box lower Y
 +
FLOAT X // Bounding box upper X
 +
FLOAT Y // Bounding box upper Y
  
BYTE
+
==Flags==
DWORD
+
{|
DWORD
+
{| border="0" cellpadding="4"
DWORD
+
|- valign="top"
FLOAT
+
|
FLOAT
+
{| class="wikitable" border="1"
FLOAT
+
! colspan="3" | FootprintTypeFlags
FLOAT
+
|-
 +
! Flag
 +
! Description
 +
|-
 +
|0x00000001|| ForPlacement
 +
|-
 +
|0x00000002|| ForPathing
 +
|-
 +
|0x00000004|| IsEnabled
 +
|-
 +
|0x00000008|| IsDiscouraged
 +
|-
 +
|0x00000010|| ForShell
 +
|}
 +
|
 +
{| border="0" cellpadding="4"
 +
|- valign="top"
 +
|
 +
{| class="wikitable" border="1"
 +
! colspan="3" | AllowIntersectionFlags
 +
|-
 +
! Flag
 +
! Description
 +
|-
 +
|0x00000002|| Walls
 +
|-
 +
|0x00000004|| Objects
 +
|-
 +
|0x00000008|| Sims
 +
|-
 +
|0x00000010|| Roofs
 +
|-
 +
|0x00000020|| Fences
 +
|-
 +
|0x00000040|| ModularStairs
 +
|-
 +
|0x00000080|| ObjectsOfSameType
 +
|}
 +
|
 +
{| class="wikitable" border="1"
 +
! colspan="3" | SurfaceTypeFlags
 +
|-
 +
! Flag
 +
! Description
 +
|-
 +
|0x00000001|| Terrain
 +
|-
 +
|0x00000002|| Floor
 +
|-
 +
|0x00000004|| Pool
 +
|-
 +
|0x00000008|| Pond
 +
|-
 +
|0x00000010|| Fence
 +
|-
 +
|0x00000020|| AnySurface
 +
|-
 +
|0x00000040|| Air
 +
|-
 +
|0x00000080|| Roof
 +
|}
 +
|
 +
{| class="wikitable" border="1"
 +
! colspan="3" | SurfaceAttributeFlags
 +
|-
 +
! Flag
 +
! Description
 +
|-
 +
|0x00000001|| Inside
 +
|-
 +
|0x00000002|| Outside
 +
|-
 +
|0x00000004|| Slope
 +
|}
 +
|}
  
BYTE - EntryCount2
 
-Entries2
 
4 BYTES - GUID?
 
BYTE
 
DWORD
 
  
BYTE - SubEntrycount2
+
{{TS3AdvancedModdingHeader}}
-SubEntries2
+
FLOAT
+
FLOAT
+
 
+
BYTE
+
DWORD
+
DWORD
+
DWORD
+
FLOAT
+
FLOAT
+
FLOAT
+
FLOAT
+
 
+
 
+
</pre>
+

Latest revision as of 13:17, 30 October 2010

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Model Footprint - FTPT
TypeID:0x015A1849
Game Version:The Sims 3



[edit] Overview

This is an RCOL chunk.

[edit] Format

DWORD - FTPT
DWORD - Version

BYTE - EntryCount
-Entries // Footprint/shape related areas
	DWORD Name (Hash 32)
	BYTE // Priority
	DWORD FootprintTypeFlags

	BYTE - points2
	-point2 entries // Closed polygon
		FLOAT X
		FLOAT Y

	DWORD // AllowIntersectionFlags
	DWORD // SurfaceTypeFlags 
	DWORD // SurfaceAttributeFlags
	BYTE  // Level Offset
	if(Version >= 7) FLOAT //Elevation Offset
	FLOAT X // Bounding box lower X
	FLOAT Y // Bounding box lower Y
	FLOAT X // Bounding box upper X
	FLOAT Y // Bounding box upper Y

BYTE - EntryCount2
-Entries2 // Slot related areas
	DWORD Name (Hash 32)
	BYTE // Priority
	DWORD FootprintTypeFlags

	BYTE - points2
	-point2 entries // Closed polygon
		FLOAT X
		FLOAT Y

	DWORD // AllowIntersectionFlags
	DWORD // SurfaceTypeFlags 
	DWORD // SurfaceAttributeFlags
	BYTE  // Level Offset
	if(Version >= 7) FLOAT //Elevation Offset
	FLOAT X // Bounding box lower X
	FLOAT Y // Bounding box lower Y
	FLOAT X // Bounding box upper X
	FLOAT Y // Bounding box upper Y

[edit] Flags

FootprintTypeFlags
Flag Description
0x00000001 ForPlacement
0x00000002 ForPathing
0x00000004 IsEnabled
0x00000008 IsDiscouraged
0x00000010 ForShell
AllowIntersectionFlags
Flag Description
0x00000002 Walls
0x00000004 Objects
0x00000008 Sims
0x00000010 Roofs
0x00000020 Fences
0x00000040 ModularStairs
0x00000080 ObjectsOfSameType
SurfaceTypeFlags
Flag Description
0x00000001 Terrain
0x00000002 Floor
0x00000004 Pool
0x00000008 Pond
0x00000010 Fence
0x00000020 AnySurface
0x00000040 Air
0x00000080 Roof
SurfaceAttributeFlags
Flag Description
0x00000001 Inside
0x00000002 Outside
0x00000004 Slope


Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox