The current Mount and Blade module system source code is a bit messy to be put onto GitHub or even to be looked at, so I made a simple template, using ideas from front-end development directory tree (as I am a front-end dev). I have also created a build_module.sh which does basically the same thing as build_module.bat, making it easier for macOS or Linux modders like me myself. Here is the link:
https://github.com/ChroniclesStudio/template
You can take a look at my Money and Honour as a exemplar generated from this template:
https://github.com/ChroniclesStudio/money-and-honour
By the way, many of us modders do not use GitHub nor git for version control (as far as I know), so I also hereby recommend it.
You are warmly welcome to post an issue here if anything goes wrong by your side.
---
You can see the detailed explanation of what each folder does here in the spoiler:
https://github.com/ChroniclesStudio/template
You can take a look at my Money and Honour as a exemplar generated from this template:
https://github.com/ChroniclesStudio/money-and-honour
By the way, many of us modders do not use GitHub nor git for version control (as far as I know), so I also hereby recommend it.
You are warmly welcome to post an issue here if anything goes wrong by your side.
---
You can see the detailed explanation of what each folder does here in the spoiler:
assets
: Miscellaneous resources or assets should be stored here.dist
: the .txt files after build should be stored here. (automatically)doc
: documentation, tutorials and such should be stored here.src
: source code should be stored here.
Last edited: