-
Notifications
You must be signed in to change notification settings - Fork 1
Mod Development: Creating a Mod
In Tactical Intervention Revived mods have their own file system, seperate to the main game. This allows for each mod to have a simple source, that can be merged into the main game files by the Tactical Intervention Revived launcher.
In a nutshell, all content in a mod folder will be written to the game file system automatically. The mods will overwrite base game content and other mods (based on load order).
-
MOD_FOLDER/models/player.mdl
will be mounted toGAME_FOLDER/models/player.mdl
To create a new mod follow these steps:
- Select the dropdown next to 'Add Mod' in the top left of the launcher
- Select 'Create a new mod' and fill out the form. For the version, enter '0.0.1'
You will now see your new mod appear in mod manager list - it will be marked as a 'Local Mod', this is because it is hosted on your machine locally and has not been downloaded from the internet.
- When you add, rename or remove files from your mod directory, you must press the 'Sync' button to sync your changes with the game.
- Remember to only develop in a local mod.
- You can edit your
mod.json
file in the base directory to change the mod details, never change the uid - You should increment the version number of your mod when you make new releases, this will allow users to update the mod automatically. Always keep the version number in the 'X.X.X' format. For example '1.6.3' is a valid version, '6.4' is not, '0.9.1' is a valid version, '0.9.1.1' is not.
Mods can be published using GitHub. To publish a mod, make the mod directory into a git repository and host it on GitHub. An example of a published mod can be found here.
If you don't know how to do this follow this simple guide:
- Get GitHub Desktop
- Open GitHub Desktop and goto File > New Repository
- Get the path to your mod in Tactical Intervention Revived (click the dropdown next to the mod and open the directory, then copy the path)
- Paste the mod path into the 'Local path' field
- Fill out the name and description
- Ingore the other options and click 'Create repository'
- Now use the GitHub Desktop interface to commit and push your changes. Each time you push changes, your mod will be updated.
- You can now share the GitHub link to your mod, and other users can download it.
- Join our Discord and share your mod in the
#mod_releases
channel
Get more help on Discord