Simple cinematic
Step 1
Create a new cinematic using the command:
/cin studio cinematic new my_cinematic_1
Step 2
Click on an empty slot of the first row (row 0) to add a new camera.

Step 3
Move to where you want the camera to be and press this message in chat.

Notice how the camera appears in the timeline GUI.

Step 4
Right-click on the right arrow to move the timeline +20 ticks forward (1 second), press it 2 times to move 2 seconds forward.

Step 5
Click on the tick 48 in order to add a new camera node. This will be the end position of the camera. The camera will automatically move and roteate to this location, as a movie camera would do.
Then fly to the destination and press the message in chat again like in step 3.

Step 6
Click on the "Set cinematic duration" button and use the command /cin input 40 to set the cinematic duration to 48 ticks (2 seconds approximately), which is the index of the last camera node.
/cin input 48

Step 7
Press play and watch the animation!

Step 8
Walk to the location of where you want the actor to spawn, then use this command to create a new actor recording: /cin studio actor single my_cinematic_1_npc_walking_1
Walk around, break blocks, open doors, fight, use bow and do some stuff to make your animation interesting.
Step 9
To stop the actor recording press E (open inventory) and right-click anywhere outside the inventory, check the screenshot.

Step 10
Open the file manually using VSCode: plugins/CinematicStudio/my_cinematic_1.yml
Then add a new ACTOR_RECORDING node to play the new actor recording.
'1':
'0':
type: ACTOR_RECORDING
recordingName: my_cinematic_1_npc_walking_1
As you can see i added a new row (row 1) and add a new action to that row.
Make sure to close the timeline GUI before opening, editing and saving the file or you will get errors.
Step 11
Follow again step 6 and change the duration of the cinematic in order to end at the end of the actor recording this time, otherwise the animation will end a abruptly.
Now you can open the cinematic and play it again to see the actor walk around:
/cin studio cinematic open my_cinematic_1

As you can see you now have another node which represents the actor recording start and duration.
Finish
metadata:
version: 1.0
serverVersion: 'git-Purpur-2132 (MC: 1.20.4)'
bukkitVersion: 1.20.4-R0.1-SNAPSHOT
creationDate: '2024-04-18 18:15:12'
saveDate: '2024-04-18 18:24:49'
author:
name: LoneDev
uuid: 68bbf558-ed0e-37ab-bb3e-9c8672097642
properties:
durationTicks: 120.0
usePumpkinHelmet: false
useWanderingTraderEggHelmet: false
endActions:
playerCommands: [
]
consoleCommands: [
]
timelineRows:
'0':
'0':
type: CAMERA
pos:
x: -0.4827506196120833
y: 68.76282616319523
z: 76.33013926787177
rot:
x: 42.000003814697266
y: 140.70565795898438
mode: C
interpolation: SMOOTH
interpolationFrequency: 15.0
instantTeleport: false
'48':
type: CAMERA
pos:
x: -10.21103031347566
y: 66.51831993713284
z: 57.88561742645358
rot:
x: 18.299938201904297
y: 114.1560287475586
mode: C
interpolation: SMOOTH
interpolationFrequency: 15.0
instantTeleport: false
'1':
'0':
type: ACTOR_RECORDING
recordingName: my_cinematic_1_npc_walking_1
Last updated