Compare commits
	
		
			3 Commits
		
	
	
		
			682225dc41
			...
			ea82367a8c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ea82367a8c | |||
| 018c8bcbfe | |||
| 5ad72468dd | 
@ -241,14 +241,408 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
 | 
			
		||||
            BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // G sagt was
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.BestellungEssenG2")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.BestellungEssenGid_3")
 | 
			
		||||
 | 
			
		||||
         BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_FIdle13")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-3")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4a")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4b")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
 | 
			
		||||
                        // Intent erkannt
 | 
			
		||||
                        Composite(Race) {
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Essen-U-3")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedInsalata")
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.BestellungEssenGid_3")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Essen-U-4a")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedPizochen")
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.BestellungEssenGid_3")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Essen-U-4b")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.BestellungEssenGid_3")
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                        RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // --- Im Grotto Essen - Grotto Unterhaltung ---
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G2")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_FIdle13")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle3")
 | 
			
		||||
        BTC.Wait(10)
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle3")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_F4")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle5")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-5a")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-5b")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle5")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_F6")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle6")
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G7")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle8")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(25)
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle6")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle9")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                // Getraenke anzeigen
 | 
			
		||||
                BTC.Show("GO.INTERACTABLES.GazosaMandarina")
 | 
			
		||||
                BTC.Show("GO.INTERACTABLES.Tazzin")
 | 
			
		||||
                BTC.Show("GO.INTERACTABLES.Gazosa")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-9a")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-9b")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }        
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle8")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G10")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle9")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_F11")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle12")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-12a")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-12b")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle12")
 | 
			
		||||
                        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_F13")
 | 
			
		||||
                        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle12")
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle12")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle16")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G15")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5.8)
 | 
			
		||||
                Composite(Marathon) {
 | 
			
		||||
                    BTC.Show("GO.INTERACTABLES.PizochenFrancesca")
 | 
			
		||||
 | 
			
		||||
                    Composite(Race) {
 | 
			
		||||
                        Composite(Sequence) {
 | 
			
		||||
                            BTC.CompareBool("ChoosedPizochen")
 | 
			
		||||
                            BTC.Show("GO.INTERACTABLES.PizochenUser")
 | 
			
		||||
                        }
 | 
			
		||||
                        Composite(Sequence) {
 | 
			
		||||
                            BTC.CompareBool("ChoosedInsalata")
 | 
			
		||||
                            BTC.Show("GO.INTERACTABLES.InsalataUser")
 | 
			
		||||
                        }
 | 
			
		||||
                        Composite(Sequence) {
 | 
			
		||||
                            BTC.CompareBool("ChoosedRisotto")
 | 
			
		||||
                            BTC.Show("GO.INTERACTABLES.RisottoUser")
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G17")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle18")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle16")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_F19")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle18")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-21")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-24")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-27")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
                        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle24")
 | 
			
		||||
 | 
			
		||||
                        // Intent erkannt
 | 
			
		||||
                        Composite(Race) {
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Grotto_Unterhaltung-U-21")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
 | 
			
		||||
                                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G22")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Grotto_Unterhaltung-U-24")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
 | 
			
		||||
                                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G25")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Grotto_Unterhaltung-U-27")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
 | 
			
		||||
                                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G28")
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
                        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle24")
 | 
			
		||||
                        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
 | 
			
		||||
                        BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G28")
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle24")
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G28")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle24")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_F30")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G26")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
 | 
			
		||||
        // --- Im Grotto Essen - Outro ---
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroFidle1")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroGidle3")
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -1.02, 0, -3.019)
 | 
			
		||||
            BTC.SetPosition("GO.HANDMENU", -1.02, 0, -3.019)
 | 
			
		||||
            BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 180.0)
 | 
			
		||||
            BTC.RotateToAngle("GO.HANDMENU", 180.0)
 | 
			
		||||
            BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.OutroGidle3")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroG2")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroGidle3")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroF4")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroFidle5")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Outro-U-5a")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.OutroFidle5")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroF6")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroFidle7")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.OutroGidle3")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroG8")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroGidle9")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.OutroFidle7")
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(6)
 | 
			
		||||
                BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
            }
 | 
			
		||||
            BTC.Run("MediaPlayer.VIDEOS.OutroF10")
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Go to scene 1.0 SBB
 | 
			
		||||
        BTC.SetStoryBVisited()
 | 
			
		||||
        BTC.Run("LoadScene.NEXT.10SBB")
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk") {
 | 
			
		||||
    Composite(Sequence) {
 | 
			
		||||
        // --- Im Grotto Essen - Nachfrage Kellner Getraenk ---
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle12")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.NachfrageKellnerGe_G1")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.NachfrageKellnerGe_GIdle2")
 | 
			
		||||
@ -331,20 +725,16 @@ Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk_Handmenu") {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Tree("Old") {
 | 
			
		||||
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen") {
 | 
			
		||||
    Composite(Sequence) {
 | 
			
		||||
 
 | 
			
		||||
 | 
			
		||||
        // --- Im Grotto Essen - Nachfrage Kellner Essen ---
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerEs_01")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerEs_01")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerEs_01")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.BestellungEssenGid_3")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.NachfrageKellnerEs_G2")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_Essen.2")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_Essen.3")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_Essen.4")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-3")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4a")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4b")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
@ -360,255 +750,31 @@ Tree("Old") {
 | 
			
		||||
                        // Intent erkannt
 | 
			
		||||
                        Composite(Race) {
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.2")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.3")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedPizochen")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.4")
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Essen-U-3")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedInsalata")
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        // --- Im Grotto Essen - Nachfrage Kellner Unklar ---
 | 
			
		||||
                        // SpeechIntentRecognized Failed: kein Intent erkannt
 | 
			
		||||
                        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_01")
 | 
			
		||||
                        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_01")
 | 
			
		||||
                        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_01")
 | 
			
		||||
                
 | 
			
		||||
                        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
                        Composite(Race) {
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.UserStartedSpeechInput()
 | 
			
		||||
                                BTC.SpeechIntentRecognized()
 | 
			
		||||
 | 
			
		||||
                                Composite(Race) {
 | 
			
		||||
                                    Composite(Sequence) {
 | 
			
		||||
                                        BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.2")
 | 
			
		||||
                                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                        BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
                                    }
 | 
			
		||||
                                    Composite(Sequence) {
 | 
			
		||||
                                        BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.3")
 | 
			
		||||
                                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                        BTC.SetBool("ChoosedPizochen")
 | 
			
		||||
                                    }
 | 
			
		||||
                                    Composite(Sequence) {
 | 
			
		||||
                                        BTC.CompareIntentID("Im_Grotto_essen.Nachfrage_Kellner_Essen.4")
 | 
			
		||||
                                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                        BTC.SetBool("ChoosedInsalata")
 | 
			
		||||
                                    }
 | 
			
		||||
                                }
 | 
			
		||||
                            }
 | 
			
		||||
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.Wait(5)
 | 
			
		||||
                                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                                BTC.AbortSpeechEventListener()
 | 
			
		||||
                                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Essen-U-4a")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
 | 
			
		||||
                                BTC.CompareUserSpeechInputStarted(true)
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // Selector 3: Fallback Button
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        Composite(Marathon) {
 | 
			
		||||
                            BTC.Show("GO.GO.SpeechButton")
 | 
			
		||||
                            BTC.Set("TextMeshPro.GO.Option1Button", "text", "Risotto")
 | 
			
		||||
                            BTC.Show("GO.GO.Option1Button")
 | 
			
		||||
                            BTC.Set("TextMeshPro.GO.Option2Button", "text", "Pizochen")
 | 
			
		||||
                            BTC.Show("GO.GO.Option2Button")
 | 
			
		||||
                            BTC.Set("TextMeshPro.GO.Option3Button", "text", "Insalata")
 | 
			
		||||
                            BTC.Show("GO.GO.Option3Button")
 | 
			
		||||
                        }
 | 
			
		||||
 | 
			
		||||
                        Composite(Race) {
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                // Risotto
 | 
			
		||||
                                BTC.Run("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                                BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                                BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                                BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                                BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                // Pizochen
 | 
			
		||||
                                BTC.Run("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                                BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                                BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                                BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                                BTC.SetBool("ChoosedPizochen")
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                // Insalata
 | 
			
		||||
                                BTC.Run("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                                BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                                BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                                BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                                BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                                BTC.SetBool("ChoosedInsalata")
 | 
			
		||||
                                BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Essen-U-4b")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
 | 
			
		||||
                // Fallback Button
 | 
			
		||||
                Composite(Sequence) {
 | 
			
		||||
                    Composite(Marathon) {
 | 
			
		||||
                        BTC.Show("GO.GO.SpeechButton")
 | 
			
		||||
                        BTC.Set("TextMeshPro.GO.Option1Button", "text", "Risotto")
 | 
			
		||||
                        BTC.Show("GO.GO.Option1Button")
 | 
			
		||||
                        BTC.Set("TextMeshPro.GO.Option2Button", "text", "Pizochen")
 | 
			
		||||
                        BTC.Show("GO.GO.Option2Button")
 | 
			
		||||
                        BTC.Set("TextMeshPro.GO.Option3Button", "text", "Insalata")
 | 
			
		||||
                        BTC.Show("GO.GO.Option3Button")
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    Composite(Race) {
 | 
			
		||||
                        Composite(Sequence) {
 | 
			
		||||
                            // Risotto
 | 
			
		||||
                            BTC.Run("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                            BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                            BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                            BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                            BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
                        }
 | 
			
		||||
                        Composite(Sequence) {
 | 
			
		||||
                            // Pizochen
 | 
			
		||||
                            BTC.Run("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                            BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                            BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                            BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                            BTC.SetBool("ChoosedPizochen")
 | 
			
		||||
                        }
 | 
			
		||||
                        Composite(Sequence) {
 | 
			
		||||
                            // Insalata
 | 
			
		||||
                            BTC.Run("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                            BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                            BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                            BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                            BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                            BTC.SetBool("ChoosedInsalata")
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_03")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_03")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_03")
 | 
			
		||||
        BTC.Wait(5)
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_04")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_04")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_04")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_unklar.5")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }      
 | 
			
		||||
 | 
			
		||||
        // Getränke hinstellen fuer User und Franscesca
 | 
			
		||||
        BTC.Show("GO.INTERACTABLES.GazosaMandarina")
 | 
			
		||||
        BTC.Show("GO.INTERACTABLES.Tazzin")
 | 
			
		||||
        BTC.Show("GO.INTERACTABLES.Gazosa")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_09")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_09")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_09")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_10")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_10")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_10")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_unklar.11")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                        RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen_Handmenu")
 | 
			
		||||
                        BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
@ -620,155 +786,66 @@ Tree("Old") {
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen_Handmenu")
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_15")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_15")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_15")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_16")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_16")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_16")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_18")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_18")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_18")
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.Show("GO.INTERACTABLES.PizochenFrancesca")
 | 
			
		||||
 | 
			
		||||
            Composite(Race) {
 | 
			
		||||
                Composite(Sequence) {
 | 
			
		||||
                    BTC.CompareBool("ChoosedPizochen")
 | 
			
		||||
                    BTC.Show("GO.INTERACTABLES.PizochenUser")
 | 
			
		||||
                }
 | 
			
		||||
                Composite(Sequence) {
 | 
			
		||||
                    BTC.CompareBool("ChoosedInsalata")
 | 
			
		||||
                    BTC.Show("GO.INTERACTABLES.InsalataUser")
 | 
			
		||||
                }
 | 
			
		||||
                Composite(Sequence) {
 | 
			
		||||
                    BTC.CompareBool("ChoosedRisotto")
 | 
			
		||||
                    BTC.Show("GO.INTERACTABLES.RisottoUser")
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_22")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_22")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_22")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.NachfrageKellnerun_23")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.NachfrageKellnerun_23")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.NachfrageKellnerun_23")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Nachfrage_Kellner_unklar.24")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // --- Im Grotto Essen - Outro ---
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -1.14, 0, 1.698)
 | 
			
		||||
            BTC.SetPosition("GO.HANDMENU", -1.14, 0, 1.698)
 | 
			
		||||
            BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 60.0)
 | 
			
		||||
            BTC.RotateToAngle("GO.HANDMENU", 60.0)
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro1ImGrottoesse")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro1ImGrottoesse")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro1ImGrottoesse")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro2ImGrottoesse")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro2ImGrottoesse")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro2ImGrottoesse")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Outro.3")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            // -- Race 1: User sagt etwas
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                Composite(Selector) {
 | 
			
		||||
                    // -- Selector 1: Intent erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.SpeechIntentRecognized()
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // -- Race 2: User sagt nichts
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro6ImGrottoesse")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro6ImGrottoesse")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro6ImGrottoesse")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro7ImGrottoesse")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro7ImGrottoesse")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro7ImGrottoesse")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro8ImGrottoesse")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro8ImGrottoesse")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro8ImGrottoesse")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro10ImGrottoess")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro10ImGrottoess")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro10ImGrottoess")
 | 
			
		||||
 | 
			
		||||
        RunTree("32_Grotto_Hide")
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Tree("32_Grotto_Hide") {
 | 
			
		||||
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen_Handmenu") {
 | 
			
		||||
    Composite(Sequence) {
 | 
			
		||||
        // Go to scene 1.0 SBB
 | 
			
		||||
        BTC.SetStoryBVisited()
 | 
			
		||||
        BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
        BTC.Run("LoadScene.NEXT.10SBB")
 | 
			
		||||
        // Fallback Button
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.Show("GO.GO.SpeechButton")
 | 
			
		||||
            BTC.Set("TextMeshPro.GO.Option1Button", "text", "Risotto")
 | 
			
		||||
            BTC.Show("GO.GO.Option1Button")
 | 
			
		||||
            BTC.Set("TextMeshPro.GO.Option2Button", "text", "Pizochen")
 | 
			
		||||
            BTC.Show("GO.GO.Option2Button")
 | 
			
		||||
            BTC.Set("TextMeshPro.GO.Option3Button", "text", "Insalata")
 | 
			
		||||
            BTC.Show("GO.GO.Option3Button")
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                // Risotto
 | 
			
		||||
                BTC.Run("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                BTC.SetBool("ChoosedRisotto")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                // Pizochen
 | 
			
		||||
                BTC.Run("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                BTC.AbortEventListener("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                BTC.SetBool("ChoosedPizochen")
 | 
			
		||||
            }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                // Insalata
 | 
			
		||||
                BTC.Run("NamedEventTrigger.GO.Option3Button")
 | 
			
		||||
                BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
 | 
			
		||||
                BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option1Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option2Button")
 | 
			
		||||
                BTC.Hide("GO.GO.Option3Button")
 | 
			
		||||
                BTC.Hide("GO.GO.SpeechButton")
 | 
			
		||||
                BTC.Hide("GO.GO.SpeechOptions")
 | 
			
		||||
                BTC.SetBool("ChoosedInsalata")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -44,7 +44,7 @@
 | 
			
		||||
                "Sto bene, grazie.",
 | 
			
		||||
                "Tutto bene!",
 | 
			
		||||
                "Sono curioso di vedere dove vogliamo viaggiare.",
 | 
			
		||||
                "Cos\u00e cos\u00ec."
 | 
			
		||||
                "Cos\u00ec cos\u00ec."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
@ -633,42 +633,14 @@
 | 
			
		||||
                "Niente."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Nachfrage_Kellner_Getraenk-U-3a",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei una gazzosa.",
 | 
			
		||||
                "Prendo una gazzosa.",
 | 
			
		||||
                "Ho scelto la limonata.",
 | 
			
		||||
                "Vorrei ordinare una gazzosa."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Nachfrage_Kellner_Getraenk-U-3b",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei del vino, per favore.",
 | 
			
		||||
                "Vorrei del Merlot.",
 | 
			
		||||
                "Vorrei un tazzin.",
 | 
			
		||||
                "Prendo il vino.",
 | 
			
		||||
                "Vorrei ordinare un tazzin."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Nachfrage_Kellner_Getraenk-U-4",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei dell'acqua.",
 | 
			
		||||
                "Non voglio da bere.",
 | 
			
		||||
                "Vorrei un caff\u00e8.",
 | 
			
		||||
                "Vorrei qualcos'altro.",
 | 
			
		||||
                "Niente."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Bestellung_Essen-U-3",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei un'insalata, per favore.",
 | 
			
		||||
                "Prendo l'insalata.",
 | 
			
		||||
                "Ho scelto l'insalata.",
 | 
			
		||||
                "Vorrei ordinare un'insalata."
 | 
			
		||||
                "Vorrei ordinare un'insalata.",
 | 
			
		||||
                "Insalata."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
@ -677,7 +649,8 @@
 | 
			
		||||
                "Io vorrei i pizochen, per favore.",
 | 
			
		||||
                "Prendo i pizochen.",
 | 
			
		||||
                "Ho scelto i pizochen.",
 | 
			
		||||
                "Vorrei ordinare i pizochen."
 | 
			
		||||
                "Vorrei ordinare i pizochen.",
 | 
			
		||||
                "Pizochen."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
@ -686,34 +659,8 @@
 | 
			
		||||
                "Io vorrei il risotto, per favore.",
 | 
			
		||||
                "Prendo il risotto.",
 | 
			
		||||
                "Ho scelto il risotto.",
 | 
			
		||||
                "Vorrei ordinare il risotto."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Nachfrage_Kellner_Essen-U-3a",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei un'insalata, per favore.",
 | 
			
		||||
                "Prendo l'insalata.",
 | 
			
		||||
                "Ho scelto l'insalata.",
 | 
			
		||||
                "Vorrei ordinare un'insalata."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Nachfrage_Kellner_Essen-U-3b",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei i pizochen, per favore.",
 | 
			
		||||
                "Prendo i pizochen.",
 | 
			
		||||
                "Ho scelto i pizochen.",
 | 
			
		||||
                "Vorrei ordinare i pizochen."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Nachfrage_Kellner_Essen-U-3c",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Io vorrei il risotto, per favore.",
 | 
			
		||||
                "Prendo il risotto.",
 | 
			
		||||
                "Ho scelto il risotto.",
 | 
			
		||||
                "Vorrei ordinare il risotto."
 | 
			
		||||
                "Vorrei ordinare il risotto.",
 | 
			
		||||
                "Risotto."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
@ -728,14 +675,10 @@
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-5b",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "S\u00ec.",
 | 
			
		||||
                "S\u00ec, originariamente significava \"cantina\".",
 | 
			
		||||
                "S\u00ec, originariamente significava cantina.",
 | 
			
		||||
                "S\u00ec, era come un frigo naturale dove consevare i generi alimentari."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-5c",
 | 
			
		||||
            "intentSentences": []
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-9a",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
@ -748,7 +691,7 @@
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-9b",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "No.",
 | 
			
		||||
                "No, non ho mai mangiato in un grotto. ",
 | 
			
		||||
                "No, non ho mai mangiato in un grotto.",
 | 
			
		||||
                "No, purtroppo no."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
@ -766,9 +709,9 @@
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-12b",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Non mi piace molto.",
 | 
			
		||||
                "Non cos\u00ecbene.",
 | 
			
		||||
                "Non cos\u00ec bene.",
 | 
			
		||||
                "Non molto.",
 | 
			
		||||
                "Non \u00e8 cos\u00ecbella.",
 | 
			
		||||
                "Non \u00e8 cos\u00ec bella.",
 | 
			
		||||
                "Non so."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
@ -786,9 +729,9 @@
 | 
			
		||||
            "intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-24",
 | 
			
		||||
            "intentSentences": [
 | 
			
		||||
                "Non mi piace molto.",
 | 
			
		||||
                "Non cos\u00ectanto.",
 | 
			
		||||
                "Non cos\u00ec tanto.",
 | 
			
		||||
                "Non molto.",
 | 
			
		||||
                "Non \u00e8 cos\u00ecbella."
 | 
			
		||||
                "Non \u00e8 cos\u00ec bella."
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user