Difference between revisions of "Sims 3:0x0418FE2A"

From SimsWiki
Jump to: navigation, search
(Format)
(Format)
Line 22: Line 22:
 
  DWORD //PostTileSpacing
 
  DWORD //PostTileSpacing
 
  BYTE //CanWalkOver
 
  BYTE //CanWalkOver
  if(Version >=0x00000008)
+
  if(Version >=0x0000000A){
 +
  BYTE CanWalkOver //boolean
 +
  BYTE ShouldNotGetThickSnow //boolean
 +
  BYTE SnowPostShapeIsCircle //boolean
 +
  FLOAT SnowThicknessPostScaleFactor
 +
  FLOAT SnowThicknessRailScaleFactor
 +
  FLOAT mSnowThicknessPostVerticalOffset
 +
  FLOAT SnowThicknessRailVerticalOffset
 +
  BYTE HasWall //boolean
 +
 +
}
 +
if( Version >0x00000007 && (Version < 0x0000000A || HasWall) )
 
  {
 
  {
 
   BYTE //RaiseFenceGeometryAboveWall (boolean)
 
   BYTE //RaiseFenceGeometryAboveWall (boolean)
 
   DWORD // Wall TGI index
 
   DWORD // Wall TGI index
 +
 
 
  }
 
  }
 
   
 
   

Revision as of 23:24, 16 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



Overview

Catalog resource used to define fences.


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 >=0x0000000A){
  	BYTE CanWalkOver //boolean
 	BYTE ShouldNotGetThickSnow //boolean
 	BYTE SnowPostShapeIsCircle //boolean
 	FLOAT SnowThicknessPostScaleFactor
 	FLOAT SnowThicknessRailScaleFactor
 	FLOAT mSnowThicknessPostVerticalOffset
 	FLOAT SnowThicknessRailVerticalOffset
  	BYTE HasWall //boolean

}
if( Version >0x00000007 && (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