Can't get Opsive Third Person Controller and Dialogue system working

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fantome2024
Posts: 2
Joined: Tue Dec 03, 2019 5:58 pm

Can't get Opsive Third Person Controller and Dialogue system working

Post by fantome2024 »

Hi all, new to dialogue system I'm currently using the demo before buying to see if I can get this working and I'm failing miserably. I watched the tutorial video but I'm curious if its slightly out of date. I've following the tutorial and still can't get an npc to interact with it. If I set the conversation to start on load it works fine but the moment it's set to trigger on approach nothing. I've attempted to use debug and don't seem to see anything. If someone could assist I would really appreciate the assistance.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Tony Li »

Hi,

What version of the Opsive Third Person Controller (TPC) are you using? There is a Pixel Crushers video for TPC version 1, which is Opsive's older, deprecated TPC.

However, if you're using TPC version 1 and have imported the 'Third Person Controller Support' package that's in the Dialogue System's Third Party Support folder, then it includes an example scene. Does the interaction in this example scene work correctly?

If you're using TPC version 2 (the version that's available on the Asset Store), the example scene should also work. You should be able to walk up to Private Hart and press 'F' to start a conversation. Does this scene work correctly in your project?
Drenyn
Posts: 3
Joined: Wed Dec 04, 2019 9:30 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Drenyn »

I'm having a similar issue, as I can't get the Demo scene to work. I keep getting error message abouts "ThirdPersonController" does not exist in the namespace 'Opsive', which I think is due to them changing the name of it in the folder to Ultimate Character Controller.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Tony Li »

Hi,

Are you using Third Person Controller version 2.x? (That's the version on the Asset Store.)

Or are you using the deprecated Third Person Controller version 1.x?

If you're using TPC v2, please do not import the 'Third Person Controller Support' package located in the Dialogue System's Third Party Support folder. It's for TPC v1. In the next release, it will be renamed 'TPCv1 Support' to make this clearer.

If you're using TPCv2 and you've already imported the 'Third Person Controller Support' package for TPCv1, please delete the folder that it created.

Then select menu item Tools > Opsive > Ultimate Character Controller > Integrations Manager, and download the Dialogue System integration from Opsive's site.
Drenyn
Posts: 3
Joined: Wed Dec 04, 2019 9:30 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Drenyn »

That worked, except now I'm getting an error about CameraController: "Assets\Pixel Crushers\Dialogue System\Third Party Support\Opsive UCC Support\Scripts\Character\Abilities\Converse.cs(71,79): error CS0118: 'CameraController' is a namespace but is used like a type"

Thanks!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Tony Li »

Hi,

It sounds like you have another asset or script (not Opsive TPC) that redefines 'CameraController' as a namespace.

This patch should disambiguate it so the Converse ability will be able to talk to Opsive TPC instead of the other asset/script:

DS_OpsiveUCC_Patch_2019-12-07.unitypackage
Drenyn
Posts: 3
Joined: Wed Dec 04, 2019 9:30 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Drenyn »

That took care of it! Thank you so much.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't get Opsive Third Person Controller and Dialogue system working

Post by Tony Li »

Glad to help!
Post Reply