Compare commits

...

10 Commits

20 changed files with 791612 additions and 141579 deletions

View File

@ -11,10 +11,22 @@
BTC.SetBool("error")
}
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("10_SBB_Zugabteil_Intro")
Composite(Selector) {
Composite(Sequence) {
// Check Minigame SBB
BTC.CheckEntryLevel(0)
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
BTC.ResetEntryLevel(0)
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("10_SBB_Zugabteil_Szenenwahl")
}
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("10_SBB_Zugabteil_Intro")
}
}
}
@ -50,11 +62,13 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-2")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -77,6 +91,7 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -87,11 +102,13 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-4a")
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-4b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -134,6 +151,7 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.ExpositionFidle4")
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("10_SBB_Zugabteil_Szenenwahl")
}
}
@ -201,6 +219,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.RepetitionIntroAFi_2")
BTC.Hide("MediaPlayer.VIDEOS.RepetitionIntroBFi_2")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
}
BTC.Run("MediaPlayer.VIDEOS.SzenenwahlF1")
BTC.Run("MediaPlayer.VIDEOS.SzenenwahlFidle2")
@ -208,11 +227,13 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-4a")
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-4b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -252,6 +273,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -263,10 +285,17 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
// VR Brille nehmen
Composite(Sequence) {
BTC.Run("NamedGrabEvent.INTERACTABLES.VRBrille")
Composite(Marathon) {
BTC.SetEntryLevel(0)
BTC.AbortEventListener("NamedEventTrigger.HANDMENU.Option2Button")
BTC.AbortEventListener("NamedEventTrigger.HANDMENU.Option1Button")
BTC.Hide("GO.HANDMENU.Option1Button")
BTC.Hide("GO.HANDMENU.Option2Button")
BTC.Hide("GO.HANDMENU.SpeechButton")
BTC.Hide("GO.HANDMENU.SpeechOptions")
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.40Puschlav")
// TODO: Minigame starten
// Nach Minigame: zuruck zu Szenenwahl
}
// Szenenwahl per Handmenu

View File

@ -43,11 +43,13 @@ Tree("20_SBB_Story_A_Picknicken_Start") {
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Start-U-2")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -70,6 +72,7 @@ Tree("20_SBB_Story_A_Picknicken_Start") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -44,11 +44,13 @@ Tree("30_SBB_Story_B_Grotto_Start") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Start-U-2a")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Start-U-2b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -71,6 +73,7 @@ Tree("30_SBB_Story_B_Grotto_Start") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -11,8 +11,29 @@
BTC.SetBool("error")
}
RunTree("32_Grotto_Story_B_Grotto_Intro")
//RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
Composite(Selector) {
Composite(Sequence) {
// Check Puschlav Grotto / Abbruch Kueche
BTC.CheckEntryLevel(1)
// Initialization
Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.124)
BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.124)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
BTC.RotateToAngle("GO.HANDMENU", 0.0)
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Show("GO.HINTS.SitDownHint")
BTC.Wait(5)
BTC.Hide("GO.HINTS.SitDownHint")
BTC.ResetEntryLevel(1)
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto_Teil2")
}
RunTree("32_Grotto_Story_B_Grotto_Intro")
}
}
Composite(Sequence) {
@ -37,8 +58,10 @@ 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("GO.HINTS.StandUpHint")
BTC.Wait(5)
BTC.Hide("GO.HINTS.StandUpHint")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.IntroF2")
@ -47,11 +70,13 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Intro-U-3")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Intro-U-5")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -91,6 +116,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
}
@ -112,12 +138,14 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Telefonat-U-8a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -134,6 +162,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -143,12 +172,14 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
// --- Story B Grotto - Antwort_Reise ---
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Reise-U-0a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -165,6 +196,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -172,12 +204,14 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Reise-U-1a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -194,6 +228,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -202,11 +237,13 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Reise-U-2a")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Reise-U-2b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -235,9 +272,12 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.Run("AudioSource.AUDIO.NachfrageNonnaGrot")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
Composite(Race) {
@ -260,6 +300,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.Fail()
}
@ -309,10 +350,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
// --- Bilder Bergell ---
// TODO: Bergell
//BTC.Run("LoadScene.NEXT.35Slideshow")
BTC.Hide("GO.HINTS.SpeakHint")
// Fallback Button
Composite(Sequence) {
@ -359,12 +397,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Nonna_Kueche-U-1a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -381,6 +421,7 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -395,12 +436,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Outro-U-4")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -417,6 +460,7 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -438,12 +482,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Nachfrage_Nonna_Grotto-U-2a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -461,6 +507,7 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -468,12 +515,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Nachfrage_Nonna_Grotto-U-3a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -491,6 +540,7 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -503,14 +553,19 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
// Initialization
Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.295)
BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.295)
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.124)
BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.124)
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")
Composite(Sequence) {
BTC.Wait(2)
BTC.Show("GO.HINTS.SitDownHint")
BTC.Wait(5)
BTC.Hide("GO.HINTS.SitDownHint")
}
Composite(Sequence) {
BTC.Wait(0.5)
BTC.Hide("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05")
@ -523,21 +578,32 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
Composite(Sequence) {
BTC.Run("NamedGrabEvent.INTERACTABLES.VRBrille")
// TODO: Load Minigame
BTC.SetEntryLevel(1)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.40Puschlav")
}
}
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto_Teil2")
}
}
Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto_Teil2") {
// --- Story B Grotto - Antwort Nonna Grotto Teil 2 ---
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F2")
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Nonna_Grotto_Teil2-U-3a")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Antwort_Nonna_Grotto_Teil2-U-3b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
@ -555,6 +621,7 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -58,12 +58,14 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.AddPossbileSpeechIntent("Kueche-Intro-U-5a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.KuecheIntroFidle5")
@ -85,6 +87,7 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.Hide("GO.HINTS.SpeakHint")
// --- Kueche - Nachfrage Rezept ---
BTC.Hide("MediaPlayer.VIDEOS.KuecheIntroFidle5")
@ -92,12 +95,14 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.Run("MediaPlayer.VIDEOS.NachfrageRezeptFid_02")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Selector) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.NachfrageRezeptFid_02")
@ -117,6 +122,7 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageRezeptFid_02")
BTC.Run("MediaPlayer.VIDEOS.NachfrageRezeptF3")
@ -149,8 +155,16 @@ Tree("32_Grotto_Kueche_Intro") {
Composite(Sequence) {
// --- Kueche - Abbruch ---
BTC.Hide("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
BTC.Run("MediaPlayer.VIDEOS.AbbruchF1")
// TODO: Define Jump Point to grotto 1
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.AbbruchF1")
Composite(Sequence) {
BTC.Wait(7)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
}
BTC.SetEntryLevel(1)
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
@ -161,15 +175,15 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_02")
// Oel in Topf geben
BTC.Enable("NamedOutline.INTERACTABLES.Olivenoel")
BTC.Run("Particle.INTERACTABLES.Olivenoel")
BTC.Disable("NamedOutline.INTERACTABLES.Olivenoel")
BTC.Hide("MediaPlayer.VIDEOS.allesgefundenFidle_02")
BTC.Run("MediaPlayer.VIDEOS.allesgefundenF3")
BTC.Run("MediaPlayer.VIDEOS.allesgefundenFidle_04")
// Herd anstellen - ToDo: Handling in Story?
//BTC.Run("NamedGrabEvent.STATIC.Herdschalter")
//BTC.Run("StudioEventEmitter.STATIC.HerdplatteAnstelle")
BTC.Run("StudioEventEmitter.STATIC.HerdAnstellen")
// Zwiebeln in Topf geben
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "SlicedZwiebel")
@ -185,11 +199,13 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.AddPossbileSpeechIntent("Kueche-alles_gefunden-U-6a")
BTC.AddPossbileSpeechIntent("Kueche-alles_gefunden-U-6b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -257,6 +273,7 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
// Fallback Button
Composite(Marathon) {
@ -304,11 +321,13 @@ Tree("32_Grotto_Kueche_Interesse_Kochen") {
// Frage beantworten
BTC.AddPossbileSpeechIntent("Kueche-Interesse_Kochen-U-2a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -335,6 +354,7 @@ Tree("32_Grotto_Kueche_Interesse_Kochen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
@ -352,11 +372,13 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
BTC.AddPossbileSpeechIntent("Kueche-Kochen_Anzahl-U-2a")
BTC.AddPossbileSpeechIntent("Kueche-Kochen_Anzahl-U-2b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -413,6 +435,7 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
@ -432,20 +455,20 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
// Reis in Topf geben
BTC.Run("GO/Particle.INTERACTABLES.Risotto")
BTC.Enable("NamedOutline.INTERACTABLES.Risotto")
BTC.Run("Particle.INTERACTABLES.Risotto")
BTC.Show("GO.STATIC.RezeptCheckmark3")
// Ruehren
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Loeffel")
BTC.Run("Collider.INTERACTABLES.Topf")
BTC.Wait(2)
BTC.Disable("NamedOutline.INTERACTABLES.Risotto")
BTC.Wait(5)
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF3")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_04")
// Wein in Topf giessen
BTC.Enable("NamedOutline.INTERACTABLES.Weisswein")
BTC.Run("Particle.INTERACTABLES.Weisswein")
BTC.Disable("NamedOutline.INTERACTABLES.Weisswein")
BTC.StopSound("StudioEventEmitter.INTERACTABLES.ZwiebelnInTopf")
BTC.Run("StudioEventEmitter.INTERACTABLES.Abloeschen")
BTC.Show("GO.STATIC.RezeptCheckmark4")
@ -466,29 +489,45 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
}
// Bouillon in Topf geben
BTC.Enable("NamedOutline.INTERACTABLES.Bouillon")
BTC.Run("Particle.INTERACTABLES.Bouillon")
BTC.Show("GO.STATIC.RezeptCheckmark5")
BTC.Disable("NamedOutline.INTERACTABLES.Bouillon")
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_06")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF7")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_08")
// Glas Wasser mit Steinpilze in Topf geben
Composite(Marathon) {
BTC.Enable("NamedOutline.INTERACTABLES.Pilz01")
BTC.Enable("NamedOutline.INTERACTABLES.Pilz02")
BTC.Enable("NamedOutline.INTERACTABLES.Pilz03")
}
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
BTC.Run("Collider.INTERACTABLES.Topf")
BTC.Show("GO.STATIC.RezeptCheckmark6")
Composite(Marathon) {
BTC.Disable("NamedOutline.INTERACTABLES.Pilz01")
BTC.Disable("NamedOutline.INTERACTABLES.Pilz02")
BTC.Disable("NamedOutline.INTERACTABLES.Pilz03")
}
BTC.Wait(5)
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_08")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF9")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_10")
BTC.Show("GO/NamedOutline.INTERACTABLES.Parmesan")
// Parmigiano in Topf geben
BTC.Enable("GO/NamedOutline.INTERACTABLES.Parmesan")
BTC.Run("Particle.INTERACTABLES.Parmesan")
BTC.Show("GO.STATIC.RezeptCheckmark7")
BTC.Disable("GO/NamedOutline.INTERACTABLES.Parmesan")
BTC.Hide("MediaPlayer.VIDEOS.ZusammenKochenFidl_10")
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenF11")
BTC.StopSound("StudioEventEmitter.STATIC.HerdAnstellen")
// --- Kueche - Outro ---
BTC.Run("MediaPlayer.VIDEOS.OutroF1")
@ -511,11 +550,13 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
// Name sagen
BTC.AddPossbileSpeechIntent("Kueche-Outro-U-6a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -538,6 +579,7 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -574,11 +616,13 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.AddPossbileSpeechIntent("Kueche-Outro-U-14a")
BTC.AddPossbileSpeechIntent("Kueche-Outro-U-14b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -614,6 +658,7 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -38,14 +38,11 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
// --- Im Grotto Essen - Intro ---
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
Composite(Marathon) {
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Wait(3)
BTC.Show("GO.HINTS.SitDownHint")
BTC.Wait(5)
BTC.Hide("GO.HINTS.SitDownHint")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.IntroF2")
@ -53,11 +50,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Intro-U-3a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -80,6 +79,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -90,11 +90,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Intro-U-5a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Intro-U-7b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -134,6 +136,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle5")
BTC.Run("MediaPlayer.VIDEOS.IntroF8")
}
@ -179,11 +182,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-14")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-16")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -231,6 +236,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk")
}
}
@ -248,11 +254,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -297,6 +305,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
}
}
@ -314,11 +323,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-5a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-5b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -341,6 +352,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -370,11 +382,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-9a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-9b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -397,6 +411,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -410,11 +425,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-12a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-12b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -440,6 +457,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -474,8 +492,6 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
}
}
BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G17")
BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle18")
@ -490,11 +506,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-24")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Grotto_Unterhaltung-U-27")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -544,6 +562,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle24")
BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle21")
@ -587,11 +606,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Outro-U-5a")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -614,6 +635,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -651,11 +673,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-14")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-16")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -703,6 +727,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk_Handmenu")
}
}
@ -736,11 +761,13 @@ Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen") {
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Essen-U-4b")
BTC.StartSpeechIntentRecognition()
BTC.Show("GO.HINTS.SpeakHint")
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.Hide("GO.HINTS.SpeakHint")
Composite(Selector) {
// -- Selector 1: Intent erkannt
@ -786,6 +813,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen_Handmenu")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerEs_GIdle3")
}

View File

@ -87,12 +87,19 @@ Tree("40_Puschlav_Story_C_Puschlav") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-1-9099_bahnhof-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav1")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -133,12 +140,19 @@ Tree("40_Puschlav_Story_C_Puschlav") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-1-9099_bahnhof-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav1")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -210,12 +224,19 @@ Tree("40_Puschlav_Story_C_Puschlav") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav2")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -263,12 +284,19 @@ Tree("40_Puschlav_Story_C_Puschlav") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav2")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -295,14 +323,19 @@ Tree("40_Puschlav_Story_C_Puschlav") {
}
// Ende
// ToDo: Jump Point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav5a")
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav5b")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
@ -347,12 +380,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-3a-8927_trichter1-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav3a")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -393,12 +433,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-3a-8927_trichter1-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav3a")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -461,12 +508,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-4a-8975_trichter2-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav4a")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -507,12 +561,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-4a-8975_trichter2-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav4a")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -657,12 +718,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-3b-8595_alpenrosen-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav3b")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -703,12 +771,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-3b-8595_alpenrosen-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav3b")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -771,12 +846,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-4b-8623_schafe-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav4b")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -817,12 +899,19 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
Composite(Sequence) {
BTC.CompareIntentID("Story_C_Puschlav-4b-8623_schafe-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
BTC.StopSound("StudioEventEmitter.XRInteractionHandsSetup.Puschlav4b")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("LoadScene.NEXT.10SBB")
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}

View File

@ -1159,13 +1159,12 @@ public class BTC : MonoBehaviour {
#region Entry Level Point
[Task]
public void GoToGrottoKueche()
public void CheckEntryLevel(int entryPoint)
{
if (Task.getState == NodeState.FirstRun)
{
if (EntryLevel.GoToGrottoKueche)
if (EntryLevel.entries[entryPoint] == true)
{
Debug.Log("Go to Grotto Kueche");
Task.SetSucceeded();
return;
}
@ -1178,21 +1177,24 @@ public class BTC : MonoBehaviour {
}
[Task]
public void GoToGrottoEssen()
public void SetEntryLevel(int entryPoint)
{
if (Task.getState == NodeState.FirstRun)
{
if (EntryLevel.GoToGrottoEssen)
{
Debug.Log("Go to Grotto Essen");
Task.SetSucceeded();
return;
}
else
{
Task.SetFailed();
return;
}
EntryLevel.entries[entryPoint] = true;
Task.SetSucceeded();
return;
}
}
[Task]
public void ResetEntryLevel(int entryPoint)
{
if (Task.getState == NodeState.FirstRun)
{
EntryLevel.entries[entryPoint] = false;
Task.SetSucceeded();
return;
}
}
#endregion

View File

@ -97,7 +97,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4665492558363379076, guid: 469d1529857538e4da7c17c9e4d96d4d, type: 3}
propertyPath: m_Name
value: GO.HINTS.SitDownHint
value: GO.HINTS.SitDownHint_384856
objectReference: {fileID: 0}
- target: {fileID: 4665492558363379076, guid: 469d1529857538e4da7c17c9e4d96d4d, type: 3}
propertyPath: m_IsActive
@ -158,7 +158,7 @@ MonoBehaviour:
handlers:
- {fileID: 6554549793886114932}
roomId: HINTS
uniqueId:
uniqueId: 384856
_name: GO.HINTS.GoXY
--- !u!114 &6554549793886114932
MonoBehaviour:
@ -239,7 +239,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4895372869441235191, guid: d699d09d13e9ec245949ae37ae2bd70a, type: 3}
propertyPath: m_Name
value: GO.HINTS.SpeakHint
value: GO.HINTS.SpeakHint_384820
objectReference: {fileID: 0}
- target: {fileID: 4895372869441235191, guid: d699d09d13e9ec245949ae37ae2bd70a, type: 3}
propertyPath: m_IsActive
@ -284,7 +284,7 @@ MonoBehaviour:
handlers:
- {fileID: 70811229103913477}
roomId: HINTS
uniqueId:
uniqueId: 384820
_name: GO.HINTS.GoXY
--- !u!114 &70811229103913477
MonoBehaviour:
@ -329,7 +329,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 1299432764967086791, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_Name
value: TextMeshPro.HINTS.SpeechErrorText
value: TextMeshPro.HINTS.SpeechErrorText_384832
objectReference: {fileID: 0}
- target: {fileID: 2791925709092458573, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_Enabled
@ -337,11 +337,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2855770860446126157, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_Name
value: TextMeshPro.HINTS.SpeechErrorTitle
value: TextMeshPro.HINTS.SpeechErrorTitle_384834
objectReference: {fileID: 0}
- target: {fileID: 5443533871061207843, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_Name
value: GO.HINTS.SpeechErrorHint
value: GO.HINTS.SpeechErrorHint_384836
objectReference: {fileID: 0}
- target: {fileID: 5443533871061207843, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_IsActive
@ -464,7 +464,7 @@ MonoBehaviour:
handlers:
- {fileID: 8497848385741771514}
roomId: HINTS
uniqueId:
uniqueId: 384836
_name: GO.HINTS.GoXY
--- !u!114 &8497848385741771514
MonoBehaviour:
@ -535,7 +535,7 @@ MonoBehaviour:
handlers:
- {fileID: 1445393780353350155}
roomId: HINTS
uniqueId:
uniqueId: 384832
_name: TextMeshPro.HINTS.TmpXY
--- !u!114 &1445393780353350155
MonoBehaviour:
@ -575,7 +575,7 @@ MonoBehaviour:
handlers:
- {fileID: 550826168687936813}
roomId: HINTS
uniqueId:
uniqueId: 384834
_name: TextMeshPro.HINTS.TmpXY
--- !u!114 &550826168687936813
MonoBehaviour:
@ -605,7 +605,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 1406182678084119885, guid: a1f3aaf6727b2d94baf36afc3aa10aa4, type: 3}
propertyPath: m_Name
value: GO.HINTS.StandUpHint
value: GO.HINTS.StandUpHint_384860
objectReference: {fileID: 0}
- target: {fileID: 1406182678084119885, guid: a1f3aaf6727b2d94baf36afc3aa10aa4, type: 3}
propertyPath: m_IsActive
@ -702,7 +702,7 @@ MonoBehaviour:
handlers:
- {fileID: 573030395164707458}
roomId: HINTS
uniqueId:
uniqueId: 384860
_name: GO.HINTS.GoXY
--- !u!114 &573030395164707458
MonoBehaviour:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -123,47 +123,7 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!21 &2379763
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &11313552
--- !u!21 &8212070
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -534,7 +494,7 @@ MonoBehaviour:
roomId: XRInteractionHandsSetup
uniqueId:
_name: StudioEventEmitter.XRInteractionHandsSetup.FMODAudio
--- !u!21 &80243549
--- !u!21 &82808062
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -655,15 +615,15 @@ PrefabInstance:
objectReference: {fileID: 1282194744}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalPosition.x
value: -0.464
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalPosition.y
value: 1.187
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalPosition.z
value: 0
value: -0.443
objectReference: {fileID: 0}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalRotation.w
@ -1542,6 +1502,46 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!21 &249836757
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!1 &319696528
GameObject:
m_ObjectHideFlags: 0
@ -1707,6 +1707,46 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!21 &322014500
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!114 &349650855 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6514177060466835402, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
@ -1994,6 +2034,46 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!21 &464026090
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!1 &478938930
GameObject:
m_ObjectHideFlags: 0
@ -2104,7 +2184,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 83676
instanceID: 1216370
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: 36780e00eead045f596f95dc169f59d0, type: 3}
@ -2299,47 +2379,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!21 &594253350
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &610223943
--- !u!21 &552867941
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -3070,7 +3110,87 @@ MonoBehaviour:
roomId: XRInteractionHandsSetup
uniqueId:
_name: StudioEventEmitter.XRInteractionHandsSetup.FMODAudio
--- !u!21 &995805394
--- !u!21 &1013662766
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &1021072630
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &1021735203
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -3410,46 +3530,6 @@ Material:
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &1282194744
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &1305054862
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -3870,6 +3950,86 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!21 &1410291256
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &1425115206
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!1001 &1438540714
PrefabInstance:
m_ObjectHideFlags: 0
@ -4073,6 +4233,46 @@ MonoBehaviour:
- Videos/Slideshow/5a-9003.JPG
- Videos/Slideshow/5b-8511.JPG
_imgList: []
--- !u!21 &1443835639
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!1 &1450407266
GameObject:
m_ObjectHideFlags: 0
@ -4238,7 +4438,7 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!21 &1502626485
--- !u!21 &1514801317
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -4725,46 +4925,6 @@ MonoBehaviour:
uniqueId:
_name: GO.UI.GoXY
--- !u!21 &1694779931
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &1696086499
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -4969,46 +5129,6 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!21 &1700912710
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!114 &1714886241 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6313271181203162305, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
@ -5317,46 +5437,6 @@ MonoBehaviour:
roomId: XRInteractionHandsSetup
uniqueId:
_name: StudioEventEmitter.XRInteractionHandsSetup.FMODAudio
--- !u!21 &1765359438
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!1 &1814113887
GameObject:
m_ObjectHideFlags: 0
@ -5632,46 +5712,6 @@ MonoBehaviour:
roomId: STATIC
uniqueId:
_name: GO.STATIC.GoXY
--- !u!21 &1865419539
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!4 &1867083648 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2097120032753052321, guid: ea46eac23ee4041d08d72ff651ddc3d2, type: 3}
@ -6460,46 +6500,6 @@ MonoBehaviour:
uniqueId:
_name: StudioEventEmitter.XRInteractionHandsSetup.FMODAudio
--- !u!21 &2100399307
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _OuterUV: {r: 0, g: 0, b: 1, a: 1}
- _WidthHeightRadius: {r: 100, g: 22, b: 17, a: 0}
m_BuildTextureStacks: []
--- !u!21 &2130787475
Material:
serializedVersion: 8
m_ObjectHideFlags: 0

View File

@ -4,6 +4,10 @@ using UnityEngine;
public static class EntryLevel
{
public static bool GoToGrottoKueche = false;
public static bool GoToGrottoEssen = false;
/* Entry Levels:
* 0: Minigame SBB
* 1: Minigame Grotto
* 2: Grotto Kochen Abbruch
*/
public static bool[] entries = new bool[3];
}

View File

@ -12,15 +12,8 @@ public class LevelManager : MonoBehaviour
{
public Button levelButton;
public string sceneName;
public string jumpPoint;
}
[SerializeField]
string jumpPointGrottoEssen;
[SerializeField]
string jumpPointGrottoKueche;
[SerializeField]
float fadeDuration = 2f;
@ -34,10 +27,6 @@ public class LevelManager : MonoBehaviour
private void Awake()
{
// Reset entry level points
EntryLevel.GoToGrottoKueche = false;
EntryLevel.GoToGrottoEssen = false;
// Loop through each level entry and hook up the button to load the correct scene
foreach (var entry in levels)
{
@ -48,10 +37,6 @@ public class LevelManager : MonoBehaviour
string sceneToLoad = entry.sceneName;
entry.levelButton.onClick.AddListener(() => OnClickLoadLevel(sceneToLoad));
string goToJumpPoint = entry.jumpPoint;
entry.levelButton.onClick.AddListener(() => SetEntryLevel(goToJumpPoint));
}
}
@ -98,24 +83,4 @@ public class LevelManager : MonoBehaviour
color.a = 1f;
_fadeMaterial.color = color;
}
public void SetEntryLevel(string entryPoint)
{
if (string.IsNullOrEmpty(entryPoint))
{
return;
}
if (entryPoint == jumpPointGrottoEssen)
{
EntryLevel.GoToGrottoEssen = true;
return;
}
if (entryPoint == jumpPointGrottoKueche)
{
EntryLevel.GoToGrottoKueche = true;
return;
}
}
}