About

Infobox

Export Sphere

Caption


In-game screenshot of Export Sphere.

Details

TypeName
LinksGithub
RequirementsMWSE

Export Sphere is an MWSE tool for selecting a group of objects in-game and exporting these to a single mesh.

Installation

  • Download ‘exportSphere.lua’ from the Github Gist.
  • Rename ‘exportSphere.lua’ to ‘main.lua’
  • Place the file at Data Files/mwse/mods/exportSphere/main.lua. Create the folders if they do not exist.

Usage

Hotkey: Ctrl + Alt + E

  • Press the hotkey to spawn the sphere
  • Increase/decrease the sphere’s size using the mouse wheel
  • Press the hotkey again to export.

The mesh will be exported to the directory Data Files/meshes/g7.

Usage within the Construction Set

Using CSSE’s ability to test plugins from within the Construction Set, Export Sphere can also be ran. Extract mwse/mods/exportSphere/main.lua to your Morrowind modding install’s Data Files folder, or alternatively install it using a mod manager. Note that since the tool requires MWSE, it will only work while running vanilla Morrowind through the CS, not OpenMW.

Exporting an Entire Cell’s Landscape

By running a Lua command through the console, Export Sphere can be leveraged to export the landscape of an entire cell. Note that this method will only export landscape, not meshes.1

Doing so requires UI Expansion by NullCascade in order to enable Lua commands to be ran through the console. The following command can be ran while in an exterior cell2:

tes3.game.worldLandscapeRoot:saveBinary(“Data Files/Meshes/export.nif”)

Footnotes

  1. Greatness7, post to “mod-tools”, Morrowind Modding Community Discord, October 20, 2024

  2. GrumblingVomit, “Morrowind Interiors Project Guide”, Nexus Mods, January 31, 2023, ‘MipInstructions.pdf’