Jump to content

BetterNPC and Raidable Bases

Pending 1.5.37

HolyMoly
HolyMoly

Posted

I just bought the plugin. I have BetterNPCs Plugin installed and it doesnt count those scientist as kills?

Also how can i add RaidableBases as an event like this:

 

                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "Convoy",
                  "Prefab": "Convoy",
                  "Second Prefab": ""
                }
              ]

MeventSupport

Posted

5 minutes ago, HolyMoly said:

I just bought the plugin. I have BetterNPCs Plugin installed and it doesnt count those scientist as kills?

Also how can i add RaidableBases as an event like this:

 

                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "Convoy",
                  "Prefab": "Convoy",
                  "Second Prefab": ""
                }
              ]

 

IMG_9546.jpeg

HolyMoly

Posted

"Loot Settings": {
    "Enabled": true,
    "Loot": [
      {
        "Enabled": true,
        "Short Name": "Convoy",
        "Loot Type": "Event",
        "Score": 15.0
      },
      {
        "Enabled": true,
        "Short Name": "Aborigine|Amphibiosis-285b63|Amphibiosis|Angler|Arctic-Mercenary|Armyman|Astronauts|Bee-Man|Chicken-Man|Crocodile-Man|Desert-Sniper|Diver|Elder-Aborigine|Engineer|Farmer|Fishman|Harbor-Porter|Hired-gun|Homeless-02cad9|Homeless|Jungle-Man|Kangaroo-Man|Krieg|Ladybug-Man|Lieutenant|Liquidman|Machinist|Marauder|Marksmen|Mechanic|Mercenary|Military-756dec|Military-Porter|Military-Scientist-634479|Military-Scientist|Military|Miner-c1c5db|Miner|Mordecai|Nine-Toes-da44fd|Nine-Toes|Oil-Rig-Worker-79bbfd|Oil-Rig-Worker|Oilman|Older-Fishman|Older-Miner|Older-Oil-Rig-Worker-e33990|Older-Oil-Rig-Worker|Outcast-084156|Outcast|Patrolman-7f94ca|Patrolman|Pollar-Bear-Man|Porter|Power-Hired-gun|Rabbit-Man|Radioactive-Scientist|Radioactive-Sentry|Radioactive-Soldier|Scavenger|Scientist-7b148a|Scientist-8bd9fa|Scientist-8e7661|Scientist-a4cc4e|Scientist|ScientistSoldier|Shark-Man|Sniper|Soldier|Space-Mercenary|Space-Porter|Space-Scientist|Space-Sentry|System-Operator|The-Sentry|Top-Miner|Villager|Wolf-Man|Worker-ca1e75|worker|Worker|Workman",
        "Loot Type": "Kill",
        "Score": 0.5
      },  like this?

HolyMoly

Posted

the score goes up like that but it doesnt show it in NPC Kills count

HolyMoly

Posted

    {
      "Type": "Kill",
      "Prefab": "npc_tunneldweller|npc_tunneldwellerspawned|npc_underwaterdweller|scientistnpc_arena|scientistnpc_bradley|scientistnpc_bradley_heavy|scientistnpc_cargo|scientistnpc_cargo_turret_any|scientistnpc_cargo_turret_lr300|scientistnpc_ch47_gunner|scientistnpc_excavator|scientistnpc_full_any|scientistnpc_full_lr300|scientistnpc_full_mp5|scientistnpc_full_pistol|scientistnpc_full_shotgun|scientistnpc_heavy|scientistnpc_junkpile_pistol|scientistnpc_oilrig|scientistnpc_patrol|scientistnpc_patrol_arctic|scientistnpc_peacekeeper|scientistnpc_roam|scientistnpc_roam_nvg_variant|scientistnpc_roamtethered",
      "Name": "NPC Kills",
      "Width": 100.0,
      "Is Default?": false,
      "Disable sorting and selection": false
    }, can i just add my npcs here at the prefab line?

MeventSupport

Posted

1 hour ago, HolyMoly said:

    {
      "Type": "Kill",
      "Prefab": "npc_tunneldweller|npc_tunneldwellerspawned|npc_underwaterdweller|scientistnpc_arena|scientistnpc_bradley|scientistnpc_bradley_heavy|scientistnpc_cargo|scientistnpc_cargo_turret_any|scientistnpc_cargo_turret_lr300|scientistnpc_ch47_gunner|scientistnpc_excavator|scientistnpc_full_any|scientistnpc_full_lr300|scientistnpc_full_mp5|scientistnpc_full_pistol|scientistnpc_full_shotgun|scientistnpc_heavy|scientistnpc_junkpile_pistol|scientistnpc_oilrig|scientistnpc_patrol|scientistnpc_patrol_arctic|scientistnpc_peacekeeper|scientistnpc_roam|scientistnpc_roam_nvg_variant|scientistnpc_roamtethered",
      "Name": "NPC Kills",
      "Width": 100.0,
      "Is Default?": false,
      "Disable sorting and selection": false
    }, can i just add my npcs here at the prefab line?

Hey! So quick breakdown:

 

NPC Kills not counting: Your Loot Settings scoring works because it matches BetterNPCs names correctly, but the NPC Kills column has a separate "Prefab" list that only has vanilla NPCs. You need to add BetterNPCs names there too. If you're not sure what exact names the plugin records for your custom NPCs, enable "Debug Stats": true in the config - it'll print every stat update to console, so you'll see something like Stats update - LootType: Kill, Prefab: Sniper, Value: 1. Then use whatever shows up in the column's Prefab field.

RaidableBases: It has its own type - use "Type": "RaidableBases" (not "Event"). Prefab values are the difficulty modes: easy|medium|hard|expert|nightmare. The plugin automatically hooks into OnRaidableBaseCompleted, no extra setup needed besides the column config.

HolyMoly

Posted

The BetterNpc thing is working now thanks! tho im stil  struggling with RaidableBases. I have it in EVents now :             

 

 

  "Title": "EVENTS",          

              "Fields": [
                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "Convoy",
                  "Prefab": "Convoy",
                  "Second Prefab": ""
                },
                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "RaidableBases",
                  "Prefab": "RaidableBases",
                  "Second Prefab": ""
                }
              ]
            }
          ],   

 

That works fine and is shown on leaderboard. But the Loot settting system is not really working.:

 

  "Loot Settings": {
    "Enabled": true,
    "Loot": [
      {
        "Enabled": true,
        "Short Name": "Convoy",
        "Loot Type": "Event",
        "Score": 15.0
      },
      {
        "Enabled": true,
        "Short Name": "RaidableBases",
        "Loot Type": "RaidableBases",
        "Score": 15.0
      }, 

 

do i have to make 5 type like that?:

 

      {
        "Enabled": true,
        "Short Name": "easy",
        "Loot Type": "RaidableBases",
        "Score": 15.0
      }, 

      {
        "Enabled": true,
        "Short Name": "medium",
        "Loot Type": "RaidableBases",
        "Score": 30.0
      }, 

and so on??? is that all than? where are the prefabs for it?

 

  • Curator
Mevent

Posted

Screenshot_20260213_192922_YandexBrowser.jpg.23b9b3c38f7a2ec6826c8bbe258f1c36.jpg

HolyMoly

Posted (edited)

i know that they exist but how should i do the loot settings than?  This is not gonna work than right?:

     {
        "Enabled": true,
        "Short Name": "RaidableBases",
        "Loot Type": "RaidableBases",
        "Score": 15.0
      }, 

Edited by HolyMoly
  • Curator
Mevent

Posted

{

        "Enabled": true,

        "Short Name": "easy",

        "Loot Type": "RaidableBases",

        "Score": 15.0

      }, 

HolyMoly

Posted (edited)

Okay thanks BetterNPC works now

Edited by HolyMoly
  • Love 1
HolyMoly

Posted

So everything with BetterNPC works - for raidable bases it counts up the score after succesful finish but it doeasnt show completet event.

        {
          "BlockType": "Statistics",
          "Columns": [
            {
              "Title": "EVENTS",
              "Fields": [
                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "Convoy",
                  "Prefab": "Convoy",
                  "Second Prefab": ""
                },
                {
                  "Type": "RaidableBases",
                  "Image URL": "https://www.dropbox.com/scl/fi/w19a1tybni9qtj91968e8/rb.png?rlkey=vwh6f7zidffhqwzzbzgnl1y42&st=7blx76hx&dl=1",
                  "Title": "RaidableBases",
                  "Prefab": "RaidableBases",
                  "Second Prefab": ""
                }
              ]   

 

or this:

 

        {
          "BlockType": "Statistics",
          "Columns": [
            {
              "Title": "EVENTS",
              "Fields": [
                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "Convoy",
                  "Prefab": "Convoy",
                  "Second Prefab": ""
                },
                {
                  "Type": "RaidableBases",
                  "Image URL": "https://www.dropbox.com/scl/fi/w19a1tybni9qtj91968e8/rb.png?rlkey=vwh6f7zidffhqwzzbzgnl1y42&st=7blx76hx&dl=1",
                  "Title": "RaidableBases",
                  "Prefab": "easy|medium|hard|expert|nightmare",
                  "Second Prefab": ""
                }
              ]
            }
          ],

 

 

Both does not count up the completed event

 


            }1.png.2718ef5366508995f9275edd090d925a.png

 

  • Curator
Mevent

Posted

Hey! Just change your "Prefab" to "*" — that'll track all raidable base completions regardless of difficulty. The plugin records them by mode (easy, medium, etc.), and "RaidableBases" as a prefab value doesn't match any mode. Keep "Type": "RaidableBases" as is, just fix the prefab. Reload after saving!

HolyMoly

Posted


                {
                  "Type": "RaidableBases",
                  "Image URL": "https://www.dropbox.com/scl/fi/w19a1tybni9qtj91968e8/rb.png?rlkey=vwh6f7zidffhqwzzbzgnl1y42&st=7blx76hx&dl=1",
                  "Title": "RaidableBases",
                  "Prefab": "*",
                  "Second Prefab": ""
                }

 

 

does not work like that 😕

 

  • Curator
Mevent

Posted

Do you have a RaidableBases plugin?

HolyMoly

Posted

This works:

 

"Loot Settings": {
    "Enabled": true,
    "Loot": [
      {
        "Enabled": true,
        "Short Name": "Convoy",
        "Loot Type": "Event",
        "Score": 15.0
      },
      {
        "Enabled": true,
        "Short Name": "easy",
        "Loot Type": "RaidableBases",
        "Score": 15.0
      },
      {
        "Enabled": true,
        "Short Name": "medium",
        "Loot Type": "RaidableBases",
        "Score": 20.0
      },
      {
        "Enabled": true,
        "Short Name": "hard",
        "Loot Type": "RaidableBases",
        "Score": 30.0
      },
      {
        "Enabled": true,
        "Short Name": "expert",
        "Loot Type": "RaidableBases",
        "Score": 40.0
      },
      {
        "Enabled": true,
        "Short Name": "nightmare",
        "Loot Type": "RaidableBases",
        "Score": 50.0
      },  

This does not:

       {
          "BlockType": "Statistics",
          "Columns": [
            {
              "Title": "EVENTS",
              "Fields": [
                {
                  "Type": "Event",
                  "Image URL": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/UltimateLeaderboard/convoy_icon.png",
                  "Title": "Convoy",
                  "Prefab": "Convoy",
                  "Second Prefab": ""
                },
                {
                  "Type": "RaidableBases",
                  "Image URL": "https://www.dropbox.com/scl/fi/w19a1tybni9qtj91968e8/rb.png?rlkey=vwh6f7zidffhqwzzbzgnl1y42&st=7blx76hx&dl=1",
                  "Title": "RaidableBases",
                  "Prefab": "*",
                  "Second Prefab": ""
                }
              ]
            }

2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

149.5k

Files Sold

Total number of files sold.

3.2m

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.