Firstborn/Assets/RPG Creation Kit/Scripts/BehaviourTrees/Builtin Behaviours/Purpose Behaviours/[BTree] [P] FollowMainTarge...

606 lines
16 KiB
Plaintext
Raw Permalink Normal View History

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8493473236673243271
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 81fb7d50eef29be48abba03a859a9bbe, type: 3}
m_Name: D Repeater
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 132.13004, y: 725.27716}
ports:
keys:
- output
- input
values:
- _fieldName: output
_node: {fileID: -8493473236673243271}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -7384689432344956948}
reroutePoints: []
_direction: 1
_connectionType: 1
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: -8493473236673243271}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 5
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
output: {fileID: 0}
repeatForever: 1
count: 1
endOnFail: 0
--- !u!114 &-8336564981256904841
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9e544697bf4e4474d9dbe65980faa376, type: 3}
m_Name: AI_Set Field
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 120, y: 136}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -8336564981256904841}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 2
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
ComponentToSet: RckAI
FieldToSet: shouldUseNPCActionPoint
useVariable: 0
storedValue: {fileID: 0}
instantValue:
parameterType: 2
intValue: 0
floatValue: 0
boolValue: 0
stringValue:
doubleValue: 0
longValue: 0
quaternionValue: {x: 0, y: 0, z: 0, w: 0}
vector2Value: {x: 0, y: 0}
vector3Value: {x: 0, y: 0, z: 0}
vector4Value: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &-7918497895767766493
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9e544697bf4e4474d9dbe65980faa376, type: 3}
m_Name: AI_Set Field
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 120, y: 40}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -7918497895767766493}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 1
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
ComponentToSet: RckAI
FieldToSet: shouldFollowAIPath
useVariable: 0
storedValue: {fileID: 0}
instantValue:
parameterType: 2
intValue: 0
floatValue: 0
boolValue: 0
stringValue:
doubleValue: 0
longValue: 0
quaternionValue: {x: 0, y: 0, z: 0, w: 0}
vector2Value: {x: 0, y: 0}
vector3Value: {x: 0, y: 0, z: 0}
vector4Value: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &-7384689432344956948
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d2685ade320f7df49b0911b7f63f644e, type: 3}
m_Name: Sequence
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 376, y: 728}
ports:
keys:
- outputs
- input
values:
- _fieldName: outputs
_node: {fileID: -7384689432344956948}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -1682139340534003206}
reroutePoints: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: -7384689432344956948}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: output
node: {fileID: -8493473236673243271}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: -1
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
outputs: {fileID: 0}
--- !u!114 &-6790400275109552187
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 47e73c62acc98ab468a7a678f60e0236, type: 3}
m_Name: Root
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: -584, y: 88}
ports:
keys:
- firstNode
- input
values:
- _fieldName: firstNode
_node: {fileID: -6790400275109552187}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: -6790400275109552187}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: -1
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
isNpcToNpcDialogue: 0
firstNode: {fileID: 0}
--- !u!114 &-6333372888052821197
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3306670730f09964cb7f273faf21754b, type: 3}
m_Name: Comment
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 120, y: -184}
ports:
keys: []
values: []
content: init
--- !u!114 &-3880826453644342007
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9e544697bf4e4474d9dbe65980faa376, type: 3}
m_Name: AI_Set Field
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 120, y: 232}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -3880826453644342007}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 3
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
ComponentToSet: RckAI
FieldToSet: shouldUseNPCActionPoint
useVariable: 0
storedValue: {fileID: 0}
instantValue:
parameterType: 2
intValue: 0
floatValue: 0
boolValue: 0
stringValue:
doubleValue: 0
longValue: 0
quaternionValue: {x: 0, y: 0, z: 0, w: 0}
vector2Value: {x: 0, y: 0}
vector3Value: {x: 0, y: 0, z: 0}
vector4Value: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &-2474952122599194247
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9e544697bf4e4474d9dbe65980faa376, type: 3}
m_Name: AI_Set Field
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 120, y: -72}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -2474952122599194247}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 0
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
ComponentToSet: RckAI
FieldToSet: shouldFollowTargetVector
useVariable: 0
storedValue: {fileID: 0}
instantValue:
parameterType: 2
intValue: 0
floatValue: 0
boolValue: 0
stringValue:
doubleValue: 0
longValue: 0
quaternionValue: {x: 0, y: 0, z: 0, w: 0}
vector2Value: {x: 0, y: 0}
vector3Value: {x: 0, y: 0, z: 0}
vector4Value: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &-1682139340534003206
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 174872d3d7214ad4ba50575820b11b6e, type: 3}
m_Name: AI_Invoke
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 680, y: 712}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -1682139340534003206}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: -7384689432344956948}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 0
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
MethodToCall: FollowTargetThroughNavmeshPath
parameters: []
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: daa3dbdff7b098e4ebd88d9a48e967a1, type: 3}
m_Name: '[BTree] [P] FollowMainTargetOnly'
m_EditorClassIdentifier:
nodes:
- {fileID: -6790400275109552187}
- {fileID: -6333372888052821197}
- {fileID: -2474952122599194247}
- {fileID: 6755033931889881844}
- {fileID: -7918497895767766493}
- {fileID: 3861480983390126045}
- {fileID: -8336564981256904841}
- {fileID: -3880826453644342007}
- {fileID: -8493473236673243271}
- {fileID: -1682139340534003206}
- {fileID: -7384689432344956948}
ID: BTP_FollowMainTargetOnly
isSpecificBehaviourTree: 0
resetVariablesUponStartResume: 0
owner: {fileID: 0}
ai: {fileID: 0}
graphVariables: []
Description: This BTree will just allow the AI to walk towards the MainTarget.
--- !u!114 &3861480983390126045
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d2685ade320f7df49b0911b7f63f644e, type: 3}
m_Name: Sequence
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: -296, y: 120}
ports:
keys:
- outputs
- input
values:
- _fieldName: outputs
_node: {fileID: 3861480983390126045}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -2474952122599194247}
reroutePoints: []
- fieldName: input
node: {fileID: -7918497895767766493}
reroutePoints: []
- fieldName: input
node: {fileID: -8336564981256904841}
reroutePoints: []
- fieldName: input
node: {fileID: -3880826453644342007}
reroutePoints: []
- fieldName: input
node: {fileID: 6755033931889881844}
reroutePoints: []
- fieldName: input
node: {fileID: -8493473236673243271}
reroutePoints: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: 3861480983390126045}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: firstNode
node: {fileID: -6790400275109552187}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: -1
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
outputs: {fileID: 0}
--- !u!114 &6755033931889881844
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9e544697bf4e4474d9dbe65980faa376, type: 3}
m_Name: AI_Set Field
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 120, y: 328}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: 6755033931889881844}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: 3861480983390126045}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
input: {fileID: 0}
m_NodeState: 0
indexInSequence: 4
resultScript:
events:
questDealers: []
questUpdaters: []
consequences: []
STARTED: 0
hasEvaluated: 0
ComponentToSet: RckAI
FieldToSet: shouldFollowMainTarget
useVariable: 0
storedValue: {fileID: 0}
instantValue:
parameterType: 2
intValue: 0
floatValue: 0
boolValue: 1
stringValue:
doubleValue: 0
longValue: 0
quaternionValue: {x: 0, y: 0, z: 0, w: 0}
vector2Value: {x: 0, y: 0}
vector3Value: {x: 0, y: 0, z: 0}
vector4Value: {x: 0, y: 0, z: 0, w: 0}