preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Aug 19, 2018, 01:34:15 pm
 Mount&Blade Repository » Modding Tools » MapPackApplier
      
Registration is not required to download. However, it will allow you to vote, comment, and request upload access. Forgot your password?
View this file on the M&B NexusFile Listing: MapPackApplier
Last Updated: Nov 08, 2011, 02:54:39 pm
First Created: Sep 29, 2011, 05:15:12 pm
File version: 1.4
For M&B version: Multiple
Downloads: 2,420 (2,518) Size: 3.37 MB
Views: 7,156 (7,682) Type: ZIP
Rating (0 votes): Unrated
Description
MnvJc.png

MapPackApplier is a tool for adding maps into warband modules.

No module system needed and no python needed. And the module needs to be already compiled.


Installing

This tool should be located at Tools directory in the nirecotive module. So, Mount&BladeWarband/Native/Tools. If the Tools directory doesn't exist, create it. The tool is able to look for the module two directory levels up, so if you want to have the tool in its own subdirectory in the Tools directory, you can do that. But no more than one level of subdirectories into Tools.

If you want to place the tool elsewhere, modify file target.ini to contain the path to your module.


APPLY MAP PACKS

To apply map packs, place the packs into MapPacks directory either in the target module or in this directory. If such directory doesn't exist, create it.

If you have got the map packs as a zip, rar, or some other package, you need to unpack them somewhere into MapPack directory.

When your map packs are in place, run the apply_map_packs.exe.


CREATE MAPPACKS

For create map packs, look at the full readme below or in the mappackapplier zip packet.
Code:
####################### # apply_map_packs.exe # ####################### This tool should be located at Tools directory in the nirecotive module. So, Mount&BladeWarband/Native/Tools. If the Tools directory doesn't exist, create it. The tool is able to look for the module two directory levels up, so if you want to have the tool in its own subdirectory in the Tools directory, you can do that. But no more than one level of subdirectories into Tools. If you want to place the tool elsewhere, modify file target.ini to contain the path to your module. ------------------------------------------------------------------------------ APPLY MAP PACKS --------------- To apply map packs, place the packs into MapPacks directory either in the target module or in this directory. If such directory doesn't exist, create it. If you have got the map packs as a zip, rar, or some other package, you need to unpack them somewhere into MapPack directory. When your map packs are in place, run the apply_map_packs.exe. ------------------------------------------------------------------------------ CREATE MAP PACKS ---------------- To create map packs, you need .sco and .addmap for each file. Example: --------------------------------------------------------------------\ | When I say <identifier> here, I mean that you need to replace that with | | your map's identifier. You can quite freely choose the identifier, but do | | not use spaces or special characters. For example, if you have map named | | "Awesome Ruins" and you choose identifier "a_ruins", then the scene file | | is scn_a_ruins.sco and the .addmap file is a_ruins.addmap. | \----------------------------------------------------------------------------/ getting .sco ------------ .sco files are got from normal warband map editting. Rename them to scn_<identifier>.sco getting .addmap --------------- option 1, editted Native map - - - - - - - - - - - - - - if you editted some Native map or other map which already exists in the module, run the apply_map_packs.exe (doesn't matter if you have mappacks or not, but you might for safety want to copy your editted maps before running this). This creates you a headers directory next to this tool. Copy the .addmap file of the map you editted and rename it to <identifier>.addmap option 2, write it yourself - - - - - - - - - - - - - - If you copy the middle part from scenes.txt in your module's directory, the rest is not hard. To get examples, run the apply_map_packs.exe and look at the headers directory. option 3, I have added the map the old way - - - - - - - - - - - - - - - - - - - - - Run the apply_map_packs.exe, look at the headers directory and copy your .addmap from there. editting .addmap ---------------- The parts you would like to edit are the name of the map and gamemodes. line defining the name has first "name" and then the name of the map. Example----------------------------------------------------------------------- name Snowy Village ------------------------------------------------------------------------------ After a line with gamemodes, the header has listed all the gamemodes that are allowed for this map, one per line. The names for gamemodes need to be exactly correct. You can copy paste the names from the next example when needed. Notice that the game mode deathmatch means all three of deathmatch, team deathmatch and duel. Example----------------------------------------------------------------------- gamemodes siege deathmatch battle capture_the_flag headquarters destroy ------------------------------------------------------------------------------


Example of the syntax:

filename: multi_scene_1.addmap
Code:
name Ruins scn_multi_scene_1 multi_scene_1 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x00000001300389800003a4ea000058340000637a0000399b 0 0 outer_terrain_plain gamemodes deathmatch battle destroy capture_the_flag headquarters

Look also at the readme, there is explained some easy ways to get that file created.

Edit 1.4: Fixed one windows related bug and improved the feedback of the process. You are now able to see if the process succeeds or not. And if not, what failed.

documentation in .html format is also included.
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Hosted by Hypernia.
Website © 2018 FenriSoft. The core site script is PHCDownload (© 2005-2018).