Download details
  • Original Author: null45
Humane Society Ordinance DLL Pl Humane Society Ordinance DLL Plugin

A DLL Plugin for SimCity 4 that adds a Humane Society ordinance to the game.

This ordinance is based on the Humane Society ordinance suggestion in this post, and has the following properties:

Availability Requirements: At least 1 hospital or clinic. The original suggestion did not include this, but I think it makes sense given the per hospital/clinic cost.
Expense: Base cost of $-50/month plus $-5 per hospital/clinic.
Effects:

  • Increases mayor rating by 5 points.
  • Reduces crime by 5%.

System Requirements

    Windows 10 or later

The plugin may work on Windows 7 or later with the Microsoft Visual C++ 2022 x86 Redistribute installed, but I do not have to ability to test that.

Installation

    1. Close SimCity 4.
    2. Copy SC4HumaneSocietyOrdinance.dll and SC4HumaneSocietyOrdinance.ini into the Plugins folder in the SimCity 4 installation directory.
    3. Start SimCity 4.

Changing the plugin text

Because plugin DLLs don't have access to the game's code for handling LTEXT files, translation is handled by adjusting the Name and Description values in SC4HumaneSocietyOrdinance.ini.
Note that the text is expected to use UTF-8 encoding.

    1. Open SC4HumaneSocietyOrdinance.ini in a text editor (e.g. Notepad).
    Note that depending on the permissions of your SimCity 4 installation directory you may need to start the text editor with administrator permissions to be able to save the file.

    2. Adjust the Name and Description values in the [Ordinance] section.

    3. Save the file and start the game.

Troubleshooting

The plugin should write a SC4HumaneSocietyOrdinance.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/762796-humane-society-ordinance-dll-plugin/

The plugin's source code and issue tracker are located on GitHub: https://github.com/0xC0000054/sc4-humane-society-ordinance

Information
Created 2024-03-22T02:23:30-07:00
Changed 2024-03-22T02:23:30-07:00
Version 1.0.0
Size 0
Created by SC4E Staff
Changed by SC4E Staff
Downloads 46
License