vault backup: 2024-06-11 16:29:30
This commit is contained in:
@@ -2,12 +2,29 @@
|
||||
继承关系:BP_XXX_Base -> BP_Idol_Base -> TsIdolActor -> AVCharacter -> ACharacter 。
|
||||
主要逻辑位于TsIdolActor中,文件路径为`Script/LiveDirector/Character/TsIdolActor.ts`
|
||||
|
||||
# 添加新衣服流程
|
||||
1. 在Content/Character/XXX中创建继承自BP_XXX_Base的蓝图。
|
||||
2. 设置SkeletalMesh。
|
||||
3. 添加对应的OutlineMaterial。
|
||||
5. 在DressName中输入新衣服的显示名称。
|
||||
6. 添加Prop标签。
|
||||
1. Idol.XXX
|
||||
2. Prop.Dress(第一件衣服需要设置成Prop.Dress.Default)
|
||||
3. Prop.MountPoint.Body
|
||||
7. ***脚本扫描***:点击编辑器的嘉然头像->角色道具配置全量生成 or 角色道具配置增量生成。会往IdolPropAssetConfig.json添加对应衣服或者道具配置数据。
|
||||
# 添加新角色流程笔记
|
||||
1. 添加一个Idol.xxx标签。
|
||||
2. 修改下面相关文件[[#含有角色标签的文件]]。
|
||||
3. 添加对应的蓝图与文件结构。
|
||||
1. Content/Character
|
||||
1. 在Idol_Base中添加[[#BP_XXX_Base]]。
|
||||
2. Content/ResArt/CharacterArt:放置角色与服装,按照
|
||||
4. 指定用于修型的PostProcess动画蓝图。
|
||||
5. 添加Prop标签。
|
||||
1. Idol.XXX
|
||||
2. Prop.Dress
|
||||
3. Prop.MountPoint.Body
|
||||
6. ***脚本扫描***:点击编辑器的嘉然头像->角色道具配置全量生成 or 角色道具配置增量生成。会往IdolPropAssetConfig.json添加对应衣服或者道具配置数据。
|
||||
## 含有角色标签的文件
|
||||
1. [x] TsCharacterItem.ts `Script\LiveDirector\Character\View\TsCharacterItem.ts`
|
||||
1. 3级角色控制界面相关的UI操作。
|
||||
@@ -26,6 +43,13 @@
|
||||
7. [x] ~~TsSimpleLevelManager.ts~~
|
||||
1. SwitchLiveArea()中调用,只调用了Idol.BeiLa,属于容错语句。
|
||||
8. ~~CameraDebug.cpp ~~(这个不需求)
|
||||
|
||||
## BP_XXX_Base
|
||||
1. 指定动画蓝图。
|
||||
2. 指定LiveLinkName。
|
||||
3. 指定OutlineMaterial。
|
||||
4.
|
||||
|
||||
# AVCharacter
|
||||
主要实现了`virtual void OnRep_AttachmentReplication() override;`,声明了若干BlueprintNativeEvent:
|
||||
- bool CanSyncRelativeTransform();
|
||||
|
Reference in New Issue
Block a user