added event to destination point, exploration quest
This commit is contained in:
@@ -35,11 +35,26 @@ MonoBehaviour:
|
|||||||
m_contentID: -1
|
m_contentID: -1
|
||||||
m_useQuestTitle: 0
|
m_useQuestTitle: 0
|
||||||
m_headingText:
|
m_headingText:
|
||||||
m_text: Explore the ruins
|
m_text: Explore the ruins {#areasExplored}/{>#areasExplored}
|
||||||
m_stringAsset: {fileID: 0}
|
m_stringAsset: {fileID: 0}
|
||||||
m_textTable: {fileID: 0}
|
m_textTable: {fileID: 0}
|
||||||
m_textTableFieldID: 0
|
m_textTableFieldID: 0
|
||||||
m_headingLevel: 1
|
m_headingLevel: 1
|
||||||
|
--- !u!114 &-7499910049501382128
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
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: 6b99cc2a156c22e46b4fb74b06a4d1e8, type: 3}
|
||||||
|
m_Name: AlertQuestAction
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_contentList:
|
||||||
|
- {fileID: 3763760843002708439}
|
||||||
|
m_contentListSerializationProxy: []
|
||||||
--- !u!114 &-4049380265876240392
|
--- !u!114 &-4049380265876240392
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
@@ -114,45 +129,6 @@ MonoBehaviour:
|
|||||||
m_contentList:
|
m_contentList:
|
||||||
- {fileID: 176885676704061995}
|
- {fileID: 176885676704061995}
|
||||||
m_contentListSerializationProxy: []
|
m_contentListSerializationProxy: []
|
||||||
--- !u!114 &-1154049343836426198
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
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: 5682394e55a192147a020b9edf624e51, type: 3}
|
|
||||||
m_Name: MessageQuestCondition
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_alreadyTrue: 0
|
|
||||||
m_senderSpecifier: 0
|
|
||||||
m_senderID:
|
|
||||||
m_text:
|
|
||||||
m_stringAsset: {fileID: 0}
|
|
||||||
m_textTable: {fileID: 0}
|
|
||||||
m_textTableFieldID: 0
|
|
||||||
m_targetSpecifier: 0
|
|
||||||
m_targetID:
|
|
||||||
m_text:
|
|
||||||
m_stringAsset: {fileID: 0}
|
|
||||||
m_textTable: {fileID: 0}
|
|
||||||
m_textTableFieldID: 0
|
|
||||||
m_message:
|
|
||||||
m_text: Ruins
|
|
||||||
m_stringAsset: {fileID: 0}
|
|
||||||
m_textTable: {fileID: 0}
|
|
||||||
m_textTableFieldID: 0
|
|
||||||
m_parameter:
|
|
||||||
m_text: Explored
|
|
||||||
m_stringAsset: {fileID: 0}
|
|
||||||
m_textTable: {fileID: 0}
|
|
||||||
m_textTableFieldID: 0
|
|
||||||
m_value:
|
|
||||||
m_valueType: 0
|
|
||||||
m_intValue: 0
|
|
||||||
m_stringValue:
|
|
||||||
--- !u!114 &11400000
|
--- !u!114 &11400000
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -245,7 +221,42 @@ MonoBehaviour:
|
|||||||
- m_contentList: []
|
- m_contentList: []
|
||||||
- m_contentList: []
|
- m_contentList: []
|
||||||
- m_contentList: []
|
- m_contentList: []
|
||||||
m_counterList: []
|
m_counterList:
|
||||||
|
- m_name:
|
||||||
|
m_text: areasExplored
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_currentValue: 0
|
||||||
|
m_randomizeInitialValue: 0
|
||||||
|
m_minValue: 0
|
||||||
|
m_maxValue: 3
|
||||||
|
m_updateMode: 1
|
||||||
|
m_messageEventList:
|
||||||
|
- m_senderSpecifier: 0
|
||||||
|
m_senderID:
|
||||||
|
m_text:
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_targetSpecifier: 0
|
||||||
|
m_targetID:
|
||||||
|
m_text:
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_message:
|
||||||
|
m_text: Explored
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_parameter:
|
||||||
|
m_text: Area
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_operation: 2
|
||||||
|
m_literalValue: 1
|
||||||
m_nodeList:
|
m_nodeList:
|
||||||
- m_id:
|
- m_id:
|
||||||
m_text: Quest-524016.start
|
m_text: Quest-524016.start
|
||||||
@@ -483,7 +494,7 @@ MonoBehaviour:
|
|||||||
m_canvasRect:
|
m_canvasRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 440
|
x: 440
|
||||||
y: 228
|
y: 227.14496
|
||||||
width: 120
|
width: 120
|
||||||
height: 48
|
height: 48
|
||||||
- m_id:
|
- m_id:
|
||||||
@@ -524,11 +535,11 @@ MonoBehaviour:
|
|||||||
- m_contentList: []
|
- m_contentList: []
|
||||||
m_conditionSet:
|
m_conditionSet:
|
||||||
m_conditionList:
|
m_conditionList:
|
||||||
- {fileID: -1154049343836426198}
|
- {fileID: 7365991219107341808}
|
||||||
m_conditionCountMode: 1
|
m_conditionCountMode: 1
|
||||||
m_minConditionCount: 0
|
m_minConditionCount: 0
|
||||||
m_numTrueConditions: 0
|
m_numTrueConditions: 0
|
||||||
m_childIndexList: 06000000
|
m_childIndexList: 07000000
|
||||||
m_canvasRect:
|
m_canvasRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 220
|
x: 220
|
||||||
@@ -578,9 +589,56 @@ MonoBehaviour:
|
|||||||
m_canvasRect:
|
m_canvasRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 220
|
x: 220
|
||||||
y: 653
|
y: 763
|
||||||
width: 120
|
width: 120
|
||||||
height: 35
|
height: 35
|
||||||
|
- m_id:
|
||||||
|
m_text:
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_internalName:
|
||||||
|
m_text:
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_nodeType: 4
|
||||||
|
m_isOptional: 0
|
||||||
|
m_state: 0
|
||||||
|
m_speaker:
|
||||||
|
m_text:
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_stateInfoList:
|
||||||
|
- m_actionList: []
|
||||||
|
m_categorizedContentList:
|
||||||
|
- m_contentList: []
|
||||||
|
- m_contentList: []
|
||||||
|
- m_contentList: []
|
||||||
|
- m_actionList:
|
||||||
|
- {fileID: -7499910049501382128}
|
||||||
|
m_categorizedContentList:
|
||||||
|
- m_contentList: []
|
||||||
|
- m_contentList: []
|
||||||
|
- m_contentList: []
|
||||||
|
- m_actionList: []
|
||||||
|
m_categorizedContentList:
|
||||||
|
- m_contentList: []
|
||||||
|
- m_contentList: []
|
||||||
|
- m_contentList: []
|
||||||
|
m_conditionSet:
|
||||||
|
m_conditionList: []
|
||||||
|
m_conditionCountMode: 1
|
||||||
|
m_minConditionCount: 0
|
||||||
|
m_numTrueConditions: 0
|
||||||
|
m_childIndexList: 06000000
|
||||||
|
m_canvasRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 215
|
||||||
|
y: 674
|
||||||
|
width: 120
|
||||||
|
height: 48
|
||||||
m_goalEntityTypeName:
|
m_goalEntityTypeName:
|
||||||
m_nextContentID: 0
|
m_nextContentID: 0
|
||||||
--- !u!114 &176885676704061995
|
--- !u!114 &176885676704061995
|
||||||
@@ -653,6 +711,26 @@ MonoBehaviour:
|
|||||||
m_contentList:
|
m_contentList:
|
||||||
- {fileID: 7369075533383603033}
|
- {fileID: 7369075533383603033}
|
||||||
m_contentListSerializationProxy: []
|
m_contentListSerializationProxy: []
|
||||||
|
--- !u!114 &3763760843002708439
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
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: c47e1bb9cdd9a474c8d3f5d555d7533a, type: 3}
|
||||||
|
m_Name: HeadingTextQuestContent
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_contentID: -1
|
||||||
|
m_useQuestTitle: 0
|
||||||
|
m_headingText:
|
||||||
|
m_text: Ruins Explored
|
||||||
|
m_stringAsset: {fileID: 0}
|
||||||
|
m_textTable: {fileID: 0}
|
||||||
|
m_textTableFieldID: 0
|
||||||
|
m_headingLevel: 1
|
||||||
--- !u!114 &4478937982804482560
|
--- !u!114 &4478937982804482560
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
@@ -727,6 +805,25 @@ MonoBehaviour:
|
|||||||
m_valueType: 0
|
m_valueType: 0
|
||||||
m_intValue: 0
|
m_intValue: 0
|
||||||
m_stringValue:
|
m_stringValue:
|
||||||
|
--- !u!114 &7365991219107341808
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
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: a976671aaa12c2e428b2aac89a260302, type: 3}
|
||||||
|
m_Name: CounterQuestCondition
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_alreadyTrue: 0
|
||||||
|
m_counterIndex: 0
|
||||||
|
m_counterValueMode: 0
|
||||||
|
m_requiredCounterValue:
|
||||||
|
m_valueType: 3
|
||||||
|
m_literalValue: 3
|
||||||
|
m_counterIndex: 0
|
||||||
--- !u!114 &7369075533383603033
|
--- !u!114 &7369075533383603033
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
@@ -742,7 +839,7 @@ MonoBehaviour:
|
|||||||
m_contentID: -1
|
m_contentID: -1
|
||||||
m_useQuestTitle: 0
|
m_useQuestTitle: 0
|
||||||
m_headingText:
|
m_headingText:
|
||||||
m_text: Explore the ruins
|
m_text: 'Explore the ruins '
|
||||||
m_stringAsset: {fileID: 0}
|
m_stringAsset: {fileID: 0}
|
||||||
m_textTable: {fileID: 0}
|
m_textTable: {fileID: 0}
|
||||||
m_textTableFieldID: 0
|
m_textTableFieldID: 0
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.Events;
|
||||||
|
|
||||||
namespace Beyond
|
namespace Beyond
|
||||||
{
|
{
|
||||||
@@ -9,6 +10,7 @@ namespace Beyond
|
|||||||
[SerializeField] private Collider triggerCollider; // Collider, kt<6B>ry wyzwala zmian<61> punktu
|
[SerializeField] private Collider triggerCollider; // Collider, kt<6B>ry wyzwala zmian<61> punktu
|
||||||
[SerializeField] private AudioClip destinationSound; // D<>wi<77>k do odtworzenia
|
[SerializeField] private AudioClip destinationSound; // D<>wi<77>k do odtworzenia
|
||||||
[SerializeField] private AudioSource audioSource; // <20>r<EFBFBD>d<EFBFBD>o d<>wi<77>ku
|
[SerializeField] private AudioSource audioSource; // <20>r<EFBFBD>d<EFBFBD>o d<>wi<77>ku
|
||||||
|
[SerializeField] private UnityEvent onTriggerEnter;
|
||||||
|
|
||||||
[Header("Settings")]
|
[Header("Settings")]
|
||||||
[SerializeField] private bool activateOnStart = true;
|
[SerializeField] private bool activateOnStart = true;
|
||||||
@@ -78,6 +80,7 @@ namespace Beyond
|
|||||||
|
|
||||||
// Dezaktywuj ten punkt
|
// Dezaktywuj ten punkt
|
||||||
Deactivate();
|
Deactivate();
|
||||||
|
onTriggerEnter?.Invoke();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user