latchPhoto

By Latch Labs, for Arcane MP, Kingdoms Connected, Mafia 2 Online, Fallout MP. Free to use. Version 1.0.0.

Photo mode for Arcane MP: a free camera with filters, depth of field, your own time of day and weather, while your character stays in place.

About

latchPhoto Photo mode for Arcane MP. Type /photo and the camera leaves your character: fly it around and frame the shot. Then add a filter, depth of field, your own time of day and weather, or hide your character. Nobody else sees those changes. Your character stays where it is. The camera cannot go further than 30 m from it and cannot pass through walls, so photo mode cannot be used to teleport or to look behind walls. While you are in photo mode, other players see a PHOTO label above your name. It closes as soon as you take damage, so a player standing still in photo mode cannot be used as a shield. Features Free camera with three speeds, plus hold Shift for faster and Alt for slower. Roll and field of view zoom with the mouse wheel . First person view through your character's eyes. Depth of field with focus distance and aperture. Six filters warm, cold, black and white, old photo, cinema, dream . The game's own photo filters appear too when the game provides them. Your own time of day and weather. Only you see them, and they go back to the server's when you close. Hide your own character. A distance meter that warns you near the limit. A panel you can hide for clean shots. Installation 1. Put the latchPhoto folder in your server's resources folder. 2. Add latchPhoto to the resources your server starts. 3. Optional: copy config.example.json to config.json in the same folder and change what you need. Without a config.json the defaults below are used. The resource has no dependencies and needs no database. Controls | Key | Action | | | | | W A S D | Move | | Q / E | Down / up | | Shift / Alt | Faster / slower | | Mouse | Look | | Mouse wheel | Zoom field of view | | Z / C | Roll | | F5 | Show the cursor to use the panel; press again to fly | | H | Hide or show the panel | | Esc | Close photo mode | The hint bar at the bottom of the screen shows the keys with the player's own keyboard layout. The camera stands still while the cursor is shown. Commands | Command | Description | | | | | /photo | Opens photo mode, or closes it if it is open. | | /photomode | Same as /photo an alias; see aliases . | Configuration config.json sits next to package.json . Every field is optional. A value that is missing or invalid falls back to its default and the rest of the file still applies. | Field | Default | Description | | | | | | command | "photo" | Chat command that opens and closes photo mode. | | aliases | "photomode" | Other names for the same command. | | maxDistance | 30 | How far the camera may go from the character, in metres 2 to 200 . | | wallCollision | true | The camera stops at walls and slides along them instead of passing through. | | closeOnDamage | true | Close when the player's health drops. | | closeOnHit | true | Close when the server registers a spell hit on the player. | | refuseWhileMounted | true | Do not open while the player rides a broom or a mount. | | cursorKey | "f5" | Key that shows and hides the cursor. | | panelKey | "h" | Key that hides and shows the panel. | | label.enabled | true | Show a label above the name of players in photo mode. | | label.text | " PHOTO " | The label's text up to 32 characters . | | speeds | 120 / 450 / 1400 | Camera speed for slow, normal and fast, in cm per second. | | features.firstPerson | true | Offer the first person view. | | features.depthOfField | true | Offer depth of field. | | features.filters | true | Offer filters. | | features.time | true | Offer the player's own time of day. | | features.weather | true | Offer the player's own weather. | | features.hideSelf | true | Offer hiding the player's own character. | | messages. | English texts | Every message the player can see; see config.example.json . | A changed config.json takes effect when the resource restarts. For other resources Server exports Each function takes a Player or a player id. js const photo = Imports.get 'latchPhoto' photo.isActive player // true while the player is in photo mode photo.setBlocked player,…