Camera

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
maximuz24
Posts: 18
Joined: Fri Apr 03, 2020 2:16 pm

Camera

Post by maximuz24 »

How i can show the camera to NPC when starting a conversattion. Please find attached invector template.do u have video tutorial for dialouge system quest for playmaker and also have discord?

Thanks in advance
Attachments
ds.JPG
ds.JPG (77.78 KiB) Viewed 1545 times
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Camera

Post by Tony Li »

Hi,

The _README.txt file has a link to the discord server. The discord server is for discussion, not support. Use this forum to get support help.

The Tutorials page has quest tutorials.

Here is the PlayMaker page: PlayMaker Support

Here is the Invector page: Invector Support

Here is an easy way to handle the camera with Invector:
  • Create a new camera. Set its Depth higher than the Invector camera depth. Set the camera inactive. Assign the camera to the Dialogue Manager's Display Settings > Camera & Cutscene Settings > Sequencer Camera.
  • Set the Default Sequence to:

    Code: Select all

    Camera(Closeup,,1); Delay({{end}})
maximuz24
Posts: 18
Joined: Fri Apr 03, 2020 2:16 pm

Re: Camera

Post by maximuz24 »

Thanks for the quick reply i added an extra camera and added as per your information but i am getting the below error.

Dialogue System: Sequencer: Camera subject '' wasn't found.
UnityEngine.Debug:LogWarning(Object)
PixelCrushers.DialogueSystem.SequencerCommands.SequencerCommandCamera:Start() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Commands/SequencerCommandCamera.cs:61)
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Camera

Post by Tony Li »

Try assigning the player GameObject to the Dialogue System Trigger's Conversation Actor field and the NPC to the Conversation Conversant.
maximuz24
Posts: 18
Joined: Fri Apr 03, 2020 2:16 pm

Re: Camera

Post by maximuz24 »

Thanks it worked is there any video tutorial for quest using playmaker.
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Camera

Post by Tony Li »

Hi,

No. There's info for PlayMaker and info for quests, but no single tutorial that combines quests and PlayMaker in a single tutorial. In most cases, you won't need to use PlayMaker at all to control quests since the Dialogue System doesn't require scripting for most things. In the few times when you do want to use PlayMaker, just see the PlayMaker Support page for details on the quest actions.
maximuz24
Posts: 18
Joined: Fri Apr 03, 2020 2:16 pm

Re: Camera

Post by maximuz24 »

I added NPC to FSM AI character and add v trigger generic action to FSM ai character to activate by pressing action key but the character falls from the ground please let me know what to do. Also when i press conversation while dialogue is on it will perform action and the NPC runs :).
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Camera

Post by Tony Li »

maximuz24 wrote: Wed Mar 10, 2021 3:21 pmI added NPC to FSM AI character and add v trigger generic action to FSM ai character to activate by pressing action key but the character falls from the ground please let me know what to do.
Which character? Player or NPC? Make sure to set up your player according to the documentation. For the NPC, see below.
maximuz24 wrote: Wed Mar 10, 2021 3:21 pmAlso when i press conversation while dialogue is on it will perform action and the NPC runs :).
Use a Dialogue System Events component to disable the NPC's AI during conversations. See the second half of the Interaction Tutorial for information about using Dialogue System Events.
maximuz24
Posts: 18
Joined: Fri Apr 03, 2020 2:16 pm

Re: Camera

Post by maximuz24 »

ImageThanks, i solved. Now 2 doubts

1, Using playmaker i can save invector character position and inventory I have added invector status saver and position saver.But can find an inventory saver. also, i been confused on using invector saver
2,How i can add audio to the conversation.
Attachments
DS1.JPG
DS1.JPG (299.6 KiB) Viewed 1517 times
DS.JPG
DS.JPG (311.08 KiB) Viewed 1518 times
User avatar
Tony Li
Posts: 22166
Joined: Thu Jul 18, 2013 1:27 pm

Re: Camera

Post by Tony Li »

Hi,
maximuz24 wrote: Fri Mar 12, 2021 2:30 pm1, Using playmaker i can save invector character position and inventory I have added invector status saver and position saver.But can find an inventory saver. also, i been confused on using invector saver
No need for PlayMaker. Use InvectorStatSaver and InvectorInventorySaver as described here.
maximuz24 wrote: Fri Mar 12, 2021 2:30 pm2,How i can add audio to the conversation.
Please see the Cutscene Tutorials 1-4. They will step you through how to add audio.
Post Reply