ghostrigger_export_model
Exports KotOR MDL models to FBX on disk using GhostRigger, preparing them for import into Unreal Engine 5.
Instructions
Export a KotOR MDL model to FBX (or another format) via GhostRigger.
Calls the KotorMCP 'ghostrigger_open_model' tool through GhostRigger
with export options. The exported FBX is saved to export_path on
the local filesystem.
This is the first half of the KotOR→UE5 pipeline:
ghostrigger_export_model → exports MDL to FBX on disk
import_static_mesh / import_skeletal_mesh → imports FBX into UE5
Args: resref: Model resource reference (e.g. "n_bastila", "plc_bench") export_path: Absolute path on the MCP server machine where the FBX should be saved (e.g. "/home/user/exports/n_bastila.fbx" or "C:/exports/n_bastila.fbx") module_dir: Optional path to the module directory format: Export format: "fbx" (default) — future: "gltf", "obj"
Returns: JSON string: { "success": true, "resref": "n_bastila", "export_path": "/home/user/exports/n_bastila.fbx", "format": "fbx" } or {"error": "..."}
KB: see knowledge_base/16_ANIMATION_DEEP_DIVE.md#overview Example: ghostrigger_export_model(resref="Example", export_path="/Game/MCP_Test/Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | fbx | |
| resref | Yes | ||
| module_dir | No | ||
| export_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |