Compare commits
3 Commits
c9b4833543
...
8692f10e86
Author | SHA1 | Date |
---|---|---|
Nadine Ganz | 8692f10e86 | |
Nadine Ganz | 286ee2a59c | |
Nadine Ganz | 869cb6a102 |
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0e643c13e2c624dc68780a010c29287b
|
||||
guid: 806cc0a08922645879969a8e0490183a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c2b4b4aa3badf48399105be452f4c11f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7d173e8e8d2a94e1f93a249856f348ef
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -14,15 +14,15 @@
|
|||
Tree("32_Grotto_Story_B_Grotto") {
|
||||
// --- Story B Grotto - Antwort Reise ---
|
||||
Composite(Sequence) {
|
||||
BTC.SynthesizeText("Ich möchte nirgends sonst auf der Welt leben. Möchtest du denn mit Francesca in der Küche etwas aushelfen oder wartest du im Garten auf sie?", "de-DE", "")
|
||||
BTC.SynthesizeText("Ich möchte nirgends sonst auf der Welt leben. Möchtest du denn mit Francesca in der Küche etwas aushelfen oder wartest du im Garten auf sie?")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
//BTC.SetSpeechRecognitionLanguage("it-IT")
|
||||
//BTC.AddPossbileSpeechIntent("Story_B_Grotto.Nachfrage_Nonna_Grotto.2", "L’aiuto in cucina.")
|
||||
//BTC.AddPossbileSpeechIntent("Story_B_Grotto.Nachfrage_Nonna_Grotto.4", "Preferisco aspettarla nella sala del grotto. Non so cucinare.")
|
||||
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Nachfrage_Nonna_Grotto.2", "Ich helfe in der Küche., Ich möchte aushelfen., Ich möchte Francesca helfen., Ich möchte in der Küche helfen.")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Nachfrage_Nonna_Grotto.4", "Ich warte im Garten auf sie., Ich warte auf sie., Ich bleibe im Garten.")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Nachfrage_Nonna_Grotto.2")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Nachfrage_Nonna_Grotto.4")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
@ -54,7 +54,7 @@ Tree("32_Grotto_Story_B_Grotto") {
|
|||
Composite(Sequence) {
|
||||
// --- Story B Grotto - Nachfrage Nonna Grotto ---
|
||||
// SpeechIntentRecognized Failed: kein Intent erkannt
|
||||
BTC.SynthesizeText("Was wolltest du sagen? Ich habe es nicht verstanden. Möchtest du mithelfen oder lieber im Garten warten?", "de-DE", "")
|
||||
BTC.SynthesizeText("Was wolltest du sagen? Ich habe es nicht verstanden. Möchtest du mithelfen oder lieber im Garten warten?")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
@ -99,11 +99,11 @@ Tree("32_Grotto_Story_B_Grotto") {
|
|||
Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
|
||||
// --- Story B Grotto - Antwort Nonna Kueche ---
|
||||
Composite(Sequence) {
|
||||
BTC.SynthesizeText("Oh, das ist wunderbar, vielen Dank! Anschliessend seid ihr selbstverständlich zum Essen eingeladen.", "de-DE", "")
|
||||
BTC.SynthesizeText("Oh, das ist wunderbar, vielen Dank! Anschliessend seid ihr selbstverständlich zum Essen eingeladen.")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
//BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Kueche.2", "Tante grazie, è molto gentile da parte Sua (o altra risposta).")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Kueche.2", "Vielen Dank, das ist nett (oder andere Antwort)")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Kueche.2")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
@ -138,11 +138,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche") {
|
|||
Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
||||
// --- Story B Grotto - Antwort Nonna Grotto ---
|
||||
Composite(Sequence) {
|
||||
BTC.SynthesizeText("Okay gut, mach es dir gemütlich. Hast du etwas zum Lesen dabei?", "de-DE", "")
|
||||
BTC.SynthesizeText("Okay gut, mach es dir gemütlich. Hast du etwas zum Lesen dabei?")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
//BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.2", "Sì, grazie, ho qualcosa con me (o un'altra risposta)")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.2", "Ja, danke, ich habe etwas dabei (oder andere Antwort)")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.2")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
@ -169,11 +169,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||
}
|
||||
}
|
||||
|
||||
BTC.SynthesizeText("Prima, viel Spass noch und dann guten Appetit!", "de-DE", "")
|
||||
BTC.SynthesizeText("Prima, viel Spass noch und dann guten Appetit!")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
//BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6", "Grazie nonna, ciao!")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6", "Danke!")
|
||||
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Antwort_Nonna_Grotto.6")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
@ -215,7 +215,7 @@ Tree("32_Grotto_Kueche_Intro") {
|
|||
BTC.Hide("GO/NamedGrabEvent.INTERACTABLES.Schuerze")
|
||||
|
||||
//BTC.Run("AudioSource.AUDIO.Kueche2FIntro")
|
||||
BTC.SynthesizeText("Lies mir bitte das Rezept vor.", "de-DE", "")
|
||||
BTC.SynthesizeText("Lies mir bitte das Rezept vor.")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
// Rezept vorlesen: Button Klick
|
||||
|
@ -231,7 +231,7 @@ Tree("32_Grotto_Kueche_Intro") {
|
|||
Composite(Sequence) {
|
||||
// keine Reaktion
|
||||
BTC.Wait(5)
|
||||
BTC.SynthesizeText("Was brauchen wir? Bitte lies mir das Rezept vor.", "de-DE", "")
|
||||
BTC.SynthesizeText("Was brauchen wir? Bitte lies mir das Rezept vor.")
|
||||
BTC.SpeechOutputEnded()
|
||||
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
||||
}
|
||||
|
@ -318,7 +318,7 @@ Tree("32_Grotto_Kueche_Zwiebeln_schneiden") {
|
|||
// Objekt geht zurueck
|
||||
BTC.SetPosition("GO/NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", -6.733, 1.362, -18.908)
|
||||
|
||||
BTC.SynthesizeText("Das hast du an den falschen Ort gestellt.", "de-DE", "")
|
||||
BTC.SynthesizeText("Das hast du an den falschen Ort gestellt.")
|
||||
BTC.SpeechOutputEnded()
|
||||
BTC.SetBool("RisottoIsSnapped", false)
|
||||
}
|
||||
|
@ -380,7 +380,7 @@ Tree("32_Grotto_Kueche_Zwiebeln_schneiden") {
|
|||
Tree("32_Grotto_Kueche_alles_gefunden") {
|
||||
// --- Kueche - alles gefunden ---
|
||||
Composite(Sequence) {
|
||||
BTC.SynthesizeText("Super, du hast alles gefunden. Bitte gib nun etwas Olivenöl in den Topf.", "de-DE", "")
|
||||
BTC.SynthesizeText("Super, du hast alles gefunden. Bitte gib nun etwas Olivenöl in den Topf.")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
// Oel in Topf geben - Particle Trigger
|
||||
|
@ -395,8 +395,8 @@ Tree("32_Grotto_Kueche_alles_gefunden") {
|
|||
BTC.Run("AudioSource.AUDIO.Kueche3Fallesgefun")
|
||||
|
||||
// Frage beantworten
|
||||
BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.4", "Ja.")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.6", "Nein.")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.4")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.alles_gefunden.6")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
@ -531,8 +531,8 @@ Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
|||
BTC.Run("AudioSource.AUDIO.Kueche1FKochenAnza")
|
||||
|
||||
// Frage beantworten
|
||||
BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.2", "sehr oft, fast täglich (oder andere Antwort)")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.4", "fast nie (oder andere Antwort)")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.2")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.Kochen_Anzahl.4")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
@ -670,7 +670,7 @@ Tree("32_Grotto_Kueche_Selbststaendig_Kochen") {
|
|||
Tree("32_Grotto_Kueche_Parmigiano") {
|
||||
// --- Kueche - Parmigiano ---
|
||||
Composite(Sequence) {
|
||||
BTC.SynthesizeText("Schau, ich habe dir den Parmigiano hingestellt. Du kannst ihn nun in den Topf geben.", "de-DE", "")
|
||||
BTC.SynthesizeText("Schau, ich habe dir den Parmigiano hingestellt. Du kannst ihn nun in den Topf geben.")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
// Parmigiano in Topf geben
|
||||
|
@ -678,7 +678,7 @@ Tree("32_Grotto_Kueche_Parmigiano") {
|
|||
BTC.Set("Collider.INTERACTABLES.Topf", "otherTag", "Parmigiano")
|
||||
BTC.Run("Collider.INTERACTABLES.Topf")
|
||||
|
||||
BTC.SynthesizeText("Bist du fertig?", "de-DE", "")
|
||||
BTC.SynthesizeText("Bist du fertig?")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
// Antwort User
|
||||
|
@ -691,7 +691,7 @@ Tree("32_Grotto_Kueche_Parmigiano") {
|
|||
}
|
||||
BTC.Hide("GO.HANDMENU.Option1Button")
|
||||
|
||||
BTC.SynthesizeText("Bitte stelle den Risotto hier hin.", "de-DE", "")
|
||||
BTC.SynthesizeText("Bitte stelle den Risotto hier hin.")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
// Stelle für Pfanne leuchtet
|
||||
|
@ -709,11 +709,11 @@ Tree("32_Grotto_Kueche_Parmigiano") {
|
|||
|
||||
// --- Kueche - Outro ---
|
||||
BTC.Run("AudioSource.AUDIO.Kueche1GOutro")
|
||||
BTC.SynthesizeText("Ich bin Giuseppe, Francescas Grossonkel. Und wer bist du?", "de-DE", "")
|
||||
BTC.SynthesizeText("Ich bin Giuseppe, Francescas Grossonkel. Und wer bist du?")
|
||||
BTC.SpeechOutputEnded()
|
||||
|
||||
// Name sagen
|
||||
BTC.AddPossbileSpeechIntent("Kueche.Outro.4", "Mein Name ist xy. (oder andere Antwort)")
|
||||
BTC.AddPossbileSpeechIntent("Kueche.Outro.4")
|
||||
BTC.StartSpeechIntentRecognition()
|
||||
|
||||
Composite(Race) {
|
||||
|
|
|
@ -678,8 +678,8 @@ MonoBehaviour:
|
|||
BankRefreshCooldown: 5
|
||||
ShowBankRefreshWindow: 1
|
||||
AutomaticEventLoading: 0
|
||||
BankLoadType: 1
|
||||
AutomaticSampleLoading: 0
|
||||
BankLoadType: 0
|
||||
AutomaticSampleLoading: 1
|
||||
EncryptionKey:
|
||||
ImportType: 0
|
||||
TargetAssetPath: FMODBanks
|
||||
|
@ -697,11 +697,15 @@ MonoBehaviour:
|
|||
MasterBanks:
|
||||
- Master
|
||||
Banks:
|
||||
- Grotto
|
||||
- Grotto_Essen
|
||||
- Grotto_Kueche
|
||||
- SBB
|
||||
BanksToLoad:
|
||||
- Grotto
|
||||
- Grotto.Essen
|
||||
- "Grotto.Ku\u0308che"
|
||||
- Master
|
||||
- Master.strings
|
||||
- SBB
|
||||
LiveUpdatePort: 9264
|
||||
EnableMemoryTracking: 0
|
||||
AndroidUseOBB: 0
|
||||
|
@ -893,7 +897,7 @@ MonoBehaviour:
|
|||
Properties:
|
||||
LiveUpdate:
|
||||
Value: 0
|
||||
HasValue: 0
|
||||
HasValue: 1
|
||||
LiveUpdatePort:
|
||||
Value: 9264
|
||||
HasValue: 1
|
||||
|
@ -916,8 +920,8 @@ MonoBehaviour:
|
|||
Value:
|
||||
HasValue: 0
|
||||
SpeakerMode:
|
||||
Value: 0
|
||||
HasValue: 0
|
||||
Value: 3
|
||||
HasValue: 1
|
||||
VirtualChannelCount:
|
||||
Value: 0
|
||||
HasValue: 0
|
||||
|
|
|
@ -2689,7 +2689,7 @@ GameObject:
|
|||
- component: {fileID: 8061268387521178252}
|
||||
- component: {fileID: 9007450541643059173}
|
||||
m_Layer: 0
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option3Button_93686
|
||||
m_Name: NamedEventTrigger.HANDMENU.Option3Button_69596
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -2826,7 +2826,7 @@ MonoBehaviour:
|
|||
handlers:
|
||||
- {fileID: 9007450541643059173}
|
||||
roomId: HANDMENU
|
||||
uniqueId: 93686
|
||||
uniqueId: 69596
|
||||
--- !u!114 &9007450541643059173
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -1 +1 @@
|
|||
2024-11-21T20:21:37.9755870Z
|
||||
2024-11-28T15:21:51.9731950Z
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c6e5131d3b79e44b69dc5c9e11cdba44
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,26 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.XR.Interaction.Toolkit;
|
||||
using FMODUnity;
|
||||
|
||||
[RequireComponent(typeof(XRGrabInteractable))]
|
||||
public class OnGrabSound : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
EventReference soundRef;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
if (GetComponent<XRGrabInteractable>())
|
||||
{
|
||||
GetComponent<XRGrabInteractable>().selectEntered.AddListener(SelectEnterEventHandler);
|
||||
}
|
||||
}
|
||||
|
||||
private void SelectEnterEventHandler(SelectEnterEventArgs args)
|
||||
{
|
||||
RuntimeManager.PlayOneShot(soundRef, transform.position);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 24e64720095df47d38af17ae8f7396b2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,25 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.XR.Interaction.Toolkit;
|
||||
using FMODUnity;
|
||||
|
||||
public class OnSocketSnapSound : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
EventReference soundRef;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
if (GetComponent<XRSocketInteractor>())
|
||||
{
|
||||
GetComponent<XRSocketInteractor>().selectEntered.AddListener(SelectEnterEventHandler);
|
||||
}
|
||||
}
|
||||
|
||||
private void SelectEnterEventHandler(SelectEnterEventArgs args)
|
||||
{
|
||||
RuntimeManager.PlayOneShot(soundRef, transform.position);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d4b31e14ab1d346c68027ce912338921
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,12 +1,38 @@
|
|||
{
|
||||
"intents": [
|
||||
{
|
||||
"intentID": "Kueche.start_dialog.1",
|
||||
"intentID": "Story_B_Grotto.Nachfrage_Nonna_Grotto.2",
|
||||
"intentSentences": [
|
||||
"Ja, ich bin bereit.",
|
||||
"Ich bin bereit.",
|
||||
"Es kann losgehen.",
|
||||
"Wir k\u00f6nnen starten."
|
||||
"Ich helfe in der K\u00fcche.",
|
||||
"Ich m\u00f6chte aushelfen.",
|
||||
"Ich m\u00f6chte Francesca helfen.",
|
||||
"Ich m\u00f6chte in der K\u00fcche helfen."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Story_B_Grotto.Nachfrage_Nonna_Grotto.4",
|
||||
"intentSentences": [
|
||||
"Ich warte im Garten auf sie.",
|
||||
"Ich warte auf sie.",
|
||||
"Ich bleibe im Garten."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Story_B_Grotto.Antwort_Nonna_Kueche.2",
|
||||
"intentSentences": [
|
||||
"Vielen Dank, das ist nett."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Story_B_Grotto.Antwort_Nonna_Grotto.2",
|
||||
"intentSentences": [
|
||||
"Ja, danke, ich habe etwas dabei."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Story_B_Grotto.Antwort_Nonna_Grotto.6",
|
||||
"intentSentences": [
|
||||
"Danke!"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -28,13 +54,6 @@
|
|||
"Nein, gar nicht."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Kueche.Interesse_Kochen.2",
|
||||
"intentSentences": [
|
||||
"Ich koche gerne xy.",
|
||||
"Ich mache gerne xy."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Kueche.Kochen_Anzahl.2",
|
||||
"intentSentences": [
|
||||
|
@ -52,6 +71,30 @@
|
|||
"Nur am Wochenende."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Kueche.Outro.4",
|
||||
"intentSentences": [
|
||||
"Mein Name ist xy.",
|
||||
"Ich heisse xy.",
|
||||
"Ich bin xy."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Kueche.start_dialog.1",
|
||||
"intentSentences": [
|
||||
"Ja, ich bin bereit.",
|
||||
"Ich bin bereit.",
|
||||
"Es kann losgehen.",
|
||||
"Wir k\u00f6nnen starten."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Kueche.Interesse_Kochen.2",
|
||||
"intentSentences": [
|
||||
"Ich koche gerne xy.",
|
||||
"Ich mache gerne xy."
|
||||
]
|
||||
},
|
||||
{
|
||||
"intentID": "Kueche.Desinteresse_Kochen.2",
|
||||
"intentSentences": [
|
||||
|
|
Loading…
Reference in New Issue