Page 1 of 1
Can't get Opsive Third Person Controller and Dialogue system working
Posted: Tue Dec 03, 2019 6:02 pm
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.
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Tue Dec 03, 2019 10:18 pm
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?
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Fri Dec 06, 2019 12:10 am
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.
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Fri Dec 06, 2019 8:43 am
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.
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Sat Dec 07, 2019 12:03 am
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!
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Sat Dec 07, 2019 8:53 am
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
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Sun Dec 08, 2019 1:29 pm
by Drenyn
That took care of it! Thank you so much.
Re: Can't get Opsive Third Person Controller and Dialogue system working
Posted: Sun Dec 08, 2019 1:43 pm
by Tony Li
Glad to help!