Search found 25 matches

by kenlem
Sun Sep 29, 2024 8:09 pm
Forum: Dialogue System for Unity
Topic: AudioWaintOnce continues to trigger
Replies: 1
Views: 9

AudioWaintOnce continues to trigger

I have Dialogue System Trigger set to On TriggerEnter with the following sequence: AudioWaitOnce(VoiceOvers/Tutorial/Tut-1)->Message(Done); The audio triggers once then when I come back into the trigger, the audio plays again. From the docs, I expect the audio to play once then not play again if the...
by kenlem
Sat Apr 22, 2023 9:10 am
Forum: Dialogue System for Unity
Topic: Speech Generation
Replies: 1
Views: 164

Speech Generation

Hi,

Is there an example of how to add a speech synthesizer for actors? Instead of having pre-recorded audio, I'd like the generate speech on the fly.
by kenlem
Fri Mar 17, 2023 2:58 pm
Forum: Dialogue System for Unity
Topic: Save/Load Items across scene
Replies: 9
Views: 645

Re: Save/Load Items across scene

Ah... I could make my own SpawnedObjectManager that looks to see if the object exists in the scene before it instantiates one. I bet that would work. Was thinking of doing a new one anyway to include velocity and angular velocity if a rigidbody exists.
by kenlem
Fri Mar 17, 2023 2:42 pm
Forum: Dialogue System for Unity
Topic: Save/Load Items across scene
Replies: 9
Views: 645

Re: Save/Load Items across scene

OK. I have this working where I can pick up items, put them in my back pack, then move to a new room and drop them. Objects moved between rooms stay where they are left. All good. I'm only using one version of the objects with a Spawned Object script on it. When I create a level at design time, I cr...
by kenlem
Sun Mar 12, 2023 3:56 pm
Forum: Dialogue System for Unity
Topic: Save/Load Items across scene
Replies: 9
Views: 645

Re: Save/Load Items across scene

Ah, the key point in your reply is to have 2 versions of the object, one for use at design time and one to spawn. Was hoping to avoid that but if I can't, no big deal.
by kenlem
Sun Mar 12, 2023 3:53 pm
Forum: Dialogue System for Unity
Topic: Save/Load Items across scene
Replies: 9
Views: 645

Re: Save/Load Items across scene

I have added a UIS Saver component on my player. I can see the item save information for that is in my save game data and items save and load to inventory properly so I think I'm all good there. I'm not using UCC (Ultimate Character Controller, I assume). I'm working in VR so I'm not going to do it ...
by kenlem
Sun Mar 12, 2023 3:13 pm
Forum: Dialogue System for Unity
Topic: Save/Load Items across scene
Replies: 9
Views: 645

Re: Save/Load Items across scene

Well, that was easy. Thanks. I am now able to move spawned items between scenes. When I put an object in my inventory, I disable the SpawnedObject component and the object in my inventory doesn't get saved, which is the correct behavior. I then load into another scene and take the object out of inve...
by kenlem
Tue Mar 07, 2023 6:21 am
Forum: Dialogue System for Unity
Topic: Save/Load Items across scene
Replies: 9
Views: 645

Save/Load Items across scene

Hi, I want to have object persistence like in Fallout 3 and such where you can pick up an object in one level and drop it in another. I'm trying to figure out how to use the save/load system to have objects move between levels if they are in your inventory. I'm working on a VR game using Dialogue Sy...
by kenlem
Sat Feb 25, 2023 3:11 pm
Forum: Dialogue System for Unity
Topic: Dialogue System: Ending conversation on OnClick
Replies: 1
Views: 123

Dialogue System: Ending conversation on OnClick

I resurrected some old speech recognition code I had that used to work. Now, when I run it, the OnClick ends the conversation instead of selecting the item. I'm using Private Hart from the demo database. When an entry is recognized the OnClick in the my code below is fired. The selections go away an...
by kenlem
Thu Feb 16, 2023 6:23 am
Forum: Dialogue System for Unity
Topic: Saving/Loading Player Spawn Point with Complex Player Rig
Replies: 4
Views: 234

Re: Saving/Loading Player Spawn Point with Complex Player Rig

Tony Li wrote: Wed Feb 15, 2023 10:29 pm Hi,

You can make a subclass of PositionSaver for your player and override the SetPosition method.
Worked like a charm. Just amazing...

Thanks for the support.