Update Grotto3 Intro + Bestellung_Getraenke

This commit is contained in:
Nadine Ganz 2025-07-30 20:49:46 +02:00
parent 92fc58577e
commit 7a3b65f45a
3 changed files with 5383 additions and 594 deletions

View File

@ -12,7 +12,6 @@
}
Composite(Sequence) {
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
RunTree("32_Grotto_Im_Grotto_Essen_Intro")
}
}
@ -38,20 +37,21 @@
Tree("32_Grotto_Im_Grotto_Essen_Intro") {
// --- Im Grotto Essen - Intro ---
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
Composite(Marathon) {
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
BTC.Show("Depthkit.VIDEOS.Intro1ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro1ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro1ImGrottoesse")
BTC.Wait(3)
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
BTC.Run("MediaPlayer.VIDEOS.IntroF2")
BTC.Show("Depthkit.VIDEOS.Intro2ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro2ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro2ImGrottoesse")
BTC.Run("MediaPlayer.VIDEOS.IntroFidle3")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Intro.3")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Intro-U-3a")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -83,32 +83,12 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
}
}
BTC.Show("Depthkit.VIDEOS.Intro6ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro6ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro6ImGrottoesse")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
BTC.Run("MediaPlayer.VIDEOS.IntroF4")
BTC.Run("MediaPlayer.VIDEOS.IntroFidle5")
BTC.Show("Depthkit.VIDEOS.Intro7ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro7ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro7ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro8ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro8ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro8ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro9ImGrottoesse")
BTC.Run("Depthkit.VIDEOS.Intro9ImGrottoesse")
BTC.Hide("Depthkit.VIDEOS.Intro9ImGrottoesse")
BTC.Show("Depthkit.VIDEOS.Intro10ImGrottoess")
BTC.Run("Depthkit.VIDEOS.Intro10ImGrottoess")
BTC.Hide("Depthkit.VIDEOS.Intro10ImGrottoess")
// --- Im Grotto Essen - Zweite Bestellung ---
BTC.Show("Depthkit.VIDEOS.NachfrageKellner1I")
BTC.Run("Depthkit.VIDEOS.NachfrageKellner1I")
BTC.Hide("Depthkit.VIDEOS.NachfrageKellner1I")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Zweite_Bestellung.2")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Intro-U-5a")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Intro-U-7b")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -120,12 +100,29 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
BTC.SpeechIntentRecognized()
BTC.ClearPossbileSpeechIntents()
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Intro-U-5a")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle5")
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
}
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Intro-U-7b")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle5")
BTC.Run("MediaPlayer.VIDEOS.IntroF8")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle5")
BTC.Run("MediaPlayer.VIDEOS.IntroF8")
}
}
}
@ -137,21 +134,209 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
// Fallback Button
Composite(Marathon) {
BTC.Show("GO.GO.SpeechButton")
BTC.Set("TextMeshPro.GO.Option1Button", "text", "una gazzosa")
BTC.Show("GO.GO.Option1Button")
}
BTC.Run("NamedEventTrigger.GO.Option1Button")
BTC.Hide("GO.GO.Option1Button")
BTC.Hide("GO.GO.SpeechButton")
BTC.Hide("GO.GO.SpeechOptions")
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle5")
BTC.Run("MediaPlayer.VIDEOS.IntroF8")
}
}
BTC.Run("MediaPlayer.VIDEOS.IntroFidle7")
// --- Im Grotto Essen - Bestellung Getraenk ---
BTC.Wait(3)
Composite(Marathon) {
Composite(Sequence) {
BTC.Wait(2)
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle7")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_Fidle2")
}
Composite(Sequence) {
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G3")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle4")
}
}
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_Fidle2")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_F5")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_Fidle6")
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle4")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G7")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle8")
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_Fidle6")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_F9")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_FIdle10")
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle8")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G11")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle12")
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_FIdle10")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_FIdle13")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-13")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-14")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-16")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
Composite(Selector) {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
BTC.SpeechIntentRecognized()
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Getraenk-U-13")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle12")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G14")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Getraenk-U-14")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle12")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G15")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Getraenk-U-16")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle12")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G17")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk")
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk")
}
}
// --- Im Grotto Essen - Bestellung Essen ---
Composite(Marathon) {
BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerGe_GIdle2")
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
// G sagt was
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_FIdle13")
}
}
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk") {
Composite(Sequence) {
BTC.Hide("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle12")
BTC.Run("MediaPlayer.VIDEOS.NachfrageKellnerGe_G1")
BTC.Run("MediaPlayer.VIDEOS.NachfrageKellnerGe_GIdle2")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-13")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-14")
BTC.AddPossbileSpeechIntent("Im_Grotto_essen-Bestellung_Getraenk-U-16")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) {
BTC.UserStartedSpeechInput()
Composite(Selector) {
// -- Selector 1: Intent erkannt
Composite(Sequence) {
BTC.SpeechIntentRecognized()
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Getraenk-U-13")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerGe_GIdle2")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G14")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Getraenk-U-14")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerGe_GIdle2")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G15")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
Composite(Sequence) {
BTC.CompareIntentID("Im_Grotto_essen-Bestellung_Getraenk-U-16")
BTC.ClearPossbileSpeechIntents()
BTC.Hide("MediaPlayer.VIDEOS.NachfrageKellnerGe_GIdle2")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_G17")
BTC.Run("MediaPlayer.VIDEOS.BestellungGetraenk_GIdle16")
}
}
}
// -- Selector 2: Intent nicht erkannt
Composite(Sequence) {
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk_Handmenu")
}
}
}
// -- Race 2: User sagt nichts
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk_Handmenu")
}
}
}
}
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Getraenk_Handmenu") {
Composite(Sequence) {
// Fallback Button
Composite(Marathon) {
BTC.Show("GO.GO.SpeechButton")
BTC.Set("TextMeshPro.GO.Option1Button", "text", "una gazzosa")
BTC.Show("GO.GO.Option1Button")
}
BTC.Run("NamedEventTrigger.GO.Option1Button")
BTC.Hide("GO.GO.Option1Button")
BTC.Hide("GO.GO.SpeechButton")
BTC.Hide("GO.GO.SpeechOptions")
}
}
Tree("Old") {
Composite(Sequence) {
// --- Im Grotto Essen - Nachfrage Kellner Essen ---
BTC.Show("Depthkit.VIDEOS.NachfrageKellnerEs_01")
BTC.Run("Depthkit.VIDEOS.NachfrageKellnerEs_01")

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@
"Sto bene, grazie.",
"Tutto bene!",
"Sono curioso di vedere dove vogliamo viaggiare.",
"Cos\u00eccos?."
"Cos\u00e cos\u00ec."
]
},
{
@ -75,8 +75,8 @@
"Mi piace tutto.",
"Non lo so.",
"Non posso dire. ",
"La cosa che mi piacerebbe pi? di tutto \u00e8 mangiare.",
"La cosa che mi piacerebbe pi? di tutto \u00e8 scoprire i nuovi posti."
"La cosa che mi piacerebbe pi\u00f9 di tutto \u00e8 mangiare.",
"La cosa che mi piacerebbe pi\u00f9 di tutto \u00e8 scoprire i nuovi posti."
]
},
{
@ -137,7 +137,7 @@
{
"intentID": "Story_A_Picknicken-Bezahlen_einzeln-U-7a",
"intentSentences": [
"S?, \u00e8 nuovo.",
"S\u00ec, \u00e8 nuovo.",
"L'ultimo modello.",
"Non so.",
"Per niente.",
@ -203,7 +203,7 @@
"intentID": "Castelli_di_Bellinzona-Intro-U-2a",
"intentSentences": [
"Che bello. ",
"S?, mi piace molto.",
"S\u00ec, mi piace molto.",
"\u00e8 una vista bellissima.",
"I castelli sono fantastici.",
"Molto impressionante."
@ -236,7 +236,7 @@
{
"intentID": "Castelli_di_Bellinzona-Intro-U-8a",
"intentSentences": [
"S?.",
"S\u00ec.",
"Volentieri.",
"Con piacere.",
"Ma certo.",
@ -255,7 +255,7 @@
{
"intentID": "Castelli_di_Bellinzona-Geschichte_Castelli-U-2a",
"intentSentences": [
"S?.",
"S\u00ec.",
"Certo.",
"Lo vedo.",
"\u00e8 questo.",
@ -333,8 +333,8 @@
{
"intentID": "Castelli_di_Bellinzona-Outro-U-2a",
"intentSentences": [
"Si, mi \u00e8 piaciuto tutto molto.",
"\u00e8 stato cos?, cos? bello! ",
"S\u00ec, mi \u00e8 piaciuto tutto molto.",
"\u00e8 stato cos\u00ec, cos\u00ec bello! ",
"Bellissimo.",
"Cosa facciamo adesso?",
"Non so."
@ -343,7 +343,7 @@
{
"intentID": "Story_B_Grotto-Start-U-2a",
"intentSentences": [
"S?.",
"S\u00ec.",
"Li conosco.",
"Certo.",
"Un po.",
@ -363,7 +363,7 @@
{
"intentID": "Story_B_Grotto-Intro-U-3",
"intentSentences": [
"S?.",
"S\u00ec.",
"Lo sapevo gi\u00e0.",
"Certo.",
"In grotto.",
@ -404,7 +404,7 @@
"intentID": "Story_B_Grotto-Antwort_Reise-U-1a",
"intentSentences": [
"Mi piace molto.",
"S?, molto.",
"S\u00ec, molto.",
"Non la conosco ancora.",
"\u00e8 la prima volta che sono qui.",
"Non so."
@ -413,7 +413,7 @@
{
"intentID": "Story_B_Grotto-Antwort_Reise-U-2a",
"intentSentences": [
"L?aiuto in cucina.",
"L'aiuto in cucina.",
"Voglio aiutarla in cucina.",
"Aiuto volentieri Francesca in cucina.",
"Aiutare in cucina.",
@ -435,7 +435,7 @@
{
"intentID": "Story_B_Grotto-Nachfrage_Nonna_Grotto-U-2a",
"intentSentences": [
"S?, grazie, ho qualcosa con me.",
"S\u00ec, grazie, ho qualcosa con me.",
"No, non ho portato nessun libro ma leggo i messaggi al cellulare.",
"Guardo tiktok o instagram.",
"Grazie per la domanda. Mi riposo un po'.",
@ -502,9 +502,9 @@
{
"intentID": "Kueche-alles_gefunden-U-6a",
"intentSentences": [
"S?.",
"S?, mi piace molto cucinare.",
"S?, cucino volentieri.",
"S\u00ec.",
"S\u00ec, mi piace molto cucinare.",
"S\u00ec, cucino volentieri.",
"Cucinare \u00e8 la mia passione.",
"Cucinare \u00e8 il mio hobby preferito."
]
@ -533,8 +533,8 @@
"intentID": "Kueche-Kochen_Anzahl-U-2a",
"intentSentences": [
"Molto spesso, quasi tutti i giorni.",
"S?, cucino sempre il weekend.",
"S?, cucino diverse volte alla settimana.",
"S\u00ec, cucino sempre il weekend.",
"S\u00ec, cucino diverse volte alla settimana.",
"Non spesso, ma con piacere.",
"Preparo il mio pranzo."
]
@ -561,7 +561,7 @@
{
"intentID": "Kueche-Outro-U-14a",
"intentSentences": [
"S?.",
"S\u00ec.",
"Certo.",
"Molto.",
"Anch'io ho fame."
@ -578,8 +578,8 @@
{
"intentID": "Im_Grotto_essen-Intro-U-3a",
"intentSentences": [
"Da b?if.",
"Salata v?rda.",
"Da b\u00e9if.",
"Salata v\u00e9rda.",
"Menu d'anchei.",
"Pizochen."
]
@ -588,7 +588,7 @@
"intentID": "Im_Grotto_essen-Intro-U-5a",
"intentSentences": [
"Non lo so.",
"S?, prendo il risotto ai funghi.",
"S\u00ec, prendo il risotto ai funghi.",
"Prendo i pizochen.",
"Ho scelto l'insalata mista.",
"Non ho fame."
@ -597,7 +597,7 @@
{
"intentID": "Im_Grotto_essen-Intro-U-7b",
"intentSentences": [
"No ho ancora deciso, ehm?",
"No ho ancora deciso, ehm.",
"Non so.",
"Sto considerando.",
"Uno momento, per favore."
@ -609,7 +609,8 @@
"Io vorrei una gazzosa, per favore.",
"Prendo una gazzosa.",
"Ho scelto la limonata.",
"Vorrei ordinare una gazzosa."
"Vorrei ordinare una gazzosa.",
"Una gazzosa."
]
},
{
@ -726,9 +727,9 @@
{
"intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-5b",
"intentSentences": [
"S?.",
"S?, originariamente significava \"cantina\".",
"S?, era come un frigo naturale dove consevare i generi alimentari."
"S\u00ec.",
"S\u00ec, originariamente significava \"cantina\".",
"S\u00ec, era come un frigo naturale dove consevare i generi alimentari."
]
},
{
@ -738,9 +739,9 @@
{
"intentID": "Im_Grotto_essen-Grotto_Unterhaltung-U-9a",
"intentSentences": [
"S?.",
"S?, ogni volta che andiamo in Ticino mangiamo in un grotto.",
"S?, ho gi\u00e0 mangiato in un grotto."
"S\u00ec.",
"S\u00ec, ogni volta che andiamo in Ticino mangiamo in un grotto.",
"S\u00ec, ho gi\u00e0 mangiato in un grotto."
]
},
{
@ -795,17 +796,17 @@
"intentSentences": [
"Non lo so.",
"Non posso dirlo.",
"Forse s?, forse no.",
"Forse s\u00ec, forse no.",
"Nessun' idea."
]
},
{
"intentID": "Im_Grotto_essen-Outro-U-5a",
"intentSentences": [
"S?, mi \u00e8 piaciuto molto cucinare.",
"S?, \u00e8 stato divertente.",
"S\u00ec, mi \u00e8 piaciuto molto cucinare.",
"S\u00ec, \u00e8 stato divertente.",
"\u00e8 stato meravglioso.",
"S?, grazie per tutto."
"S\u00ec, grazie per tutto."
]
},
{