【UE4蓝图】关卡蓝图Level Blueprint 汉化by天の川
综合文库 5047 3
实名

通过了实名认证的内容创造者

发布于 2016-6-24 21:35:17

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 胖纸_DHW 于 2020-12-23 18:21 编辑

On this page:


    Overview  概述

    Default Level Blueprint  默认关卡蓝图

    Opening a Level Blueprint 打开一个关卡蓝图

    Referencing Actors 索引角色物体

    Adding Events 添加事件



Overview

概述


A Level Blueprint is a specialized type of Blueprint that acts as a level-wide global event graph. Events pertaining to the level as a whole, or specific instances of Actors within the level, are used to fire off sequences of actions in the form of function calls or flow control operations. Those familiar with Unreal Engine 3 should be very familiar with this concept as this is very similar to how Kismet worked in Unreal Engine 3.

关卡蓝图是一个特殊类型的蓝图,它作为一个泛关卡【level-wide】全局事件图表。 事件与整体关卡有关,或者与关卡中特定的角色物体实体有关,用于激发函数调用形式的事件或者控制运作流程。这些和虚幻3中的Kismet的概念很类似。



Level Blueprints provide a control mechanism for level streaming and Matinee as well as for binding events to Actors placed within the level.

关卡蓝图为关卡流程和Matinee还有绑定事件和放入关卡其中的角色物体提供一种控制机制。



Each map has a Level Blueprint by default that can be edited within Unreal Editor; However, new Level Blueprints cannot be created through the editor interface.

在虚幻编辑器中,默认的,每个地图都包含一个关卡蓝图;然而,并不能通过编辑器界面来创建新的关卡蓝图。



For more information about the Level Blueprint UI, see Level Blueprint UI.

更多关于关卡蓝图UI的信息,请参见关卡蓝图UI。


Default Level Blueprint

默认关卡蓝图



Each game can specify the default Level Blueprint class in the DefaultGame.ini config file. The Level Blueprints for all new maps will be created using this class allowing for game-specific additions and functionality.

每一个游戏可以在DefaultGame.ini 配置文件中规定默认的关卡蓝图类。关卡蓝图为所有使用这个类的将被创建的新地图,允许这个类为具体的游戏添加内容和功能。



Opening a Level Blueprint

打开一个关卡蓝图



To open a Level Blueprint for editing, click the Blueprints button in the Level Editor Toolbar and select Open Level Blueprint.

要打开编辑一个关卡蓝图,需要单击在编辑器上面的蓝图按钮并选择打开关卡蓝图。



33_3_53c158bfda1d5b3.jpg

图片:toolbar_level_editor.jpg






This opens the Level Blueprint in the Blueprint Editor:

这会在蓝图编辑器中打开关卡蓝图:


33_3_39823af9d828a01.jpg


While editing Level Blueprints, the Blueprint Editor only enables Graph mode, although the Blueprint Defaults tab can be opened from the Window menu.

当编辑关卡蓝图时,蓝图编辑器仅会开启图表模式,我们也可以通过从窗口【Window】菜单中来打开默认的蓝图标签。



Referencing Actors

引用的角色



Often, you will need to connect a reference to an Actor to a Target pin on a node in your Level Blueprint. To get a node that contains an Actor reference:

通常,在关卡蓝图中,你需要将一个索引的角色连接到目标节点的接口上。如何获取一个角色的索引角色节点呢:



    1  Select the Actor in the Level Viewport or in the Scene Outliner.

        在大纲视图或者视口中选择场景中的角色物体。



图片:selected_actor.jpg






    2  Open the Level Blueprint.

         打开关卡蓝图。




    3   Right-click in the graph where you would like to add the node.

         在图表中右击鼠标,然后添加你想要的节点。



    4   Select Add Reference to [SelectedActor] in the context menu that appears.

        在快捷菜单出现时,在其中选择【Add Reference to [被选择的角色物体]】




Alternatively:

二选一:


Drag and drop an Actor from the Scene Outliner tab into a graph in the Level Blueprint.

从场景中的大纲视图中将角色物体拖拽到关卡蓝图图表当中去。





The Actor reference node that appears can be connected to any compatible Target pin.

角色的索引节点可以连接并出现在任何兼容的目标接口上。





In some cases, you will not need a reference node, as you can connect an output pin with the correct type to the Target input pin.

有时候,你可能不需要一个参考节点,你可以将输出接口接入你的正确目标上的输入接口。





Adding Events

添加事件




There are two ways that Events for a specific Actor can be added to a Level Blueprint.

在关卡蓝图中有两种方法为特定的角色物体添加事件。


1  Select the Actor in the Level Viewport or the Scene Outliner.

    在视口场景中或者大纲视图中选择角色物体。


2  In the Details tab, under the Blueprint heading, there is a Level Blueprint Events dropdown. Expand that menu, then select your desired event from the list.

在蓝图标题下面的细节标签中,这有个关卡蓝图事件下拉表。扩大这个菜单,然后选择你在列表中所需要的事件。




Alternatively, once you have your Actor selected:

二选一,一旦让你的角色选择之后:


1  Open the Level Blueprint.

    打开关卡蓝图




2  Right-click in the graph where you would like to add the node.

在图表中右键单击鼠标,你将会添加你想要的节点。



3  In the context menu that appears, expand Add Event for [ActorName].

在快捷菜单中,展开为你的【角色名称】添加事件【Add Event for [角色的名称]】




4  Select your desired event from the list of events under Add Event for [ActorName].

   在它【Add Event for [ActorName]】下面的事件列表中选择你想要的事件。








版权声明,由GALAXIX网站翻译整理的所有中文部分保留版权







评分

参与人数 1活跃度 +20 展开 理由
首席游骑兵... + 20 这个必须顶!!

查看全部评分

还没有设置签名!您可以在此展示你的链接,或者个人主页!
使用道具 <
zany86  发表于 2017-11-5 01:27:19  
2#
mark一下
回复 收起回复
使用道具
KungFuBoy226  发表于 2018-10-27 22:49:54  
3#
微元素的资源就是棒!很棒!非常棒!
回复 收起回复
使用道具
枕头菌  发表于 2018-10-29 19:39:42  
4#
谢谢分享
回复 收起回复
使用道具
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表