Files
turnbasedgamedata/Config/Props/Common/Prop_Common_Cocoon_01_Config.json
2024-10-21 03:16:22 -03:00

167 lines
3.7 KiB
JSON

{
"States": [
{
"AnimName": "StandBy"
},
{
"State": "Locked",
"AnimName": "Dormant"
},
{
"State": "Hidden",
"AnimName": "Hidden",
"Behavior": "DisableTrigger"
}
],
"DisableAnimEventLayers": [
"Dissolve Layer",
"Emission_Layer"
],
"AnimatorStateGroupEvents": [
{
"States": [
{
"Name": "StandBy"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_MAZ_Prop_Cocoon_01_StandBy_Loop.prefab",
"AttachPoint": "Root"
}
]
}
],
"OnExit": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_MAZ_Prop_Cocoon_01_StandBy_Loop.prefab"
}
]
},
{
"States": [
{
"Name": "Activing"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_MAZ_Prop_Cocoon_01_GrowUp.prefab",
"AttachPoint": "Root"
}
]
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_common_cocoon_open"
}
}
]
},
{
"States": [
{
"Name": "UnActiving",
"NormalizedTime": 0.6
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_MAZ_Prop_Cocoon_01_GrowUp.prefab"
}
]
},
{
"States": [
{
"Name": "UnActiving"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_common_cocoon_close"
}
}
]
},
{
"States": [
{
"Name": "Dormant_Inverse"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_common_prop_cocoon_wakeup"
}
}
]
},
{
"States": [
{
"Name": "Dormanting"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_common_prop_cocoon_sleep"
}
}
]
},
{
"States": [
{
"Name": "Hidden"
}
],
"OnEnter": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"OnExit": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
],
"TickLodTemplateName": "AlwaysTickEntity",
"DefaultLevelGraphPath": "Config/Level/Props/Common/InitLevelGraph_Prop_Common_Cocoon_01.json"
}