Page 1 of 3

Using Invector Trouble

Posted: Wed Jan 22, 2020 2:19 pm
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!!


Re: Using Invector Trouble

Posted: Wed Jan 22, 2020 2:38 pm
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.

Re: Using Invector Trouble

Posted: Wed Jan 22, 2020 2:44 pm
by DeidreReay
That sounds Spot on. I cant seem to find the demo scene. Where is it located?

Re: Using Invector Trouble

Posted: Wed Jan 22, 2020 2:48 pm
by DeidreReay
NVM found it thank you

Re: Using Invector Trouble

Posted: Wed Jan 22, 2020 4:22 pm
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?

Re: Using Invector Trouble

Posted: Wed Jan 22, 2020 5:16 pm
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.

Re: Using Invector Trouble

Posted: Wed Jan 22, 2020 6:05 pm
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

Re: Using Invector Trouble

Posted: Thu Jan 23, 2020 12:56 pm
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??

Re: Using Invector Trouble

Posted: Thu Jan 23, 2020 1:59 pm
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.

Re: Using Invector Trouble

Posted: Thu Jan 23, 2020 3:44 pm
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