Difference between revisions of "54544142"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
m (Cleaned up, etc)
Line 1: Line 1:
{{OldWikiEntry}} ====TTAB====
+
=54544142 (TTAB)=
  
64 - Filename (null terminated)
+
==Format=
4 - TTAB Type Handler -1 is standard (This field is normally the Typecode in other formats)
+
;64 bytes
4 - Version (Bitfield - Ex. 4E/78 - Read as 01001110 or 0XYYYYYY where X indicates TS2 TTAB, and Y is the version)
+
:File name (null terminated)
4 - Null (Never used in Sims 1 or 2 formats)
+
;DWORD
2 - Count n
+
:Type Handler/Code (-1 is standard for TTAB's, so Code doesnt really fit with this format)
 +
;DWORD
 +
:Version (Bitfield - Ex. 4E/78 - Read as 01001110 or 0XYYYYYY where X indicates TS2 TTAB, and Y is the version)
 +
;DWORD
 +
:Null (This field never used in Sims 1 or 2 formats)
 +
;WORD
 +
:Number of entries
 +
;for each entries
 +
:;WORD
 +
::Action
 +
:;WORD
 +
::Guard
 +
:;repeat once for version < 0x44, else 7 times
 +
::;DWORD
 +
:::Motive count (M)
 +
:;DWORD
 +
::Flags
 +
:;DWORD
 +
::TTA's index
 +
:;DWORD
 +
::Attenuation code (Dropoff speed Preset)
 +
:;FLOAT
 +
::Attenuation value (Dropoff speed literal)
 +
:;DWORD
 +
::Autonomy (required autonomy to use)
 +
:;DWORD
 +
::Join index
 +
:;WORD
 +
::Unknown (0x0000 is standard)
 +
:;DWORD
 +
::Unknown (2 is standard)
 +
:;FLOAT
 +
::Unknown (0.5 is standard)
 +
:;DWORD
 +
::Unknown (0 is standard)
 +
:;DWORD
 +
::Unknown (1 is standard)
 +
:;repeat once for version < 0x44, else 7 times
 +
::;repeat M times
 +
:::;WORD
 +
::::Min change
 +
:::;WORD
 +
::::Max change
 +
:::;WORD
 +
::::Personality type (vary motive advertisement by)
 +
;Byte/DWORD
 +
:Name length (L)
 +
;L bytes
 +
:File name
  
REPEAT n Times
+
{{OldWikiEntryCleanedOther}}
2 - Action
+
{{OldWikiEntryCleanedOther|TTAB}}
2 - Guard
+
 
REPEAT 7 Times (Motive Container Motive Count)
+
[[Category:Modding]]
4 - Motive Count m
+
[[Category:InternalFormats]]
END REPEAT
+
[[Category:FormatsByTGI]]
4 - Flags
+
4 - TTA's Index
+
4 - Attenuation Code
+
4 - Attenuation Value
+
4 - Autonomy
+
4 - Join Index
+
2 - Unknown (Priorities?)
+
2 - Unknown (Menu Order Data)
+
2 - Unknown (00 00)
+
2 - Unknown (00 00)
+
2 - Unknown (00 3F)
+
4 - Unknown
+
4 - Unknown
+
REPEAT (1 for each non-zero Motive Container)
+
REPEAT m Times (Motive)
+
        2 - Min Change
+
        2 - Max Change
+
        2 - MA Type (Vary Motive Advertisement by)
+
END REPEAT
+
END REPEAT
+
END REPEAT
+
1 or 4 - name length (L)
+
L - Filename [[Category:Modding]]
+

Revision as of 00:05, 14 July 2006

54544142 (TTAB)

=Format

64 bytes
File name (null terminated)
DWORD
Type Handler/Code (-1 is standard for TTAB's, so Code doesnt really fit with this format)
DWORD
Version (Bitfield - Ex. 4E/78 - Read as 01001110 or 0XYYYYYY where X indicates TS2 TTAB, and Y is the version)
DWORD
Null (This field never used in Sims 1 or 2 formats)
WORD
Number of entries
for each entries
WORD
Action
WORD
Guard
repeat once for version < 0x44, else 7 times
DWORD
Motive count (M)
DWORD
Flags
DWORD
TTA's index
DWORD
Attenuation code (Dropoff speed Preset)
FLOAT
Attenuation value (Dropoff speed literal)
DWORD
Autonomy (required autonomy to use)
DWORD
Join index
WORD
Unknown (0x0000 is standard)
DWORD
Unknown (2 is standard)
FLOAT
Unknown (0.5 is standard)
DWORD
Unknown (0 is standard)
DWORD
Unknown (1 is standard)
repeat once for version < 0x44, else 7 times
repeat M times
WORD
Min change
WORD
Max change
WORD
Personality type (vary motive advertisement by)
Byte/DWORD
Name length (L)
L bytes
File name

Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox