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

482 lines
13 KiB
Plaintext
Raw Permalink Normal View History

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8757169903324716263
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: 120, y: -120}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -8757169903324716263}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: -3843927834737731242}
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
MethodToCall: SendAIToSpeakToPlayer
parameters:
- conditionType: 0
stringValue:
stringArrayValue: []
intValue: 0
floatValue: 0
boolValue: 0
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}
btVariableValue: {fileID: 0}
solvedRef: 0
--- !u!114 &-6526602315281287829
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: 120, y: 152}
ports:
keys:
- output
- input
values:
- _fieldName: output
_node: {fileID: -6526602315281287829}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -5437169425460966124}
reroutePoints: []
_direction: 1
_connectionType: 1
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: -6526602315281287829}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: -3843927834737731242}
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
output: {fileID: 0}
repeatForever: 1
count: 1
endOnFail: 0
--- !u!114 &-5540313736399916801
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: 376, y: -24}
ports:
keys: []
values: []
content: Set state
--- !u!114 &-5437169425460966124
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: 408, y: 152}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: -5437169425460966124}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: output
node: {fileID: -6526602315281287829}
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
MethodToCall: FollowTargetThroughNavmeshPath
parameters: []
solvedRef: 0
--- !u!114 &-3843927834737731242
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: -248, y: -24}
ports:
keys:
- outputs
- input
values:
- _fieldName: outputs
_node: {fileID: -3843927834737731242}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -8757169903324716263}
reroutePoints: []
- fieldName: input
node: {fileID: 4207787710114937569}
reroutePoints: []
- fieldName: input
node: {fileID: -6526602315281287829}
reroutePoints: []
- fieldName: input
node: {fileID: 8590387037025765020}
reroutePoints: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: -3843927834737731242}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: firstNode
node: {fileID: 4190919891593447618}
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 &-2162045710828125791
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: 376, y: -184}
ports:
keys: []
values: []
content: Switch to walk
--- !u!114 &-1233905108063169263
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: 664, y: 152}
ports:
keys: []
values: []
content: FollowMainTarget
--- !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] Speak To Player (Walk)'
m_EditorClassIdentifier:
nodes:
- {fileID: 4190919891593447618}
- {fileID: 4207787710114937569}
- {fileID: -8757169903324716263}
- {fileID: -2162045710828125791}
- {fileID: -5540313736399916801}
- {fileID: -5437169425460966124}
- {fileID: -1233905108063169263}
- {fileID: -6526602315281287829}
- {fileID: -3843927834737731242}
- {fileID: 8590387037025765020}
ID: BTP_SpeakToPlayerWalk
IsCombatBehaviour: 0
isSpecificBehaviourTree: 0
resetVariablesUponStartResume: 0
owner: {fileID: 0}
ai: {fileID: 0}
graphVariables: []
Description: This BT is used to make the AI reach for the player and talk to him
with their current dialogue set.
--- !u!114 &4190919891593447618
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: -552, y: -72}
ports:
keys:
- firstNode
- input
- onExitNode
values:
- _fieldName: firstNode
_node: {fileID: 4190919891593447618}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -3843927834737731242}
reroutePoints: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: 4190919891593447618}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: onExitNode
_node: {fileID: 4190919891593447618}
_typeQualifiedName: XNode.Node, XNode, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
connections: []
_direction: 1
_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
onExitNode: {fileID: 0}
firstNode: {fileID: -3843927834737731242}
--- !u!114 &4207787710114937569
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: 120, y: -8}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: 4207787710114937569}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: -3843927834737731242}
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
MethodToCall: SetFollowMainTarget
parameters:
- conditionType: 0
stringValue:
stringArrayValue: []
intValue: 0
floatValue: 0
boolValue: 1
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}
btVariableValue: {fileID: 0}
solvedRef: 0
--- !u!114 &8590387037025765020
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: -248}
ports:
keys:
- input
values:
- _fieldName: input
_node: {fileID: 8590387037025765020}
_typeQualifiedName: RPGCreationKit.BehaviourTree.BTNode, Assembly-CSharp, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: outputs
node: {fileID: -3843927834737731242}
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: stoppingDistance
useVariable: 0
storedValue: {fileID: 0}
instantValue:
parameterType: 1
intValue: 0
floatValue: 2.2
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}