Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

CalSev

Uploaded by

calsev

Virus scan

Safe to use

About this mod

Unlimited Stamina for Smithing, with source code, build project, and modding guide

Permissions and credits
Changelogs
This simple mod eliminates the "energy" cost for Refining, Smelting, and Smithing so these actions can be taken as long as materials are available.

Class overrides:

  • SmithingModel


Source

Code is on github and includes:

  • A reasonable build system
  • The least-dumb example of a mod module I have seen uploaded as of 1 April 2020
  • Guide for getting started modding Bannerlord


Manual install

  • This mod is a module, just like native and sandbox. The mod directory should be placed as a sibling of those modules.
  • The default location for the module directory is C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\
  • The mod directory can be extracted using 7-zip
  • The resulting directory structure should be C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SmithForever\SubModule.xml
  • Depending on how the mod directory was extracted it may need to be removed from the Nexus download directory (this will have version info, something like SmithForever-41-v1-0-1-1585809041)
  • To activate this mod it must be 'ticked' in the launcher, under the Singleplayer > Mods tab


Manual install troubleshooting

If the checkbox for this mod does not appear, the directory structure is wrong. See the full path to SubModule.xml above.

It is possible that the binary file will be blocked after downloading. To fix the issue if the game crashes:

  • Navigate to <Bannerlord module directory>\SmithForever\bin\Win64_Shipping_Client\
  • Right click SmithForever.dll and choose properties from the context menu
  • Click unblock near the bottom of the security tab


The actual code for this mod is embarrassingly simple. If the mod is checked and not working, it is possibly because a different mod is overwriting the binary files for the game. Enough early mods were doing whole-DLL overwrites to motivate me to make this module sample. It is a bad idea to install a mod that instructs you to overwrite a game DLL.

Similar mods

  • Configurable Smithy Stamina and Part Research: performs the same modifications and more, and now uses a mod module! Smith Forever will intentionally remain simple to keep module architecture at the forefront
  • Module Template: not really related to modifications, but includes a useful source project and build system but no sample code for actually writing a module