Merge branch 'programming'

This commit is contained in:
Nadine Ganz 2025-08-05 15:46:20 +02:00
commit 737eda3e30
15 changed files with 750718 additions and 139194 deletions

View File

@ -11,12 +11,24 @@
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")
@ -201,6 +213,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")
@ -263,10 +276,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

@ -11,8 +11,26 @@
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.Wait(5)
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) {
@ -37,7 +55,6 @@ 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.Hide("MediaPlayer.VIDEOS.IntroFidle1")
@ -310,10 +327,6 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
// --- Bilder Bergell ---
// TODO: Bergell
//BTC.Run("LoadScene.NEXT.35Slideshow")
// Fallback Button
Composite(Sequence) {
Composite(Marathon) {
@ -503,12 +516,10 @@ 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) {
@ -523,10 +534,19 @@ 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")

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")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.AbbruchF1")
// TODO: Define Jump Point to grotto 1
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

@ -87,13 +87,20 @@ 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")
}
}
}
}
@ -133,13 +140,20 @@ 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")
}
}
}
}
@ -210,13 +224,20 @@ 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")
}
}
}
}
@ -263,13 +284,20 @@ 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")
}
}
}
}
@ -295,15 +323,20 @@ 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") {
@ -347,13 +380,20 @@ 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")
}
}
}
}
@ -393,13 +433,20 @@ 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")
}
}
}
}
@ -461,13 +508,20 @@ 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")
}
}
}
}
@ -507,13 +561,20 @@ 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")
}
}
}
}
@ -657,13 +718,20 @@ 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")
}
}
}
}
@ -703,13 +771,20 @@ 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,13 +846,20 @@ 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")
}
}
}
}
@ -817,13 +899,20 @@ 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,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");
EntryLevel.entries[entryPoint] = true;
Task.SetSucceeded();
return;
}
else
{
Task.SetFailed();
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

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;
}
}
}