Difference between revisions of "54544142"
From SimsWiki
m (Minor fixes) |
LimeyYoshi (Talk | contribs) m |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{Resource tgi |
+ | |short = [[TTAB]] | ||
+ | |long = Pie menu functions | ||
+ | }} | ||
− | ==Format== | + | ==Format (version 4E or lower)== |
;64 bytes | ;64 bytes | ||
:File name (null terminated) | :File name (null terminated) | ||
Line 11: | Line 14: | ||
:Null (This field never used in Sims 1 or 2 formats) | :Null (This field never used in Sims 1 or 2 formats) | ||
;WORD | ;WORD | ||
− | :Number of entries | + | :Number of entries (N) |
− | + | ||
− | :;WORD | + | Repeat N times: |
− | + | ;WORD | |
− | + | :Action | |
− | + | ;WORD | |
− | + | :Guard | |
− | + | ;''repeat once for version < 0x44, else 7 times'' | |
− | + | ||
:;DWORD | :;DWORD | ||
− | :: | + | ::Motive count (M) |
− | :;DWORD | + | ;WORD |
− | :: | + | :Flag field 1 |
+ | ;WORD | ||
+ | :Flag field 2 | ||
+ | ;DWORD | ||
+ | :TTAs index | ||
+ | ;DWORD | ||
+ | :Attenuation code (Dropoff speed Preset) | ||
+ | ;FLOAT | ||
+ | :Attenuation value (Dropoff speed literal) | ||
+ | ;DWORD | ||
+ | :Autonomy (required autonomy to use) | ||
+ | ;DWORD | ||
+ | :Join index | ||
+ | ;WORD | ||
+ | :UI Display Type | ||
+ | ;DWORD | ||
+ | :Facial Animation ID | ||
+ | ;FLOAT | ||
+ | :Memory Iterative Multiplier | ||
+ | ;DWORD | ||
+ | :Object Type | ||
+ | ;DWORD | ||
+ | :Model Table ID | ||
+ | ;''repeat once for version < 0x44, else 7 times'' | ||
+ | :;''repeat M times'' | ||
+ | ::;WORD | ||
+ | :::Min advertisement | ||
+ | ::;WORD | ||
+ | :::Advertisement change if Personality Type matches | ||
+ | ::;WORD | ||
+ | :::Personality Type | ||
+ | |||
+ | ;Byte/DWORD | ||
+ | :Name length (L) | ||
+ | ;L bytes | ||
+ | :File name | ||
+ | |||
+ | ==Format (version 54 or 55)== | ||
+ | Note that Min, Delta and Type get swapped if these TTAB versions are used. SimPE is not yet updated to take this swap into account, so caution is advised. | ||
+ | |||
+ | ;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. 55/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 (N) | ||
+ | |||
+ | Repeat N times: | ||
+ | ;WORD | ||
+ | :Action | ||
+ | ;WORD | ||
+ | :Guard | ||
+ | ;WORD | ||
+ | :Flag field 1 | ||
+ | ;WORD | ||
+ | :Flag field 2 | ||
+ | ;DWORD | ||
+ | :TTAs index | ||
+ | ;DWORD | ||
+ | :Attenuation code (Dropoff speed Preset) | ||
+ | ;FLOAT | ||
+ | :Attenuation value (Dropoff speed literal) | ||
+ | ;DWORD | ||
+ | :Autonomy (required autonomy to use) | ||
+ | ;DWORD | ||
+ | :Join index | ||
+ | ;WORD | ||
+ | :UI Display Type | ||
+ | ;DWORD | ||
+ | :Facial Animation ID | ||
+ | ;FLOAT | ||
+ | :Memory Iterative Multiplier | ||
+ | ;DWORD | ||
+ | :Object Type | ||
+ | ;DWORD | ||
+ | :Model Table ID | ||
+ | ;DWORD | ||
+ | :Number of Ad tables to follow (M) | ||
+ | ;DWORD | ||
+ | ;''repeat M times'' | ||
:;DWORD | :;DWORD | ||
− | :: | + | ::Length of Ad table to follow (so then not every zeroed out entry has to be listed) |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
:;WORD | :;WORD | ||
− | :: | + | ::Personality Type |
− | + | :;WORD | |
− | + | ::Min advertisement | |
− | + | :;WORD | |
− | + | ::Advertisement change if Personality Type matches | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | :: | + | |
− | + | ||
− | + | ||
;Byte/DWORD | ;Byte/DWORD | ||
:Name length (L) | :Name length (L) | ||
Line 55: | Line 123: | ||
:File name | :File name | ||
− | {{ | + | {{OldWikiEntryCleaned|54544142|TTAB}} |
− | + | ||
− | [[Category:Modding]] | + | [[Category:Sims 2 Modding]] |
[[Category:InternalFormats]] | [[Category:InternalFormats]] | ||
[[Category:FormatsByTGI]] | [[Category:FormatsByTGI]] |
Latest revision as of 18:49, 20 April 2024
54544142 | |
---|---|
Short name: | TTAB |
Long name: | Pie menu functions |
[edit] Format (version 4E or lower)
- 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 (N)
Repeat N times:
- WORD
- Action
- WORD
- Guard
- repeat once for version < 0x44, else 7 times
- DWORD
- Motive count (M)
- WORD
- Flag field 1
- WORD
- Flag field 2
- DWORD
- TTAs index
- DWORD
- Attenuation code (Dropoff speed Preset)
- FLOAT
- Attenuation value (Dropoff speed literal)
- DWORD
- Autonomy (required autonomy to use)
- DWORD
- Join index
- WORD
- UI Display Type
- DWORD
- Facial Animation ID
- FLOAT
- Memory Iterative Multiplier
- DWORD
- Object Type
- DWORD
- Model Table ID
- repeat once for version < 0x44, else 7 times
- repeat M times
- WORD
- Min advertisement
- WORD
- Advertisement change if Personality Type matches
- WORD
- Personality Type
- Byte/DWORD
- Name length (L)
- L bytes
- File name
[edit] Format (version 54 or 55)
Note that Min, Delta and Type get swapped if these TTAB versions are used. SimPE is not yet updated to take this swap into account, so caution is advised.
- 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. 55/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 (N)
Repeat N times:
- WORD
- Action
- WORD
- Guard
- WORD
- Flag field 1
- WORD
- Flag field 2
- DWORD
- TTAs index
- DWORD
- Attenuation code (Dropoff speed Preset)
- FLOAT
- Attenuation value (Dropoff speed literal)
- DWORD
- Autonomy (required autonomy to use)
- DWORD
- Join index
- WORD
- UI Display Type
- DWORD
- Facial Animation ID
- FLOAT
- Memory Iterative Multiplier
- DWORD
- Object Type
- DWORD
- Model Table ID
- DWORD
- Number of Ad tables to follow (M)
- DWORD
- repeat M times
- DWORD
- Length of Ad table to follow (so then not every zeroed out entry has to be listed)
- WORD
- Personality Type
- WORD
- Min advertisement
- WORD
- Advertisement change if Personality Type matches
- Byte/DWORD
- Name length (L)
- L bytes
- File name
This article is one of several on this topic imported from the old MTS2 wiki. It's original pages, with comments, can be found at http://old_wiki.modthesims2.com/54544142 and http://old_wiki.modthesims2.com/TTAB