Jump to content

Custom Ordinance Exemplar Host DLL  1.0.1

   (0 Reviews)

2 Screenshots

About This File

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

Installation

  1. Close SimCity 4.
  2. Copy SC4CustomOrdinanceHost.dll into the top-level of the Plugins folder in the SimCity 4 installation directory or Documents/SimCity 4 directory.
  3. 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.


What's New 1.0.1   View Changelog


Released

  • Add a tutorial on creating new ordinances.
  • Silently ignore overrides of Maxis ordinances.
  • Various other bug fixes and improvements.
  • Like 11
  • Thanks 2



User Feedback

Recommended Comments

Bei mir kommt da nichts, wenn ich diese Datei in den SimCity 4 Ordner packe und die Verordnungen bleiben wie sie sind. Selbst diese Verordnungen die da schon dabei sind funktionieren nicht. Wäre cool wenn man eine vernünftige Erklärung bekommt wie man das machen muss.

Share this comment


Link to comment
Share on other sites

Sign In or register to comment...

To comment in reply, you must be a community member

Sign In  

Already have an account? Sign in here.

Sign In Now

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account

×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections