Skip to main content

Purpose

configs/camera.jsonc controls where the camera can go and how it gets there: the altitude the map opens at, the limits it stays within, the area of the world it covers, and the timing of each movement.

Options

Altitude and view

The area the map covers

The defaults cover the whole map. Narrow them to keep players inside the part of the world your server uses.

Opening and closing

Moving to a marker

Used when a player clicks a marker or a legend entry.

Settling onto a marker

The magnet: when the camera stops with a marker near the centre of the screen, it slides so the marker sits exactly in the centre.

Easing names

Every ease key accepts the same set of names. Each family below has three forms: in… accelerates at the start only, out… decelerates at the end only, and inOut… does both. inOutQuad is used throughout the defaults. Back, Elastic and Bounce overshoot the target, so they suit opening and closing better than they suit settling onto a marker. A name that is not in the table falls back to inOutQuad without any message. Check the spelling if a movement does not change after an edit.

Example

A map limited to the city, opening lower and moving faster:
Groups are merged key by key, so "open": { "duration": 0.6 } keeps the shipped easing.

Applying changes

Safety

Duration values are seconds, not milliseconds. 1.0 is one second; 1000 is roughly seventeen minutes of camera movement before the map becomes usable.