Scripted Vision
Scripted Vision 是一款面向地图制作者、脚本化整合包和服务端事件的 NeoForge 1.21.1 模组。它提供了一系列命令,帮助你控制玩家的注意力:电影摄像机、实体追踪摄像机、屏幕淡入淡出、闪光以及氛围文本提示。
该模组在过场动画、恐怖地图、剧情驱动型服务器、小游戏、互动竞技场以及任何希望获得更电影化呈现效果而不依赖复杂第三方系统的项目中尤为有用。
功能
- 电影摄像机 — 将摄像机放置在特定坐标并设置其视角方向。
- 目标摄像机 — 将摄像机放置在特定坐标并使其注视某个实体。
- 直接模式 — 摄像机立即看向当前目标位置。
- 跟随模式 — 摄像机注视实体的移动轨迹,产生平滑的延迟追踪效果。
- 缩放 — 平滑地放大摄像机视野。
- 电影黑边 — 添加黑色信箱条(letterbox bars),营造过场动画感。
- 淡入淡出 — 使用指定颜色平滑地使屏幕淡入或淡出。
- 闪光 — 触发快速的彩色屏幕闪光。
- 提示 — 在屏幕上显示文本提示。
- 兼容命令方块 — 效果可通过选择器、命令方块、脚本和地图逻辑触发。
适用场景
- 剧情地图;
- 过场动画;
- 恐怖场景;
- 教程地图;
- 小游戏;
- Boss 战;
- 服务端事件;
- 互动式电影化序列。
基础语法
/scriptedvision [target] <subcommand> ...
/sv [target] <subcommand> ...
/sv 是 /scriptedvision 的简短别名。
[target] 是接收效果的玩家或玩家选择器。如果未提供目标,则命令对执行者生效;如果在控制台或命令方块中使用,则对所有在线玩家生效。
目标示例:
@p
@a
Steve
子命令
Fade(淡入淡出)
运行完整的屏幕淡入淡出循环:透明 → 选定颜色 → 保持 → 透明。
/scriptedvision [target] fade <color> <in_speed> <duration> <out_speed>
参数:
<color> — #RRGGBB 或 RRGGBB 格式的颜色。
<in_speed> — 从透明渐变到全色的时间。
<duration> — 全色保持的时间。
<out_speed> — 从全色渐变回透明的时间。
示例:
/scriptedvision @a fade #000000 1.5 3 1
Flash(闪光)
触发快速的彩色屏幕闪光。
/scriptedvision [target] flash <color> <peak_speed> <fade_out_speed>
参数:
<color> — #RRGGBB 或 RRGGBB 格式的闪光颜色。
<peak_speed> — 闪光出现的速度。
<fade_out_speed> — 闪光消失的速度。
示例:
/scriptedvision @p flash #FFFFFF 0.1 1.5
Prompt(提示)
在屏幕上显示文本提示。
/scriptedvision [target] prompt <speed_in> <duration> <speed_out> <text...>
参数:
<speed_in> — 提示淡入速度。
<duration> — 文本可见的时间长度。
<speed_out> — 提示淡出速度。
<text...> — 提示文本内容。
示例:
/scriptedvision @a prompt 0.5 3 0.5 Welcome to the laboratory.
Camera(摄像机)
将电影摄像机放置在固定坐标并指向选定的方向。
/scriptedvision [target] camera <x> <y> <z> <yaw> <pitch> <zoom> <zoom_time> <duration> [cinema_bars]
参数:
<x> <y> <z> — 摄像机位置。
<yaw> — 水平摄像机旋转角度。
<pitch> — 垂直摄像机旋转角度。
<zoom> — 缩放强度,范围从 0 到 100。
<zoom_time> — 平滑缩放进入的时间。
<duration> — 摄像机保持该状态的时间。
[cinema_bars] — true 或 false;启用黑色信箱条。
示例:
/scriptedvision @a camera 10 65 -20 90 15 45 1 5 true
Target Camera(目标摄像机)
将摄像机放置在固定坐标并使其注视选定的实体。
/scriptedvision [target] target_camera <x> <y> <z> <target_mob> <zoom> <zoom_time> <duration> <cinema_bars> <direct|follow>
参数:
<x> <y> <z> — 固定的摄像机位置。
<target_mob> — 摄像机注视的实体。
<zoom> — 缩放强度,范围从 0 到 100。
<zoom_time> — 平滑缩放进入的时间。
<duration> — 摄像机注视实体的时间长度。
<cinema_bars> — true 或 false;启用黑色信箱条。
<direct|follow> — 追踪模式:
direct — 立即看向实体的当前位置;
follow — 注视实体的移动轨迹,产生平滑的延迟追踪效果。
target_mob 必须解析为恰好一个实体。对于会复活的实体,建议使用带有选择器限制标签的方式:
@e[tag=boss_camera,limit=1,sort=nearest]
示例:
/scriptedvision @a target_camera 10 65 -20 @e[tag=boss_camera,limit=1,sort=nearest] 60 1 5 true follow
要求
- Minecraft:1.21.1
- 加载器:NeoForge
状态
该模组正在积极开发中。主要的视觉效果和摄像机工具已经可用,未来可能会添加更多电影化功能。
Scripted Vision
Scripted Vision is a NeoForge 1.21.1 mod made for mapmakers, scripted modpacks, and server events. It adds a set of commands that help you control the player's attention: cinematic cameras, entity-tracking cameras, screen fades, flashes, and atmospheric text prompts.
The mod is especially useful for cutscenes, horror maps, story-driven servers, minigames, interactive arenas, and any project where you want a more cinematic presentation without relying on complicated third-party systems.
Features
- Cinematic camera — place the camera at specific coordinates and set its view direction.
- Target camera — place the camera at specific coordinates and make it look at an entity.
- Direct mode — the camera instantly looks at the current target position.
- Follow mode — the camera looks at the entity's movement trail, creating a smooth delayed tracking effect.
- Zoom — smoothly zoom the camera in.
- Cinema bars — add black letterbox bars for a cutscene feel.
- Fade — smoothly fade the screen in or out with a color.
- Flash — trigger a quick colored screen flash.
- Prompt — display text prompts over the screen.
- Command block friendly — effects can be triggered through selectors, command blocks, scripts, and map logic.
Good for
- story maps;
- cutscenes;
- horror scenes;
- tutorial maps;
- minigames;
- boss fights;
- server events;
- interactive cinematic sequences.
Base syntax
/scriptedvision [target] <subcommand> ...
/sv [target] <subcommand> ...
/sv is a shorter alias for /scriptedvision.
[target] is the player or player selector that will receive the effect. If no target is provided, the command applies to the executor, or to all online players when used from the console or a command block.
Target examples:
@p
@a
Steve
Subcommands
Fade
Runs a full screen fade cycle: transparent → selected color → hold → transparent.
/scriptedvision [target] fade <color> <in_speed> <duration> <out_speed>
Parameters:
<color> — color in #RRGGBB or RRGGBB format.
<in_speed> — time to fade from transparent to full color.
<duration> — how long the full color is held.
<out_speed> — time to fade back from full color to transparent.
Example:
/scriptedvision @a fade #000000 1.5 3 1
Flash
Triggers a quick colored screen flash.
/scriptedvision [target] flash <color> <peak_speed> <fade_out_speed>
Parameters:
<color> — flash color in #RRGGBB or RRGGBB format.
<peak_speed> — how quickly the flash appears.
<fade_out_speed> — how quickly the flash disappears.
Example:
/scriptedvision @p flash #FFFFFF 0.1 1.5
Prompt
Displays a text prompt over the screen.
/scriptedvision [target] prompt <speed_in> <duration> <speed_out> <text...>
Parameters:
<speed_in> — prompt fade-in speed.
<duration> — how long the text stays visible.
<speed_out> — prompt fade-out speed.
<text...> — prompt text.
Example:
/scriptedvision @a prompt 0.5 3 0.5 Welcome to the laboratory.
Camera
Places a cinematic camera at fixed coordinates and points it in a chosen direction.
/scriptedvision [target] camera <x> <y> <z> <yaw> <pitch> <zoom> <zoom_time> <duration> [cinema_bars]
Parameters:
<x> <y> <z> — camera position.
<yaw> — horizontal camera rotation.
<pitch> — vertical camera rotation.
<zoom> — zoom strength from 0 to 100.
<zoom_time> — smooth zoom-in time.
<duration> — how long the camera is held.
[cinema_bars] — true or false; enables black letterbox bars.
Example:
/scriptedvision @a camera 10 65 -20 90 15 45 1 5 true
Target Camera
Places a camera at fixed coordinates and makes it look at a selected entity.
/scriptedvision [target] target_camera <x> <y> <z> <target_mob> <zoom> <zoom_time> <duration> <cinema_bars> <direct|follow>
Parameters:
<x> <y> <z> — fixed camera position.
<target_mob> — entity the camera looks at.
<zoom> — zoom strength from 0 to 100.
<zoom_time> — smooth zoom-in time.
<duration> — how long the camera watches the entity.
<cinema_bars> — true or false; enables black letterbox bars.
<direct|follow> — tracking mode:
direct — instantly look at the entity's current position;
follow — look at the entity's movement trail, creating a smooth delayed tracking effect.
target_mob must resolve to exactly one entity. For respawning entities, a tag with a selector limit is recommended:
@e[tag=boss_camera,limit=1,sort=nearest]
Example:
/scriptedvision @a target_camera 10 65 -20 @e[tag=boss_camera,limit=1,sort=nearest] 60 1 5 true follow
Requirements
- Minecraft: 1.21.1
- Loader: NeoForge
Status
The mod is in active development. The main visual effects and camera tools are already working, and more cinematic features may be added later.
评论 0
登录后参与评分
还没有评论,来抢沙发吧