Difference between revisions of "AC8A7A2E"
From SimsWiki
(Cleaned up and updated for OfB) |
(Add stealth flags) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{Resource tgi |
+ | |short = NID | ||
+ | |long = ID number | ||
+ | }} | ||
+ | |||
This resource contains neighborhood IDs. This resource also goes by the short name IDNO. | This resource contains neighborhood IDs. This resource also goes by the short name IDNO. | ||
==Format== | ==Format== | ||
;DWORD | ;DWORD | ||
− | :Version | + | :Version |
+ | ::0x03 = TS2 | ||
+ | ::0x05 = EP1 [University] | ||
+ | ::0x07 = EP2 [Nightlife] | ||
+ | ::0x08 = EP3 [Open for Business] | ||
+ | ::0x09 = EP4 [Pets] | ||
+ | ::0x0A = EP5 [Seasons] and above | ||
;DWORD | ;DWORD | ||
:Length P | :Length P | ||
;P bytes | ;P bytes | ||
− | : | + | :Primary neighborhood prefix (N''xxx'' or the neighborhood folder name). |
+ | :Also standalone sub-neighborhood prefix (before subhood has been added to a neighborhood). | ||
;DWORD | ;DWORD | ||
:Neighborhood ID | :Neighborhood ID | ||
;''if (Version >= 5)'' | ;''if (Version >= 5)'' | ||
− | :;DWORD | + | ::;DWORD |
− | ::Hood type | + | :::Hood type |
− | ::*1 - main hood | + | :::*1 - main hood |
− | ::*2 - campus | + | :::*2 - campus (University) |
− | ::*3 - downtown | + | :::*3 - downtown (Nightlife) |
− | ::*4 - suburb | + | :::*4 - suburb (Open for Business plus stealth neighborhoods from Pets, Seasons, Bon Voyage, FreeTime, and Apartment Life) |
− | :;DWORD | + | :::*5 - village (Bon Voyage: Far East) |
− | ::Length A (only non-zero | + | :::*6 - lakes (Bon Voyage: Mountain) |
− | :;A bytes | + | :::*7 - island (Bon Voyage: Island) |
− | :: | + | ::;DWORD |
+ | :::Length A (only non-zero if this is a sub-neighborhood which has been added to a neighborhood) | ||
+ | ::;A bytes | ||
+ | :::Sub-neighborhood prefix (U''xxx'', D''xxx'', B''xxx'', etc) | ||
;''if (Version >= 7)'' | ;''if (Version >= 7)'' | ||
− | :;DWORD | + | ::;DWORD |
− | ::Is downtown | + | :::Is downtown? (0 = false, 1 = true) |
− | :;DWORD | + | ::;DWORD |
− | ::Unknown (Always 2 in NL and 4 in OfB?) | + | :::Unknown (Always 2 in NL and 4 in OfB?) |
;''if (Version >= 8)'' | ;''if (Version >= 8)'' | ||
− | :;DWORD | + | ::;DWORD |
− | ::Unknown ( | + | :::Unknown |
+ | ;''if (Version >= 9)'' | ||
+ | ::;DWORD | ||
+ | :::Stealth Flags | ||
+ | :::*0 indicates that this is not a stealth subhood. | ||
+ | :::For the first byte (normally located at 0x24 if unattached; 0x28 if attached) | ||
+ | :::*0x0010 - Unknown; used by all stealth subhoods. | ||
+ | :::*0x0100 - Unknown; used by Weather, Hobbies, and Exotic Destinations. | ||
+ | :::*0x1000 - Unknown; used by Exotic Destinations. | ||
+ | ;''if (Version >= 0x0A)'' | ||
+ | ::;Byte | ||
+ | :::Unknown (usually 1) | ||
+ | ::;Byte | ||
+ | :::Unknown (usually 2) | ||
+ | ::;Byte | ||
+ | :::Unknown (usually 3) | ||
+ | ::;Byte | ||
+ | :::Unknown (usually 0) | ||
+ | |||
− | {{ | + | {{OldWikiEntryCleaned|AC8A7A2E|NID}} |
− | + | ||
− | [[Category:Modding]] | + | [[Category:Sims 2 Modding]] |
[[Category:InternalFormats]] | [[Category:InternalFormats]] | ||
[[Category:FormatsByTGI]] | [[Category:FormatsByTGI]] |
Latest revision as of 14:55, 26 June 2013
AC8A7A2E | |
---|---|
Short name: | NID |
Long name: | ID number |
This resource contains neighborhood IDs. This resource also goes by the short name IDNO.
[edit] Format
- DWORD
- Version
- 0x03 = TS2
- 0x05 = EP1 [University]
- 0x07 = EP2 [Nightlife]
- 0x08 = EP3 [Open for Business]
- 0x09 = EP4 [Pets]
- 0x0A = EP5 [Seasons] and above
- DWORD
- Length P
- P bytes
- Primary neighborhood prefix (Nxxx or the neighborhood folder name).
- Also standalone sub-neighborhood prefix (before subhood has been added to a neighborhood).
- DWORD
- Neighborhood ID
- if (Version >= 5)
- DWORD
- Hood type
- 1 - main hood
- 2 - campus (University)
- 3 - downtown (Nightlife)
- 4 - suburb (Open for Business plus stealth neighborhoods from Pets, Seasons, Bon Voyage, FreeTime, and Apartment Life)
- 5 - village (Bon Voyage: Far East)
- 6 - lakes (Bon Voyage: Mountain)
- 7 - island (Bon Voyage: Island)
- DWORD
- Length A (only non-zero if this is a sub-neighborhood which has been added to a neighborhood)
- A bytes
- Sub-neighborhood prefix (Uxxx, Dxxx, Bxxx, etc)
- if (Version >= 7)
- DWORD
- Is downtown? (0 = false, 1 = true)
- DWORD
- Unknown (Always 2 in NL and 4 in OfB?)
- if (Version >= 8)
- DWORD
- Unknown
- if (Version >= 9)
- DWORD
- Stealth Flags
- 0 indicates that this is not a stealth subhood.
- For the first byte (normally located at 0x24 if unattached; 0x28 if attached)
- 0x0010 - Unknown; used by all stealth subhoods.
- 0x0100 - Unknown; used by Weather, Hobbies, and Exotic Destinations.
- 0x1000 - Unknown; used by Exotic Destinations.
- if (Version >= 0x0A)
- Byte
- Unknown (usually 1)
- Byte
- Unknown (usually 2)
- Byte
- Unknown (usually 3)
- Byte
- Unknown (usually 0)
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/AC8A7A2E and http://old_wiki.modthesims2.com/NID