Tes3Mod:CreateMaps

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


CreateMaps

                CreateMaps, "filename.esp"

       Where:   "filename.esp" = Plugin to create maps for

        Type:   Console

     Returns:   none

     Example:   CreateMaps Morrowind.esm

     Scripts:   

The function will actually create maps for all the plugins loaded in the game, not just the areas affected by the plugin. Nevertheless, it wants to be given the name of one of the loaded plugins.

The actual effect of this functions depends on the Create Maps Enable entry in MORROWIND.INI file. The accepted values are:

        0 = None
        1 = Xbox Maps
        2 = Exterior Cell Maps

For the Xbox setting, maps are created for the given input plugin filename (a .MAP is created in the Morrowind\Data Files path). For the Exterior Cell Map setting, 256 x 256 BMP files for all exterior cells are output to the Morrowind\Maps directory; you need to create this subdirectory if it doesn't exist yet.

Note that this takes a good deal of time so you may wish to let it run overnight. It is advised to start a new game and type the createmaps command ASAP, even before Jiub asks you your name. This cuts down the number of scripts and game functions running, making this very long process somewhat faster.

Notes[edit]

  • When exporting Exterior Cell Maps, the water will be uniformly white and opaque if Morrowind's pixel shaded water has been deactivated (this is always the case if MGE XE is enabled). If it has been activated, the water will instead be a semi-transparent grey.
  • A Python 3 script, Createmaps.py, assembles the bmp files into one continuous image. By default, the images are resized to 40 x 40 before merging, which can be changed in the .py file.
  • While Morrowind will only create maps for exterior cells, it will also parse interior cells, increasing the duration and possibility of crashing. A Morrowind Code Patch bug fix changes this behavior so that createmaps will only parse exterior cells.