Files
Dota-Zombie-Invasion/scripts/vscripts/cutscenes/cutscenetable.lua
T
2026-05-29 15:11:31 +07:00

73 lines
2.9 KiB
Lua

--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
local ____exports = {}
local ____CutsceneFunctions = require("cutscenes.CutsceneFunctions")
local CutsceneFunctions = ____CutsceneFunctions.CutsceneFunctions
--- Камера крутится вокруг `name` (SetCameraTarget). highView давал вид «как в матче» и уводил в кусты;
-- fromNpcEyes у Денни низко садился за деревья — убрано. Ближе дистанции, якорь чаще на `hero`.
____exports.CutsceneTable = {camera_start_ending = {
name = "camera_start_ending",
npc = "npc_quest_giver_denny",
disableTeleport = true,
lockNpc = false,
dialogs = {
[1] = {duration = 3.5, onStart = CutsceneFunctions.camera_start_ending, text = "#cutscene_camera_start_ending_1", camera = {
name = "hero",
fromNpcEyes = false,
highView = false,
distance = 635,
pitch = 24,
lerpDuration = 0.55,
angle = "back",
animation = {distance = -6}
}},
[2] = {duration = 4, onStart = CutsceneFunctions.camera_heroes_expedition, text = "#cutscene_camera_start_ending_2", camera = {
name = "hero",
highView = false,
lookAtName = "npc_quest_giver_denny",
distance = 905,
pitch = 29,
lerpDuration = 0.85,
animation = {distance = 9}
}},
[3] = {duration = 3.3, onStart = CutsceneFunctions.camera_heroes_endlap, text = "#cutscene_camera_start_ending_3", camera = {
name = "hero",
fromNpcEyes = true,
highView = false,
lookAtName = "npc_quest_giver_denny",
distance = 1155,
pitch = 32,
lerpDuration = 0
}},
[4] = {duration = 5.5, text = "#cutscene_camera_start_ending_4", camera = {
name = "hero",
highView = false,
lookAtName = "hero",
distance = 565,
pitch = 34,
lerpDuration = 2,
animation = {distance = 12}
}},
[5] = {duration = 2, text = "#cutscene_camera_start_ending_5", camera = {
name = "npc_quest_giver_denny",
fromNpcEyes = false,
highView = true,
angle = "face",
distance = 295,
pitch = 26,
lerpDuration = 0.55
}},
[6] = {duration = 2, npc = "npc_quest_giver_denny", text = "#cutscene_camera_start_ending_6", camera = {
name = "npc_boss_nevermore",
fromNpcEyes = false,
highView = true,
angle = "face",
heightDistanceBonus = 300,
distance = 695,
pitch = 32,
lerpDuration = 0.55,
animation = {angle = 12}
}}
}
}}
return ____exports