Update Grotto 1
This commit is contained in:
parent
2212c90608
commit
425a613a27
@ -11,11 +11,8 @@
|
|||||||
BTC.SetBool("error")
|
BTC.SetBool("error")
|
||||||
}
|
}
|
||||||
|
|
||||||
Composite(Sequence) {
|
//RunTree("32_Grotto_Story_B_Grotto_Intro")
|
||||||
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
|
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
|
||||||
RunTree("32_Grotto_Story_B_Grotto_Intro")
|
|
||||||
//RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
@ -39,32 +36,51 @@
|
|||||||
Tree("32_Grotto_Story_B_Grotto_Intro") {
|
Tree("32_Grotto_Story_B_Grotto_Intro") {
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
// Initialization
|
// Initialization
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.IntroFidle1")
|
||||||
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
|
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
|
||||||
|
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Intro1StoryBGrotto")
|
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
|
||||||
BTC.Run("Depthkit.VIDEOS.Intro1StoryBGrotto")
|
BTC.Run("MediaPlayer.VIDEOS.IntroF2")
|
||||||
BTC.Hide("Depthkit.VIDEOS.Intro1StoryBGrotto")
|
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Intro2StoryBGrotto")
|
BTC.Run("MediaPlayer.VIDEOS.IntroFidle3")
|
||||||
BTC.Run("Depthkit.VIDEOS.Intro2StoryBGrotto")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
|
||||||
BTC.Hide("Depthkit.VIDEOS.Intro2StoryBGrotto")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
|
||||||
|
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3")
|
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4")
|
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
Composite(Race) {
|
Composite(Race) {
|
||||||
// -- Race 1: User sagt etwas
|
// -- Race 1: User sagt etwas
|
||||||
Composite(Selector) {
|
Composite(Sequence) {
|
||||||
Composite(Sequence) {
|
BTC.UserStartedSpeechInput()
|
||||||
BTC.UserStartedSpeechInput()
|
|
||||||
BTC.SpeechIntentRecognized()
|
|
||||||
BTC.ClearPossbileSpeechIntents()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Intent nicht erkannt
|
Composite(Selector) {
|
||||||
Composite(Sequence) {
|
// -- Selector 1: Intent erkannt
|
||||||
BTC.ClearPossbileSpeechIntents()
|
Composite(Sequence) {
|
||||||
|
BTC.SpeechIntentRecognized()
|
||||||
|
|
||||||
|
// Intent erkannt
|
||||||
|
Composite(Race) {
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
|
||||||
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.IntroF4")
|
||||||
|
}
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
|
||||||
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -- Selector 2: Intent nicht erkannt
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -72,36 +88,29 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
|||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle3")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.IntroF6")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Intro6StoryBGrotto")
|
|
||||||
BTC.Run("Depthkit.VIDEOS.Intro6StoryBGrotto")
|
|
||||||
BTC.Hide("Depthkit.VIDEOS.Intro6StoryBGrotto")
|
|
||||||
|
|
||||||
// --- Story B Grotto - Telefonat ---
|
// --- Story B Grotto - Telefonat ---
|
||||||
BTC.Show("Depthkit.VIDEOS.Telefonat1StoryBGr")
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatF1")
|
||||||
BTC.Run("Depthkit.VIDEOS.Telefonat1StoryBGr")
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle2")
|
||||||
BTC.Hide("Depthkit.VIDEOS.Telefonat1StoryBGr")
|
|
||||||
|
|
||||||
BTC.Run("AudioSource.AUDIO.Telefonat2StoryBGr")
|
BTC.Run("AudioSource.AUDIO.Telefonat2StoryBGr")
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Telefonat3StoryBGr")
|
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle2")
|
||||||
BTC.Run("Depthkit.VIDEOS.Telefonat3StoryBGr")
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatF4")
|
||||||
BTC.Hide("Depthkit.VIDEOS.Telefonat3StoryBGr")
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle5")
|
||||||
|
|
||||||
BTC.Run("AudioSource.AUDIO.Telefonat4StoryBGr")
|
BTC.Run("AudioSource.AUDIO.Telefonat4StoryBGr")
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Telefonat5StoryBGr")
|
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle5")
|
||||||
BTC.Run("Depthkit.VIDEOS.Telefonat5StoryBGr")
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatF7")
|
||||||
BTC.Hide("Depthkit.VIDEOS.Telefonat5StoryBGr")
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8")
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.IdleLoopNonnaGrott")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6") // TODO: Update Intent ID
|
||||||
BTC.Run("Depthkit.VIDEOS.IdleLoopNonnaGrott")
|
|
||||||
|
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Telefonat.6")
|
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
Composite(Race) {
|
Composite(Race) {
|
||||||
@ -132,7 +141,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
|||||||
BTC.Run("AudioSource.AUDIO.BegruessungohneNam")
|
BTC.Run("AudioSource.AUDIO.BegruessungohneNam")
|
||||||
|
|
||||||
// --- Story B Grotto - Antwort_Reise ---
|
// --- Story B Grotto - Antwort_Reise ---
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.1") // TODO: Update Intent ID
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
Composite(Race) {
|
Composite(Race) {
|
||||||
@ -161,7 +170,7 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
|||||||
|
|
||||||
BTC.Run("AudioSource.AUDIO.AntwortReise4Story")
|
BTC.Run("AudioSource.AUDIO.AntwortReise4Story")
|
||||||
|
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.5") // TODO: Update Intent ID
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
Composite(Race) {
|
Composite(Race) {
|
||||||
@ -190,8 +199,8 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
|||||||
|
|
||||||
BTC.Run("AudioSource.AUDIO.AntwortReise8Story")
|
BTC.Run("AudioSource.AUDIO.AntwortReise8Story")
|
||||||
|
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.9") // TODO: Update Intent ID
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Reise.11") // TODO: Update Intent ID
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
Composite(Race) {
|
Composite(Race) {
|
||||||
@ -376,14 +385,14 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// --- Story B Grotto - Outro ---
|
// --- Story B Grotto - Outro ---
|
||||||
|
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.OutroFidle2")
|
||||||
BTC.Run("AudioSource.AUDIO.Outro1StoryBGrotto")
|
BTC.Run("AudioSource.AUDIO.Outro1StoryBGrotto")
|
||||||
|
|
||||||
BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
|
BTC.Hide("MediaPlayer.VIDEOS.OutroFidle2")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.OutroF3")
|
||||||
BTC.Show("Depthkit.VIDEOS.Outro2StoryBGrotto")
|
|
||||||
BTC.Run("Depthkit.VIDEOS.Outro2StoryBGrotto")
|
|
||||||
BTC.Hide("Depthkit.VIDEOS.Outro2StoryBGrotto")
|
|
||||||
|
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.TelefonatFidle8")
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Outro.3")
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Outro.3")
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
@ -411,7 +420,13 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
|
||||||
|
|
||||||
|
Composite(Marathon) {
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.OutroF5")
|
||||||
|
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
}
|
||||||
|
|
||||||
BTC.Run("LoadScene.NEXT.32Grotto2") // Go to Grotto2 Kueche
|
BTC.Run("LoadScene.NEXT.32Grotto2") // Go to Grotto2 Kueche
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -479,31 +494,39 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.Hide("Depthkit.VIDEOS.IdleLoopNonnaGrott")
|
BTC.Hide("MediaPlayer.VIDEOS.TelefonatFidle8")
|
||||||
//BTC.SynthesizeText("Mentre aspetti, se vuoi puoi dare un'occhiata alle foto che ho scattato di recente in Bregaglia. Puoi usare il visore che trovi sul tavolo.")
|
BTC.Run("MediaPlayer.VIDEOS.NachfrageNonnaGrot_F4")
|
||||||
//BTC.SpeechOutputEnded()
|
|
||||||
|
|
||||||
// TODO: Option VR Brille Bilder und Buch anschauen fehlt
|
BTC.Run("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05")
|
||||||
|
BTC.Run("AudioSource.AUDIO.AntwortNonnaKueche")
|
||||||
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
|
||||||
// Initialization
|
// Initialization
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -4.648, 0, -12.295)
|
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -3.573, 0, -12.295)
|
||||||
BTC.SetPosition("GO.HANDMENU", -4.648, 0, -12.295)
|
BTC.SetPosition("GO.HANDMENU", -3.573, 0, -12.295)
|
||||||
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
|
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", 0.0)
|
||||||
BTC.RotateToAngle("GO.HANDMENU", 0.0)
|
BTC.RotateToAngle("GO.HANDMENU", 0.0)
|
||||||
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
|
BTC.Run("StudioEventEmitter.STATIC.KuechenAmbi")
|
||||||
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
|
BTC.Run("StudioEventEmitter.STATIC.AmbiGarten")
|
||||||
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
|
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
}
|
}
|
||||||
BTC.Wait(5)
|
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
|
BTC.Hide("MediaPlayer.VIDEOS.NachfrageNonnaGrot_Fidle05")
|
||||||
BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
|
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil1F1")
|
||||||
BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_10")
|
|
||||||
|
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.11")
|
Composite(Race) {
|
||||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.12")
|
BTC.Wait(30)
|
||||||
|
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.Run("NamedGrabEvent.INTERACTABLES.VRBrille")
|
||||||
|
// TODO: Load Minigame
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F2")
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03")
|
||||||
|
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6") // TODO: Update Intent ID
|
||||||
BTC.StartSpeechIntentRecognition()
|
BTC.StartSpeechIntentRecognition()
|
||||||
|
|
||||||
Composite(Race) {
|
Composite(Race) {
|
||||||
@ -525,16 +548,23 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
|
BTC.Hide("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2Fidle03")
|
||||||
BTC.Run("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
|
|
||||||
BTC.Hide("Depthkit.VIDEOS.AntwortNonnaGrotto_15")
|
Composite(Marathon) {
|
||||||
|
BTC.Run("MediaPlayer.VIDEOS.AntwortNonnaGrotto_Teil2F04")
|
||||||
|
|
||||||
|
Composite(Sequence) {
|
||||||
|
BTC.Wait(8)
|
||||||
|
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
|
||||||
BTC.Run("LoadScene.NEXT.32Grotto3") // Go to Grotto3 Essen
|
BTC.Run("LoadScene.NEXT.32Grotto3") // Go to Grotto3 Essen
|
||||||
}
|
}
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user