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

152 lines
No EOL
4.5 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.

//Entity和Render的visible控制测试脚本
{
"AbilityName" : "TestPlayer_Ability_KVL_01",
"AbilityStacking": "Unique",
"AbilityMixins": [
{
"$type": "MoleMole.AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_Normal_01",
"LayerIndex": 0,
"NormalizedTimeLow": 0.0,
"NormalizedTimeHigh": 1.0,
"ModifierNameList": [
"HideEntityModifier"
]
},
{
"AnimatorStateName": "Attack_Normal_02",
"LayerIndex": 0,
"NormalizedTimeLow": 0.5,
"NormalizedTimeHigh": 1.0,
"ModifierNameList": [
"HideRenderModifier"
]
},
{
"AnimatorStateName": "Attack_Normal_03",
"LayerIndex": 0,
"NormalizedTimeLow": 0.0,
"NormalizedTimeHigh": 0.5,
"ModifierNameList": [
"HideRenderModifier"
]
},
//若Action和Zone同时作用于同一个render则Action的优先级更高Action执行后再执行Zone的结果
{
"AnimatorStateName": "Idle",
"LayerIndex": 0,
"NormalizedTimeLow": 0.3,
"NormalizedTimeHigh": 0.8,
"ModifierNameList": [
"ShowRenderModifier"
]
}
]
}
],
"Modifiers" :
{
"HideEntityModifier" :
{
"ModifierStacking" : "Unique",
"Duration" : -1,
"IgnoreTimeScale" : false,
"OnAdded" :
[
//整体隐藏tag作用为标记同一tag最多被push1次无tag则使用几次action则push几次相对的想解除此效果就需要pop几次
{
"$type" : "MoleMole.PushEntityVisibleWithTagAction",
"Visible" : false,
"Tag" : "Unagi"
}
],
"OnRemoved" :
[
//pop掉之前setvisible的entity使之恢复 默认的 可见/隐藏状态或正在生效中的zone所设置的状态
{
"$type" : "MoleMole.PopEntityVisibleWithTagAction",
"Tag" : "Unagi"
}
]
},
"HideRenderModifier" :
{
"ModifierStacking" : "Unique",
"Duration" : -1,
"IgnoreTimeScale" : false,
"OnAdded" :
[
//局部隐藏tag作用为标记同一tag最多被push1次无tag则使用几次actionpush几次
{
"$type" : "MoleMole.PushRenderVisibleAction",
"Path" : "Unagi_Weapon03",
"Visible" : true,
"Tag" : "MagicBladeShow"
},
{
"$type" : "MoleMole.PushRenderVisibleAction",
"Path" : "Unagi_Weapon02",
"Visible" : false,
"Tag" : "BladeHide"
}
],
"OnRemoved" :
[
//pop掉之前setvisible的render使之恢复 默认的 可见/隐藏状态或正在生效中的zone所设置的状态
{
"$type" : "MoleMole.PopRenderVisibleAction",
"Path" : "Unagi_Weapon03",
"Tag" : "MagicBladeShow"
},
{
"$type" : "MoleMole.PopRenderVisibleAction",
"Path" : "Unagi_Weapon02",
"Tag" : "BladeHide"
}
]
},
"ShowRenderModifier" :
{
"ModifierStacking" : "Unique",
"Duration" : -1,
"IgnoreTimeScale" : false,
"OnAdded" :
[
//若对同一render进行visible控制则需要用tag进行标识来进行push和pop
{
"$type" : "MoleMole.PushRenderVisibleAction",
"Path" : "Unagi_Weapon03",
"Visible" : false,
"Tag" : "MagicBladeHide"
},
{
"$type" : "MoleMole.PushRenderVisibleAction",
"Path" : "Unagi_Weapon02",
"Visible" : true,
"Tag" : "BladeShow"
}
],
"OnRemoved" :
[
//pop掉之前setvisible的render使之恢复 默认的 可见/隐藏状态或正在生效中的zone所设置的状态
{
"$type" : "MoleMole.PopRenderVisibleAction",
"Path" : "Unagi_Weapon03",
"Tag" : "MagicBladeHide"
},
{
"$type" : "MoleMole.PopRenderVisibleAction",
"Path" : "Unagi_Weapon02",
"Tag" : "BladeShow"
}
]
}
}
}