Jump to content

NpcRaiders 1.8.0

$24.00 $22.80
   (7 reviews)
Message added by Razor,

Do not forget to check out the bundle listed on the right site of the page and save.

1 Screenshot

  • 224.2k
  • 3.3k
  • 201.26 kB

Recommended Comments



How do I set the config to have mlrs rockets come down every wave? 

this setting is not working


        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "50": 50
        },

 

Link to comment
Share on other sites
40 minutes ago, Covfefe said:

How do I set the config to have mlrs rockets come down every wave? 

this setting is not working


        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "50": 50
        },

 

The first # is the wave the 2 number is the ammount

"Mlrs waves and amounts": {
    "1": 6,
    "2": 6,
    "3": 6,
    "4": 6
},

 

Link to comment
Share on other sites
23 hours ago, Razor said:

The first # is the wave the 2 number is the ammount

"Mlrs waves and amounts": {
    "1": 6,
    "2": 6,
    "3": 6,
    "4": 6
},

 

I set this for medium and my player had non stop mlrs rockets until I unloaded the plugin. Am I doing it wrong?

Quote

"medium": {
        "The Permission": "npcraiders.medium",
        "Total npcs per wave": 20,
        "How many extra waves": 19,
        "Seconds untell next wave": 4,
        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "1": 1,
          "2": 0,
          "3": 0,
          "4": 0,
          "5": 0,
          "6": 1,
          "7": 0,
          "8": 1,
          "9": 0,
          "10": 1,
          "11": 0,
          "12": 0,
          "13": 0,
          "14": 0,
          "15": 1,
          "16": 0,
          "17": 1,
          "18": 0,
          "19": 1
        },
        "Total event time in seconds": 9999,
        "Block event players from repairing": false,
        "Npc drop loot on death": true,
        "Npc drop loot config names": [
          "medium"
        ],

 

Link to comment
Share on other sites
22 minutes ago, Covfefe said:

I set this for medium and my player had non stop mlrs rockets until I unloaded the plugin. Am I doing it wrong?

 

Send me your config

Link to comment
Share on other sites

I wish we could make this a random event that spawns in near a base over a certain size when they are online and starts to raid their base or build a raid tower and raid / flood out from it to raid.

Link to comment
Share on other sites
3 hours ago, Rust.Matrixx said:

I wish we could make this a random event that spawns in near a base over a certain size when they are online and starts to raid their base or build a raid tower and raid / flood out from it to raid.

Have you looked into random raids plugin?

Link to comment
Share on other sites
On 9/16/2023 at 11:00 PM, Razor said:

Send me your config

Quote


  "Random settings": {
    "Chat command": "raidme",
    "The Maxum amount of raid events that can go on at once": 99,
    "Cooldown before you can call in another raid": 1,
    "Cooldown after authorising on a tc be for you can start a raid": 1,
    "The maxum amount of time a rocket will fly before exploding": 4.0,
    "Limit the damage to players building": false,
    "Npc spawn damage delay": 1.0,
    "Log raidme buy chat command": true,
    "Use GameTip messages": true,
    "Use chat messages": true
  },
  "All Raid Types": {
    "Raid types must be in lowercase": {
      "easy": {
        "The Permission": "npcraiders.easy",
        "Total npcs per wave": 10,
        "How many extra waves": 9,
        "Seconds untell next wave": 5,
        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "1": 0,
          "2": 0,
          "3": 0,
          "4": 0,
          "5": 0,
          "6": 1,
          "7": 0,
          "8": 1,
          "9": 0,
          "10": 1
        },
        "Total event time in seconds": 9999,
        "Block event players from repairing": false,
        "Npc drop loot on death": true,
        "Npc drop loot config names": [
          "easy"
        ],
        "Spawn health of the npc": 100.0,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "External Tc Scan Range": 100.0,
        "Explosive item shortnames": [
          "grenade.beancan",
          "explosive.satchel"
        ],
        "Names to give the npcs": [
          "Easy Raider"
        ],
        "Spawn kits for the npcs": [
          "scientisteasy"
        ],
        "NPC aimConeScale default 2.0": 0.1
      },
      "medium": {
        "The Permission": "npcraiders.medium",
        "Total npcs per wave": 20,
        "How many extra waves": 19,
        "Seconds untell next wave": 4,
        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "1": 1,
          "2": 0,
          "3": 0,
          "4": 0,
          "5": 0,
          "6": 1,
          "7": 0,
          "8": 1,
          "9": 0,
          "10": 1,
          "11": 0,
          "12": 0,
          "13": 0,
          "14": 0,
          "15": 1,
          "16": 0,
          "17": 1,
          "18": 0,
          "19": 1
        },
        "Total event time in seconds": 9999,
        "Block event players from repairing": false,
        "Npc drop loot on death": true,
        "Npc drop loot config names": [
          "medium"
        ],
        "Spawn health of the npc": 200.0,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "External Tc Scan Range": 100.0,
        "Explosive item shortnames": [
          "grenade.f1",
          "explosive.satchel"
        ],
        "Names to give the npcs": [
          "Medium Raider"
        ],
        "Spawn kits for the npcs": [
          "scientistmedium"
        ],
        "NPC aimConeScale default 2.0": 0.1
      },
      "hard": {
        "The Permission": "npcraiders.hard",
        "Total npcs per wave": 30,
        "How many extra waves": 29,
        "Seconds untell next wave": 3,
        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "1": 1,
          "2": 2,
          "3": 3,
          "4": 4,
          "5": 5,
          "6": 5,
          "7": 7,
          "8": 8,
          "9": 9,
          "10": 10,
          "11": 11,
          "12": 12,
          "13": 13,
          "14": 14,
          "15": 15,
          "16": 16,
          "17": 17,
          "18": 18,
          "19": 19,
          "20": 20,
          "21": 21,
          "22": 22,
          "23": 23,
          "24": 24,
          "25": 25,
          "26": 26,
          "27": 27,
          "28": 28,
          "29": 29
        },
        "Total event time in seconds": 9999,
        "Block event players from repairing": false,
        "Npc drop loot on death": true,
        "Npc drop loot config names": [
          "hard"
        ],
        "Spawn health of the npc": 300.0,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "External Tc Scan Range": 100.0,
        "Explosive item shortnames": [
          "explosive.timed",
          "explosive.satchel"
        ],
        "Names to give the npcs": [
          "Hard Raider"
        ],
        "Spawn kits for the npcs": [
          "scientisthard"
        ],
        "NPC aimConeScale default 2.0": 0.1
      },
      "expert": {
        "The Permission": "npcraiders.expert",
        "Total npcs per wave": 40,
        "How many extra waves": 39,
        "Seconds untell next wave": 2,
        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "1": 1,
          "2": 2,
          "3": 3,
          "4": 4,
          "5": 5,
          "6": 5,
          "7": 7,
          "8": 8,
          "9": 9,
          "10": 10,
          "11": 11,
          "12": 12,
          "13": 13,
          "14": 14,
          "15": 15,
          "16": 16,
          "17": 17,
          "18": 18,
          "19": 19,
          "20": 20,
          "21": 21,
          "22": 22,
          "23": 23,
          "24": 24,
          "25": 25,
          "26": 26,
          "27": 27,
          "28": 28,
          "29": 29,
          "30": 30,
          "31": 31,
          "32": 32,
          "33": 33,
          "34": 34,
          "35": 35,
          "36": 36,
          "37": 37,
          "38": 38,
          "39": 39
        },
        "Total event time in seconds": 9999,
        "Block event players from repairing": false,
        "Npc drop loot on death": true,
        "Npc drop loot config names": [
          "expert"
        ],
        "Spawn health of the npc": 400.0,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 1.0,
        "External Tc Scan Range": 100.0,
        "Explosive item shortnames": [
          "explosive.timed"
        ],
        "Names to give the npcs": [
          "Expert Raider"
        ],
        "Spawn kits for the npcs": [
          "scientistexpert"
        ],
        "NPC aimConeScale default 2.0": 0.1
      },
      "nightmare": {
        "The Permission": "npcraiders.nightmare",
        "Total npcs per wave": 50,
        "How many extra waves": 49,
        "Seconds untell next wave": 1,
        "Npc fires Mlrs at base": true,
        "Mlrs waves and amounts": {
          "1": 1,
          "2": 2,
          "3": 3,
          "4": 4,
          "5": 5,
          "6": 5,
          "7": 7,
          "8": 8,
          "9": 9,
          "10": 10,
          "11": 11,
          "12": 12,
          "13": 13,
          "14": 14,
          "15": 15,
          "16": 16,
          "17": 17,
          "18": 18,
          "19": 19,
          "20": 20,
          "21": 21,
          "22": 22,
          "23": 23,
          "24": 24,
          "25": 25,
          "26": 26,
          "27": 27,
          "28": 28,
          "29": 29,
          "30": 30,
          "31": 31,
          "32": 32,
          "33": 33,
          "34": 34,
          "35": 35,
          "36": 36,
          "38": 38,
          "39": 39,
          "40": 40,
          "41": 41,
          "42": 42,
          "43": 43,
          "44": 44,
          "45": 45,
          "46": 46,
          "47": 47,
          "48": 48,
          "49": 49
        },
        "Total event time in seconds": 9999,
        "Block event players from repairing": false,
        "Npc drop loot on death": true,
        "Npc drop loot config names": [
          "nightmare"
        ],
        "Spawn health of the npc": 500.0,
        "Rocket damage scale": 1.0,
        "Player damage scale from npc": 1.0,
        "Auto turret damage scale to npc": 0.5,
        "External Tc Scan Range": 100.0,
        "Explosive item shortnames": [
          "explosive.timed"
        ],
        "Names to give the npcs": [
          "Nightmare Raider"
        ],
        "Spawn kits for the npcs": [
          "scientistnightmare"
        ],
        "NPC aimConeScale default 2.0": 0.1
      }
    }
  },
  "Raid Buy Options": {
    "BuyOptions": {
      "easy": {
        "BuyType": "-932201673",
        "BuyAmmount": 100
      },
      "medium": {
        "BuyType": "-932201673",
        "BuyAmmount": 200
      },
      "hard": {
        "BuyType": "-932201673",
        "BuyAmmount": 300
      },
      "expert": {
        "BuyType": "-932201673",
        "BuyAmmount": 400
      },
      "nightmare": {
        "BuyType": "-932201673",
        "BuyAmmount": 500
      }
    }
  },
  "Raid Reward Options": {
    "RewardOptions": {
      "easy": {
        "enabled": true,
        "rewardAll": true,
        "RewardType": "-932201673",
        "RewardAmmount": 500
      },
      "medium": {
        "enabled": true,
        "rewardAll": true,
        "RewardType": "-932201673",
        "RewardAmmount": 1000
      },
      "hard": {
        "enabled": true,
        "rewardAll": true,
        "RewardType": "-932201673",
        "RewardAmmount": 2000
      },
      "expert": {
        "enabled": true,
        "rewardAll": true,
        "RewardType": "-932201673",
        "RewardAmmount": 3000
      },
      "nightmare": {
        "enabled": true,
        "rewardAll": true,
        "RewardType": "-932201673",
        "RewardAmmount": 4000
      }
    }
  },
  "Raid Vip Options": {
    "VipOptions": {}
  },
  "Block raid in colider": {
    "Blocked": [
      "iceberg",
      "ice_berg",
      "ice_sheet",
      "icesheet"
    ]
  },
  "Version": {
    "Major": 1,
    "Minor": 6,
    "Patch": 0
  }
}

 

Link to comment
Share on other sites

remove the 0 usage ones

"1": 0,
          "2": 0,
          "3": 0,
          "4": 0,
          "5": 0,
          "6": 1,
          "7": 0,
          "8": 1,
          "9": 0,
          "10": 1

 

to

 

          "6": 1,
          "8": 1,
          "10": 1

 

Link to comment
Share on other sites

I keep getting this error that counts up infinitely:


"Not enough spawn positions increasing radius for building to 520"

 

Any ideas? Here's my config. I have tried three different base areas completely different from each other.

NpcRaiders.json

Link to comment
Share on other sites
On 11/8/2023 at 7:16 PM, MoZo said:

I keep getting this error that counts up infinitely:


"Not enough spawn positions increasing radius for building to 520"

 

Any ideas? Here's my config. I have tried three different base areas completely different from each other.

NpcRaiders.json 6.77 kB · 1 download

I've found if a player builds on an Ice Lake and there's any kind of cliffs around, this happens a lot.  Ice Lake's seem to break this so might be worth looking to see if you're running into the same thing.  

Link to comment
Share on other sites

Eh Razor, I submitted an update via DM for the plugin to you to allow setup of Door Campers.  Not sure if you saw the message or not.  But all code is included as well as change details.

Also wanted to put in for a feature request.  TC Depletion.  I know the code example below is incomplete and not proper, but it convey's the idea I believe.  Basically, this adds an element to a PVE NPC server that's really missing on PVE.  Where resources are just "lost" due to raid attempts.  

 

TC Depletion: true/false (enable disable)
TC Depletion Tick Rate Every X Seconds: 30  (range from 10 seconds to 5 minutes)
TC Depletion Per Tick: 0.01   (recommended 1%-10%, ex: 0.01-0.10)


 

 

If Enabled = True:

For (EveryTCDepelectionSeconds)

{

TCDeplectionTickCalc(obj tc)

{

tc.HQM = tc.HQM - (config.DepletionPerTickRate * tc.HQM);

tc.HQMOre = tc.HQMOre - (config.DepletionPerTickRate * tc.HQMOre);

tc.MetalFrags = tc.MetalFrags - (config.DepletionPerTickRate * tc.MetalFrags);

tc.MetalOre = tc.MetalOre - (config.DepletionPerTickRate * tc.MetalOre);

tc.Stone = tc.Stone - (config.DepletionPerTickRate * tc.Stone);

tc.Wood = tc.Wood - (config.DepletionPerTickRate * tc.Wood);

}

 

}

Edited by Jackelmyer
Link to comment
Share on other sites

is there an option for how far away the mlrs will come from? currently they spawn too close to use sams against them.

Link to comment
Share on other sites

 

NpcRaiders - Failed to compile: 'NpcRaiders.NpcRaider.CreateCorpse()': no suitable method found to override | Line: 2170, Pos: 40

Link to comment
Share on other sites

 

NpcRaiders - Failed to compile: 'NpcRaiders.NpcRaider.CreateCorpse()': no suitable method found to override | Line: 2170, Pos: 40

Link to comment
Share on other sites
2 hours ago, Covfefe said:

 

NpcRaiders - Failed to compile: 'NpcRaiders.NpcRaider.CreateCorpse()': no suitable method found to override | Line: 2170, Pos: 40

Change:
public override BaseCorpse CreateCorpse()
changed to
public override BaseCorpse CreateCorpse(BasePlayer.PlayerFlags flagsOnDeath, Vector3 posOnDeath, Quaternion rotOnDeath, BaseEntity parentOnDeath)

Link to comment
Share on other sites

How do I change the kits the npc spawn with I have created 3 kits for them but not sure what to change to put them in

do I just amend these lines:

        "Spawn kits for the npcs": [],
        "NPC aimConeScale default 2.0": 2.0

so i add the kits names like this?

        "Spawn kits for the npcs": [npc1, npc2, npc3],
        "NPC aimConeScale default 2.0": 2.0

 

Great plugin my server players love it.

Link to comment
Share on other sites
8 hours ago, GamingMadhouse said:

How do I change the kits the npc spawn with I have created 3 kits for them but not sure what to change to put them in

 

do I just amend these lines:

 

        "Spawn kits for the npcs": [],

        "NPC aimConeScale default 2.0": 2.0

 

so i add the kits names like this?

 

        "Spawn kits for the npcs": [npc1, npc2, npc3],

        "NPC aimConeScale default 2.0": 2.0

 

 

 

Great plugin my server players love it.

 

Edited by GamingMadhouse
Link to comment
Share on other sites
11 hours ago, GamingMadhouse said:

How do I change the kits the npc spawn with I have created 3 kits for them but not sure what to change to put them in

do I just amend these lines:

        "Spawn kits for the npcs": [],
        "NPC aimConeScale default 2.0": 2.0

so i add the kits names like this?

        "Spawn kits for the npcs": [npc1, npc2, npc3],
        "NPC aimConeScale default 2.0": 2.0

 

Great plugin my server players love it.

almost close they need to be in brackets ["npc1", "npc2", "npc3"]

Link to comment
Share on other sites

Would it be possible to add a config option to specify in-game time that raids can be called?
For instance between the hours of 0800 and 1700 you can call a raid, but between 1701 and 0559 you can't.

Link to comment
Share on other sites

Hey sorry to be a bother.

Just curious if it is possible to add a bradley to the final waves of expert and nightmare, we absolutely love the plugin but something terrifying like a tank leading the final pushes would be amazing. 

Link to comment
Share on other sites

Just checking, both on this and NPC Random Raids : 
I use BetterNPC. Is this compatible?
If not will NPC Random Raid work for what I want : 
On a TruePvE Server, running BetterNPC (I like the custom NPC profiles) I want a player to be able to buy a raid of a given level in the shop, and have the bots raid their base. If that doesn't work, a command to buy is OK.
 

Link to comment
Share on other sites

A command will work shop will not others have betternpc and they fixed the compatibility issue a while ago, works with truePVE

Link to comment
Share on other sites

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 5
  • Sad 1
  • Love 4

Razor's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.1k

Files Sold

Total number of files sold.

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.