Story Grotto Essen bestellen
parent
99d1d4897f
commit
5af4d33d3b
|
@ -1105,8 +1105,7 @@ Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
||||||
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
|
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Steinpilze")
|
||||||
BTC.Run("Collider.INTERACTABLES.Topf")
|
BTC.Run("Collider.INTERACTABLES.Topf")
|
||||||
|
|
||||||
//RunTree("32_Grotto_Kueche_Parmigiano")
|
RunTree("32_Grotto_Kueche_Parmigiano")
|
||||||
RunTree("32_Grotto_Im_Grotto_Essen_Intro")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1232,6 +1231,8 @@ Tree("32_Grotto_Kueche_Parmigiano") {
|
||||||
|
|
||||||
BTC.Run("AudioSource.AUDIO.KuecheOutro7")
|
BTC.Run("AudioSource.AUDIO.KuecheOutro7")
|
||||||
BTC.Run("AudioSource.AUDIO.KuecheOutro8")
|
BTC.Run("AudioSource.AUDIO.KuecheOutro8")
|
||||||
|
|
||||||
|
RunTree("32_Grotto_Im_Grotto_Essen_Intro")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1240,8 +1241,8 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
// Initialization
|
// Initialization
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.837, 0, -10.676)
|
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -4.648, 0, -12.295)
|
||||||
BTC.SetPosition("GO.HANDMENU", -3.837, 0, -10.676)
|
BTC.SetPosition("GO.HANDMENU", -4.648, 0, -12.295)
|
||||||
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
|
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
|
||||||
BTC.Run("StudioEventEmitter.AUDIO.Ambi2D")
|
BTC.Run("StudioEventEmitter.AUDIO.Ambi2D")
|
||||||
BTC.StopSound("StudioEventEmitter.STATIC.Ambi3D")
|
BTC.StopSound("StudioEventEmitter.STATIC.Ambi3D")
|
||||||
|
@ -1249,7 +1250,89 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
||||||
BTC.StopSound("StudioEventEmitter.INTERACTABLES.Abloeschen")
|
BTC.StopSound("StudioEventEmitter.INTERACTABLES.Abloeschen")
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.GetKeyDown("Return")
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen1Intr")
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen2Intr")
|
||||||
|
|
||||||
|
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Intro.3")
|
||||||
|
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.Run("AudioSource.AUDIO.ImGrottoessen6Intr")
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen7Intr")
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen8Intr")
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen9Intr")
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen10Int")
|
||||||
|
|
||||||
|
// --- Im Grotto Essen - Zweite Bestellung ---
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen1Zwei")
|
||||||
|
|
||||||
|
BTC.AddPossbileSpeechIntent("Im_Grotto_essen.Zweite_Bestellung.2")
|
||||||
|
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()
|
||||||
|
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
|
||||||
|
}
|
||||||
|
|
||||||
|
// -- Selector 2: Intent nicht erkannt
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
RunTree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -- Race 2: User sagt nichts
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.Wait(5)
|
||||||
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
|
BTC.AbortSpeechEventListener()
|
||||||
|
BTC.StopSpeechIntentRecognition()
|
||||||
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Tree("32_Grotto_Im_Grotto_Essen_Nachfrage_Kellner_Essen") {
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.Run("AudioSource.AUDIO.ImGrottoessen1Esse")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue