83 lines
3 KiB
JSON
83 lines
3 KiB
JSON
{
|
||
|
||
//主城人形NPC测试
|
||
|
||
"ID": 19900002,
|
||
|
||
"Specials": {
|
||
|
||
"Radius": 2000,
|
||
|
||
//强制触发交互时间(500毫秒)(默认为5秒,配置于Configmisc中)
|
||
|
||
"OverrideInteractMaxTime": 500
|
||
|
||
},
|
||
|
||
"Events": {
|
||
|
||
"OnInteract": {
|
||
|
||
"ID": 100,
|
||
|
||
"Actions": [
|
||
|
||
//操作指定NPC的状态机参数
|
||
|
||
//这个是诺查
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionAnimCtrlerParam",
|
||
|
||
"ID": 101,
|
||
|
||
"Target": 1031,
|
||
|
||
"ParamType": "Int",
|
||
|
||
"ParamName": "Int_Test",
|
||
|
||
"IntVal": 233
|
||
|
||
},
|
||
|
||
//未填写Target时,默认选择被交互者
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionAnimCtrlerParam",
|
||
|
||
"ID": 102,
|
||
|
||
//"Target": 1031,
|
||
|
||
"ParamType": "Trigger",
|
||
|
||
"ParamName": "Trigger_Interacted",
|
||
|
||
"BoolVal": true
|
||
|
||
},
|
||
|
||
//这个是猫又(在马路对面)
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionAnimCtrlerParam",
|
||
|
||
"ID": 103,
|
||
|
||
"Target": 1032,
|
||
|
||
"ParamType": "Trigger",
|
||
|
||
"ParamName": "Trigger_PressAttackA",
|
||
|
||
"BoolVal": true
|
||
|
||
},
|
||
|
||
//这个是主角(摇了摇头)
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionAnimCtrlerParam",
|
||
|
||
"ID": 104,
|
||
|
||
"Target": -1,
|
||
|
||
"ParamType": "Int",
|
||
|
||
"ParamName": "Int_ActionIndex",
|
||
|
||
"IntVal": 2
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionAnimCtrlerParam",
|
||
|
||
"ID": 105,
|
||
|
||
"Target": -1,
|
||
|
||
"ParamType": "Trigger",
|
||
|
||
"ParamName": "Trigger_Action",
|
||
|
||
"BoolVal": true
|
||
|
||
},
|
||
|
||
//这个是主角(向后走)
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionWalkFarAway",
|
||
|
||
"ID": 106,
|
||
|
||
"Target": -1,
|
||
|
||
"Move": true
|
||
|
||
},
|
||
|
||
//该Action已废弃
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CActionSetAnimatorTrigger",
|
||
|
||
// "Key": "Trigger_Interacted"
|
||
|
||
// },
|
||
|
||
//重置交互(否则仅能交互一次)
|
||
|
||
{
|
||
|
||
"$type": "Share.CActionResetEventCfg",
|
||
|
||
"ID": 107
|
||
|
||
}
|
||
|
||
//开启Galgame
|
||
|
||
// {
|
||
|
||
// "$type": "Share.CActionPerformCfg",
|
||
|
||
// "PerformID": 101
|
||
|
||
// },
|
||
|
||
]
|
||
|
||
}
|
||
|
||
}
|
||
|
||
}
|
||
|