Difference between revisions of "Sims 3:0x0354796A"

From SimsWiki
Jump to: navigation, search
(Format)
m (Clarification)
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
<br clear="all">
 
<br clear="all">
  
==Format==
+
==Format version 4==
  
 
  DWORD Version
 
  DWORD Version
 
  DWORD TGI Offset
 
  DWORD TGI Offset
 
  DWORD TGI Size
 
  DWORD TGI Size
 +
 +
//Shader Keys
 
  DWORD count1
 
  DWORD count1
 
  --repeat(count1)
 
  --repeat(count1)
  BYTE[4]
+
  DWORD [[Sims 3:CAS Part Flags|Age/Gender flags]]
  DWORD //RGBA
+
  DWORD Edge Color //ARGB
  DWORD //RGBA
+
  DWORD Specular Color //ARGB
  FLOAT
+
  FLOAT Specular Power
  BYTE
+
  BYTE Genetic //Boolean
  DWORD
+
  DWORD
+
  DWORD index of DDS tone ramp //[[Sims 3:0x00B2D882|DDS]]
 +
  DWORD SubSkinRamp index //[[Sims 3:0x00B2D882|DDS]]
 +
 +
//Texture Keys
 
  DWORD count2
 
  DWORD count2
  --repeat(count2)
+
  --repeat(count2)  
  BYTE[4]
+
  DWORD [[Sims 3:CAS Part Flags|Age/Gender flags]]
  DWORD index1
+
  DWORD [[Sims 3:CAS Part Flags|Type flags]]
  DWORD index2
+
  DWORD index //[[Sims 3:0x00B2D882|DDS]] - Specular
  DWORD index3
+
  DWORD index //[[Sims 3:0x00B2D882|DDS]] - Detail(Dark)
  DWORD index4
+
  DWORD index //[[Sims 3:0x00B2D882|DDS]] - Detail(Light)
  DWORD index5
+
  DWORD index //[[Sims 3:0x00B2D882|DDS]] - Normal
  DWORD index6
+
  DWORD index //[[Sims 3:0x00B2D882|DDS]] - Overlay
  BYTE
+
  BYTE //Dominant
 
  --insert [[Sims 3:Key table|TGI Block List]]
 
  --insert [[Sims 3:Key table|TGI Block List]]
  
 +
==Format version 6==
 +
 +
//post- core version 1.17 / Late Night patch with muscle definition slider
 +
 +
DWORD Version
 +
DWORD TGI Offset
 +
DWORD TGI Size
 +
 +
//Shader Keys
 +
DWORD count1
 +
--repeat(count1)
 +
DWORD [[Sims 3:CAS Part Flags|Age/Gender flags]]
 +
DWORD Edge Color //ARGB
 +
DWORD Specular Color //ARGB
 +
FLOAT Specular Power
 +
BYTE  Genetic //Boolean
 +
 +
DWORD index of DDS tone ramp in TGI //[[Sims 3:0x00B2D882|DDS]]
 +
DWORD SkinSubSRamp index in TGI //[[Sims 3:0x00B2D882|DDS]]
 +
 +
//Texture Keys
 +
DWORD count2
 +
--repeat(count2)
 +
DWORD [[Sims 3:CAS Part Flags|Age/Gender flags]]
 +
DWORD [[Sims 3:CAS Part Flags|Type flags]]
 +
DWORD index //[[Sims 3:0x00B2D882|DDS]] - Specular
 +
DWORD index //[[Sims 3:0x00B2D882|DDS]] - Detail(Dark)
 +
DWORD index //[[Sims 3:0x00B2D882|DDS]] - Detail(Light)
 +
DWORD index //[[Sims 3:0x00B2D882|DDS]] - Normal
 +
DWORD index //[[Sims 3:0x00B2D882|DDS]] - Overlay
 +
        DWORD index //[[Sims 3:0x00B2D882|DDS]] - Cutness (muscle definition normal)
 +
        DWORD index //[[Sims 3:0x00B2D882|DDS]] - Cleavage (cleavage normal)
 +
BYTE //Dominant
 +
--insert [[Sims 3:Key table|TGI Block List]]
 +
 +
Note that the DDS tone ramp instance is also used for the PNG skintone thumbnail: [[Sims 3:0x2F7D0004|PNG]]
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Latest revision as of 00:06, 27 October 2012

Modding Reference by Category

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

Skin Tone - TONE
TypeID:0x0354796A
Game Version:The Sims 3



[edit] Format version 4

DWORD Version
DWORD TGI Offset
DWORD TGI Size

//Shader Keys
DWORD count1
--repeat(count1)
	DWORD Age/Gender flags
	DWORD Edge Color //ARGB
	DWORD Specular Color //ARGB
	FLOAT Specular Power
	BYTE  Genetic //Boolean

DWORD index of DDS tone ramp //DDS
DWORD SubSkinRamp index //DDS

//Texture Keys
DWORD count2
--repeat(count2) 
	DWORD Age/Gender flags
	DWORD Type flags
	DWORD index //DDS - Specular
	DWORD index //DDS - Detail(Dark)
	DWORD index //DDS - Detail(Light)
	DWORD index //DDS - Normal
	DWORD index //DDS - Overlay
BYTE //Dominant
--insert TGI Block List

[edit] Format version 6

//post- core version 1.17 / Late Night patch with muscle definition slider

DWORD Version
DWORD TGI Offset
DWORD TGI Size

//Shader Keys
DWORD count1
--repeat(count1)
	DWORD Age/Gender flags
	DWORD Edge Color //ARGB
	DWORD Specular Color //ARGB 
	FLOAT Specular Power
	BYTE  Genetic //Boolean

DWORD index of DDS tone ramp in TGI //DDS
DWORD SkinSubSRamp index in TGI //DDS

//Texture Keys
DWORD count2
--repeat(count2) 
	DWORD Age/Gender flags
	DWORD Type flags
	DWORD index //DDS - Specular
	DWORD index //DDS - Detail(Dark)
	DWORD index //DDS - Detail(Light)
	DWORD index //DDS - Normal
	DWORD index //DDS - Overlay
        DWORD index //DDS - Cutness (muscle definition normal)
        DWORD index //DDS - Cleavage (cleavage normal)
BYTE //Dominant
--insert TGI Block List
Note that the DDS tone ramp instance is also used for the PNG skintone thumbnail: PNG
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