使用指引:亚洲现代都市NPC人群系统
NPC Asian Modern Urban Population
Documentation
1.Setting Explanation(设置说明)
使用女性的角色蓝图做例子
The character blueprint (Female simple)
将角色蓝图拖动到场景中,然后单击角色。在这里,您可以看到设置部分。
Drag the character blueprint into the scene and click on the character. Here you can see the settings section.

a. Combine body parts(组合身体各部分)
在此处打开这两个选项,一个用于选择身体部位,另一个用于设置鞋子参数。
Open these two options here, one for selecting body parts and the other for setting shoe parameters.

每个身体部位都有一个相应的序列号,通过单击文件夹,您可以看到可以选择的资产。将所选资源设置为相应的身体部位。
Each body part has a corresponding serial number, and by clicking on the folder, you can see the assets that can be selected. Set the selected assets to the corresponding body parts.

由于每双鞋的形状和鞋跟高度不同,在设置不同的鞋子时需要调整一些参数以获得良好的效果。每个系列的鞋子都有参考参数值,可以直接填写在参数栏中。
Because the shape and heel height of each shoes are different, it is necessary to adjust some parameters when setting different shoes to achieve good results. There are the reference parameter values for each series of shoes, which can be directly filled in the parameter column.

提醒:如果为女性角色选择全身连衣裙,则应为“05 lower body”选择“Only leg”资产。如果选择男性角色的全身套装,那么“05下半身”应设置为空。
A Reminder: If choose a full body dress for famale character, then the 'Only leg' asset should be selected for the "05 lower body" . If choose the full body suit for male character, then the "05 lower body" should be set to empty.

b. Behavior and expressions(行为和表情设置)
在这里,您可以选择角色的行走状态、表情、行为以及是否戴眼镜。
Here, you can choose the character’s walking state, expression, behavior, and whether they are wearing glasses.

c.Random Body(创建随机角色)
勾选“Random Body”,蓝图将随机组合身体以创建角色。这将为您在创建不同角色时节省大量精力,但由于随机性,偶尔也可能创造出不协调的外形。
Check 'Random body', the blueprint will randomly combine bodies to create characters. This will save you a lot of energy in creating different characters, but due to randomness, occasionally mismatched images may also be created.

2. Additional functions(附加的功能)
a. Walk towards the target actor(往一个目标走)
此功能用于引导角色朝向场景中选定的目标。
This function is to guide the character towards a selected target in the scene.
如何实现:
How to achieve:
(1) 把“Nav Mesh Bounds Volumes”放置在场景中;
(1) Place “Nav Mesh Bounds Volumes” in the scene;

(2) 把你的到达目标放置在“Nav Mesh Bounds Volumes”范围内;
(2) Place the target actor within the coverage range of the “Nav Mesh Bounds Volumes”;

(3) 在角色"Point to go"栏目选择你放置的到达目标,然后点击开始或模拟角色就会往目标走去。
(3) Select the target actor in the "Point to go" of character. Then character will move towards the target during runtime.

b.Watch an actor(注视一个对象)
此功能允许角色实时观看指定的对象。选择角色正常视线范围内的对象,通常在他们面前。在视线异常的地方,比如在他们身后,人物则不会看。
基点是对象的基础位置。如果是角色对象,基点在腰部附近,所以需要增加高度来调整目光。
This feature allows the character to watch the designated target actor in real-time. Choose actors within the normal line of sight of the character, usually in front of them. In abnormal line of sight, such as behind them, the character will not look.
The focal point is the basis of the actor. If it is a character actor, the base point is near the waist, so it is necessary to add height to adjust.

任何对象都可以选择为被观看的目标对象。
The target actor can be any actor.

c.Walk along the Spline(沿着路线走)
这功能可以让角色沿着"BP-Walking_Spline"设置的路线行走。
This feature allows the character to walk along the set "BP-Walking_Spline" route.
如何实现:
How to achieve:
(1) 把"BP_Walking_Spline"蓝图拖进场景;
(1) Put the blueprint class' BP_Walking_Spline 'into the scene;

(2) 按照虚幻引擎 Spline组件的方式设置路线,然后变量"is Loop"是否勾选决定角色在这个路线是往返还是循环走行;
(2) Set your walking route according to the Spline component, and this “is Loop” option determines whether to walk back and forth along the route or in a loop;

(3) 把 "Walk alone Spline" 选项勾上,然后在 "Select the Walking Spline" 选项里把刚才设置的路线对象选上;
(3) Check the option "Walk alone Spline" and select the route actor you just set in the "Select the Walking Spline" option;

(4) 当运行或者模拟时,角色就会按照路线行走。
(4) When running or simulating, the character will walk along the route.

d.Sound to speak(播放讲话声音)
此功能允许角色在行为为“聊天”或“介绍”时播放指定的音频。
This feature allows characters to play specified audio when their behavior is "Chatting" or "Introduction".

本产品链接:https://www.vrhuman.cn/?Service/product/Service/product/VRHAsian.html

