Difference between revisions of "Sims 3:0x0418FE2A"

From SimsWiki
Jump to: navigation, search
m (Format: Fix version number of new format)
(Format)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
+
{{TS3AdvancedModdingHeader}}
<br/>[[Sims 3:Main Page]] -> [[Sims 3:Catalog Resource]]
+
{{TS3Resource
<hr/>
+
|name=Catalog Fence - CFEN
 +
|typeid=0x0418FE2A
 +
|expansion=The Sims 3
 +
}}
 +
<br clear="all">
 
==Overview==
 
==Overview==
 
Catalog resource used to define fences.
 
Catalog resource used to define fences.
 +
  
 
==Format==
 
==Format==
Line 12: Line 17:
 
  --insert [[Sims 3:Catalog Resource#Material List|Material List]] section for Object
 
  --insert [[Sims 3:Catalog Resource#Material List|Material List]] section for Object
 
  --insert [[Sims 3:Catalog Resource#Common|Common]] section
 
  --insert [[Sims 3:Catalog Resource#Common|Common]] section
  DWORD
+
  DWORD //Model VPXY index
  BYTE
+
  DWORD //DiagonalModel VPXY TGI index
  DWORD
+
  DWORD //PostModel VPXY TGI index
BYTE
+
  DWORD //PostTileSpacing
  DWORD
+
  BYTE //CanWalkOver
  BYTE
+
  if(Version >=0x00000008){
  DWORD
+
if(Version >=0x0000000A)
DWORD
+
{
DWORD
+
  BYTE ShouldNotGetThickSnow //boolean
DWORD
+
BYTE SnowPostShapeIsCircle //boolean
  BYTE
+
  FLOAT SnowThicknessPostScaleFactor
 +
  FLOAT SnowThicknessRailScaleFactor
 +
  FLOAT SnowThicknessPostVerticalOffset
 +
  FLOAT SnowThicknessRailVerticalOffset
 +
  BYTE HasWall //boolean
 +
  }
 +
if(Version < 0x0000000A || HasWall)
 +
{
 +
  BYTE //RaiseFenceGeometryAboveWall (boolean)
 +
  DWORD // Wall TGI index
 +
}
 +
  }
 
   
 
   
 
  --insert [[Sims 3:Key table|TGI Block List]]
 
  --insert [[Sims 3:Key table|TGI Block List]]
<hr/>
+
 
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
+
{{TS3AdvancedModdingHeader}}
<br/>[[Sims 3:Main Page]] -> [[Sims 3:Catalog Resource]]
+

Latest revision as of 18:41, 17 November 2012

Modding Reference by Category

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

Catalog Fence - CFEN
TypeID:0x0418FE2A
Game Version:The Sims 3



[edit] Overview

Catalog resource used to define fences.


[edit] Format

DWORD Version
DWORD TGI_offset // see Sims 3:Key table
DWORD TGI_size   // see Sims 3:Key table
--if Version >= 0x7
	--insert Material List section for Object
--insert Common section
DWORD //Model VPXY index
DWORD //DiagonalModel VPXY TGI index
DWORD //PostModel VPXY TGI index
DWORD //PostTileSpacing
BYTE //CanWalkOver
if(Version >=0x00000008){
	if(Version >=0x0000000A)
	{
 		BYTE ShouldNotGetThickSnow //boolean
	 	BYTE SnowPostShapeIsCircle //boolean
 		FLOAT SnowThicknessPostScaleFactor
 		FLOAT SnowThicknessRailScaleFactor
 		FLOAT SnowThicknessPostVerticalOffset
 		FLOAT SnowThicknessRailVerticalOffset
  		BYTE HasWall //boolean
  	}
	if(Version < 0x0000000A || HasWall)
	{
 		BYTE //RaiseFenceGeometryAboveWall (boolean)
 		DWORD // Wall TGI index
	}
}

--insert TGI Block List
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