Overview
So, modding in Mudrunner, a little different than the original game as you’d expect.But, it’s fairly easy so this should be a helpful guide to anyone starting off.Enjoy!
Getting the game to accept mods
So,making and/or updating mods from the original game. Personally, to update and work on mods, I use the old fasioned way of doing it (Manually adding mods through the game files).
For some reason the developers have removed the “Media” folder from the game files, so we need one.
How do we do that?
Well you create a folder named “Media” in the root directory (In [HDD]/Program Files (x86)/steam/steamapps/common/Spintires MudRunner).
Then you open the “Config.xml” file with notepad (I use Notepadd ++).
You’ll see some lines of code, you want to look for “<MediaPath Path=”Media.zip” />” and “<MediaPath DoPrepend=”true” MountPoint=”_t/” Path=”TextureCache.zip” />”
You’ll want to make a space between those two like this:
<MediaPath Path=”Media.zip />
<MediaPath DoPrepend=”true” MountPoint=”_t/” Path=”TextureCache.zip” />
Then insert this line of code “<MediaPath Path=”Media” />” between them so it looks like this:
<MediaPath Path=”Media.zip />
<MediaPath Path=”Media” />
<MediaPath DoPrepend=”true” MountPoint=”_t/” Path=”TextureCache.zip” />
Make sure that they are in-line with each other, then save and close the file.
Making a base for an existing mod or new one
Now that that’s done let’s move onto getting a base for a new or existing mod.
Firstly enter the “Media.zip” file in the root directory
Then look in “classes/trucks”.
And find “uaz469.xml” that will be our base for inputing info from an old mod or editing a new one.
Copy that file and place it somewhere on your pc.
Now go back to the “Media” folder you made in the root directory and make a folder called “classes” and inside that make a folder called “trucks”.
Place the “uaz469.xml” inside the “trucks” folder and rename it so you can differentiate between it and the normal uaz.
Now start up the game and go the proving ground, then in the spawn menu find your uaz, and spawn it in.
Editing you’re new mod
Now that we have the base, let’s do some modding!
For something simple, we’ll start with changing the wheels on the uaz!
The way you do that is, you open up the uaz file you made inside the game files.
And at the top there should be a couple of sections of code that control what wheels you are using and the suspension values.
Find the lines of code “Type=”uaz”” for the front and rear wheels.
Then change them to “Type=”uaz_big”.
It should look like this:
Now save the file and go back to the game. (You don’t need to restart or even exit the proving ground for this).
Then in the dev menu on the top right click “Reload”.
And there you have it!
From here you can change the values of whatever you like in the uaz file!
Be careful when changing values and lines of code, keep them in line so they do not corrupt the file.
End Notes
Getting these mods to work on multiplayer is another story altogether :p
Also, if you are having trouble with reloading the mod, you can clear the cache by accessing the roaming folder inside appdata on your pc and deleting the folder “Spintires MudRunner”.
That will clear the cache and reset some stats and also the mod files that might be messing with your progress.
I will write more on modding in the near future!
Happy modding!