1401 lines
No EOL
47 KiB
JSON
1401 lines
No EOL
47 KiB
JSON
[
|
|
{
|
|
"Type": "HTN",
|
|
"Name": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTN'",
|
|
"Flags": "RF_Public | RF_Standalone | RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"StartNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_SubPlan'HTN_GetInShootingRange:HTNTask_SubPlan_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.43"
|
|
}
|
|
],
|
|
"BlackboardAsset": {
|
|
"ObjectName": "BlackboardData'BB_Mimic'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/BB_Mimic.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNDecorator_Blackboard",
|
|
"Name": "HTNDecorator_Blackboard_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNDecorator_Blackboard'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"FloatValue": 50.0,
|
|
"CachedDescription": "ZoneRadius Is Greater Than Or Equal To 50.000000",
|
|
"OperationType": 5,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "ZoneRadius"
|
|
},
|
|
"bCheckConditionOnTick": false,
|
|
"bCheckConditionOnTickOnlyOnce": false,
|
|
"NodeName": "Has limiting zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNDecorator_Blackboard",
|
|
"Name": "HTNDecorator_Blackboard_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNDecorator_Blackboard'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"FloatValue": 50.0,
|
|
"CachedDescription": "ZoneRadius Is Greater Than Or Equal To 50.000000",
|
|
"OperationType": 5,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "ZoneRadius"
|
|
},
|
|
"bCheckConditionOnTick": false,
|
|
"bCheckConditionOnTickOnlyOnce": false,
|
|
"NodeName": "Has limiting zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNDecorator_Blackboard",
|
|
"Name": "HTNDecorator_Blackboard_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNDecorator_Blackboard'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"FloatValue": 50.0,
|
|
"CachedDescription": "ZoneRadius Is Greater Than Or Equal To 50.000000",
|
|
"OperationType": 5,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "ZoneRadius"
|
|
},
|
|
"bCheckConditionOnTick": false,
|
|
"bCheckConditionOnTickOnlyOnce": false,
|
|
"NodeName": "Has limiting zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNDecorator_Blackboard",
|
|
"Name": "HTNDecorator_Blackboard_4",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNDecorator_Blackboard'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"FloatValue": 50.0,
|
|
"CachedDescription": "ZoneRadius Is Greater Than Or Equal To 50.000000",
|
|
"OperationType": 5,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "ZoneRadius"
|
|
},
|
|
"bCheckConditionOnTick": false,
|
|
"bCheckConditionOnTickOnlyOnce": false,
|
|
"NodeName": "Has limiting zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNDecorator_ConfigurableDistanceCheck",
|
|
"Name": "HTNDecorator_ConfigurableDistanceCheck_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNDecorator_ConfigurableDistanceCheck'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"LocationSourceA": {
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "SelfLocation"
|
|
}
|
|
},
|
|
"LocationSourceB": {
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "ZoneCenterLocation"
|
|
}
|
|
},
|
|
"CheckMode": "EHTNDecoratorDistanceCheckMode::Distance2D",
|
|
"DistanceRangeKey": {
|
|
"SelectedKeyName": "ZoneRadiusRange"
|
|
},
|
|
"bCheckConditionOnTick": false,
|
|
"NodeName": "Is inside the zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNDecorator_ConfigurableDistanceCheck",
|
|
"Name": "HTNDecorator_ConfigurableDistanceCheck_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNDecorator_ConfigurableDistanceCheck'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"LocationSourceA": {
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "SelfLocation"
|
|
}
|
|
},
|
|
"LocationSourceB": {
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "ShootLocation"
|
|
},
|
|
"Offset": {
|
|
"X": 0.0,
|
|
"Y": 0.0,
|
|
"Z": 100.0
|
|
}
|
|
},
|
|
"CheckMode": "EHTNDecoratorDistanceCheckMode::Distance2D",
|
|
"DistanceRangeKey": {
|
|
"SelectedKeyName": "AttackRange"
|
|
},
|
|
"bAllMustPass": false,
|
|
"bCheckConditionOnTick": false,
|
|
"ConditionCheckInterval": 0.5,
|
|
"NodeName": "Is Enemy in attack range",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_If",
|
|
"Name": "HTNNode_If_10",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_If'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_EQSQuery'HTN_GetInShootingRange:HTNTask_EQSQuery_4'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.31"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_EQSQuery'HTN_GetInShootingRange:HTNTask_EQSQuery_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.29"
|
|
}
|
|
],
|
|
"Decorators": [
|
|
{
|
|
"ObjectName": "HTNDecorator_Blackboard'HTN_GetInShootingRange:HTNDecorator_Blackboard_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.3"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_If",
|
|
"Name": "HTNNode_If_12",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_If'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_EQSQuery'HTN_GetInShootingRange:HTNTask_EQSQuery_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.30"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_EQSQuery'HTN_GetInShootingRange:HTNTask_EQSQuery_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.27"
|
|
}
|
|
],
|
|
"Decorators": [
|
|
{
|
|
"ObjectName": "HTNDecorator_ConfigurableDistanceCheck'HTN_GetInShootingRange:HTNDecorator_ConfigurableDistanceCheck_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.5"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_If",
|
|
"Name": "HTNNode_If_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_If'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"bCanConditionsInterruptTrueBranch": false,
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_Prefer'HTN_GetInShootingRange:HTNNode_Prefer_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.13"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_SetRotationState_C'HTN_GetInShootingRange:HTNTask_SetRotationState_C_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.41"
|
|
}
|
|
],
|
|
"Decorators": [
|
|
{
|
|
"ObjectName": "HTNDecorator_ConfigurableDistanceCheck'HTN_GetInShootingRange:HTNDecorator_ConfigurableDistanceCheck_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.6"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_If",
|
|
"Name": "HTNNode_If_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_If'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_If'HTN_GetInShootingRange:HTNNode_If_12'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.8"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_EQSQuery'HTN_GetInShootingRange:HTNTask_EQSQuery_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.28"
|
|
}
|
|
],
|
|
"Decorators": [
|
|
{
|
|
"ObjectName": "HTNDecorator_Blackboard'HTN_GetInShootingRange:HTNDecorator_Blackboard_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.2"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_If",
|
|
"Name": "HTNNode_If_4",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_If'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_EQSQueryCover'HTN_GetInShootingRange:HTNTask_EQSQueryCover_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.32"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_EQSQueryCover'HTN_GetInShootingRange:HTNTask_EQSQueryCover_4'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.35"
|
|
}
|
|
],
|
|
"Decorators": [
|
|
{
|
|
"ObjectName": "HTNDecorator_Blackboard'HTN_GetInShootingRange:HTNDecorator_Blackboard_4'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.4"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_If",
|
|
"Name": "HTNNode_If_9",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_If'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_EQSQueryCover'HTN_GetInShootingRange:HTNTask_EQSQueryCover_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.34"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_EQSQueryCover'HTN_GetInShootingRange:HTNTask_EQSQueryCover_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.33"
|
|
}
|
|
],
|
|
"Decorators": [
|
|
{
|
|
"ObjectName": "HTNDecorator_Blackboard'HTN_GetInShootingRange:HTNDecorator_Blackboard_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.1"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_Prefer",
|
|
"Name": "HTNNode_Prefer_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_Prefer'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_If'HTN_GetInShootingRange:HTNNode_If_4'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.11"
|
|
},
|
|
{
|
|
"ObjectName": "HTNNode_Prefer'HTN_GetInShootingRange:HTNNode_Prefer_9'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.16"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_Prefer",
|
|
"Name": "HTNNode_Prefer_5",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_Prefer'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_If'HTN_GetInShootingRange:HTNNode_If_9'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.12"
|
|
},
|
|
{
|
|
"ObjectName": "HTNNode_Prefer'HTN_GetInShootingRange:HTNNode_Prefer_7'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.15"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_Prefer",
|
|
"Name": "HTNNode_Prefer_7",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_Prefer'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_If'HTN_GetInShootingRange:HTNNode_If_10'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.7"
|
|
},
|
|
{
|
|
"ObjectName": "HTNNode_SubNetwork'HTN_GetInShootingRange:HTNNode_SubNetwork_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.18"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_Prefer",
|
|
"Name": "HTNNode_Prefer_9",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_Prefer'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NumPrimaryNodes": 1,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_If'HTN_GetInShootingRange:HTNNode_If_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.10"
|
|
},
|
|
{
|
|
"ObjectName": "HTNTask_SetRotationState_C'HTN_GetInShootingRange:HTNTask_SetRotationState_C_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.41"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_SubNetwork",
|
|
"Name": "HTNNode_SubNetwork_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_SubNetwork'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"HTN": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
},
|
|
"MaxRecursionLimit": 3,
|
|
"NodeName": "Recurse",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNNode_SubNetwork",
|
|
"Name": "HTNNode_SubNetwork_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNNode_SubNetwork'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"HTN": {
|
|
"ObjectName": "HTN'HTN_Defensive'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_Defensive.1"
|
|
},
|
|
"NodeName": "Take defensive position",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNService_SetCanFireNow",
|
|
"Name": "HTNService_SetCanFireNow_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNService_SetCanFireNow'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"TargetActorKey": {
|
|
"SelectedKeyName": "Enemy"
|
|
},
|
|
"CanFireKey": {
|
|
"SelectedKeyName": "CanFireNow"
|
|
},
|
|
"bIgnoreSelf": true,
|
|
"CollisionChannel": "ECollisionChannel::ECC_GameTraceChannel8",
|
|
"DebugColor": {
|
|
"R": 1.0,
|
|
"G": 0.0,
|
|
"B": 0.136551,
|
|
"A": 1.0,
|
|
"Hex": "FF0067"
|
|
},
|
|
"DebugHitColor": {
|
|
"R": 0.135463,
|
|
"G": 1.0,
|
|
"B": 0.0,
|
|
"A": 1.0,
|
|
"Hex": "67FF00"
|
|
},
|
|
"DebugDrawTime": 0.5,
|
|
"NPCConfig": {
|
|
"ObjectName": "NPCConfig'DA_NPCConfig'",
|
|
"ObjectPath": "/Game/ITR2/Configurations/DA_NPCConfig.0"
|
|
},
|
|
"TickIntervalRandomDeviation": 0.0,
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNService_SetCanFireNow",
|
|
"Name": "HTNService_SetCanFireNow_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNService_SetCanFireNow'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"TargetActorKey": {
|
|
"SelectedKeyName": "Enemy"
|
|
},
|
|
"CanFireKey": {
|
|
"SelectedKeyName": "CanFireNow"
|
|
},
|
|
"bIgnoreSelf": true,
|
|
"CollisionChannel": "ECollisionChannel::ECC_GameTraceChannel8",
|
|
"DebugColor": {
|
|
"R": 1.0,
|
|
"G": 0.0,
|
|
"B": 0.136551,
|
|
"A": 1.0,
|
|
"Hex": "FF0067"
|
|
},
|
|
"DebugHitColor": {
|
|
"R": 0.135463,
|
|
"G": 1.0,
|
|
"B": 0.0,
|
|
"A": 1.0,
|
|
"Hex": "67FF00"
|
|
},
|
|
"DebugDrawTime": 0.5,
|
|
"NPCConfig": {
|
|
"ObjectName": "NPCConfig'DA_NPCConfig'",
|
|
"ObjectPath": "/Game/ITR2/Configurations/DA_NPCConfig.0"
|
|
},
|
|
"TickIntervalRandomDeviation": 0.0,
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNService_SetCanFireNow",
|
|
"Name": "HTNService_SetCanFireNow_6",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNService_SetCanFireNow'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"TargetActorKey": {
|
|
"SelectedKeyName": "Enemy"
|
|
},
|
|
"CanFireKey": {
|
|
"SelectedKeyName": "CanFireNow"
|
|
},
|
|
"bIgnoreSelf": true,
|
|
"CollisionChannel": "ECollisionChannel::ECC_GameTraceChannel8",
|
|
"DebugColor": {
|
|
"R": 1.0,
|
|
"G": 0.0,
|
|
"B": 0.136551,
|
|
"A": 1.0,
|
|
"Hex": "FF0067"
|
|
},
|
|
"DebugHitColor": {
|
|
"R": 0.135463,
|
|
"G": 1.0,
|
|
"B": 0.0,
|
|
"A": 1.0,
|
|
"Hex": "67FF00"
|
|
},
|
|
"DebugDrawTime": 0.5,
|
|
"NPCConfig": {
|
|
"ObjectName": "NPCConfig'DA_NPCConfig'",
|
|
"ObjectPath": "/Game/ITR2/Configurations/DA_NPCConfig.0"
|
|
},
|
|
"TickIntervalRandomDeviation": 0.0,
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNService_SetMoveSpeed_C",
|
|
"Name": "HTNService_SetMoveSpeed_C_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Services/HTNService_SetMoveSpeed.HTNService_SetMoveSpeed_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNService_SetMoveSpeed_C'Default__HTNService_SetMoveSpeed_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Services/HTNService_SetMoveSpeed.4"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"TargetLocationKey[2]": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"IsShootingInMoveKey[3]": {
|
|
"SelectedKeyName": "IsShootingInMove"
|
|
},
|
|
"CanFireInMoveKey[4]": {
|
|
"SelectedKeyName": "CanFireInMove"
|
|
},
|
|
"DistToLocForRunning[7]": 300.0,
|
|
"TickIntervalRandomDeviation": 0.0,
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNService_SetMoveSpeed_C",
|
|
"Name": "HTNService_SetMoveSpeed_C_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Services/HTNService_SetMoveSpeed.HTNService_SetMoveSpeed_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNService_SetMoveSpeed_C'Default__HTNService_SetMoveSpeed_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Services/HTNService_SetMoveSpeed.4"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"TargetLocationKey[2]": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"IsShootingInMoveKey[3]": {
|
|
"SelectedKeyName": "IsShootingInMove"
|
|
},
|
|
"CanFireInMoveKey[4]": {
|
|
"SelectedKeyName": "CanFireInMove"
|
|
},
|
|
"DistToLocForRunning[7]": 200.0,
|
|
"TickIntervalRandomDeviation": 0.0,
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNService_SetMoveSpeed_C",
|
|
"Name": "HTNService_SetMoveSpeed_C_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Services/HTNService_SetMoveSpeed.HTNService_SetMoveSpeed_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNService_SetMoveSpeed_C'Default__HTNService_SetMoveSpeed_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Services/HTNService_SetMoveSpeed.4"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"TargetLocationKey[2]": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"IsShootingInMoveKey[3]": {
|
|
"SelectedKeyName": "IsShootingInMove"
|
|
},
|
|
"CanFireInMoveKey[4]": {
|
|
"SelectedKeyName": "CanFireInMove"
|
|
},
|
|
"DistToLocForRunning[7]": 300.0,
|
|
"TickIntervalRandomDeviation": 0.0,
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_ClearValue",
|
|
"Name": "HTNTask_ClearValue_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_ClearValue'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_MoveTo'HTN_GetInShootingRange:HTNTask_MoveTo_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.38"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_ClearValue",
|
|
"Name": "HTNTask_ClearValue_5",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_ClearValue'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_MoveTo'HTN_GetInShootingRange:HTNTask_MoveTo_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.37"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQuery",
|
|
"Name": "HTNTask_EQSQuery_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQuery'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_OutsideZoneLocation_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_OutsideZoneLocation_Backed.1"
|
|
},
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_SetRotationState_C'HTN_GetInShootingRange:HTNTask_SetRotationState_C_19'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.40"
|
|
}
|
|
],
|
|
"NodeName": "Find position to reach Zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQuery",
|
|
"Name": "HTNTask_EQSQuery_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQuery'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ShootingLocation_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ShootingLocation_Backed.2"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "MaxAttackDist",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 10000.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "MaxAttackDist",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
},
|
|
{
|
|
"ParamName": "BestAttackDistance",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 10000.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "BestAttackDistance",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"EQSQueryBlackboardKey": {
|
|
"SelectedKeyName": "SelfActor"
|
|
},
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"MaxNumCandidatePlans": 0,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_SetRotationState_C'HTN_GetInShootingRange:HTNTask_SetRotationState_C_19'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.40"
|
|
}
|
|
],
|
|
"NodeName": "Find shooting position",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQuery",
|
|
"Name": "HTNTask_EQSQuery_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQuery'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ApproachLocation_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ApproachLocation_Backed.1"
|
|
},
|
|
"EQSQueryBlackboardKey": {
|
|
"SelectedKeyName": "SelfActor"
|
|
},
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_ClearValue'HTN_GetInShootingRange:HTNTask_ClearValue_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.25"
|
|
}
|
|
],
|
|
"NodeName": "Find Approach position",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQuery",
|
|
"Name": "HTNTask_EQSQuery_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQuery'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ShootingZonedLocation_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ShootingZonedLocation_Backed.3"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "MaxAttackDist",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "MaxAttackDist",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
},
|
|
{
|
|
"ParamName": "BestAttackDistance",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "BestAttackDistance",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
},
|
|
{
|
|
"ParamName": "ZoneRadius",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "ZoneRadius",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_SetRotationState_C'HTN_GetInShootingRange:HTNTask_SetRotationState_C_19'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.40"
|
|
}
|
|
],
|
|
"NodeName": "Find attack position in Zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQuery",
|
|
"Name": "HTNTask_EQSQuery_4",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQuery'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ApproachZonedLocation_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ApproachZonedLocation_Backed.2"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "ZoneRadius",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 3000.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "ZoneRadius",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"EQSQueryBlackboardKey": {
|
|
"SelectedKeyName": "SelfActor"
|
|
},
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_ClearValue'HTN_GetInShootingRange:HTNTask_ClearValue_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.25"
|
|
}
|
|
],
|
|
"NodeName": "Find Approach position in Zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQueryCover",
|
|
"Name": "HTNTask_EQSQueryCover_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQueryCover'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"LocationBlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ShootingZonedCover_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ShootingZonedCover_Backed.3"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "ZoneRadius",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "ZoneRadius",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
},
|
|
{
|
|
"ParamName": "MaxAttackDist",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "MaxAttackDist",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
},
|
|
{
|
|
"ParamName": "BestAttackDistance",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "BestAttackDistance",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_OccupyCover_C'HTN_GetInShootingRange:HTNTask_OccupyCover_C_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.39"
|
|
}
|
|
],
|
|
"NodeName": "Find Cover to attack in Zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQueryCover",
|
|
"Name": "HTNTask_EQSQueryCover_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQueryCover'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"LocationBlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ApproachCover_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ApproachCover_Backed.1"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "MaxAttackDist",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 3000.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "MaxAttackDist",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"EQSQueryBlackboardKey": {
|
|
"SelectedKeyName": "RotationToTarget"
|
|
},
|
|
"RunMode": "EEnvQueryRunMode::RandomBest25Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_ClearValue'HTN_GetInShootingRange:HTNTask_ClearValue_5'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.26"
|
|
}
|
|
],
|
|
"NodeName": "Find Approach cover",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQueryCover",
|
|
"Name": "HTNTask_EQSQueryCover_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQueryCover'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"LocationBlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ApproachZonedCover_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ApproachZonedCover_Backed.2"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "ZoneRadius",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 3000.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "ZoneRadius",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"EQSQueryBlackboardKey": {
|
|
"SelectedKeyName": "RotationToTarget"
|
|
},
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_ClearValue'HTN_GetInShootingRange:HTNTask_ClearValue_5'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.26"
|
|
}
|
|
],
|
|
"NodeName": "Find Approach Cover in Zone",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_EQSQueryCover",
|
|
"Name": "HTNTask_EQSQueryCover_4",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_EQSQueryCover'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"LocationBlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"EQSRequest": {
|
|
"QueryTemplate": {
|
|
"ObjectName": "EnvQuery'EQS_ShootingCover_Backed'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/EQS/Queries/EQS_ShootingCover_Backed.2"
|
|
},
|
|
"QueryConfig": [
|
|
{
|
|
"ParamName": "MaxAttackDist",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "MaxAttackDist",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
},
|
|
{
|
|
"ParamName": "BestAttackDistance",
|
|
"ParamType": "EAIParamType::Float",
|
|
"Value": 0.0,
|
|
"BBKey": {
|
|
"SelectedKeyName": "BestAttackDistance",
|
|
"bNoneIsAllowedValue": true
|
|
}
|
|
}
|
|
],
|
|
"RunMode": "EEnvQueryRunMode::RandomBest5Pct"
|
|
},
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_OccupyCover_C'HTN_GetInShootingRange:HTNTask_OccupyCover_C_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.39"
|
|
}
|
|
],
|
|
"NodeName": "Find Cover to attack ",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_MoveTo",
|
|
"Name": "HTNTask_MoveTo_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_MoveTo'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"AcceptableRadius": 80.0,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"Services": [
|
|
{
|
|
"ObjectName": "HTNService_SetMoveSpeed_C'HTN_GetInShootingRange:HTNService_SetMoveSpeed_C_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.22"
|
|
},
|
|
{
|
|
"ObjectName": "HTNService_SetCanFireNow'HTN_GetInShootingRange:HTNService_SetCanFireNow_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.20"
|
|
}
|
|
],
|
|
"NodeName": "Move to Shoot position",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_MoveTo",
|
|
"Name": "HTNTask_MoveTo_1",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_MoveTo'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"AcceptableRadius": 80.0,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_Wait'HTN_GetInShootingRange:HTNTask_Wait_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.44"
|
|
}
|
|
],
|
|
"Services": [
|
|
{
|
|
"ObjectName": "HTNService_SetMoveSpeed_C'HTN_GetInShootingRange:HTNService_SetMoveSpeed_C_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.23"
|
|
},
|
|
{
|
|
"ObjectName": "HTNService_SetCanFireNow'HTN_GetInShootingRange:HTNService_SetCanFireNow_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.19"
|
|
}
|
|
],
|
|
"NodeName": "Move to Approach position",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_MoveTo",
|
|
"Name": "HTNTask_MoveTo_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_MoveTo'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"AcceptableRadius": 80.0,
|
|
"BlackboardKey": {
|
|
"SelectedKeyName": "TargetLocation"
|
|
},
|
|
"Services": [
|
|
{
|
|
"ObjectName": "HTNService_SetCanFireNow'HTN_GetInShootingRange:HTNService_SetCanFireNow_6'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.21"
|
|
},
|
|
{
|
|
"ObjectName": "HTNService_SetMoveSpeed_C'HTN_GetInShootingRange:HTNService_SetMoveSpeed_C_3'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.24"
|
|
}
|
|
],
|
|
"NodeName": "Move to Approach Location",
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_OccupyCover_C",
|
|
"Name": "HTNTask_OccupyCover_C_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_OccupyCover.HTNTask_OccupyCover_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNTask_OccupyCover_C'Default__HTNTask_OccupyCover_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_OccupyCover.2"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"Cover": {
|
|
"SelectedKeyName": "Cover"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_SetRotationState_C'HTN_GetInShootingRange:HTNTask_SetRotationState_C_19'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.40"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_SetRotationState_C",
|
|
"Name": "HTNTask_SetRotationState_C_19",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_SetRotationState.HTNTask_SetRotationState_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNTask_SetRotationState_C'Default__HTNTask_SetRotationState_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_SetRotationState.4"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"DesiredMode[1]": {
|
|
"TagName": "Als.RotationMode.ViewDirection"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_MoveTo'HTN_GetInShootingRange:HTNTask_MoveTo_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.36"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_SetRotationState_C",
|
|
"Name": "HTNTask_SetRotationState_C_3",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_SetRotationState.HTNTask_SetRotationState_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNTask_SetRotationState_C'Default__HTNTask_SetRotationState_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_SetRotationState.4"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"DesiredMode[1]": {
|
|
"TagName": "Als.RotationMode.ViewDirection"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_Prefer'HTN_GetInShootingRange:HTNNode_Prefer_5'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.14"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_SetStance_C",
|
|
"Name": "HTNTask_SetAnimationState_C_0",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "BlueprintGeneratedClass'/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_SetStance.HTNTask_SetStance_C'",
|
|
"Template": {
|
|
"ObjectName": "HTNTask_SetStance_C'Default__HTNTask_SetStance_C'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/Tasks/HTNTask_SetStance.3"
|
|
},
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"Stance[2]": {
|
|
"TagName": "Als.Stance.Standing"
|
|
},
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_If'HTN_GetInShootingRange:HTNNode_If_2'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.9"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_SubPlan",
|
|
"Name": "HTNTask_SubPlan_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_SubPlan'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNTask_SetStance_C'HTN_GetInShootingRange:HTNTask_SetAnimationState_C_0'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.42"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"Type": "HTNTask_Wait",
|
|
"Name": "HTNTask_Wait_2",
|
|
"Outer": "HTN_GetInShootingRange",
|
|
"Class": "UScriptClass'HTNTask_Wait'",
|
|
"Flags": "RF_Transactional | RF_WasLoaded | RF_LoadCompleted",
|
|
"Properties": {
|
|
"WaitTime": 1.25,
|
|
"RandomDeviation": 0.25,
|
|
"NextNodes": [
|
|
{
|
|
"ObjectName": "HTNNode_SubNetwork'HTN_GetInShootingRange:HTNNode_SubNetwork_1'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.17"
|
|
}
|
|
],
|
|
"HTNAsset": {
|
|
"ObjectName": "HTN'HTN_GetInShootingRange'",
|
|
"ObjectPath": "/Game/ITR2/BPs/AI/HTN/HTN_GetInShootingRange.0"
|
|
}
|
|
}
|
|
}
|
|
] |