Merge branch 'programming'

This commit is contained in:
Nadine Ganz 2025-08-06 12:07:47 +02:00
commit 911bcbbcab
7 changed files with 1521 additions and 715393 deletions

View File

@ -121,14 +121,14 @@ Tree("10_SBB_Zugabteil_Intro") {
BTC.CompareIntentID("Zugabteil-Exposition-U-4a")
BTC.ClearPossbileSpeechIntents()
// Load Scene: Story A Picknicken
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.20SBB")
}
Composite(Sequence) {
BTC.CompareIntentID("Zugabteil-Exposition-U-4b")
BTC.ClearPossbileSpeechIntents()
// Load Scene: Story B Grotto
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.30SBB")
}
}
@ -174,8 +174,18 @@ Tree("10_SBB_Zugabteil_Szenenwahl_Selection") {
// Story A + B besucht
BTC.StoryBVisited()
// --- Story Ende ---
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.StoryEndeF1")
Composite(Marathon) {
Composite(Sequence) {
BTC.Show("GO.HINTS.SitDownHint")
BTC.Wait(5)
BTC.Hide("GO.HINTS.SitDownHint")
}
Composite(Sequence) {
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.StoryEndeF1")
}
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.00Menu")
}
@ -184,9 +194,11 @@ Tree("10_SBB_Zugabteil_Szenenwahl_Selection") {
// Story A besucht
// Story B nicht besucht
// --- Repetition Intro B ---
BTC.Show("GO.HINTS.SitDownHint")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.RepetitionIntroBF1")
BTC.Run("MediaPlayer.VIDEOS.RepetitionIntroBFi_2")
BTC.Hide("GO.HINTS.SitDownHint")
RunTree("10_SBB_Zugabteil_Szenenwahl")
}
}
@ -199,9 +211,11 @@ Tree("10_SBB_Zugabteil_Szenenwahl_Selection") {
// Story B besucht
// Story A nicht besucht
// --- Repetition Intro A ---
BTC.Show("GO.HINTS.SitDownHint")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.RepetitionIntroAF1")
BTC.Run("MediaPlayer.VIDEOS.RepetitionIntroAFi_2")
BTC.Hide("GO.HINTS.SitDownHint")
RunTree("10_SBB_Zugabteil_Szenenwahl")
}
@ -246,14 +260,14 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
BTC.CompareIntentID("Zugabteil-Exposition-U-4a")
BTC.ClearPossbileSpeechIntents()
// Load Scene: Story A Picknicken
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.20SBB")
}
Composite(Sequence) {
BTC.CompareIntentID("Zugabteil-Exposition-U-4b")
BTC.ClearPossbileSpeechIntents()
// Load Scene: Story B Grotto
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.30SBB")
}
}
@ -322,7 +336,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
}
// Load Scene: Story A Picknicken
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.20SBB")
}
Composite(Sequence) {
@ -338,7 +352,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
}
// Load Scene: Story B Grotto
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("LoadScene.NEXT.30SBB")
}
} // Race Buttons

View File

@ -34,10 +34,7 @@
Tree("20_SBB_Story_A_Picknicken_Start") {
Composite(Sequence) {
Composite(Marathon) {
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("MediaPlayer.VIDEOS.StartF1")
}
BTC.Run("MediaPlayer.VIDEOS.StartF1")
BTC.Run("MediaPlayer.VIDEOS.StartFidle2")

View File

@ -42,10 +42,12 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Show("GO.HINTS.StandUpHint")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroF2")
}
Composite(Marathon) {
BTC.Hide("GO.HINTS.StandUpHint")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroFidl_03")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
}
@ -66,11 +68,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_09")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Intro-U-9")
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
@ -93,6 +97,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -102,11 +107,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_11")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Intro-U-11")
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
@ -129,6 +136,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -138,11 +146,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_13")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Intro-U-13")
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
@ -165,6 +175,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -178,11 +189,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Intro-U-16a")
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
@ -207,6 +220,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
// --- Story A Picknicken - Nachfrage Bestellung ---
Composite(Marathon) {
@ -222,11 +236,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Run("MediaPlayer.VIDEOS.NachfrageBestellun_VIdle4")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Nachfrage_Bestellung-U-4a")
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
@ -251,6 +267,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
// --- Story A Picknicken - Bestellung Begleiter Beide ---
Composite(Marathon) {
@ -328,11 +345,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnVid_03")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Bezahlen_einzeln-U-3")
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
@ -355,6 +374,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -386,11 +406,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnVid_07")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Bezahlen_einzeln-U-7a")
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("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -482,11 +505,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
BTC.Run("MediaPlayer.VIDEOS.DankEinkaufVidle3")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Dank_Einkauf-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
@ -509,6 +534,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -565,8 +591,6 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle17")
// Init Position User
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -0.718, 0, -0.28)
BTC.SetPosition("GO.HANDMENU", -0.85, 0, -0.28)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", -90.0)
BTC.RotateToAngle("GO.HANDMENU", -90.0)
}
@ -607,11 +631,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Outro-U-11a")
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
@ -634,6 +660,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -642,11 +669,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Outro-U-13a")
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
@ -669,6 +698,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -698,11 +728,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Outro-U-25")
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
@ -725,6 +757,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}
@ -741,11 +774,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Outro-U-29a")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken-Baeckerei_Outro-U-29b")
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
@ -768,6 +803,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.Hide("GO.HINTS.SpeakHint")
}
}

View File

@ -35,10 +35,7 @@
Tree("30_SBB_Story_B_Grotto_Start") {
Composite(Sequence) {
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.StartF1")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Run("MediaPlayer.VIDEOS.StartF1")
BTC.Run("MediaPlayer.VIDEOS.StartFidle2")
BTC.AddPossbileSpeechIntent("Story_B_Grotto-Start-U-2a")

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