Using Invector Trouble

Announcements, support questions, and discussion for the Dialogue System.
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Using Invector Trouble

Post by DeidreReay »

Just purchased today and am so excited!
Trying to use newest invector shooter template and running into troubles after a bit.
Installed third party support for invector and can set up simple conversation with (On Start)
Trying to set up as in provided tutorial and Can not get On Use (instead of on start) to work at all. Have tried changing space bar selector choice to E and nothing also tried removing fire button 2 and still nothing. Any help would be appreciated thank you in advance!!

User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Invector Trouble

Post by Tony Li »

Hi,

Thanks for buying the Dialogue System!

Since you're using Invector, I recommend using Invector's interaction system to make it more consistent with the way Invector characters interact with other Invector objects. To see it in action, play the example scene "Dialogue System Invector Locomotion" included in the Dialogue System's Invector Support package. Approach the NPC (Private Hart) and press the 'E' key or gamepad button A.

To set up the scene, I added two components to Private Hart:

1. Dialogue System Trigger set to OnUse. It starts a conversation.

2. vTrigger Generic Action.
  • Its On Player Enter () event shows a child object named vActionText.
  • The On Press Action Input () event calls the Dialogue System Trigger's OnUse method and hides vActionText.
Remember to add a Dialogue System Invector Bridge component to your player, as described in the Setup section of the Invector Support documentation.
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Re: Using Invector Trouble

Post by DeidreReay »

That sounds Spot on. I cant seem to find the demo scene. Where is it located?
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Re: Using Invector Trouble

Post by DeidreReay »

NVM found it thank you
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Re: Using Invector Trouble

Post by DeidreReay »

So setting up everything going smooth and then once generic action is attached to NPC they fall through the floor?? Any idea why that is happening?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Invector Trouble

Post by Tony Li »

Hi,

Compare your NPC with the one in the example scene. Maybe the layer has changed, or it turned a solid collider into a trigger collider.
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Re: Using Invector Trouble

Post by DeidreReay »

Trying to Bake the Navmesh right now and see if that helps.
After that will take a closer look but pretty sure i had it all figured out
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Re: Using Invector Trouble

Post by DeidreReay »

So navmesh didnt do the trick what it was is...
Need to add an empty game object to the NPC and place the trigger generic action inside of that.
Had invector help me this morning work through the problem and that is it.
Maybe update the invector documentations??
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Invector Trouble

Post by Tony Li »

Will do. Thanks for letting me know what fixed your situation. I'll add a note to the documentation in case it will be helpful to others in the future.
DeidreReay
Posts: 93
Joined: Wed Jan 22, 2020 1:20 pm

Re: Using Invector Trouble

Post by DeidreReay »

Is there any documentation or a tutorial about invector inventory and items with using lua??
Just starting out with your asset and loving it but to a point making some easy going quests need to grab whatever item and return not sure how to make that happen using invectors inventory and such.
Thanks
Post Reply