Merge branch 'programming'
This commit is contained in:
		
						commit
						795676294e
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
Tree("Root") {
 | 
					Tree("Root") {
 | 
				
			||||||
    Composite(Sequence) {
 | 
					    Composite(Sequence) {
 | 
				
			||||||
        RunTree("32_Grotto_Kueche_Intro")
 | 
					       // RunTree("32_Grotto_Kueche_Intro")
 | 
				
			||||||
        BTC.InitializeSpeechManager()
 | 
					        BTC.InitializeSpeechManager()
 | 
				
			||||||
        BTC.SetSpeechRecognitionLanguage("it-IT")
 | 
					        BTC.SetSpeechRecognitionLanguage("it-IT")
 | 
				
			||||||
        BTC.SetVoiceName("it-IT-FabiolaNeural")
 | 
					        BTC.SetVoiceName("it-IT-FabiolaNeural")
 | 
				
			||||||
@ -129,26 +129,44 @@ Tree("32_Grotto_Kueche_Intro") {
 | 
				
			|||||||
        BTC.Run("MediaPlayer.VIDEOS.ZwiebelnschneidenF_01")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZwiebelnschneidenF_01")
 | 
				
			||||||
        BTC.Run("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Race
 | 
					        Composite(Race) {
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
 | 
					                BTC.Wait(30)
 | 
				
			||||||
 | 
					                BTC.SetBool("CancelCooking")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
                // Zwiebeln schneiden
 | 
					                // Zwiebeln schneiden
 | 
				
			||||||
        BTC.FindObjectsByTag("SlicedZwiebel", 5)
 | 
					                BTC.FindObjectsByTag("SlicedZwiebel", 6)
 | 
				
			||||||
 | 
					                BTC.SetBool("CancelCooking", false)
 | 
				
			||||||
                BTC.Show("GO.STATIC.RezeptCheckmark2")
 | 
					                BTC.Show("GO.STATIC.RezeptCheckmark2")
 | 
				
			||||||
// Race Ende
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Composite(Selector) {
 | 
				
			||||||
 | 
					            BTC.CompareBool("CancelCooking", false)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
 | 
					                // --- Kueche - Abbruch ---
 | 
				
			||||||
                BTC.Hide("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.AbbruchF1")
 | 
				
			||||||
 | 
					                // TODO: Define Jump Point to grotto 1
 | 
				
			||||||
 | 
					                BTC.Run("LoadScene.NEXT.32Grotto1")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // --- Kueche - alles gefunden ---
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.allesgefunden1Kuec")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.allesgefunden1Kuec")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.allesgefundenF1")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.allesgefunden1Kuec")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_02")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Oel in Topf geben
 | 
					        // Oel in Topf geben
 | 
				
			||||||
        BTC.Run("Particle.INTERACTABLES.Olivenoel")
 | 
					        BTC.Run("Particle.INTERACTABLES.Olivenoel")
 | 
				
			||||||
        BTC.Show("GO.STATIC.RezeptCheckmark3")
 | 
					        BTC.Show("GO.STATIC.RezeptCheckmark3")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.allesgefunden2Kuec")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.allesgefundenFidle_02")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.allesgefunden2Kuec")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.allesgefundenF3")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.allesgefunden2Kuec")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_04")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Herd anstellen - ToDo: Handling in Story?
 | 
					        // Herd anstellen - ToDo: Handling in Story?
 | 
				
			||||||
        //BTC.Run("NamedGrabEvent.STATIC.Herdschalter")
 | 
					        //BTC.Run("NamedGrabEvent.STATIC.Herdschalter")
 | 
				
			||||||
@ -160,9 +178,9 @@ Tree("32_Grotto_Kueche_Intro") {
 | 
				
			|||||||
        BTC.Run("StudioEventEmitter.INTERACTABLES.ZwiebelnInTopf")
 | 
					        BTC.Run("StudioEventEmitter.INTERACTABLES.ZwiebelnInTopf")
 | 
				
			||||||
        BTC.Show("GO.STATIC.RezeptCheckmark4")
 | 
					        BTC.Show("GO.STATIC.RezeptCheckmark4")
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.allesgefunden3Kuec")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.allesgefundenFidle_04")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.allesgefunden3Kuec")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.allesgefundenF5")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.allesgefunden3Kuec")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_06")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Frage beantworten
 | 
					        // Frage beantworten
 | 
				
			||||||
        BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.4")
 | 
					        BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.4")
 | 
				
			||||||
@ -280,9 +298,9 @@ Tree("32_Grotto_Kueche_Intro") {
 | 
				
			|||||||
Tree("32_Grotto_Kueche_Interesse_Kochen") {
 | 
					Tree("32_Grotto_Kueche_Interesse_Kochen") {
 | 
				
			||||||
// --- Kueche - Interesse Kochen ---
 | 
					// --- Kueche - Interesse Kochen ---
 | 
				
			||||||
    Composite(Sequence) {
 | 
					    Composite(Sequence) {
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.InteresseKochen1Ku")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.allesgefundenFidle_06")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.InteresseKochen1Ku")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.InteresseKochenF1")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.InteresseKochen1Ku")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.InteresseKochenFid_02")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Frage beantworten
 | 
					        // Frage beantworten
 | 
				
			||||||
        BTC.AddPossbileSpeechIntent("Kueche.Interesse_Kochen.2")
 | 
					        BTC.AddPossbileSpeechIntent("Kueche.Interesse_Kochen.2")
 | 
				
			||||||
@ -327,9 +345,9 @@ Tree("32_Grotto_Kueche_Interesse_Kochen") {
 | 
				
			|||||||
Tree("32_Grotto_Kueche_Kochen_Anzahl") {
 | 
					Tree("32_Grotto_Kueche_Kochen_Anzahl") {
 | 
				
			||||||
// --- Kueche - Kochen Anzahl ---
 | 
					// --- Kueche - Kochen Anzahl ---
 | 
				
			||||||
    Composite(Sequence) {
 | 
					    Composite(Sequence) {
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.KochenAnzahl1Kuech")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.InteresseKochenFid_02")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.KochenAnzahl1Kuech")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.KochenAnzahlF1")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.KochenAnzahl1Kuech")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.KochenAnzahlFidle2")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Frage beantworten
 | 
					        // Frage beantworten
 | 
				
			||||||
        BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.2")
 | 
					        BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.2")
 | 
				
			||||||
@ -347,20 +365,8 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
 | 
				
			|||||||
                        BTC.SpeechIntentRecognized()
 | 
					                        BTC.SpeechIntentRecognized()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        // Intent erkannt
 | 
					                        // Intent erkannt
 | 
				
			||||||
                        Composite(Race) {
 | 
					 | 
				
			||||||
                            Composite(Sequence) {
 | 
					 | 
				
			||||||
                                BTC.CompareIntentID("Kueche.Kochen_Anzahl.2")
 | 
					 | 
				
			||||||
                                BTC.ClearPossbileSpeechIntents()
 | 
					 | 
				
			||||||
                                //RunTree("32_Grotto_Kueche_Selbststaendig_Kochen")
 | 
					 | 
				
			||||||
                        RunTree("32_Grotto_Kueche_Zusammen_Kochen")
 | 
					                        RunTree("32_Grotto_Kueche_Zusammen_Kochen")
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                            Composite(Sequence) {
 | 
					 | 
				
			||||||
                                BTC.CompareIntentID("Kueche.Kochen_Anzahl.4")
 | 
					 | 
				
			||||||
                                BTC.ClearPossbileSpeechIntents()
 | 
					 | 
				
			||||||
                                RunTree("32_Grotto_Kueche_Zusammen_Kochen")
 | 
					 | 
				
			||||||
                            }
 | 
					 | 
				
			||||||
                        }
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    // -- Selector 2: Intent nicht erkannt
 | 
					                    // -- Selector 2: Intent nicht erkannt
 | 
				
			||||||
                    Composite(Sequence) {
 | 
					                    Composite(Sequence) {
 | 
				
			||||||
@ -384,7 +390,6 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
 | 
				
			|||||||
                                BTC.Hide("GO.GO.Option2Button")
 | 
					                                BTC.Hide("GO.GO.Option2Button")
 | 
				
			||||||
                                BTC.Hide("GO.GO.SpeechButton")
 | 
					                                BTC.Hide("GO.GO.SpeechButton")
 | 
				
			||||||
                                BTC.Hide("GO.GO.SpeechOptions")
 | 
					                                BTC.Hide("GO.GO.SpeechOptions")
 | 
				
			||||||
                                //RunTree("32_Grotto_Kueche_Selbststaendig_Kochen")
 | 
					 | 
				
			||||||
                                RunTree("32_Grotto_Kueche_Zusammen_Kochen")
 | 
					                                RunTree("32_Grotto_Kueche_Zusammen_Kochen")
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                            Composite(Sequence) {
 | 
					                            Composite(Sequence) {
 | 
				
			||||||
@ -418,24 +423,27 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
 | 
				
			|||||||
Tree("32_Grotto_Kueche_Zusammen_Kochen") {
 | 
					Tree("32_Grotto_Kueche_Zusammen_Kochen") {
 | 
				
			||||||
// --- Kueche - Zusammen Kochen ---
 | 
					// --- Kueche - Zusammen Kochen ---
 | 
				
			||||||
    Composite(Sequence) {
 | 
					    Composite(Sequence) {
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen1Kue")
 | 
					        Composite(Marathon) {
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen1Kue")
 | 
					            BTC.Hide("MediaPlayer.VIDEOS.allesgefundenFidle_06")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen1Kue")
 | 
					            BTC.Hide("MediaPlayer.VIDEOS.InteresseKochenFid_02")
 | 
				
			||||||
 | 
					            BTC.Hide("MediaPlayer.VIDEOS.KochenAnzahlFidle2")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Risotto in Topf geben
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF1")
 | 
				
			||||||
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // Reis in Topf geben
 | 
				
			||||||
        BTC.Run("GO/Particle.INTERACTABLES.Risotto")
 | 
					        BTC.Run("GO/Particle.INTERACTABLES.Risotto")
 | 
				
			||||||
        BTC.Hide("GO.INTERACTABLES.Reis")
 | 
					 | 
				
			||||||
        BTC.Hide("GO/Particle.INTERACTABLES.Risotto")
 | 
					 | 
				
			||||||
        BTC.Show("GO.STATIC.RezeptCheckmark5")
 | 
					        BTC.Show("GO.STATIC.RezeptCheckmark5")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Ruehren
 | 
					        // Ruehren
 | 
				
			||||||
        BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Loeffel")
 | 
					        BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Loeffel")
 | 
				
			||||||
        BTC.Run("Collider.INTERACTABLES.Topf")
 | 
					        BTC.Run("Collider.INTERACTABLES.Topf")
 | 
				
			||||||
        BTC.Wait(2) // Wie lange ruehren?
 | 
					        BTC.Wait(2)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen2Kue")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen2Kue")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF3")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen2Kue")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_04")
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        // Wein in Topf giessen
 | 
					        // Wein in Topf giessen
 | 
				
			||||||
        BTC.Run("Particle.INTERACTABLES.Weisswein")
 | 
					        BTC.Run("Particle.INTERACTABLES.Weisswein")
 | 
				
			||||||
@ -452,9 +460,9 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            Composite(Sequence) {
 | 
					            Composite(Sequence) {
 | 
				
			||||||
                BTC.Wait(5)
 | 
					                BTC.Wait(5)
 | 
				
			||||||
                BTC.Show("Depthkit.VIDEOS.ZusammenKochen3Kue")
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_04")
 | 
				
			||||||
                BTC.Run("Depthkit.VIDEOS.ZusammenKochen3Kue")
 | 
					                BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF5")
 | 
				
			||||||
                BTC.Hide("Depthkit.VIDEOS.ZusammenKochen3Kue")
 | 
					                BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_06")
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -462,112 +470,44 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
 | 
				
			|||||||
        BTC.Run("Particle.INTERACTABLES.Bouillon")
 | 
					        BTC.Run("Particle.INTERACTABLES.Bouillon")
 | 
				
			||||||
        BTC.Show("GO.STATIC.RezeptCheckmark7")
 | 
					        BTC.Show("GO.STATIC.RezeptCheckmark7")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen4Kue")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_06")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen4Kue")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF7")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen4Kue")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_08")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Glas Wasser mit Steinpilze in Topf geben
 | 
					        // Glas Wasser mit Steinpilze in Topf geben
 | 
				
			||||||
        BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
 | 
					        BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
 | 
				
			||||||
        BTC.Run("Collider.INTERACTABLES.Topf")
 | 
					        BTC.Run("Collider.INTERACTABLES.Topf")
 | 
				
			||||||
        BTC.Show("GO.STATIC.RezeptCheckmark8")
 | 
					        BTC.Show("GO.STATIC.RezeptCheckmark8")
 | 
				
			||||||
 | 
					        BTC.Wait(5)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        RunTree("32_Grotto_Kueche_Parmigiano")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_08")
 | 
				
			||||||
    }
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF9")
 | 
				
			||||||
}
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_10")
 | 
				
			||||||
 | 
					 | 
				
			||||||
Tree("32_Grotto_Kueche_Parmigiano") {
 | 
					 | 
				
			||||||
// --- Kueche - Parmigiano ---
 | 
					 | 
				
			||||||
    Composite(Sequence) {
 | 
					 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen5Kue")
 | 
					 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen5Kue")
 | 
					 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen5Kue")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Parmigiano in Topf geben
 | 
					        // Parmigiano in Topf geben
 | 
				
			||||||
        BTC.Run("Particle.INTERACTABLES.Parmesan")
 | 
					        BTC.Run("Particle.INTERACTABLES.Parmesan")
 | 
				
			||||||
        BTC.Show("GO.STATIC.RezeptCheckmark9")
 | 
					        BTC.Show("GO.STATIC.RezeptCheckmark9")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen6Kue")
 | 
					        BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_10")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen6Kue")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF11")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen6Kue")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        // Antwort User
 | 
					 | 
				
			||||||
        BTC.AddPossbileSpeechIntent("Kueche.Zusammen_Kochen.6")
 | 
					 | 
				
			||||||
        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
 | 
					 | 
				
			||||||
                        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.ZusammenKochen7Kue")
 | 
					 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen7Kue")
 | 
					 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen7Kue")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        // Stelle für Pfanne leuchtet
 | 
					 | 
				
			||||||
        BTC.Enable("NamedOutline.INTERACTABLES.TopfUntersetzer")
 | 
					 | 
				
			||||||
        BTC.Set("Collider.INTERACTABLES.Topfuntersetzer", "otherTag", "Topf")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        Composite(Race) {
 | 
					 | 
				
			||||||
            Composite(Sequence) {
 | 
					 | 
				
			||||||
                // Pfanne rueber stellen
 | 
					 | 
				
			||||||
                BTC.Run("Collider.INTERACTABLES.Topfuntersetzer")
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
            Composite(Sequence) {
 | 
					 | 
				
			||||||
                // Keine Reaction
 | 
					 | 
				
			||||||
                BTC.Wait(5)
 | 
					 | 
				
			||||||
                BTC.Show("Depthkit.VIDEOS.ZusammenKochen8Kue")
 | 
					 | 
				
			||||||
                BTC.Run("Depthkit.VIDEOS.ZusammenKochen8Kue")
 | 
					 | 
				
			||||||
                BTC.Hide("Depthkit.VIDEOS.ZusammenKochen8Kue")
 | 
					 | 
				
			||||||
                // Pfanne rueber stellen
 | 
					 | 
				
			||||||
                BTC.Run("Collider.INTERACTABLES.Topfuntersetzer")
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen8Kue")
 | 
					 | 
				
			||||||
        BTC.Disable("NamedOutline.INTERACTABLES.TopfUntersetzer") 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen10Ku")
 | 
					 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen10Ku")
 | 
					 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen10Ku")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.ZusammenKochen12Ku")
 | 
					 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.ZusammenKochen12Ku")
 | 
					 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.ZusammenKochen12Ku")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // --- Kueche - Outro ---
 | 
					        // --- Kueche - Outro ---
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.Outro1Kueche")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.OutroF1")
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.Outro1Kueche")
 | 
					        BTC.Run("MediaPlayer.VIDEOS.OutroFidle8")
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.Outro1Kueche")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.Outro2Kueche")
 | 
					        Composite(Marathon) {
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.Outro2Kueche")
 | 
					            Composite(Sequence) {
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.Outro2Kueche")
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroG3")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroGidle6")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
 | 
					                BTC.Wait(12)
 | 
				
			||||||
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.OutroFidle8")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroF4")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroFidle5")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Name sagen
 | 
					        // Name sagen
 | 
				
			||||||
        BTC.AddPossbileSpeechIntent("Kueche.Outro.4")
 | 
					        BTC.AddPossbileSpeechIntent("Kueche.Outro.4")
 | 
				
			||||||
@ -602,15 +542,93 @@ Tree("32_Grotto_Kueche_Parmigiano") {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }        
 | 
					        }        
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.Outro7Kueche")
 | 
					        Composite(Marathon) {
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.Outro7Kueche")
 | 
					            Composite(Sequence) {
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.Outro7Kueche")
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.OutroGidle6")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroG9")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroGidle10")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        BTC.Show("Depthkit.VIDEOS.Outro8Kueche")
 | 
					            Composite(Sequence) {
 | 
				
			||||||
        BTC.Run("Depthkit.VIDEOS.Outro8Kueche")
 | 
					                BTC.Wait(1)
 | 
				
			||||||
        BTC.Hide("Depthkit.VIDEOS.Outro8Kueche")
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.OutroFidle5")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroF7")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroFidle8")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Composite(Marathon) {
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.OutroFidle8")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroF11")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroFidle14")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
 | 
					                BTC.Wait(1)
 | 
				
			||||||
 | 
					                BTC.Hide("MediaPlayer.VIDEOS.OutroGidle10")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroG12")
 | 
				
			||||||
 | 
					                BTC.Run("MediaPlayer.VIDEOS.OutroGidle13")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3")   // TODO: Update Speech Intent
 | 
				
			||||||
 | 
					        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4")   // TODO: Update Speech Intent
 | 
				
			||||||
 | 
					        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("Story_B_Grotto.Intro.3")
 | 
				
			||||||
 | 
					                                BTC.ClearPossbileSpeechIntents()
 | 
				
			||||||
                                BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
					                                BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
				
			||||||
                                BTC.Run("LoadScene.NEXT.32Grotto3")
 | 
					                                BTC.Run("LoadScene.NEXT.32Grotto3")
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
 | 
					                            Composite(Sequence) {
 | 
				
			||||||
 | 
					                                BTC.CompareIntentID("Story_B_Grotto.Intro.4")
 | 
				
			||||||
 | 
					                                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.OutroFidle14")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Composite(Marathon) {
 | 
				
			||||||
 | 
					            BTC.Run("MediaPlayer.VIDEOS.OutroF15")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            Composite(Sequence) {
 | 
				
			||||||
 | 
					                BTC.Wait(7)
 | 
				
			||||||
 | 
					                BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        BTC.Run("LoadScene.NEXT.32Grotto3")
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user