Next, we must make the Module System use the new folder as its target. Since we copied the contents of the native folder for our new module, the game we play now will be identical to the native game. Now, try selecting your new module and starting a new game. Now, Mount&Blade's launch window should show a combo box, which lets you select the module you'd like to play. You can test if you have done this right by launching Mount&Blade. For the sake of simplicity, I am assuming it is named MyNewModule This new folder will be your own module folder so name it as you like. For your own module, you must create a new folder here, and copy the files from Native to the new folder. This is, so to speak, the official module. For this, we need to go to the Mount&Blade/Modules folder (by default this is at " c:/Program Files/Mount&Blade/Modules") Now, under the Modules folder there should be a folder named Native. These are the files you will be modifying.īefore going any further, let's first create a folder for your new module. The final kind of files (module_) are actually the files that contain the content data. You can delete them if you like and the module system will generate them again. The third kind of files (ID_) are temporary files created while building the module. The first two kinds of files are necessary for running the module system. py) we see that there are actually four kinds of files: When we look at the actual Python files (files that end with. Now, let's have a look at the files in the module system. Extract the Module System wherever it is easy to locate, e.g, the Desktop or My Documents. You'll need to download the zip file for the module system and extract it (requiring a program such as WinRAR, or 7-zip). The latest version of the Module System can be downloaded from the download pages here: Then click ok on the box, to save the changes to system variables. You may also need to find the ' PYTHONHOME' variable and add " C:\Python27" to it's variable value also if it is not already in there. Scroll to the end of the 'Variable value' and add " C:\Python27". Click on the 'Edit.' button, a new window should pop up: Scroll down on the 'System variables' until you find the ' Path' variable.Ģ. If you have a Windows XP, or a Windows 7 system, this operation is slightly different: Right-click on My Computer (Computer in the start menu for 7 users) select 'Properties', click on the 'Advanced' tab and then click on 'Enviroment Variables':ġ. For example if Python is installed under C:\Python27, This is important, so try to be exact when you make these changes.įor Windows 9x systems, you can edit autoexec.bat file and add your python folder to the Path. However you'll only need last version of 2.*.* for Windows (current is 2.7.8), although 2.4 may also work.Īfter you download and install Python, you'll also need to add Python to your path enviroment variable. There are more than a few downloads on that page. You can download Python from 's download page: The module system consists of Python scripts, and as such, you need to have Python installed on your system to be able to work with them. Requirements for using the Module System The other is Effidian's unofficial editor which is currently discontinued and unusable for the current version - v.1.011, but works for older versions of M&B, such as v.7.51. The first is the official module system described in this document. There are currently two options for writing new modules. (Indeed, some modders had worked out how to use these files and were able to create amazing mods by themselves.) However the text files are not really human-readable and are very impractical to work with. Thus, *in theory* you can do all the modifications you'd like to do by editing these text files. Mount&Blade actually reads its content from text files under the Mount&Blade/Modules folder. Rather, the python scripts are executed to create the text files that Mount&Blade reads. It is important to note that Mount&Blade does not use Python and does not read the Module System python scripts directly. Using the module system, you can do things like adding new troop types, new characters, new quests, new dialogs, etc., or you can edit the existing content. This is actually the system we are using for working on the content of the official version. The Mount&Blade Module System is a set of python scripts that lets you create and/or modify content for Mount&Blade.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |