Update Baeckerei Intro, Nachfrage_Bestellung, Bestellung_Beide

This commit is contained in:
Nadine Ganz 2025-07-17 19:41:37 +02:00
parent 885a58a199
commit e693d1858d
2 changed files with 360743 additions and 788 deletions

View File

@ -12,9 +12,7 @@
} }
Composite(Sequence) { Composite(Sequence) {
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black") RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro")
RunTree("22_Geschaeft_Story_A_Picknicken_Intro")
//RunTree("22_Geschaeft_Baeckerei_Outro")
} }
} }
@ -36,17 +34,146 @@
} }
} }
Tree("22_Geschaeft_Story_A_Picknicken_Intro") { Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
Composite(Sequence) { Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.Intro1StoryAPickni") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.Intro1StoryAPickni") BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.Hide("Depthkit.VIDEOS.Intro1StoryAPickni") BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroF2")
}
BTC.Show("Depthkit.VIDEOS.Intro2StoryAPickni") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.Intro2StoryAPickni") BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroFidl_03")
BTC.Hide("Depthkit.VIDEOS.Intro2StoryAPickni") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
}
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroV4")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Intro.3") Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_06")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_03")
}
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroF5")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroFidl_07")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_06")
}
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroV8")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_09")
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-2") // TODO: Update Intent ID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
Composite(Selector) {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_09")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroV10")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_11")
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-2") // TODO: Update Intent ID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
Composite(Selector) {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_11")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroV12")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_13")
BTC.AddPossbileSpeechIntent("Zugabteil-Exposition-U-2") // TODO: Update Intent ID
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
Composite(Selector) {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
}
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_13")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroV14")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_15")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_07")
}
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Intro.3") // TODO: Update Intent ID
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -79,11 +206,18 @@ Tree("22_Geschaeft_Story_A_Picknicken_Intro") {
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
// --- Story A Picknicken - Nachfrage Bestellung --- // --- Story A Picknicken - Nachfrage Bestellung ---
BTC.Show("Depthkit.VIDEOS.NachfrageBestellun_01") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.NachfrageBestellun_01") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.Hide("Depthkit.VIDEOS.NachfrageBestellun_01") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_15")
}
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.NachfrageBestellun_FIdle01")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBestellun_V3")
}
BTC.Run("MediaPlayer.VIDEOS.NachfrageBestellun_VIdle4")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -116,34 +250,45 @@ Tree("22_Geschaeft_Story_A_Picknicken_Intro") {
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
// --- Story A Picknicken - Bestellung Begleiter Beide --- // --- Story A Picknicken - Bestellung Begleiter Beide ---
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide01") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide01") BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_VIdle4")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide01") BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_FIdle01")
}
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide02") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide02") Composite(Sequence) {
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide02") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV5")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_06")
}
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide03") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideF3")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide03") }
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide03")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide04") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide04") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_06")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide04") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle4")
}
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV6")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide05") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide05") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV10") // Loop
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide05") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle4")
}
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideF11")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide07") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide07") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideV10") // Loop
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide07") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle12")
}
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV13")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_Beide06") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_Beide06") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle12")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_Beide06") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14")
}
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideF15") // TODO: Pfad in Unity aendern
// TODO: evtl. Marathon fur Fadeout mit F Video
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
RunTree("22_Geschaeft_Baeckerei_Outro") RunTree("22_Geschaeft_Baeckerei_Outro")
} }
@ -156,6 +301,16 @@ Tree("22_Geschaeft_Story_A_Picknicken_Intro") {
Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") { Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
// --- Story A Picknicken - Mitnehmen --- // --- Story A Picknicken - Mitnehmen ---
Composite(Sequence) { Composite(Sequence) {
Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_VIdle4")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_FIdle01")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_15")
}
BTC.Show("Depthkit.VIDEOS.Mitnehmen1StoryAPi") BTC.Show("Depthkit.VIDEOS.Mitnehmen1StoryAPi")
BTC.Run("Depthkit.VIDEOS.Mitnehmen1StoryAPi") BTC.Run("Depthkit.VIDEOS.Mitnehmen1StoryAPi")
BTC.Hide("Depthkit.VIDEOS.Mitnehmen1StoryAPi") BTC.Hide("Depthkit.VIDEOS.Mitnehmen1StoryAPi")
@ -319,11 +474,11 @@ Tree("22_Geschaeft_Baeckerei_Outro") {
// --- Baeckerei Outro --- // --- Baeckerei Outro ---
Composite(Sequence) { Composite(Sequence) {
Composite(Marathon) { Composite(Marathon) {
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.068, 0, 1.3) BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14")
BTC.SetPosition("GO.HANDMENU", -3.068, 0, 1.3)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
BTC.RotateToAngle("GO.HANDMENU", 0.0)
} }
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
BTC.Show("Depthkit.VIDEOS.0BaeckereiOutro") BTC.Show("Depthkit.VIDEOS.0BaeckereiOutro")

File diff suppressed because it is too large Load Diff