Jump to content

Talking Npc Vendors 1.4.5

$25.00 $22.50
   (4 reviews)

1 Screenshot

  • 42.2k
  • 476
  • 20 kB
This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Razor

Posted

21 minutes ago, Persona said:

I'm the only one who can't get "Server Wide Cooldown" to work. ?

Do both npc's have the same conversation file?

Persona

Posted

14 minutes ago, Razor said:

Д обоих NPC одинаковый файл разговора?

Sorry, I thought this function blocks all players from accessing this dialogue if someone has already talked to the NPC.

Razor

Posted

Just now, Persona said:

Sorry, I thought this function blocks all players from accessing this dialogue if someone has already talked to the NPC.

No just globally for the player.

TheGhostOfChaos

Posted

I keep encountering the same wierd issue:

Failed to call internal hook 'OnTalkingNpcSpawnCheck' on plugin 'TalkingNpcVehicles v1.4.5' [2930185949] (The given key 'duosub' was not present in the dictionary.)

I added the submarine's the way Vanilla rust has them in there NPC.
This is done by adding the options within the Conversations and within the Data including the prefab.
The names it needs to spawn and from the addon file are correct.

It worked then it quit again it really makes no sense to me why this is happening.

I did the excact same thing with a helicopter which works perfectly fine but adding submarine's doesnt work at all.

chaosboats.json chaosboats.json

TheGhostOfChaos

Posted

Just now, TheGhostOfChaos said:

I keep encountering the same wierd issue:

Failed to call internal hook 'OnTalkingNpcSpawnCheck' on plugin 'TalkingNpcVehicles v1.4.5' [2930185949] (The given key 'duosub' was not present in the dictionary.)

I added the submarine's the way Vanilla rust has them in there NPC.
This is done by adding the options within the Conversations and within the Data including the prefab.
The names it needs to spawn and from the addon file are correct.

It worked then it quit again it really makes no sense to me why this is happening.

I did the excact same thing with a helicopter which works perfectly fine but adding submarine's doesnt work at all.

chaosboats.json 2.26 kB · 0 downloads chaosboats.json 2.38 kB · 0 downloads

Included are the Addon file and the Conversation if anyone can help me solve this issue.

Also the RHIB and Rowboat do spawn Tugboat doesnt anymore and i can either have the boats or the submarine's spawning but not all.

Razor

Posted

8 minutes ago, TheGhostOfChaos said:

Included are the Addon file and the Conversation if anyone can help me solve this issue.

Also the RHIB and Rowboat do spawn Tugboat doesnt anymore and i can either have the boats or the submarine's spawning but not all.

What conversation file r you using? what command did you add to the conversation file to spawn them?

TheGhostOfChaos

Posted

Just now, Razor said:

What conversation file r you using? what command did you add to the conversation file to spawn them?

"talking_npc vehicle spawn duosub $npcName"
"talking_npc vehicle spawn solosub $npcName"

    "solosub": {
        "prefab": "assets/content/vehicles/submarine/submarinesolo.entity.prefab",
        "position": {
            "x": 4.27357149,
            "y": 1.14182973,
            "z": 27.9427643
        },
        "rotation": {
            "x": 0,
            "y": 0.26675415,
            "z": 0
        },
        "monument": "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_c.prefab",
        "fuleAmount": 0,
        "teamlock": false,
        "skinID": null
    },
    "duosub": {
        "prefab": "assets/content/vehicles/submarine/submarineduo.entity.prefab",
        "position": {
            "x": 4.27357149,
            "y": 1.14182973,
            "z": 27.9427643
        },
        "rotation": {
            "x": 0,
            "y": 0.26675415,
            "z": 0
        },
        "monument": "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_c.prefab",
        "fuleAmount": 0,
        "teamlock": false,
        "skinID": null

Default conversation file is Boats vendor

 

Razor

Posted (edited)

im not sure. use a json validator make sure ya file is correct.

Edited by Razor
TheGhostOfChaos

Posted

1 minute ago, Razor said:

that command does not exists in the talking npc vehicles file.

I pulled it out to add with within the comments:


        "Message": "Here is my 250 cash.",
        "Needs Permission (null = No)": null,
        "Player Commands": [
          "talking_npc vehicle spawn rowboat $npcName"
        ],
        "Server Commands": [],
        "Next Message (null = Close UI)": 8,
        "Price": 250,
        "Currency": {
          "Item ID": -1779183908,
          "Skin ID": 2420097877
        },
        "Insufficient Funds Message (null = Close UI)": 9,
        "Cooldown": 0,
        "Server Wide Cooldown": false
      },

This is how my spawn looks like this is the default one i copied pasted this and set up the required Next Message Insufficient Funds etc.
Price and SkinID for Economics.

BUt the Player commands have been copied from this setup and used on all

Razor

Posted

I can tell your json where you added the information is not correct you cut off information from the tugboat so you have a bad json file.

re look at your work.

TheGhostOfChaos

Posted

9 minutes ago, Razor said:

I can tell your json where you added the information is not correct you cut off information from the tugboat so you have a bad json file.

re look at your work.

I have been looking for hours lol i didnt notice it and i couldnt get it to work. Makes sense if half the information is there lmfao.

Thanks m8

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 3

Razor's Collection

User Feedback

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

126k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.