MonitoringMinecraft MonitoringMinecraft
C

Cutscene API

Мод FabricForgeNeoForge

A mod for making cutscenes

6.4к скачиваний 22 подписчика
Оцените первым

Cutscene API is a mod that allows you to make cutscenes with camera movement and optional effects, and play them in-game in real time. It is intended to be used by map and mod makers to make their projects more beautiful.

Feature overview

The thing that defines what a player sees is a cutscene type, or simply a cutscene, defined in a data pack. Cutscenes have a length (in ticks), a path for the camera, a list of actions that a player is allowed to do when watching a cutscene, a start and end transition, as well as some special effects. All of these are optional, but when combined, they allow for making beautiful cutscenes.

You can find more details in the spoiler boxes below:

Path The player's camera may follow a certain path during a cutscene. This path is defined by a set of segments, each of which can be either a simple line, a Bézier curve, a Catmull-Rom spline, a static point, or a special point, whose coordinates are defined by math functions.

The camera's rotation is defined using the same kinds of segments, as well as a special one that lets you look at a specific point from where you are.

Transitions The player doesn't have to snap into a cutscene - you can specify a transition to make it look more beautiful. Currently implemented transitions are "smooth ease" that makes you smoothly enter or leave the path of a cutscene and "fade", which fades the screen to a color (not necessarily one, or constant) and then starts or ends the cutscene.
Action toggles During a cutscene, you can prevent the player from moving, turning their head, breaking blocks, using items, taking damage, or make them a spectator so that mobs don't target them. This is a bit unstable at the time.
Effects Besides a camera path, you may want the player to see some text or images in a cutscene. Effects allow you to do that. Currently implemented effects include "appearing text" that slowly appears over time, "triangle strip" that can be used to draw simple geometry with triangles, "rectangle" that draws a rectangle, as well as "texture blit", which draws a texture on a specified position.

Commands

/cutscene start <player> <type> [at_preview | position] [start_camera_rotation] [path_rotation] - starts a cutscene at the specified position, with the camera initially facing start_camera_rotation and the path rotated by path_rotation around the starting position

/cutscene stop [player] - stops a cutscene for a player

/cutscene preview set <type> [start_pos] [path_rotation] - previews a cutscene path from a certain point, rotated around that point

/cutscene preview hide - hides a preview

See it yourself

In the source repository, there is folder named "Example Cutscenes", which is a datapack with a bunch of cutscenes I use for testing out new features and that you can use to see what the mod has to offer. They're a little weird sometimes, but they get the job done.

Compatibility

I try to make the mod as compatible with other mods out there as possible. There should be no problems.

Most versions I release are typically backwards-compatible, especially format-wise.

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
360 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
CLOUDWORLD
0 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
Battle Mine
Battle Mine Java + BE
0 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MigosMc
MigosMc Java + BE
520 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат