Morrowind
0 of 0

File information

Last updated

Original upload

Created by

herbert

Uploaded by

herbert100

Virus scan

Safe to use

Tags for this mod

About this mod

Based on qqqbbb's original mod, rewritten with a focus on interopability and stability. It is now considerably easier for other mods to play open/close animations.

Requirements
Permissions and credits
Changelogs
Description

Currently, this mod only touches on the Lua portion of Morrowind Containers Animated. In the future, the goal will be to update the meshes/animations with the aim of making it easier for other modders to add/alter meshes in a more intuitive way. Ideally, this would also come with some performance improvements.

Here's what's been changed on the Lua side of things:


Bigger emphasis on interopability

If another mod wants to play open/close animations for a container, now all they have to do is write
interop.try_to_open(container_ref)
or
interop.try_to_close(container_ref)

These functions will first check if the container can be opened/closed (e.g. is it already opened/closed? is there something on top of the container that's blocking it from opening?), and then they will open/close those containers if appropriate.

If you want to determine whether a container is opened/closed, you can write interop.get_container_state(container_ref)

More complex behavior is also possible, and can be achieved by creating a new instance of the `Container` object and then invoking its various methods.

Collision detection changes

The algorithm for determining whether an object is blocking a container from opening has been remade from the ground up. There are likely still some improvements to be made, but I'm quite happy with the current state of things. If you don't care about this sort of thing, you can also disable this feature entirely. (You may notice a slight performance increase if you do.)

Stability changes

This mod does not passively store any information about the current state of the game world, and it makes no assumptions about what happens to the objects in the game world. This means the mod should be very unlikely to cause crashes.

A few more customization options


There are a few new options added to the MCM, regarding how this mod behaves
and how other mods that interact with it will behave.

Backwards compatibility

This mod is backwards compatible with all mods that add/alter meshes for the original mod. This version is not compatible with Lua patches for the original mod, but adding animated containers support to other mods is much more straightforward with this mod.




Compatibility
  • Compatible with More QuickLoot (v1.4.0+). Everything should work out of the box, no patches required.
  • Compatible with QuickLoot by mort. To get QuickLoot compatibility, you should download the patch included in the optional files. This patch should be installed after mort's QuickLoot mod.

Requirements


Installation
  • Install Morrowind Containers Animated
  • Install this mod afterwards, overwriting any files if asked.
  • Optional: Deactivate the esp of the original mod as it's no longer required. (But leaving it enabled is fine too.)