starting_modding

Starting out modding in Hard Times

In this guide we will create a clone of the Vanilla Mod and we will use it to experiment modding features in Hard Times. This guide will cover just the cloning part of the job.

It’s very important that you must not edit or delete or whatsoever modify the Vanilla basic mod files and folders. Doing it will cause unpredictable effects and will potentially crash the game.
If you didn't do it yet, start the game so it will bootstrap on its first run and prepare all folder structures needed for modding. After you reached the main manu you can close it again. All init activities have been done.

1. First step is to locate your mods folder under your Hard Times persistent data path. It will be (under windows):

C:\Users\{YOUR USERNAME}\AppData\LocalLow\RadicalFiction\HARDTIMES

Your Hard Times mods folder will then be:

C:\Users\{YOUR USERNAME}\AppData\LocalLow\RadicalFiction\HARDTIMES\Mods 

2. Inside your Mods folder you will find the Vanilla folder. This folder contains all the data for the vanilla flavour of Hard Times. All we have to do is to create a new folder here and name this folder MyMod_MODPKG (or whatever you like!). Its mandatory to follow the naming convention of adding “_MODPKG” at the end of the mod name to make sure the game will recognize it as a mod package!

3. Enter your newly made folder and create the Descriptor.json file:

C:\Users\{YOUR USERNAME}\AppData\LocalLow\RadicalFiction\HARDTIMES\Mods\MyMod_MODPKG\Descriptor.json

This is the main descriptor of the mod and you will change some values to make sure your new mod will work properly. We will create a minimal descriptor with only the required properties set. Edit the content of the descriptor file like this:

{
  "modName": "MyMod_MODPKG",
  "author": "RadicalFiction",
  "gameVersion": ""
}

4. The first property is the modName. It must be exactly the same as the folder name.

5. The author value can be set to whatever you like.

6. The gameVersion property should indicate the game version the mod was realized for.

7. A full working mod will have many other properties set, but for this guide we are preparing just an empty barebone mod frame. In the next guides we will put in place also the other values.

8. You are done! Now you have a new mod working under your Hard Times installation. It’s important to note that now your new mod is just an emtpy box. You can activate it in game but it will lead to no changes in the gameplay. You can now experiment with the new mod without worries about changing values in the vanilla data.

9. Restart your Hard Times game and go to the mods section of the main menu. Your new mod should now be available under the “Available Mods” column. Click on it in order to pass it on the “Active Mods” list. You will have to restart the game to have you changes applied. Note that the loading order of your mod will affects how each will overwrite the others! Vanilla will always be loaded first, so other mods can overwrite every value in it.

10. After restarting the game you will find your new mod already in the Active mods list. Your mod is now ready to be edited and modified. In the next guides we will cover each single item in the mods customization list.

If you have problems or find errors in this guide please get in touch at info@tempi-duri.net.

You could leave a comment if you were logged in.
  • starting_modding.txt
  • Last modified: 2019/02/09 07:23
  • by thorfinio