Modding:Interior Zones

Revision as of 01:17, 25 July 2024 by Kernelmethod (talk | contribs) (Start initial work on the interior zones page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article is a stub. You can help Caves of Qud Wiki by expanding it.

Interior zones are special zones that can be attached to objects and entered by using the object's enter action. They can be constructed purely using XML-based mods, and (with sufficient imagination) can simulate vehicles, buildings, and much, much more.

In-game, interior zones are typically used with the Vehicle part to simulate vehicles:

However, interiors are also used for entirely different purposes by mods:

  • Armithaig's Hearthpyre uses interiors to model the inside of tents, tipis, and yurts.
  • Mycogrigoric Alcoves (a purely-XML mod) uses interiors to simulate distant space outposts.

Creating an interior zone

Creating vehicles with interior zones

Limitations of interiors

As of patch 207.82, multi-zone interiors are not supported by the game. If you wish to construct something similar to a multi-zone interior, you will need to mod in your own world.

Note that it is possible to nest interior zones inside of one another. For example, suppose you wanted to simulate a spaceship consisting of several rooms. You could start by creating a Spaceship object with an Interior part that allows you to enter the ship's control room. To enter the ship's engine room, you could have an Engine Room Door object that leads into the zone for the engine room, and so on.