Grotto2: Cleanup, add Outline, add Speak Hint
This commit is contained in:
parent
dba07ca889
commit
4d0aa99499
@ -58,12 +58,14 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Intro-U-5a")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Selector) {
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("MediaPlayer.VIDEOS.KuecheIntroFidle5")
|
||||
@ -85,6 +87,7 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
BTC.CompareUserSpeechInputStarted(false)
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
// --- Kueche - Nachfrage Rezept ---
|
||||
BTC.Hide("MediaPlayer.VIDEOS.KuecheIntroFidle5")
|
||||
@ -92,12 +95,14 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
BTC.Run("MediaPlayer.VIDEOS.NachfrageRezeptFid_02")
|
||||
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Selector) {
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
BTC.SpeechIntentRecognized()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("MediaPlayer.VIDEOS.NachfrageRezeptFid_02")
|
||||
@ -117,6 +122,7 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
BTC.Hide("MediaPlayer.VIDEOS.NachfrageRezeptFid_02")
|
||||
BTC.Run("MediaPlayer.VIDEOS.NachfrageRezeptF3")
|
||||
@ -161,15 +167,15 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_02")
|
||||
|
||||
// Oel in Topf geben
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Olivenoel")
|
||||
BTC.Run("Particle.INTERACTABLES.Olivenoel")
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Olivenoel")
|
||||
|
||||
BTC.Hide("MediaPlayer.VIDEOS.allesgefundenFidle_02")
|
||||
BTC.Run("MediaPlayer.VIDEOS.allesgefundenF3")
|
||||
BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_04")
|
||||
|
||||
// Herd anstellen - ToDo: Handling in Story?
|
||||
//BTC.Run("NamedGrabEvent.STATIC.Herdschalter")
|
||||
//BTC.Run("StudioEventEmitter.STATIC.HerdplatteAnstelle")
|
||||
BTC.Run("StudioEventEmitter.STATIC.HerdAnstellen")
|
||||
|
||||
// Zwiebeln in Topf geben
|
||||
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "SlicedZwiebel")
|
||||
@ -185,11 +191,13 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
BTC.AddPossbileSpeechIntent("Kueche-alles_gefunden-U-6a")
|
||||
BTC.AddPossbileSpeechIntent("Kueche-alles_gefunden-U-6b")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
@ -257,6 +265,7 @@ Tree("32_Grotto_Kueche_Intro") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
// Fallback Button
|
||||
Composite(Marathon) {
|
||||
@ -304,11 +313,13 @@ Tree("32_Grotto_Kueche_Interesse_Kochen") {
|
||||
// Frage beantworten
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Interesse_Kochen-U-2a")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
@ -335,6 +346,7 @@ Tree("32_Grotto_Kueche_Interesse_Kochen") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
||||
}
|
||||
}
|
||||
@ -352,11 +364,13 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Kochen_Anzahl-U-2a")
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Kochen_Anzahl-U-2b")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
@ -413,6 +427,7 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
||||
}
|
||||
}
|
||||
@ -432,20 +447,20 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
|
||||
|
||||
// Reis in Topf geben
|
||||
BTC.Run("GO/Particle.INTERACTABLES.Risotto")
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.Run("Particle.INTERACTABLES.Risotto")
|
||||
BTC.Show("GO.STATIC.RezeptCheckmark3")
|
||||
|
||||
// Ruehren
|
||||
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Loeffel")
|
||||
BTC.Run("Collider.INTERACTABLES.Topf")
|
||||
BTC.Wait(2)
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.Wait(5)
|
||||
|
||||
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF3")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_04")
|
||||
|
||||
// Wein in Topf giessen
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Weisswein")
|
||||
BTC.Run("Particle.INTERACTABLES.Weisswein")
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Weisswein")
|
||||
BTC.StopSound("StudioEventEmitter.INTERACTABLES.ZwiebelnInTopf")
|
||||
BTC.Run("StudioEventEmitter.INTERACTABLES.Abloeschen")
|
||||
BTC.Show("GO.STATIC.RezeptCheckmark4")
|
||||
@ -466,29 +481,45 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||
}
|
||||
|
||||
// Bouillon in Topf geben
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Bouillon")
|
||||
BTC.Run("Particle.INTERACTABLES.Bouillon")
|
||||
BTC.Show("GO.STATIC.RezeptCheckmark5")
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Bouillon")
|
||||
|
||||
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_06")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF7")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_08")
|
||||
|
||||
// Glas Wasser mit Steinpilze in Topf geben
|
||||
Composite(Marathon) {
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Pilz01")
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Pilz02")
|
||||
BTC.Enable("NamedOutline.INTERACTABLES.Pilz03")
|
||||
}
|
||||
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
|
||||
BTC.Run("Collider.INTERACTABLES.Topf")
|
||||
BTC.Show("GO.STATIC.RezeptCheckmark6")
|
||||
Composite(Marathon) {
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Pilz01")
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Pilz02")
|
||||
BTC.Disable("NamedOutline.INTERACTABLES.Pilz03")
|
||||
}
|
||||
BTC.Wait(5)
|
||||
|
||||
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_08")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF9")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_10")
|
||||
BTC.Show("GO/NamedOutline.INTERACTABLES.Parmesan")
|
||||
|
||||
// Parmigiano in Topf geben
|
||||
BTC.Enable("GO/NamedOutline.INTERACTABLES.Parmesan")
|
||||
BTC.Run("Particle.INTERACTABLES.Parmesan")
|
||||
BTC.Show("GO.STATIC.RezeptCheckmark7")
|
||||
BTC.Disable("GO/NamedOutline.INTERACTABLES.Parmesan")
|
||||
|
||||
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_10")
|
||||
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF11")
|
||||
BTC.StopSound("StudioEventEmitter.STATIC.HerdAnstellen")
|
||||
|
||||
// --- Kueche - Outro ---
|
||||
BTC.Run("MediaPlayer.VIDEOS.OutroF1")
|
||||
@ -511,11 +542,13 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||
// Name sagen
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Outro-U-6a")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
@ -538,6 +571,7 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
}
|
||||
}
|
||||
|
||||
@ -574,11 +608,13 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Outro-U-14a")
|
||||
BTC.AddPossbileSpeechIntent("Kueche-Outro-U-14b")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
BTC.Show("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Race) {
|
||||
// -- Race 1: User sagt etwas
|
||||
Composite(Sequence) {
|
||||
BTC.UserStartedSpeechInput()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
|
||||
Composite(Selector) {
|
||||
// -- Selector 1: Intent erkannt
|
||||
@ -614,6 +650,7 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||
BTC.AbortSpeechEventListener()
|
||||
BTC.StopSpeechIntentRecognition()
|
||||
BTC.ClearPossbileSpeechIntents()
|
||||
BTC.Hide("GO.HINTS.SpeakHint")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4665492558363379076, guid: 469d1529857538e4da7c17c9e4d96d4d, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: GO.HINTS.SitDownHint
|
||||
value: GO.HINTS.SitDownHint_384856
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4665492558363379076, guid: 469d1529857538e4da7c17c9e4d96d4d, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
@ -158,7 +158,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 6554549793886114932}
|
||||
roomId: HINTS
|
||||
uniqueId:
|
||||
uniqueId: 384856
|
||||
_name: GO.HINTS.GoXY
|
||||
--- !u!114 &6554549793886114932
|
||||
MonoBehaviour:
|
||||
@ -239,7 +239,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4895372869441235191, guid: d699d09d13e9ec245949ae37ae2bd70a, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: GO.HINTS.SpeakHint
|
||||
value: GO.HINTS.SpeakHint_384820
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4895372869441235191, guid: d699d09d13e9ec245949ae37ae2bd70a, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
@ -284,7 +284,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 70811229103913477}
|
||||
roomId: HINTS
|
||||
uniqueId:
|
||||
uniqueId: 384820
|
||||
_name: GO.HINTS.GoXY
|
||||
--- !u!114 &70811229103913477
|
||||
MonoBehaviour:
|
||||
@ -329,7 +329,7 @@ PrefabInstance:
|
||||
m_Modifications:
|
||||
- target: {fileID: 1299432764967086791, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: TextMeshPro.HINTS.SpeechErrorText
|
||||
value: TextMeshPro.HINTS.SpeechErrorText_384832
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2791925709092458573, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
|
||||
propertyPath: m_Enabled
|
||||
@ -337,11 +337,11 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2855770860446126157, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: TextMeshPro.HINTS.SpeechErrorTitle
|
||||
value: TextMeshPro.HINTS.SpeechErrorTitle_384834
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5443533871061207843, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: GO.HINTS.SpeechErrorHint
|
||||
value: GO.HINTS.SpeechErrorHint_384836
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5443533871061207843, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
@ -464,7 +464,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 8497848385741771514}
|
||||
roomId: HINTS
|
||||
uniqueId:
|
||||
uniqueId: 384836
|
||||
_name: GO.HINTS.GoXY
|
||||
--- !u!114 &8497848385741771514
|
||||
MonoBehaviour:
|
||||
@ -535,7 +535,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 1445393780353350155}
|
||||
roomId: HINTS
|
||||
uniqueId:
|
||||
uniqueId: 384832
|
||||
_name: TextMeshPro.HINTS.TmpXY
|
||||
--- !u!114 &1445393780353350155
|
||||
MonoBehaviour:
|
||||
@ -575,7 +575,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 550826168687936813}
|
||||
roomId: HINTS
|
||||
uniqueId:
|
||||
uniqueId: 384834
|
||||
_name: TextMeshPro.HINTS.TmpXY
|
||||
--- !u!114 &550826168687936813
|
||||
MonoBehaviour:
|
||||
@ -605,7 +605,7 @@ PrefabInstance:
|
||||
m_Modifications:
|
||||
- target: {fileID: 1406182678084119885, guid: a1f3aaf6727b2d94baf36afc3aa10aa4, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: GO.HINTS.StandUpHint
|
||||
value: GO.HINTS.StandUpHint_384860
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1406182678084119885, guid: a1f3aaf6727b2d94baf36afc3aa10aa4, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
@ -702,7 +702,7 @@ MonoBehaviour:
|
||||
handlers:
|
||||
- {fileID: 573030395164707458}
|
||||
roomId: HINTS
|
||||
uniqueId:
|
||||
uniqueId: 384860
|
||||
_name: GO.HINTS.GoXY
|
||||
--- !u!114 &573030395164707458
|
||||
MonoBehaviour:
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user