Compare commits

..

No commits in common. "3ef821fdace8aec1fd47a15d2a60213fa8fdfe0b" and "727e33f5e394cb99f0ee95d65bbc7fa00d8fbadb" have entirely different histories.

20 changed files with 141601 additions and 791634 deletions

View File

@ -11,24 +11,12 @@
BTC.SetBool("error")
}
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")
}
}
}
Composite(Sequence) {
BTC.CompareBool("error")
@ -62,13 +50,11 @@ 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
@ -91,7 +77,6 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -102,13 +87,11 @@ 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
@ -151,7 +134,6 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.ExpositionFidle4")
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("10_SBB_Zugabteil_Szenenwahl")
}
}
@ -219,7 +201,6 @@ 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")
@ -227,13 +208,11 @@ 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
@ -273,7 +252,6 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -285,17 +263,10 @@ 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,13 +43,11 @@ 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
@ -72,7 +70,6 @@ Tree("20_SBB_Story_A_Picknicken_Start") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -44,13 +44,11 @@ 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
@ -73,7 +71,6 @@ Tree("30_SBB_Story_B_Grotto_Start") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -11,29 +11,8 @@
BTC.SetBool("error")
}
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")
}
//RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
}
Composite(Sequence) {
@ -58,10 +37,8 @@ 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")
@ -70,13 +47,11 @@ 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
@ -116,7 +91,6 @@ 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")
}
@ -138,14 +112,12 @@ 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()
}
@ -162,7 +134,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -172,14 +143,12 @@ 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()
}
@ -196,7 +165,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -204,14 +172,12 @@ 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()
}
@ -228,7 +194,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -237,13 +202,11 @@ 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
@ -272,12 +235,9 @@ 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) {
@ -300,7 +260,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
BTC.Fail()
}
@ -350,7 +309,10 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
// --- Bilder Bergell ---
// TODO: Bergell
//BTC.Run("LoadScene.NEXT.35Slideshow")
// Fallback Button
Composite(Sequence) {
@ -397,14 +359,12 @@ 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()
}
@ -421,7 +381,6 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -436,14 +395,12 @@ 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()
}
@ -460,7 +417,6 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
BTC.CompareUserSpeechInputStarted(false)
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -482,14 +438,12 @@ 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()
}
@ -507,7 +461,6 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -515,14 +468,12 @@ 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()
}
@ -540,7 +491,6 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -553,19 +503,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
// Initialization
Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.124)
BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.124)
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")
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")
@ -578,32 +523,21 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
Composite(Sequence) {
BTC.Run("NamedGrabEvent.INTERACTABLES.VRBrille")
BTC.SetEntryLevel(1)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.40Puschlav")
// TODO: Load Minigame
}
}
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()
}
@ -621,7 +555,6 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto_Teil2") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -58,14 +58,12 @@ 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")
@ -87,7 +85,6 @@ 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")
@ -95,14 +92,12 @@ 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")
@ -122,7 +117,6 @@ 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")
@ -155,16 +149,8 @@ Tree("32_Grotto_Kueche_Intro") {
Composite(Sequence) {
// --- Kueche - Abbruch ---
BTC.Hide("MediaPlayer.VIDEOS.ZwiebelnschneidenF_Idle02")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.AbbruchF1")
Composite(Sequence) {
BTC.Wait(7)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
}
}
BTC.SetEntryLevel(1)
// TODO: Define Jump Point to grotto 1
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
@ -175,15 +161,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")
BTC.Run("StudioEventEmitter.STATIC.HerdAnstellen")
// Herd anstellen - ToDo: Handling in Story?
//BTC.Run("NamedGrabEvent.STATIC.Herdschalter")
//BTC.Run("StudioEventEmitter.STATIC.HerdplatteAnstelle")
// Zwiebeln in Topf geben
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "SlicedZwiebel")
@ -199,13 +185,11 @@ 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
@ -273,7 +257,6 @@ Tree("32_Grotto_Kueche_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
// Fallback Button
Composite(Marathon) {
@ -321,13 +304,11 @@ 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
@ -354,7 +335,6 @@ Tree("32_Grotto_Kueche_Interesse_Kochen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
@ -372,13 +352,11 @@ 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
@ -435,7 +413,6 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
}
}
@ -455,20 +432,20 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.Run("MediaPlayer.VIDEOS.ZusammenKochenFidl_02")
// Reis in Topf geben
BTC.Enable("NamedOutline.INTERACTABLES.Risotto")
BTC.Run("Particle.INTERACTABLES.Risotto")
BTC.Run("GO/Particle.INTERACTABLES.Risotto")
BTC.Show("GO.STATIC.RezeptCheckmark3")
BTC.Disable("NamedOutline.INTERACTABLES.Risotto")
BTC.Wait(5)
// Ruehren
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Loeffel")
BTC.Run("Collider.INTERACTABLES.Topf")
BTC.Wait(2)
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")
@ -489,45 +466,29 @@ 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")
@ -550,13 +511,11 @@ 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
@ -579,7 +538,6 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -616,13 +574,11 @@ 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
@ -658,7 +614,6 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -38,11 +38,14 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
// --- Im Grotto Essen - Intro ---
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Show("GO.HINTS.SitDownHint")
BTC.Wait(5)
BTC.Hide("GO.HINTS.SitDownHint")
Composite(Marathon) {
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Wait(3)
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.IntroF2")
@ -50,13 +53,11 @@ 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
@ -79,7 +80,6 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -90,13 +90,11 @@ 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
@ -136,7 +134,6 @@ 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")
}
@ -182,13 +179,11 @@ 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
@ -236,7 +231,6 @@ 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")
}
}
@ -254,13 +248,11 @@ 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
@ -305,7 +297,6 @@ 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")
}
}
@ -323,13 +314,11 @@ 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
@ -352,7 +341,6 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -382,13 +370,11 @@ 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
@ -411,7 +397,6 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -425,13 +410,11 @@ 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
@ -457,7 +440,6 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -492,6 +474,8 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
}
}
BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_G17")
BTC.Run("MediaPlayer.VIDEOS.GrottoUnterhaltung_GIdle18")
@ -506,13 +490,11 @@ 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
@ -562,7 +544,6 @@ 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")
@ -606,13 +587,11 @@ 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
@ -635,7 +614,6 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -673,13 +651,11 @@ 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
@ -727,7 +703,6 @@ 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")
}
}
@ -761,13 +736,11 @@ 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
@ -813,7 +786,6 @@ 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,20 +87,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -140,20 +133,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -224,20 +210,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -284,20 +263,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -323,20 +295,15 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
@ -380,20 +347,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -433,20 +393,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -508,20 +461,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -561,20 +507,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -718,20 +657,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -771,20 +703,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -846,20 +771,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}
@ -899,20 +817,13 @@ 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")
}
Composite(Selector) {
Composite(Sequence) {
BTC.CheckEntryLevel(0)
BTC.Run("LoadScene.NEXT.10SBB")
}
BTC.Run("LoadScene.NEXT.32Grotto1")
}
}
}
}

View File

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

View File

@ -97,7 +97,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4665492558363379076, guid: 469d1529857538e4da7c17c9e4d96d4d, type: 3}
propertyPath: m_Name
value: GO.HINTS.SitDownHint_384856
value: GO.HINTS.SitDownHint
objectReference: {fileID: 0}
- target: {fileID: 4665492558363379076, guid: 469d1529857538e4da7c17c9e4d96d4d, type: 3}
propertyPath: m_IsActive
@ -158,7 +158,7 @@ MonoBehaviour:
handlers:
- {fileID: 6554549793886114932}
roomId: HINTS
uniqueId: 384856
uniqueId:
_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_384820
value: GO.HINTS.SpeakHint
objectReference: {fileID: 0}
- target: {fileID: 4895372869441235191, guid: d699d09d13e9ec245949ae37ae2bd70a, type: 3}
propertyPath: m_IsActive
@ -284,7 +284,7 @@ MonoBehaviour:
handlers:
- {fileID: 70811229103913477}
roomId: HINTS
uniqueId: 384820
uniqueId:
_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_384832
value: TextMeshPro.HINTS.SpeechErrorText
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_384834
value: TextMeshPro.HINTS.SpeechErrorTitle
objectReference: {fileID: 0}
- target: {fileID: 5443533871061207843, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_Name
value: GO.HINTS.SpeechErrorHint_384836
value: GO.HINTS.SpeechErrorHint
objectReference: {fileID: 0}
- target: {fileID: 5443533871061207843, guid: 533729b907ee1354f8dc3bca4ad67ab5, type: 3}
propertyPath: m_IsActive
@ -464,7 +464,7 @@ MonoBehaviour:
handlers:
- {fileID: 8497848385741771514}
roomId: HINTS
uniqueId: 384836
uniqueId:
_name: GO.HINTS.GoXY
--- !u!114 &8497848385741771514
MonoBehaviour:
@ -535,7 +535,7 @@ MonoBehaviour:
handlers:
- {fileID: 1445393780353350155}
roomId: HINTS
uniqueId: 384832
uniqueId:
_name: TextMeshPro.HINTS.TmpXY
--- !u!114 &1445393780353350155
MonoBehaviour:
@ -575,7 +575,7 @@ MonoBehaviour:
handlers:
- {fileID: 550826168687936813}
roomId: HINTS
uniqueId: 384834
uniqueId:
_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_384860
value: GO.HINTS.StandUpHint
objectReference: {fileID: 0}
- target: {fileID: 1406182678084119885, guid: a1f3aaf6727b2d94baf36afc3aa10aa4, type: 3}
propertyPath: m_IsActive
@ -702,7 +702,7 @@ MonoBehaviour:
handlers:
- {fileID: 573030395164707458}
roomId: HINTS
uniqueId: 384860
uniqueId:
_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,7 +123,47 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!21 &8212070
--- !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
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -494,7 +534,7 @@ MonoBehaviour:
roomId: XRInteractionHandsSetup
uniqueId:
_name: StudioEventEmitter.XRInteractionHandsSetup.FMODAudio
--- !u!21 &82808062
--- !u!21 &80243549
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -615,15 +655,15 @@ PrefabInstance:
objectReference: {fileID: 1282194744}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalPosition.x
value: 0
value: -0.464
objectReference: {fileID: 0}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalPosition.y
value: 0
value: 1.187
objectReference: {fileID: 0}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalPosition.z
value: -0.443
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5649109579377763916, guid: 23016bb1f9755411a82e6afddfee4016, type: 3}
propertyPath: m_LocalRotation.w
@ -1502,46 +1542,6 @@ 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,46 +1707,6 @@ 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}
@ -2034,46 +1994,6 @@ 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
@ -2184,7 +2104,7 @@ MonoBehaviour:
overrideLogStringDisplay: 0
overrideDebugInternalActive: 0
overrideDebugChangesActive: 0
instanceID: 1216370
instanceID: 83676
__behaviourTreeGenerator: {fileID: 0}
taskScripts:
- {fileID: 4900000, guid: 36780e00eead045f596f95dc169f59d0, type: 3}
@ -2379,7 +2299,47 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab2a8bf28f111456caf08afcd0888bf5, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!21 &552867941
--- !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
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -3110,87 +3070,7 @@ MonoBehaviour:
roomId: XRInteractionHandsSetup
uniqueId:
_name: StudioEventEmitter.XRInteractionHandsSetup.FMODAudio
--- !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
--- !u!21 &995805394
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -3530,6 +3410,46 @@ 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
@ -3950,86 +3870,6 @@ 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
@ -4233,46 +4073,6 @@ 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
@ -4438,7 +4238,7 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!21 &1514801317
--- !u!21 &1502626485
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
@ -4925,6 +4725,46 @@ 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
@ -5129,6 +4969,46 @@ 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}
@ -5437,6 +5317,46 @@ 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
@ -5712,6 +5632,46 @@ 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}
@ -6500,6 +6460,46 @@ 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,10 +4,6 @@ using UnityEngine;
public static class EntryLevel
{
/* Entry Levels:
* 0: Minigame SBB
* 1: Minigame Grotto
* 2: Grotto Kochen Abbruch
*/
public static bool[] entries = new bool[3];
public static bool GoToGrottoKueche = false;
public static bool GoToGrottoEssen = false;
}

View File

@ -12,8 +12,15 @@ public class LevelManager : MonoBehaviour
{
public Button levelButton;
public string sceneName;
public string jumpPoint;
}
[SerializeField]
string jumpPointGrottoEssen;
[SerializeField]
string jumpPointGrottoKueche;
[SerializeField]
float fadeDuration = 2f;
@ -27,6 +34,10 @@ 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)
{
@ -37,6 +48,10 @@ public class LevelManager : MonoBehaviour
string sceneToLoad = entry.sceneName;
entry.levelButton.onClick.AddListener(() => OnClickLoadLevel(sceneToLoad));
string goToJumpPoint = entry.jumpPoint;
entry.levelButton.onClick.AddListener(() => SetEntryLevel(goToJumpPoint));
}
}
@ -83,4 +98,24 @@ 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;
}
}
}