Page 1 of 1

all I want to know [TPC - Dialogue System]

Posted: Mon Dec 05, 2016 7:56 am
by dreb4o
I do everything as described in new video I have a big box collider[Trigger]
It does not show F for the talking It does not show errors
I do everything but does not work someone smart to help

Things I want to add to my project

1.Anyone tell me how to create currency[New video shows how to do shop]
I want to be able to store money and then bought the items with them
if the character has money can not buy anything
I want each player to have their own account

2.how to do missions for each character separately[multiplayer project] I watched video Script/Quest Integration with Dialogue System for Unity
I do not want to interfere with other players
I do not know if it works to TPC

Re: all I want to know [TPC - Dialogue System]

Posted: Mon Dec 05, 2016 11:56 am
by Tony Li
Hi,
dreb4o wrote:I do everything as described in new video I have a big box collider[Trigger]
It does not show F for the talking It does not show errors
Check these things:
  • The layer is set to Ignore Raycast.
  • The collider's Is Trigger checkbox is ticked.
  • The collider is big enough for the player to enter.
  • The Interact component is configured correctly. Make the angle bigger to make it easier to target, and check the layer mask (e.g., Player layer).
This is purely Third Person Controller configuration. It doesn't have anything to do with the Dialogue System at this point, so you don't have to worry about any extra complexities from the Dialogue System. If it helps, you can compare your box collider to any of the interactions in the TPC demo scenes.
dreb4o wrote:Things I want to add to my project

1.Anyone tell me how to create currency[New video shows how to do shop]
I want to be able to store money and then bought the items with them
if the character has money can not buy anything
I suggest that you treat the Dialogue System's data as the local player's information. The "Currency" variable will be the amount of the local player's money. Use the Conditions field to check if the player has enough money. For example:
  • START
    • NPC: "Do you want to buy a shotgun for 30 dollars?"
      Conditions: Variable["Currency"] >= 30
    • NPC: "Come back when you have more money."
      Conditions: Variable["Currency"] < 30
(You don't have to manually type in the Conditions fields. You can use the dropdown Lua wizards.)
dreb4o wrote:I want each player to have their own account
I strongly recommend that you get this working with a single player first. Once you know how to handle a single player, it will be much easier to handle multiple players.
dreb4o wrote:2.how to do missions for each character separately[multiplayer project] I watched video Script/Quest Integration with Dialogue System for Unity
I do not want to interfere with other players
I do not know if it works to TPC
If you treat the Dialogue System's data as the local player's information, it will work this way.

Re: all I want to know [TPC - Dialogue System]

Posted: Tue Dec 06, 2016 9:37 am
by dreb4o
I do tests a few days
I realized why does not work
the problem is in the network [DemoNetworkManager]
after I put everything into pure version then tried other options
as shown in the video [Work normal]
I see that all videos are single player games
Is there any possibility to make video how it's done network manager
does not work for multiplayer projects

I watched most lessons and did not see the connection [single player multiplayer]
I'm not very smart so I will watch the lessons several days
I missed something important[most likely]

Re: all I want to know [TPC - Dialogue System]

Posted: Tue Dec 06, 2016 10:42 am
by Tony Li
Hi,

I'll try to post a short multiplayer video tutorial in the next few days. I'll reply here when it's available.

Re: all I want to know [TPC - Dialogue System]

Posted: Tue Dec 06, 2016 5:04 pm
by dreb4o
it would great
I think it will help