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

126 lines
No EOL
4.6 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_38",
"AbilityStacking": "Unique",
"DefaultModifier" :
{
//世界坐标点
"OnAdded" :
[
{
"$type" : "MoleMole.ProcessAttachPointAction",
"Target" : "Self",
"AttachPointName" : "GhostFollowPoint_02",
"HierarchyType" : "World",
"PosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "Self",
"AttachPoint" : "GhostFollowPoint",
"IsUseAttachPointPos" : true,
"IsUseAttachPointRotation" : false,
},
"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,
}
}
},
//幽灵特效(用召唤物替代,非调试环境则注释掉)
{
"$type": "MoleMole.AttachEffect",
"EffectPattern": "Eff_Unagi_Ghost_01",
"Target": "Self",
"AttachEffectPosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "Self",
"AttachPoint" : "GhostFollowPoint_02",
"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,
}
},
},
//应用跟随Mixin
{
"$type":"MoleMole.ApplyModifier",
"ModifierName":"FollowModifier",
"Target":"Self",
}
]
},
"Modifiers" :
{
"FollowModifier" :
{
"ModifierStacking" : "Unique",
"Duration" : -1,
"IgnoreTimeScale" : false,
"ModifierMixins":
[
{
"$type" : "MoleMole.AttachPointFollowMixin",
"AttachPointName" : "GhostFollowPoint_02",
//这里需要新增InitPosRot指定初始位置
//目标位置
"FollowPosRot" :
{
"CoordsOption" : "ReferTarget",
"TargetOption" :
{
"$type" : "MoleMole.ConfigPosRotReferTarget",
"OffsetReferTarget" : "Self",
"AttachPoint" : "GhostFollowPoint",
"IsUseAttachPointPos" : true,
"IsUseAttachPointRotation" : false,
},
"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,
}
},
//位移Fixed
// "PosType" : "Fixed",
// "PosSpeed" : 1.0,
//位移PolarLerp
"PosType" : "PolarLerp",
"PolarRadiusRatio" : 8.0,
"PolarAngleRatio" : 4.0,
"PolarHeightRatio" : 8.0,
//旋转
"RotType" : "Lerp",
"RotRatio" : 8.0,
}
]
},
}
}