Update Baeckerei Bestellung_Begleiter, Dank_Einkauf, Baeckerei_Outro

This commit is contained in:
Nadine Ganz 2025-07-22 18:04:58 +02:00
parent 34aa95014f
commit f087f16afa
8 changed files with 411053 additions and 414134 deletions

View File

@ -280,7 +280,37 @@ AnimationClip:
m_RotationOrder: 4 m_RotationOrder: 4
path: schiebetuere/tuere.002 path: schiebetuere/tuere.002
m_ScaleCurves: [] m_ScaleCurves: []
m_FloatCurves: [] m_FloatCurves:
- serializedVersion: 2
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 4.9
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: schiebetuere/TuerOeffnenSound
classID: 1
script: {fileID: 0}
flags: 0
m_PPtrCurves: [] m_PPtrCurves: []
m_SampleRate: 60 m_SampleRate: 60
m_WrapMode: 0 m_WrapMode: 0
@ -316,13 +346,22 @@ AnimationClip:
isPPtrCurve: 0 isPPtrCurve: 0
isIntCurve: 0 isIntCurve: 0
isSerializeReferenceCurve: 0 isSerializeReferenceCurve: 0
- serializedVersion: 2
path: 2001486926
attribute: 2086281974
script: {fileID: 0}
typeID: 1
customType: 0
isPPtrCurve: 0
isIntCurve: 0
isSerializeReferenceCurve: 0
pptrCurveMapping: [] pptrCurveMapping: []
m_AnimationClipSettings: m_AnimationClipSettings:
serializedVersion: 2 serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0} m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0 m_AdditiveReferencePoseTime: 0
m_StartTime: 0 m_StartTime: 0
m_StopTime: 4.883333 m_StopTime: 4.9
m_OrientationOffsetY: 0 m_OrientationOffsetY: 0
m_Level: 0 m_Level: 0
m_CycleOffset: 0 m_CycleOffset: 0
@ -932,6 +971,36 @@ AnimationClip:
classID: 4 classID: 4
script: {fileID: 0} script: {fileID: 0}
flags: 16 flags: 16
- serializedVersion: 2
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 4.9
value: 0
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_IsActive
path: schiebetuere/TuerOeffnenSound
classID: 1
script: {fileID: 0}
flags: 0
m_EulerEditorCurves: m_EulerEditorCurves:
- serializedVersion: 2 - serializedVersion: 2
curve: curve:

View File

@ -12,8 +12,9 @@
} }
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") //RunTree("22_Geschaeft_Story_A_Picknicken_Mitnehmen")
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
} }
} }
@ -474,12 +475,11 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_BeideVIdle10")
} }
// --- old BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
BTC.Show("Depthkit.VIDEOS.DankEinkauf1StoryA") BTC.Run("MediaPlayer.VIDEOS.DankEinkaufV2")
BTC.Run("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.Hide("Depthkit.VIDEOS.DankEinkauf1StoryA")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Dank_Einkauf.2") BTC.Run("MediaPlayer.VIDEOS.DankEinkaufVidle3")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -512,41 +512,45 @@ Tree("22_Geschaeft_Story_A_Picknicken_Dank_Einkauf") {
} }
// --- Story A Picknicken - Bestellung Begleiter --- // --- Story A Picknicken - Bestellung Begleiter ---
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_01") BTC.Hide("MediaPlayer.VIDEOS.DankEinkaufVidle3")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_01")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_02") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle1")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_02") BTC.Hide("MediaPlayer.VIDEOS.NachfrageBezahlung_FIdle01")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_02") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F2")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_03") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle3")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_03") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle1")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_03") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V4")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_04") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle5")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_04") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle3")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_04") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F6")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_05") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle7")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_05") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle5")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_05") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V8")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_06") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle9")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_06") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle7")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_06") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_F10")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_08") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_FIdle11")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_08") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle9")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_08") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V12")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_09") BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle13")
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_09") BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_FIdle11")
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_09")
BTC.Show("Depthkit.VIDEOS.BestellungBegleite_10") Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.BestellungBegleite_10") BTC.Run("MediaPlayer.VIDEOS.NachfrageBezahlung_F6") // Ersatz F14
BTC.Hide("Depthkit.VIDEOS.BestellungBegleite_10")
Composite(Sequence) {
BTC.Wait(3)
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle13")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_V16")
BTC.Run("MediaPlayer.VIDEOS.BestellungBegleite_VIdle17")
}
}
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") RunTree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro")
@ -558,44 +562,49 @@ Tree("22_Geschaeft_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")
BTC.Hide("MediaPlayer.VIDEOS.BestellungBegleite_VIdle17")
// Init Position User
BTC.SetPosition("GO.XRInteractionHandsSetup.XROrigin", -0.718, 0, -0.28)
BTC.SetPosition("GO.HANDMENU", -0.85, 0, -0.28)
BTC.RotateToAngle("GO.XRInteractionHandsSetup.XROrigin", -90.0)
BTC.RotateToAngle("GO.HANDMENU", -90.0)
} }
BTC.Run("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_03")
BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black") BTC.Show("Animator.AnimatorBaeckereiT")
BTC.Show("Depthkit.VIDEOS.0BaeckereiOutro")
Composite(Marathon) { Composite(Marathon) {
BTC.Run("Depthkit.VIDEOS.0BaeckereiOutro") Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
Composite(Sequence) { Composite(Sequence) {
BTC.Wait(3) BTC.Wait(3)
BTC.Show("Animator.AnimatorBaeckereiT") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_03")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF4")
} }
} }
BTC.Hide("Depthkit.VIDEOS.0BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.1BaeckereiOutro") Composite(Sequence) {
BTC.Run("Depthkit.VIDEOS.1BaeckereiOutro") BTC.Wait(1)
BTC.Hide("Depthkit.VIDEOS.1BaeckereiOutro") BTC.FadeIn("FadeScene.XRInteractionHandsSetup.Black")
}
}
BTC.Show("Depthkit.VIDEOS.2BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
BTC.Run("Depthkit.VIDEOS.2BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5")
BTC.Hide("Depthkit.VIDEOS.2BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6")
BTC.Show("Depthkit.VIDEOS.3BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
BTC.Run("Depthkit.VIDEOS.3BaeckereiOutro") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
BTC.Hide("Depthkit.VIDEOS.3BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF8")
BTC.Show("Depthkit.VIDEOS.4BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_09")
BTC.Run("Depthkit.VIDEOS.4BaeckereiOutro") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
BTC.Hide("Depthkit.VIDEOS.4BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE10")
BTC.Show("Depthkit.VIDEOS.5BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11")
BTC.Run("Depthkit.VIDEOS.5BaeckereiOutro") BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.Hide("Depthkit.VIDEOS.5BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.6")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -627,35 +636,10 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
} }
} }
BTC.Show("Depthkit.VIDEOS.9BaeckereiOutro") BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_11")
BTC.Run("Depthkit.VIDEOS.9BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE12")
BTC.Hide("Depthkit.VIDEOS.9BaeckereiOutro") BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.Show("Depthkit.VIDEOS.10BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.10BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.10BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.11BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.11BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.11BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.12BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.12BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.12BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.13BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.13BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.13BaeckereiOutro")
// Enrico geht, Tuere schliesst
BTC.StopSound("StudioEventEmitter.STATIC.DraussenAmbi")
BTC.Show("Depthkit.VIDEOS.15BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.15BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.15BaeckereiOutro")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.16")
BTC.AddPossbileSpeechIntent("Baeckerei_Outro.18")
BTC.StartSpeechIntentRecognition() BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
@ -667,90 +651,13 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
// -- Selector 1: Intent erkannt // -- Selector 1: Intent erkannt
Composite(Sequence) { Composite(Sequence) {
BTC.SpeechIntentRecognized() BTC.SpeechIntentRecognized()
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.16")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.18")
BTC.SetBool("ChoosedDriving")
}
}
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
} }
// -- Selector 2: Intent nicht erkannt // -- Selector 2: Intent nicht erkannt
Composite(Sequence) { Composite(Sequence) {
BTC.Show("Depthkit.VIDEOS.22BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.22BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.22BaeckereiOutro")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
Composite(Sequence) {
BTC.UserStartedSpeechInput()
BTC.SpeechIntentRecognized()
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.16")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
BTC.CompareIntentID("Baeckerei_Outro.18")
BTC.SetBool("ChoosedDriving")
}
}
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
} }
Composite(Sequence) {
BTC.Wait(5)
BTC.CompareUserSpeechInputStarted(false)
BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents()
BTC.CompareUserSpeechInputStarted(true)
}
}
}
// Selector 3: Fallback Button
Composite(Sequence) {
Composite(Marathon) {
BTC.Show("GO.GO.SpeechOptions")
BTC.Set("TextMeshPro.GO.Option1Button", "text", "A piedi")
BTC.Show("GO.GO.Option1Button")
BTC.Set("TextMeshPro.GO.Option2Button", "text", "Monopattino")
BTC.Show("GO.GO.Option2Button")
}
Composite(Race) {
Composite(Sequence) {
// Zu Fuss
BTC.Run("NamedEventTrigger.GO.Option1Button")
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
BTC.Hide("GO.GO.Option1Button")
BTC.Hide("GO.GO.Option2Button")
BTC.Hide("GO.GO.SpeechButton")
BTC.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) {
// Scooter
BTC.Run("NamedEventTrigger.GO.Option2Button")
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
BTC.Hide("GO.GO.Option1Button")
BTC.Hide("GO.GO.Option2Button")
BTC.Hide("GO.GO.SpeechButton")
BTC.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedDriving")
}
}
}
} }
} }
@ -761,77 +668,123 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
BTC.AbortSpeechEventListener() BTC.AbortSpeechEventListener()
BTC.StopSpeechIntentRecognition() BTC.StopSpeechIntentRecognition()
BTC.ClearPossbileSpeechIntents() BTC.ClearPossbileSpeechIntents()
Composite(Marathon) {
BTC.Show("GO.GO.SpeechButton")
BTC.Set("TextMeshPro.GO.Option1Button", "text", "A piedi")
BTC.Show("GO.GO.Option1Button")
BTC.Set("TextMeshPro.GO.Option2Button", "text", "Monopattino")
BTC.Show("GO.GO.Option2Button")
} }
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_13")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE14")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_15")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_09")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF16")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_17")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_15")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE18")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_19")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_17")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF20")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_21")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_19")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE22")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_23")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_21")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF24")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_25")
BTC.AddPossbileSpeechIntent("Story_A_Picknicken.Nachfrage_Bestellung.2") // TODO: Update IntentID
BTC.StartSpeechIntentRecognition()
Composite(Race) { Composite(Race) {
// -- Race 1: User sagt etwas
Composite(Sequence) { Composite(Sequence) {
// Zu Fuss BTC.UserStartedSpeechInput()
BTC.Run("NamedEventTrigger.GO.Option1Button")
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button") Composite(Selector) {
BTC.Hide("GO.GO.Option1Button") // -- Selector 1: Intent erkannt
BTC.Hide("GO.GO.Option2Button")
BTC.Hide("GO.GO.SpeechButton")
BTC.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedWalking")
}
Composite(Sequence) { Composite(Sequence) {
// Scooter BTC.SpeechIntentRecognized()
BTC.Run("NamedEventTrigger.GO.Option2Button") BTC.ClearPossbileSpeechIntents()
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
BTC.Hide("GO.GO.Option1Button")
BTC.Hide("GO.GO.Option2Button")
BTC.Hide("GO.GO.SpeechButton")
BTC.Hide("GO.GO.SpeechOptions")
BTC.SetBool("ChoosedDriving")
}
}
}
} }
BTC.Show("Depthkit.VIDEOS.27BaeckereiOutro") // -- Selector 2: Intent nicht erkannt
BTC.Run("Depthkit.VIDEOS.27BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.27BaeckereiOutro")
// TODO: Videos ersetzen
BTC.SetVoiceName("it-IT-GiuseppeMultilingualNeural")
BTC.SynthesizeText("Hey Francesca, non dimenticare il vostro pranzo!")
BTC.SpeechOutputEnded()
BTC.Show("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.29BaeckereiOutro")
BTC.Show("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Run("Depthkit.VIDEOS.30BaeckereiOutro")
BTC.Hide("Depthkit.VIDEOS.30BaeckereiOutro")
RunTree("22_Geschaeft_Hide")
}
}
Tree("22_Geschaeft_Hide") {
Composite(Sequence) { Composite(Sequence) {
BTC.SetStoryAVisited() 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.BaeckereiOutroEidl_23")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE26")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_25")
Composite(Marathon) {
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE27")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF28")
}
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_29")
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()
}
}
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_29")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF30")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_31")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiIntroVidl_01")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroV32")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroVidl_33")
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroFidl_31")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF34")
// TODO: Check idles, fade out
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroVidl_33")
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroV35")
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black") BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
Composite(Race) {
Composite(Sequence) {
// Go to scene 2.4 Slideshow
BTC.CompareBool("ChoosedWalking")
BTC.Run("LoadScene.NEXT.26Castello") BTC.Run("LoadScene.NEXT.26Castello")
} }
Composite(Sequence) {
// Go to scene 2.5 Slideshow
BTC.CompareBool("ChoosedDriving")
BTC.Run("LoadScene.NEXT.26Castello")
}
}
}
} }

View File

@ -0,0 +1,193 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: AVProVideo 2
m_Shader: {fileID: 4800000, guid: 0ed1fb9218ad96f49acfdb428d5b5aab, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- ALPHAPACK_TOP_BOTTOM
- APPLY_GAMMA
- MONOSCOPIC
- STEREO_TOP_BOTTOM
m_InvalidKeywords:
- FORCEEYE_NONE
- LAYOUT_NONE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AfterTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ChromaTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ChromaTex_R:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _FromTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex_R:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SrcTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- AlphaPack: 1
- ForceEye: 0
- Layout: 0
- Stereo: 1
- _Alpha: 1
- _AlphaClip: 0
- _AlphaToMask: 0
- _ApplyGamma: 1
- _Aspect: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _Brightness: 0.5
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _ColorMask: 15
- _Contrast: 0.5
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EdgeFeather: 0.02
- _EnvironmentReflections: 1
- _Exposure: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _HighQuality: 0
- _Hue: 0
- _InvGamma: 1
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Rotation: 0
- _Saturation: 0.5
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _StereoDebug: 0
- _Surface: 0
- _UseHSBC: 0
- _UseYpCbCr: 0
- _VertScale: 1
- _WorkflowMode: 1
- _ZWrite: 1
- _t: 0.5
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _CustomScale: {r: 0, g: 0, b: 0, a: 0}
- _DrawOffset: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
m_BuildTextureStacks: []
--- !u!114 &6336574236004663190
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8bd5d6d936d66414f812a6c0eca8f5e1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -123,6 +123,8 @@ public class NamedAVProMediaPlayer : ComponentHandler
{ {
case NodeState.FirstRun: case NodeState.FirstRun:
if (_mediaPlayer != null) if (_mediaPlayer != null)
{
if (_mediaPlayer.Control != null)
{ {
if (_mediaPlayer.Control.IsPlaying()) if (_mediaPlayer.Control.IsPlaying())
{ {
@ -131,6 +133,7 @@ public class NamedAVProMediaPlayer : ComponentHandler
_mediaPlayer.ForceDispose(); _mediaPlayer.ForceDispose();
} }
} }
}
Task.SetSucceeded(); Task.SetSucceeded();
break; break;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff