Update Baeckerei Mitnehmen, Bezahlen_Einzeln, Nachfrage_Bezahlung

This commit is contained in:
Nadine Ganz 2025-07-18 13:51:22 +02:00
parent e693d1858d
commit e8574da66b
8 changed files with 407103 additions and 268690 deletions

View File

@ -13,6 +13,7 @@
Composite(Sequence) { Composite(Sequence) {
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro")
//RunTree("22_Geschaeft_Story_A_Picknicken_Mitnehmen")
} }
} }
@ -271,13 +272,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV6") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV6")
Composite(Marathon) { Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV10") // Loop BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle4") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle4")
} }
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideF11") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideF11")
Composite(Marathon) { Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideV10") // Loop BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle12") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle12")
} }
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV13") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideV13")
@ -286,11 +287,17 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Intro") {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle12") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideFIdle12")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14") 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 Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideF15")
Composite(Sequence) {
BTC.Wait(2)
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
RunTree("22_Geschaeft_Baeckerei_Outro") }
}
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
} }
} }
} // erste Race user sagt nichts } // erste Race user sagt nichts
@ -304,18 +311,20 @@ Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
Composite(Marathon) { Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_VIdle4") BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_VIdle4")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_FIdle01") BTC.Hide("MediaPlayer.VIDEOS.NachfrageBestellun_FIdle01")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_15") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_15")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
} }
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.Run("MediaPlayer.VIDEOS.MitnehmenV1")
// --- Story A Picknicken - Bezahlen einzeln ---
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroFidl_16")
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnFid_01")
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnV2")
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnVid_03")
BTC.Show("Depthkit.VIDEOS.Mitnehmen1StoryAPi") BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.Run("Depthkit.VIDEOS.Mitnehmen1StoryAPi")
BTC.Hide("Depthkit.VIDEOS.Mitnehmen1StoryAPi")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Mitnehmen.2")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -347,51 +356,125 @@ Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
} }
} }
BTC.Show("Depthkit.VIDEOS.Mitnehmen5StoryAPi") BTC.Hide("MediaPlayer.VIDEOS.BezahleneinzelnVid_03")
BTC.Run("Depthkit.VIDEOS.Mitnehmen5StoryAPi") BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnV4")
BTC.Hide("Depthkit.VIDEOS.Mitnehmen5StoryAPi") BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnVid_05")
// --- Story A Picknicken - Bezahlen einzeln --- // Bezahlung mit Handy User
BTC.Show("Depthkit.VIDEOS.Bezahleneinzeln1St")
BTC.Run("Depthkit.VIDEOS.Bezahleneinzeln1St")
BTC.Hide("Depthkit.VIDEOS.Bezahleneinzeln1St")
// ToDo: Bezahlung mit Handy User
Composite(Race) { Composite(Race) {
Composite(Sequence) { Composite(Sequence) {
BTC.Set("Collider.STATIC.Kartenlesegeraet", "otherTag", "Smartphone") BTC.Set("Collider.STATIC.Kartenlesegeraet", "otherTag", "Smartphone")
BTC.Run("Collider.STATIC.Kartenlesegeraet") BTC.Run("Collider.STATIC.Kartenlesegeraet")
BTC.SetBool("UserPayed")
} }
Composite(Sequence) { Composite(Sequence) {
BTC.Wait(5) BTC.Wait(5)
BTC.SetBool("UserPayed", false)
}
}
// Check if user payed
Composite(Race) {
Composite(Sequence) {
BTC.CompareBool("UserPayed")
BTC.Hide("MediaPlayer.VIDEOS.BezahleneinzelnVid_05")
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnV6")
BTC.Run("MediaPlayer.VIDEOS.BezahleneinzelnVid_07")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
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()
}
}
RunTree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf")
}
Composite(Sequence) {
// --- Story A Picknicken - Nachfrage Bezahlung --- // --- Story A Picknicken - Nachfrage Bezahlung ---
BTC.Show("Depthkit.VIDEOS.NachfrageBezahlung_01") BTC.CompareBool("UserPayed", false)
BTC.Run("Depthkit.VIDEOS.NachfrageBezahlung_01") BTC.Hide("MediaPlayer.VIDEOS.BezahleneinzelnFid_01")
BTC.Hide("Depthkit.VIDEOS.NachfrageBezahlung_01") BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
BTC.Hide("MediaPlayer.VIDEOS.BezahleneinzelnVid_05")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_V2")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_VIdle03")
// Bezahlung Handy User
Composite(Race) { Composite(Race) {
Composite(Sequence) { Composite(Sequence) {
BTC.Set("Collider.STATIC.Kartenlesegeraet", "otherTag", "Smartphone") BTC.Set("Collider.STATIC.Kartenlesegeraet", "otherTag", "Smartphone")
BTC.Run("Collider.STATIC.Kartenlesegeraet") BTC.Run("Collider.STATIC.Kartenlesegeraet")
BTC.SetBool("UserPayed2")
} }
Composite(Sequence) { Composite(Sequence) {
BTC.Wait(5) BTC.Wait(5)
BTC.SetBool("UserPayed2", false)
}
} // Race
BTC.Show("Depthkit.VIDEOS.NachfrageBezahlung_03") Composite(Race) {
BTC.Run("Depthkit.VIDEOS.NachfrageBezahlung_03") Composite(Sequence) {
BTC.Hide("Depthkit.VIDEOS.NachfrageBezahlung_03") BTC.CompareBool("UserPayed2")
} RunTree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf")
}
}
} }
BTC.Hide("Depthkit.VIDEOS.NachfrageBezahlung_01") Composite(Sequence) {
BTC.Hide("Depthkit.VIDEOS.NachfrageBezahlung_03") BTC.CompareBool("UserPayed2", false)
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
// --- Story A Picknicken - Dank Einkauf --- BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_VIdle03")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_F4")
BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_F6")
}
}
RunTree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf")
} // Sequence User not payed
} // Race Check User payed first time
}
}
Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
// --- Story A Picknicken - Dank Einkauf ---
Composite(Sequence) {
Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.BezahleneinzelnVid_07")
BTC.Hide("MediaPlayer.VIDEOS.BezahleneinzelnFid_01")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_VIdle03")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
}
// --- old
BTC.Show("Depthkit.VIDEOS.DankEinkauf1StoryA") BTC.Show("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Run("Depthkit.VIDEOS.DankEinkauf1StoryA") BTC.Run("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Hide("Depthkit.VIDEOS.DankEinkauf1StoryA") BTC.Hide("Depthkit.VIDEOS.DankEinkauf1StoryA")
@ -466,12 +549,12 @@ Tree("22_Geschaeft_Story_A_Picknicken_Mitnehmen") {
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_10") BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_10")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
RunTree("22_Geschaeft_Baeckerei_Outro") RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
} }
} }
Tree("22_Geschaeft_Baeckerei_Outro") { Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
// --- Baeckerei Outro --- // --- Story A Picknicken - Baeckerei Outro ---
Composite(Sequence) { Composite(Sequence) {
Composite(Marathon) { Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle14")

File diff suppressed because it is too large Load Diff