Difference between revisions of "Sims 3:0xD382BF57"

From SimsWiki
Jump to: navigation, search
(Placement Flags)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
==Overview==
 
==Overview==
 
+
This is an [[Sims 3:RCOL|RCOL]] chunk.
  
 
==Format==
 
==Format==
Line 17: Line 17:
 
  -Entries // Footprint/shape related areas
 
  -Entries // Footprint/shape related areas
 
  DWORD Name (Hash 32)
 
  DWORD Name (Hash 32)
  BYTE // Always zero?
+
  BYTE // Priority
  DWORD Type flags // 1 = placement, 2 = pathing, 4 = shape, 8 = ??
+
  DWORD FootprintTypeFlags
 
   
 
   
  BYTE - points
+
  BYTE - points2
  -point entries // Closed polygon
+
  -point2 entries // Closed polygon
 
  FLOAT X
 
  FLOAT X
 
  FLOAT Y
 
  FLOAT Y
 
   
 
   
  DWORD // Placement flags 1
+
  DWORD // AllowIntersectionFlags
  DWORD // Placement flags 2
+
  DWORD // SurfaceTypeFlags
  DWORD // Placement flags 3
+
  DWORD // SurfaceAttributeFlags
  BYTE  // Always zero?
+
  BYTE  // Level Offset
 +
if(Version >= 7) FLOAT //Elevation Offset
 
  FLOAT X // Bounding box lower X
 
  FLOAT X // Bounding box lower X
 
  FLOAT Y // Bounding box lower Y
 
  FLOAT Y // Bounding box lower Y
Line 37: Line 38:
 
  -Entries2 // Slot related areas
 
  -Entries2 // Slot related areas
 
  DWORD Name (Hash 32)
 
  DWORD Name (Hash 32)
  BYTE // Always zero?
+
  BYTE // Priority
  DWORD Type flags // 1 = placement, 2 = pathing, 4 = shape, 8 = ??
+
  DWORD FootprintTypeFlags
 
   
 
   
 
  BYTE - points2
 
  BYTE - points2
Line 45: Line 46:
 
  FLOAT Y
 
  FLOAT Y
 
   
 
   
  DWORD // Placement flags 1
+
  DWORD // AllowIntersectionFlags
  DWORD // Placement flags 2
+
  DWORD // SurfaceTypeFlags
  DWORD // Placement flags 3
+
  DWORD // SurfaceAttributeFlags
  BYTE  // Always zero?
+
  BYTE  // Level Offset
 +
if(Version >= 7) FLOAT //Elevation Offset
 
  FLOAT X // Bounding box lower X
 
  FLOAT X // Bounding box lower X
 
  FLOAT Y // Bounding box lower Y
 
  FLOAT Y // Bounding box lower Y
Line 54: Line 56:
 
  FLOAT Y // Bounding box upper Y
 
  FLOAT Y // Bounding box upper Y
  
==Placement Flags==
+
==Flags==
 
+
{|
 
+
 
{| border="0" cellpadding="4"
 
{| border="0" cellpadding="4"
 
|- valign="top"
 
|- valign="top"
 
|
 
|
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
! colspan="3" | Flags 1
+
! colspan="3" | FootprintTypeFlags
 
|-
 
|-
 
! Flag  
 
! Flag  
 
! Description
 
! Description
 
|-
 
|-
|0x00000002||
+
|0x00000001|| ForPlacement
 
|-
 
|-
|0x00000004||
+
|0x00000002|| ForPathing
 
|-
 
|-
|0x00000008||
+
|0x00000004|| IsEnabled
 
|-
 
|-
|0x00000010|| Cannot be cloned.
+
|0x00000008|| IsDiscouraged
 
|-
 
|-
|0x00000020|| Can intersect with fence
+
|0x00000010|| ForShell
|-
+
|0x00000040||
+
|-
+
|0x00000080||
+
 
|}
 
|}
 +
|
 +
{| border="0" cellpadding="4"
 +
|- valign="top"
 
|
 
|
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
! colspan="3" | Flags 2
+
! colspan="3" | AllowIntersectionFlags
 
|-
 
|-
 
! Flag  
 
! Flag  
 
! Description
 
! Description
 
|-
 
|-
|0x00000001|| Can be placed on terrain
+
|0x00000002|| Walls
 
|-
 
|-
|0x00000002|| Can be placed on floor
+
|0x00000004|| Objects
 
|-
 
|-
|0x00000004|| Can be placed on pool floor
+
|0x00000008|| Sims
 
|-
 
|-
|0x00000008|| Can be placed on pond
+
|0x00000010|| Roofs
 
|-
 
|-
|0x00000010|| Can be placed on fence post
+
|0x00000020|| Fences
 
|-
 
|-
|0x00000020||
+
|0x00000040|| ModularStairs
 
|-
 
|-
|0x00000040|| Can be placed on air
+
|0x00000080|| ObjectsOfSameType
|-
+
|0x00000080|| Can be placed on roof
+
 
|}
 
|}
 
|
 
|
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
! colspan="3" | Flags 3
+
! colspan="3" | SurfaceTypeFlags
 
|-
 
|-
 
! Flag  
 
! Flag  
 
! Description
 
! Description
 
|-
 
|-
|0x00000001|| Can be placed inside
+
|0x00000001|| Terrain
 
|-
 
|-
|0x00000002|| Can be placed outside
+
|0x00000002|| Floor
 
|-
 
|-
|0x00000004||
+
|0x00000004|| Pool
|}
+
|}
+
 
+
Placement flags values seen
+
{| class="wikitable" border="1"
+
 
|-
 
|-
!  Flags 1
+
|0x00000008|| Pond
!  Flags 2
+
!  Flags 3
+
!  Seen on
+
!  Placement notes
+
 
|-
 
|-
| 0x00
+
|0x00000010|| Fence
| 0x03
+
| 0x03
+
| Most items
+
|
+
 
|-
 
|-
| 0x08
+
|0x00000020|| AnySurface
| 0x03
+
| 0x03
+
| Most items
+
|
+
 
|-
 
|-
| 0x08
+
|0x00000040|| Air
| 0x00
+
| 0x03
+
| Hot beverage machine
+
|
+
 
|-
 
|-
| 0x00
+
|0x00000080|| Roof
| 0x43
+
|}
| 0x03
+
| Paintings, wall hangings (Various)
+
| House walls, intersects
+
|-
+
| 0x08
+
| 0x43
+
| 0x03
+
| Paintings, wall hangings, clocks (Various)
+
 
|
 
|
 +
{| class="wikitable" border="1"
 +
! colspan="3" | SurfaceAttributeFlags
 
|-
 
|-
| 0x08
+
! Flag
| 0x20
+
! Description
| 0x03
+
| Pool rules, life preserver
+
| House or pool wall
+
 
|-
 
|-
| 0x8a
+
|0x00000001|| Inside
| 0x43
+
| 0x03
+
| Curtains (Various)
+
| House walls, no intersection with anything (Including other curtains and perpendicular walls)
+
 
|-
 
|-
| 0x0a
+
|0x00000002|| Outside
| 0x20
+
| 0x07
+
| Shutters
+
| House walls, intersects
+
 
|-
 
|-
| 0x48
+
|0x00000004|| Slope
| 0x43
+
| 0x03
+
| Wall lights (Various)
+
|
+
|-
+
| 0x4a
+
| 0x23
+
| 0x07
+
| Window (2x1, 3x1)
+
|
+
|-
+
| 0x4a
+
| 0x20
+
| 0x07
+
| Window (1x1)
+
|
+
|-
+
| 0x4a
+
| 0x43
+
| 0x03
+
| Window (3x1 diagonal)
+
|
+
|-
+
| 0x00
+
| 0x43
+
| 0x03
+
| Window (3x1 diagonal/tile), wall clocks (Various), ceiling lights
+
|
+
|-
+
| 0x98
+
| 0x23
+
| 0x03
+
| Chimneys (Various parts)
+
|
+
|-
+
| 0x18
+
| 0x03
+
| 0x07
+
| Chimneys (Ground level)
+
|
+
|-
+
| 0x08
+
| 0x01
+
| 0x06
+
| Plants
+
|
+
|-
+
| 0x08
+
| 0x0c
+
| 0x06
+
| Waterlilly
+
| Only in ponds
+
|-
+
| 0x08
+
| 0x04
+
| 0x03
+
| Pool light
+
| Pool walls only
+
|-
+
| 0x00
+
| 0x04
+
| 0x03
+
| Pool ladder
+
| Wet side of the ladder
+
|-
+
| 0x00
+
| 0x07
+
| 0x03
+
| Pool ladder
+
| Dry side of the ladder
+
|-
+
| 0x00
+
| 0x20
+
| 0x03
+
| Computer, laptop
+
|
+
|-
+
| 0xdc
+
| 0x03
+
| 0x03
+
| Most rugs
+
|
+
|-
+
| 0xdc
+
| 0x04
+
| 0x03
+
| Pool mosaic
+
| Bottom of pools only
+
|-
+
| 0xfc
+
| 0x3f
+
| 0x07
+
| Sprinkler "dome"
+
|
+
 
|}
 
|}
 +
|}
 +
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

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