- Open the CrossCode installation folder
- Open
assets
->mods
- Create a new folder for your mod. In this example we are going to use
myMod
- Create a new file called
package.json
This file is used to tell CCLoader how to load your mod. It contains the internal name (name
) the displayed name (ccmodHumanName
), versions (version
) and dependencies (ccmodDependencies
). Only name
and version
are required.
{
"name": "my-mod",
"ccmodHumanName": "My Mod",
"version": "1.0.0"
}
- Find a file to modify
In this example we will do a simple palette swap of Lea. You can find her sprites in assets/media/entity/player/move.png
.
- Copy the file to your mod
In order for CCLoader to pick up the file from the mod it needs to be inside the mod folder with the same name as the original. This means that assets/media/entity/player/move.png
turns into assets/mods/myMod/assets/media/entity/player/move.png
.
- Edit the file
In this example I am using Paint.net to swap Lea's red clothes for green ones:
- Restart the game and test your mod