Jump to content

4 Screenshots

  • 144.1k
  • 4.9k
  • 41.24 kB
  • Update details
    v1.5.3
    Released
    Download size41.24 kB
    Total versions47
    Time between versions 1 day
    Typical update pace About every 42 days
    Freshness 48 days ago

Works with

Compatible add-ons, packages, or tools that pair well with this resource.

About HuntsMan

When hunting and the Huntsman catches you killing Game outside hunting season it will come after you

Optional dependencies :

  • Rustkits
  • BetterNpcNames
  • BotReSpawn NEW

Features :

  • A set chance spawning a HuntsMan when hunting for Game (animals) (any value between 0-1)
  • Can assign a kit or a hardcoded outfit.
  • Compatible with NPCKits (NPCKits will not override Huntsman NPC outfits/kits)
  • Setup roam/spawn/damage and health of the HuntsMan.
  • Options to make the Hunter drop his backpack (loottable included)
  • Compatible with the ChickenBow plugin to disable a huntsman spawning when killing those chickens(make sure to reload ChickenBow after updating HuntsMan)
  • Edit each animal to be able to trigger the HuntsMan true/false
  • Support for BasePet's like Frankenstein so they can trigger huntsman aswell for their backpack drops
  • Support for BotReSpawn to use a custom made profile to spawn the HuntsMan (> v1.3.3)  

Permissions :

  • huntsman.cantrigger : To trigger the event

Commands :

  • /hminfo : Shows plugin info/version/author

Configuration :

  • To make a item spawn as a blueprint add .bp behind the shortname (for example  ammo.pistol.bp)
  • Probability from value 0 to 1 is the spawn chance of any item
  • Usage of custom naming is now possible (> v1.4.0)
  • Example of custom items like the ExtendedRecycler plugins recycler item.
      {
        "probability": 0.6,
        "shortname": "box.repair.bench",
        "name": "Recycler",
        "skin": 1594245394,
        "amountMin": 1,
        "amount": 1
      },

When using BotReSpawn to spawn the Huntsman :

  • It will use all settings from the custom profile that is made with BotReSpawn (Data Folder)
    spawn range , max roam ,HP   etc. etc.
  • In the BRS profile set the suicide timer high so that HuntsMan.cs can set the suicides  (Lifetime)
  • The name of the npc will be named by HuntsMan.cs so you can name it in BRS as a placeholder
  • Profile name to be used is best to avoid spaces and Uppercase in the name

Example below to set a list of skins :

      {
        "probability": 1.0,
        "shortname": "pickaxe",
        "name": "",
        "Skin list": [
          3163818649,
          1962043729
        ],
        "amountMin": 1,
        "amount": 1
      },

Example config belows :

{
  "Use Debug": true,
  "BotRespawn Settings": {
    "Use BotReSpawn": false,
    "BotReSpawn profile name": "huntsman"
  },
  "Animals to trigger HuntsMan": {
    "Alpha Animal": true,
    "Omega Animal": true,
    "Bear": true,
    "Polar Bear": true,
    "Boar": true,
    "Chicken": true,
    "Stag": true,
    "Wolf": true,
    "Wolf2": true,
    "Crocodile": true,
    "Panther": false,
    "Snake": false,
    "Tiger": false
  },
  "Hunter Settings": {
    "Custom Hunter Name": "HuntsMan",
    "spawn chance (1-100%)": 100.0,
    "Spawn Amount": 1,
    "spawn radius": 15,
    "Health": 250,
    "Max Roam Distance": 20,
    "Damage multiplier": 0.6,
    "Lifetime (minutes)": 10.0,
    "Use kit (clothing)": false,
    "Kit ID": [
      "huntsman"
    ],
    "Show messages": false,
    "Hunters drop a Backpack with loot": true,
    "Spawn Min Amount Items": 12,
    "Spawn Max Amount Items": 14,
    "Loot Table": [
      {
        "probability": 1.0,
        "shortname": "ammo.pistol",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "ammo.pistol.fire",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "ammo.rifle.explosive",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "ammo.rifle.hv",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "ammo.rifle.incendiary",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "ammo.shotgun",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "ammo.shotgun",
        "name": "",
        "Skin list": [],
        "amountMin": 128,
        "amount": 256
      },
      {
        "probability": 1.0,
        "shortname": "explosive.timed",
        "name": "",
        "Skin list": [],
        "amountMin": 1,
        "amount": 5
      },
      {
        "probability": 1.0,
        "shortname": "explosives",
        "name": "",
        "Skin list": [],
        "amountMin": 200,
        "amount": 200
      },
      {
        "probability": 1.0,
        "shortname": "pistol.m92",
        "name": "",
        "Skin list": [],
        "amountMin": 1,
        "amount": 1
      },
      {
        "probability": 1.0,
        "shortname": "shotgun.spas12",
        "name": "",
        "Skin list": [],
        "amountMin": 1,
        "amount": 1
      },
      {
        "probability": 1.0,
        "shortname": "pickaxe",
        "name": "",
        "Skin list": [
          3163818649,
          1962043729
        ],
        "amountMin": 1,
        "amount": 1
      },
      {
        "probability": 1.0,
        "shortname": "hatchet",
        "name": "",
        "Skin list": [],
        "amountMin": 1,
        "amount": 1
      },
      {
        "probability": 1.0,
        "shortname": "can.beans",
        "name": "",
        "Skin list": [],
        "amountMin": 3,
        "amount": 5
      },
      {
        "probability": 1.0,
        "shortname": "can.tuna",
        "name": "",
        "Skin list": [],
        "amountMin": 3,
        "amount": 5
      },
      {
        "probability": 1.0,
        "shortname": "black.raspberries",
        "name": "",
        "Skin list": [],
        "amountMin": 3,
        "amount": 5
      },
      {
        "probability": 0.0,
        "shortname": "box.repair.bench",
        "name": "Recycler",
        "Skin list": ["1594245394"],
        "amountMin": 1,
        "amount": 1
      },
      {
        "probability": 0.6,
        "shortname": "hmlmg",
        "name": "",
        "Skin list": [],
        "amountMin": 1,
        "amount": 1
      },
      {
        "probability": 0.6,
        "shortname": "supply.signal",
        "name": "",
        "Skin list": [],
        "amountMin": 1,
        "amount": 1
      }
    ]
  }
}

Localisation :
English language file included to use a different language just make a new file in the language folder.
 

{
  "Prefix": "[<color=green>HuntsMan</color>] : ",
  "info": "\nThe [HuntsMan] Gives u the luck (or not) to spawn a Hunter that wants to kill you for killing Wild Game during offseason",
  "Hunter_Spawned": "You killed the {0} now pay the price !!!!",
  "Hunter_Spawned_Backpack": "{0} Dropped his Backpack !"
}

API :
 

bool IsHuntsmanNpc(global::HumanNPC npc)
void OnHuntsmanSpawned(global::HumanNPC npc)
void OnHuntsmanKilled(global::HumanNPC npc)

Example call :
 

object OnEntityDeath(global::HumanNPC npc, HitInfo info)
{
  if (npc == null) return null;
  if (HuntsMan.Call<bool>("IsHuntsmanNpc", npc))
    {
    	Puts($"Target : {npc} net.ID : [{npc.net.ID}] Event : HuntsMan NPC");
    }
    return null;
}

void OnHuntsmanSpawned(global::HumanNPC npc)
{
  if (npc == null) return;
  timer.Once(1f, () => { Puts($"{npc} spawned (HuntsMan)"); });//delayed to make sure npc is fully initialised
}

void OnHuntsmanKilled(global::HumanNPC npc)
{
  if (npc == null) return;
  Puts($"{npc} got killed (HuntsMan)");
}


1997472344_discordbanner.png.a420428b0e99570e8fa9252aba8af1fd.png

  • Like 7
  • Love 2

User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.8k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.