ghostrigger_open_model
Load a KotOR MDL model into the 3D viewport by its resource reference, optionally from a specific module directory, for immediate viewing or editing.
Instructions
Tell GhostRigger to open a KotOR MDL model for viewing/editing.
Sends POST /api/open_mdl with the given resref. GhostRigger will locate the model in the game library and display it in the 3-D viewport.
Args: resref: Model resource reference (e.g. "n_bastila", "plc_bench") module_dir: Optional path to the module directory if the model is inside a specific module (leave empty to use the game installation library)
Returns: JSON string: {"status": "ok", "action": "open_mdl"} or {"error": "..."}
KB: see knowledge_base/16_ANIMATION_DEEP_DIVE.md#overview Example: ghostrigger_open_model(resref="Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resref | Yes | ||
| module_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |