Update Grotto 1
This commit is contained in:
		
							parent
							
								
									2212c90608
								
							
						
					
					
						commit
						425a613a27
					
				@ -11,11 +11,8 @@
 | 
			
		||||
                BTC.SetBool("error")
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
                RunTree("32_Grotto_Story_B_Grotto_Intro")
 | 
			
		||||
                //RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
 | 
			
		||||
            }
 | 
			
		||||
            //RunTree("32_Grotto_Story_B_Grotto_Intro")
 | 
			
		||||
            RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Composite(Sequence) {
 | 
			
		||||
@ -39,32 +36,51 @@
 | 
			
		||||
Tree("32_Grotto_Story_B_Grotto_Intro") { 
 | 
			
		||||
    Composite(Sequence) {
 | 
			
		||||
        // Initialization
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
 | 
			
		||||
        BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
 | 
			
		||||
        BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Intro1StoryBGrotto")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Intro1StoryBGrotto")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Intro1StoryBGrotto")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.IntroF2")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Intro2StoryBGrotto")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Intro2StoryBGrotto")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Intro2StoryBGrotto")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.IntroFidle3")
 | 
			
		||||
        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(Selector) {
 | 
			
		||||
                Composite(Sequence) {
 | 
			
		||||
                    BTC.UserStartedSpeechInput()
 | 
			
		||||
                    BTC.SpeechIntentRecognized()
 | 
			
		||||
                    BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                }
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.UserStartedSpeechInput()
 | 
			
		||||
                
 | 
			
		||||
                // Intent nicht erkannt
 | 
			
		||||
                Composite(Sequence) {
 | 
			
		||||
                    BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                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.Hide("MediaPlayer.VIDEOS.IntroFidle3")
 | 
			
		||||
                                BTC.Run("MediaPlayer.VIDEOS.IntroF4")
 | 
			
		||||
                            }
 | 
			
		||||
                            Composite(Sequence) {
 | 
			
		||||
                                BTC.CompareIntentID("Story_B_Grotto.Intro.4")
 | 
			
		||||
                                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                                BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
 | 
			
		||||
                                BTC.Run("MediaPlayer.VIDEOS.IntroF6")
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // -- Selector 2: Intent nicht erkannt
 | 
			
		||||
                    Composite(Sequence) {
 | 
			
		||||
                        BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                        BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
 | 
			
		||||
                        BTC.Run("MediaPlayer.VIDEOS.IntroF6")
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
@ -72,36 +88,29 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
                BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
 | 
			
		||||
                BTC.Run("MediaPlayer.VIDEOS.IntroF6")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Intro6StoryBGrotto")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Intro6StoryBGrotto")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Intro6StoryBGrotto")
 | 
			
		||||
 | 
			
		||||
        // --- Story B Grotto - Telefonat ---
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Telefonat1StoryBGr")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Telefonat1StoryBGr")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Telefonat1StoryBGr")
 | 
			
		||||
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatF1")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle2")
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.Telefonat2StoryBGr")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Telefonat3StoryBGr")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Telefonat3StoryBGr")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Telefonat3StoryBGr")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle2")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatF4")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle5")
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.Telefonat4StoryBGr")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Telefonat5StoryBGr")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Telefonat5StoryBGr")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Telefonat5StoryBGr")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle5")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatF7")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.IdleLoopNonnaGrott")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.IdleLoopNonnaGrott")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6")   // TODO: Update Intent ID
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
@ -132,7 +141,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.BegruessungohneNam")
 | 
			
		||||
 | 
			
		||||
        // --- Story B Grotto - Antwort_Reise ---
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1")   // TODO: Update Intent ID
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
@ -161,7 +170,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
 | 
			
		||||
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.AntwortReise4Story")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5")   // TODO: Update Intent ID
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
@ -190,8 +199,8 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
 | 
			
		||||
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.AntwortReise8Story")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9")   // TODO: Update Intent ID
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11")   // TODO: Update Intent ID
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
@ -376,14 +385,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // --- Story B Grotto - Outro ---
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroFidle2")
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.Outro1StoryBGrotto")
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.Outro2StoryBGrotto")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.Outro2StoryBGrotto")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.Outro2StoryBGrotto")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.OutroFidle2")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.OutroF3")
 | 
			
		||||
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Outro.3")
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
@ -411,7 +420,13 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.Run("MediaPlayer.VIDEOS.OutroF5")
 | 
			
		||||
            BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Run("LoadScene.NEXT.32Grotto2") // Go to Grotto2 Kueche
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -479,31 +494,39 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
 | 
			
		||||
        //BTC.SynthesizeText("Mentre aspetti, se vuoi puoi dare un'occhiata alle foto che ho scattato di recente in Bregaglia. Puoi usare il visore che trovi sul tavolo.")
 | 
			
		||||
        //BTC.SpeechOutputEnded()
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.NachfrageNonnaGrot_F4")
 | 
			
		||||
 | 
			
		||||
        // TODO: Option VR Brille Bilder und Buch anschauen fehlt
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05")
 | 
			
		||||
        BTC.Run("AudioSource.AUDIO.AntwortNonnaKueche")
 | 
			
		||||
        BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
 | 
			
		||||
        // Initialization
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -4.648, 0, -12.295)
 | 
			
		||||
            BTC.SetPosition("GO.HANDMENU", -4.648, 0, -12.295)
 | 
			
		||||
            BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.295)
 | 
			
		||||
            BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.295)
 | 
			
		||||
            BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
 | 
			
		||||
            BTC.RotateToAngle("GO.HANDMENU", 0.0)
 | 
			
		||||
            BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
 | 
			
		||||
            BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
 | 
			
		||||
            BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
        }
 | 
			
		||||
        BTC.Wait(5)
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil1F1")
 | 
			
		||||
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.11")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.12")
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
            BTC.Wait(30)
 | 
			
		||||
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Run("NamedGrabEvent.INTERACTABLES.VRBrille")
 | 
			
		||||
                // TODO: Load Minigame
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F2")
 | 
			
		||||
        BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03")
 | 
			
		||||
        BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6")    // TODO: Update Intent ID
 | 
			
		||||
        BTC.StartSpeechIntentRecognition()
 | 
			
		||||
 | 
			
		||||
        Composite(Race) {
 | 
			
		||||
@ -525,16 +548,23 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(5)
 | 
			
		||||
                BTC.CompareUserSpeechInputStarted(false)
 | 
			
		||||
                BTC.AbortSpeechEventListener()
 | 
			
		||||
                BTC.StopSpeechIntentRecognition()
 | 
			
		||||
                BTC.ClearPossbileSpeechIntents()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
 | 
			
		||||
        BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
 | 
			
		||||
        BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
 | 
			
		||||
        BTC.Hide("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03")
 | 
			
		||||
 | 
			
		||||
        Composite(Marathon) {
 | 
			
		||||
            BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F04")
 | 
			
		||||
 | 
			
		||||
            Composite(Sequence) {
 | 
			
		||||
                BTC.Wait(8)
 | 
			
		||||
                BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
 | 
			
		||||
        BTC.Run("LoadScene.NEXT.32Grotto3") // Go to Grotto3 Essen
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user