Effect và Media
Effect được lưu trong file YAML của cinematic và áp dụng trong playback.
Thêm focus target
Phần tiêu đề “Thêm focus target”Đứng tại điểm camera nên nhìn vào.
/cinematic focus <name> setTrong playback, nếu focus target nằm cùng world với camera segment, yaw và pitch được tính từ vị trí camera tới điểm focus.
Xóa focus:
/cinematic focus <name> clearDùng focus cho:
- reveal boss
- reveal tượng hoặc công trình
- cảnh thoại NPC
- camera path xoay quanh một vật thể
Thêm camera shake
Phần tiêu đề “Thêm camera shake”/cinematic shake <name> <intensity>Ví dụ:
/cinematic shake boss_intro 2.0Shake thêm offset yaw và pitch ngẫu nhiên mỗi tick playback. Bắt đầu bằng giá trị thấp. Giá trị cao có thể gây khó chịu.
Tắt:
/cinematic shake <name> 0Thêm zoom
Phần tiêu đề “Thêm zoom”/cinematic zoom <name> <start> <end>Giá trị dương áp dụng slowness. Giá trị âm áp dụng speed. Plugin thay đổi level theo tiến trình playback, tạo hiệu ứng giống field-of-view.
Ví dụ:
/cinematic zoom boss_intro 0 4/cinematic zoom escape_run -2 0/cinematic zoom quiet_reveal 3 1Tắt:
/cinematic zoom <name> 0 0Thêm background music
Phần tiêu đề “Thêm background music”Đặt Bukkit sound ID:
/cinematic bgm <name> minecraft:music_disc.pigstepXóa:
/cinematic bgm <name> clearSound phát khi cinematic bắt đầu với SoundCategory.MASTER. Nó dừng trong cleanup nếu còn active.
Thêm title và subtitle
Phần tiêu đề “Thêm title và subtitle”Frame index bắt đầu từ 0.
/cinematic title <name> <frameIndex> <text>/cinematic subtitle <name> <frameIndex> <text>Ví dụ:
/cinematic title boss_intro 0 <red>The gate opens.</red>/cinematic subtitle boss_intro 3 <gray>%player_name%, hold your ground.</gray>MiniMessage được hỗ trợ. PlaceholderAPI placeholder được parse khi PlaceholderAPI đã cài.
Chạy command tại frame
Phần tiêu đề “Chạy command tại frame”/cinematic addcmd <name> <frameIndex> <command>Không thêm dấu slash ở đầu.
Ví dụ:
/cinematic addcmd boss_intro 0 playsound minecraft:entity.ender_dragon.growl master %player%/cinematic addcmd boss_intro 2 effect give %player% minecraft:blindness 2 0 true/cinematic addcmd boss_intro 4 say %player% reached the arenaCommand chạy bằng console. %player% được thay bằng tên viewer. PlaceholderAPI được parse sau đó nếu có.