HollowPS_TV_experiments/extras/zzz-0.1-jsons/TestPlayer_Ability_Tianheng_30.json

105 lines
No EOL
4.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
//幽灵跟随伪代码脚本
"AbilityName" : "TestPlayer_Ability_Tianheng_30",
"AbilityStacking": "Unique",
"DefaultModifier":
{
"ModifierStacking":"Unique",
"OnAdded":
[
{
"$type" : "MoleMole.TriggerAbilityAction",
"AbilityName" : "TestPlayer_Ability_Tianheng_30",
"Target" : "Self",
},
//把指定特效挂在指定点上的Action
{
"$type": "MoleMole.AttachEffect", //Action名称
"EffectPattern": "Eff_Unagi_Ghost", //特效名称索引至SpecialEffect表
"Target": "Self", //挂在谁身上
//挂的位置
"AttachEffectPosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "Self",
"AttachPoint" : "Unagi_GhostPoint_01",
"IsUseAttachPointPos" : true,
"IsUseAttachPointRotation" : true,
},
"Offset" :
{
"PositionOffset" : {"x":0.0, "y":0.0, "z":0.0},
"AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},
"IsUseRotationY" : true,
"IsUseRotationXZ" : false,
}
},
},
]
},
// "AbilityMixins" :
// [
// //这个Mixin的功能就是创建一个挂点并且按照我们想要的路径算法跟随固定位置
// {
// //初始位置及朝向
// "$type" : "MoleMole.AttachPointMixin",
// "AttachPointName" : "Unagi_GhostPoint_01",
// "Target" : "Self",
// "AliveDuration" : -1, //挂点存在时间
// "FollowPosRot" :
// {
// "CoordsOption" : "Self",
// "TargetOption" :
// {
// "$type" : "MoleMole.ConfigPosRotReferTarget",
// "OffsetReferTarget" : "Self",
// },
// "Offset" :
// {
// "PositionOffset" : {"x":-1.5, "y":1.5, "z":-1.5},
// "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},
// "IsUseRotationY" : true,
// "IsUseRotationXZ" : false,
// },
// },
// "MoveType":
// {
// //MovementTypeInstant
// //MovementTypeFixedSpeed
// //MovementTypeLerpSpeed
// //MovementTypePolarFixedSpeed
// //MovementTypePolarLerpSpeed
// "$type" : "MoleMole.MovementTypePolarLerpSpeed",
// "PolarAngleRatioType" : "FixedValue", //固定值
// "PolarAngleClampRatio" : 1.0, //->目前是定值,可以扩展为一条曲线
// "PolarAngleRatioType" : "CustomCurve", //曲线
// "PolarAngleCustomCurveKey":"Default_ClampAuto", //指定曲线Key值索引至AnimationCurve配置文件
// //X轴代表当前值与目标值之间的差值Y轴代表速率值
// "PolarRadiusClampRatio" : 1.0, //->目前是定值,可以扩展为一条曲线
// "PolarHeightClampRatio" : 1.0, //->目前是定值,可以扩展为一条曲线
// },
// "RotateType":
// {
// "$type" : "MoleMole.RotateTypeLerpSpeed",
// "LerpSpeed" : 1.0,
// },
// }
// ]
// //疑问如果想要更新这个挂点的位置如何处理用新的Action吗类似的还有更改挂点的MoveType。
}