Mythicmob NPC Camera Cinematic
Focus on a MythicMob NPC during a cinematic
Fields
| Field | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
segments | List<MythicMobNpcSegment> | empty | —
|
| Field | Type | Default | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
startFrame | Int | 0 | — | ||||||||||||||||||||||||||||
endFrame | Int | 0 | — | ||||||||||||||||||||||||||||
npc | Ref<MythicMobNpcInstance> | — | The MythicMob NPC instance to focus on.
|
| Field | Type | Default | Description |
|---|---|---|---|
definition | Ref<MythicMobNpcDefinition> | — | — |
spawnLocation | Var<Position> | ORIGIN | —With rotation |
data | List<Ref<EntityData<*>>> | empty | — |
activity | Ref<out EntityActivityEntry> | — | — |
group | Ref<out GroupEntry> | — | — |
secondaryOffset | Vector | {"x":0.0,"y":0.0,"z":0.0} | Offset (X, Y, Z) for the secondary focus point (automatically created with empty text) |
pathList<PathPoint>emptyPathPoint (2)
| Field | Type | Default | Description |
|---|---|---|---|
location | Var<Position> | ORIGIN | —With rotation |
duration | Optional<Int> | — | — |
Common TypeWriter fields (criteria)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
How to use it
Add this entry to a cinematic page. Each segment (at least 10 frames) frames one NPC.
npcis the instance to look at. The camera looks at its spawn point plussecondaryOffset.pathlists the camera positions. Each point has alocation(with rotation) and an optionaldurationin frames. Points without a duration share the remaining frames. The rotation is recalculated so the camera always faces the NPC.- With an empty
path, the camera stands 3 blocks to the side and 1 block above the focus point.
The camera is an invisible text display the player spectates, like the engine's own camera cinematic.