• Version 1.0.1
  • 1,197 Downloads

A DLL Plugin for SimCity 4 that allows new ordinances to be defined in ordinance exemplars. This DLL is a dependency for mods that add new custom ordinances into the game. The ordinance exemplars support a number of availability conditions and monthly income/expense properties that can be used to customize the ordinance behavior. Creating New Ordinances A tutorial on creating new ordinances is located at: Tutorial for Creating New Ordinances Example Ordinances The examples directory contains several ordinances that can be used as-is or as a guide for creating your own ordinances. See the read-me in that directory for more information on those ordinances. Ordinance Exemplars Each ordinance exemplar must have a unique instance id, this is how SC4 will identify the ordinance. The ordinance exemplar must have an ExemplarType property with the value set to Ordinances (14). Ordinance Exemplar Properties The documentation is on the Ordinance Exemplar Properties page. The exemplar properties are persisted in the save game, and the exemplar will be ignored once the city has been saved. Because of this, the ordinance tuning should be done in a new city or in an existing city without saving. System Requirements Windows 10 or later Microsoft Visual C++ 2022 x86 Redistribute Installation Close SimCity 4. Copy SC4CustomOrdinanceHost.dll into the top-level of the Plugins folder in the SimCity 4 installation directory or Documents/SimCity 4 directory. Start SimCity 4. Installing New Ordinances The ordinance DAT files must be installed in Documents/SimCity 4/Plugins/140-ordinances (or a sub-folder). Troubleshooting The plugin should write a SC4CustomOrdinanceHost.log file in the same folder as the plugin.
The log contains status information for the most recent run of the plugin. Source Code and Support Plugin thread: https://community.simtropolis.com/forums/topic/763782-custom-ordinance-exemplar-host-dll The plugin's source code and issue tracker are located on GitHub: https://github.com/0xC0000054/sc4-custom-ordinance-host   If you would like to make voluntary contributions to support me in continuing to create more content for SimCity 4, I accept donations via PayPal: https://paypal.me/0xC0000054   Thanks to the few people who have donated to me.