Jump to content

BetterNPC and Raidable Bases

Pending 1.5.37

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?

 

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

Okay thanks everything works now

  • Love 1
2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

149.4k

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.