Difference between revisions of "Ordinance Subfiles"
Jump to navigation
Jump to search
(Created page with "{{MTS2}} This page pertains to the format of the '''Ordinances''' file within Savegame files. More information about the game's Ordinances can be found in the Ordinanc...") |
(Fill in a bunch of unknown fields) |
||
Line 11: | Line 11: | ||
Dword - File size | Dword - File size | ||
Qword - Unknown, always changing. Perhaps time stamp? | Qword - Unknown, always changing. Perhaps time stamp? | ||
− | + | Word - Version, always 4. | |
+ | Byte - Initialized (Tracks if the ordinance class initialization method has been called). | ||
Dword - Type ID of file/Ordinance ID. | Dword - Type ID of file/Ordinance ID. | ||
Dword - Length of Ordinance Name. | Dword - Length of Ordinance Name. | ||
Line 22: | Line 23: | ||
Qword - Retractment Income. | Qword - Retractment Income. | ||
Qword - Monthly Constant Income/Expense. | Qword - Monthly Constant Income/Expense. | ||
− | + | Float32 - Monthly Income factor. | |
− | Dword - | + | Dword - Advisor ID (unused, always 0) |
Byte - Available to Enact (In other words, is it actually showing up in the Ordinance screen or not). | Byte - Available to Enact (In other words, is it actually showing up in the Ordinance screen or not). | ||
Byte - Ordinance On/Off (That is, whether the Ordinance has actually been enacted or not by the user). | Byte - Ordinance On/Off (That is, whether the Ordinance has actually been enacted or not by the user). | ||
− | Byte - | + | Byte - Enabled (Can the ordinance show up in the menu or be turned on). |
Byte/QWord - Dual purpose: | Byte/QWord - Dual purpose: | ||
For Byte - City nonincorporated it's always 01. | For Byte - City nonincorporated it's always 01. | ||
Line 33: | Line 34: | ||
Byte - Ordinance Category; Income/Expense. | Byte - Ordinance Category; Income/Expense. | ||
− | + | ||
+ | Ordinance Property Data: | ||
+ | |||
+ | Word - Exemplar Property Data Version (always 2). | ||
+ | Word - Generic Property Data Version (always 2). | ||
+ | Dword - Generic Property Count (always 0). | ||
Dword - Group ID of Ordinance Exemplar. | Dword - Group ID of Ordinance Exemplar. | ||
Dword - Type ID of Ordinance Exemplar. | Dword - Type ID of Ordinance Exemplar. |
Latest revision as of 02:21, 23 December 2023
The information in this article was copied from the SimsWiki and may be outdated. This article has not been reviewed for technical accuracy or updated knowledge on this topic. If you are knowledgeable enough on the topic to review the article, please do so and remove this label. (more info). |
This page pertains to the format of the Ordinances file within Savegame files.
More information about the game's Ordinances can be found in the Ordinance article.
Specification
This specification covers the format of all ordinance files within SimCity 4 Savegame files. The relevant Type IDs are as follows: 00D0723D, 02BF1DFA, 22F6E80C, 22F6E81B, 40D07236, 42BF1E18, 62BF1DAA, 62BF1DB9, 62F6E7CF, 815B4CEF, 82B9999B, A0D07129, A2BF1DDC, A2BF1DE5, A2BF1E43, C2BF1DC5, C2BF1E04, C2F6E81F, E0D0722E, E0D07233.
Dword - File size Qword - Unknown, always changing. Perhaps time stamp? Word - Version, always 4. Byte - Initialized (Tracks if the ordinance class initialization method has been called). Dword - Type ID of file/Ordinance ID. Dword - Length of Ordinance Name. String - Ordinance Name. Dword - Length of Ordinance Description. String - Ordinance Description. Dword - Year available. Dword - Prior to City Incorporation, this is Monthly Chance. After incorporation, it changes. Qword - Enactment Income. Qword - Retractment Income. Qword - Monthly Constant Income/Expense. Float32 - Monthly Income factor. Dword - Advisor ID (unused, always 0) Byte - Available to Enact (In other words, is it actually showing up in the Ordinance screen or not). Byte - Ordinance On/Off (That is, whether the Ordinance has actually been enacted or not by the user). Byte - Enabled (Can the ordinance show up in the menu or be turned on). Byte/QWord - Dual purpose: For Byte - City nonincorporated it's always 01. For QWord - Current Monthly Income/Expense. Once a city becomes incorporated it becomes a Qword for Monthly Income/Expense. Byte - Ordinance Category; Income/Expense. Ordinance Property Data: Word - Exemplar Property Data Version (always 2). Word - Generic Property Data Version (always 2). Dword - Generic Property Count (always 0). Dword - Group ID of Ordinance Exemplar. Dword - Type ID of Ordinance Exemplar. Dword - Instance ID of Ordinance Exemplar and/or Ordinance ID. (Seems to also be the same as the Type ID of the ordinance file in the savegame).
|