Prelude Manual / Switches Open the editor →

Switches

Switches is the floor, eye and crystal switches that set a switch flag in Ocarina of Time.

← All actors

Placement

Draws from the dungeon keep object. Dungeons load it on their own, and Prelude adds it to the room anywhere else.

Type variants (5)

This actor is placed in one of these forms. Pick it from the editor's Type dropdown. The value is what the actor's parameters store. Each picture is fitted to its cell, so compare the stated sizes and not the images.

ValueType
Floor0Floor~10 units tall
Rusty Floor (Hammer)1Rusty Floor (Hammer)~10 units tall
No preview yet2Eye (Arrow)
Crystal3Crystal~47 units tall
Crystal (Targetable)4Crystal (Targetable)~47 units tallLink can lock on to it with Z.
BrokenTypes 5, 6 and 7 crash the game. Use only the five listed.

Parameters

Beyond the type above, the parameters hold these fields. The editor shows each as a labelled control.

15141312111098765432100000000000000000Switch FlagFrozen (Red Ice)SubtypeType

Shown: 0x0000, the value a newly placed copy starts with.

Appears in (9)

Deku TreeDeku TreeDodongos CavernDodongos CavernFire TempleFire TempleForest TempleForest TempleGerudo Training GroundGerudo Training GroundInside Ganons CastleInside Ganons CastleShadow TempleShadow TempleSpirit TempleSpirit TempleWater TempleWater Temple

Model

What this actor draws, and where each piece lives in the archive. A mod replaces a piece by writing a file at the same path.

Floor
Display listobjects/gameplay_dangeon_keep/gFloorSwitch1DL
Rusty Floor (Hammer)
Display listobjects/gameplay_dangeon_keep/gRustyFloorSwitchDL
Crystal · Crystal (Targetable)
Display listobjects/gameplay_dangeon_keep/gCrystalSwitchCoreOpaDL

Objects loaded

An edit to a shared object reaches every actor that loads it.

Switch actors