-
Notifications
You must be signed in to change notification settings - Fork 26
Modding
Nils Schimmelmann edited this page Sep 10, 2021
·
3 revisions
MMapper looks up resources within a configurable path before it falls back to a default texture. This means that MMapper can be modded to use your own textures if you have the right filename in the right path when MMapper starts up.
OS | Path |
---|---|
Windows | C:/Users/<USER>/Documents/MMapper/Resources |
Mac | ~/Documents/MMapper/Resources |
Linux | ~/Documents/MMapper/Resources |
In order to replace some of the textures you need to have a correct path. The general steps for modding would be:
- Look up the default path for my OS and create the
Resources
directory if it is missing. - Create a
pixmaps
directory within theResources
directory - See what files are moddable at https://github.com/MUME/MMapper/tree/master/src/resources/pixmaps
- Decide what you want to mod. For instance, let's see if we can modify the Aggressive mobile texture to look like a cow.
- Download mob-milkable.png and copy it into the
pixmaps
folder and rename the file tomob-aggmob.png
- Restart MMapper and see all the cows.
Image dimensions should be powers of two and have a transparency layer if they are intended to be transparent.