Jump to content

1 Screenshot

  • 46.7k
  • 963
  • 46.96 kB

depends on

About Alpha Animals

Addon for my BackToTheWild plugin that can make the Alpha animals call for their pack and get aid.

 

Features :

  • Requires BackToTheWild plugin for the Alpha animal spawns
  • When a Alpha animal is killed it will call for their weaker  Omega who will come (too late) for its aid.
  • Simple configuration
  • Permissions for Gametip animal engagements
  • Permissions for Mapmarker system to see Alpha's on the map
  • Support for Economics
  • Support for ServerRewards
  • Chatnotifications when a alpha has spawned with Grid section through cfg
     

Alpha Animal Types :

  • Bear
  • Polar Bear
  • Wolf
     

Permissions :

  • alphaanimals.tipsimple : Simple Gametip message permisison
  • alphaanimals.tipfull : Full info Gametip message permission
  • alphaanimals.marker : To see the alpha mapmarkers if not set globaly
  • alphaanimals.economics : To be granted economics points on alpha/omega kills
  • alphaanimals.ServerRewards : To be granted ServerRewards points on alpha/omega kills

Configuration :

  • For the spawned Omegas the min and max hp values will be used

 

{
  "Plugin": {
    "Debug": false,
    "Chat Steam64ID": 0,
    "Chat Prefix": "[<color=orange>AlphaAnimals</color>] ",
    "Anounce Alpha spawns": true
  },
  "Economics": {
    "Use Economics": false,
    "Alpha Bear points": 300.0,
    "Omega Bear points": 100.0,
    "Alpha Polarbear points": 400.0,
    "Omega Polarbear points": 150.0,
    "Alpha Wolf points": 200.0,
    "Omega Wolf points": 50.0
  },
  "ServerRewards": {
    "Use ServerRewards": false,
    "Alpha Bear points": 300,
    "Omega Bear points": 100,
    "Alpha Polarbear points": 400,
    "Omega Polarbear points": 150,
    "Alpha Wolf points": 200,
    "Omega Wolf points": 50
  },
  "Animals": {
    "Life Duration (minutes)": 5.0,
    "Spawn Radius": 12,
    "Bear Packsize": 2,
    "Bear settings": {
      "Min HP": 350.0,
      "Max HP": 600.0
    },
    "Polarbear Packsize": 2,
    "Polarbear settings": {
      "Min HP": 350.0,
      "Max HP": 600.0
    },
    "Wolf Packsize": 5,
    "Wolf settings": {
      "Min HP": 350.0,
      "Max HP": 600.0
    },
    "Use Random Skins": false,
    "Loot settings (Alphas)": {
      "Spawn Min Amount Items": 10,
      "Spawn Max Amount Items": 15,
      "Loot Table": [
        {
          "Item shortname": "ammo.pistol",
          "Custom name": "T3st name",
          "Skin ID": 2532520857,
          "Amount min": 1,
          "Amount max": 5,
          "Always add": true
        },
        {
          "Item shortname": "ammo.pistol.fire",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 5,
          "Amount max": 5,
          "Always add": false
        },
        {
          "Item shortname": "ammo.pistol.hv",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 5,
          "Amount max": 5,
          "Always add": false
        },
        {
          "Item shortname": "ammo.rifle",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 5,
          "Amount max": 5,
          "Always add": false
        },
        {
          "Item shortname": "ammo.rifle.explosive",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 5,
          "Amount max": 5,
          "Always add": false
        },
        {
          "Item shortname": "ammo.rifle.hv",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 5,
          "Amount max": 5,
          "Always add": false
        },
        {
          "Item shortname": "ammo.rifle.incendiary",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 5,
          "Amount max": 5,
          "Always add": false
        },
        {
          "Item shortname": "ammo.rocket.basic.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": true
        },
        {
          "Item shortname": "ammo.rocket.fire.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": true
        },
        {
          "Item shortname": "ammo.rocket.hv.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "ammo.shotgun",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 8,
          "Amount max": 12,
          "Always add": false
        },
        {
          "Item shortname": "explosive.timed",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "explosives",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "pistol.m92",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "rifle.ak.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "rifle.bolt.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "shotgun.spas12",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "smg.2.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "smg.thompson.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "weapon.mod.8x.scope.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "weapon.mod.flashlight.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "weapon.mod.holosight.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "weapon.mod.lasersight.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "weapon.mod.silencer.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "weapon.mod.small.scope.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "grenade.f1.bp",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "pickaxe",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "hatchet",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 1,
          "Always add": false
        },
        {
          "Item shortname": "can.beans",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 3,
          "Always add": false
        },
        {
          "Item shortname": "can.tuna",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 1,
          "Amount max": 3,
          "Always add": false
        },
        {
          "Item shortname": "black.raspberries",
          "Custom name": "",
          "Skin ID": 0,
          "Amount min": 3,
          "Amount max": 5,
          "Always add": false
        }
      ]
    }
  }
}


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

{
  "EngageSimple": "<color=yellow>carefull This is a {animal}</color>",
  "EngageFull": "<color=yellow>carefull This is a {animal} {health} HP</color>",
  "KillAlpha": "You Killed a <color=green>{animal}</color> and <color=green>{packsize} Omega's</color> are summoned",
  "KillAlphaAll": "{player} Killed a <color=green>{animal}</color> and <color=green>{packsize} Omega's</color> are summoned",
  "KillOmega": "You Killed the <color=green>{animal}</color>",
  "EngageSimpleKill": "<color=yellow>You killed the {animal}</color>",
  "EngageFullKill": "<color=yellow>You got points killing the {animal}</color>",
  "AlphaAnnounce": "A <color=yellow>{animal}</color> was located around <color=orange>Grid {location}</color>"
}


Rust native API :

To remove the Omega Animals the following can be used in console

del omega
del omega wolf
del omega bear
del omega polarbear


Example call to see if a animal is a Omega :

        void OnEntityDeath(BaseAnimalNPC animal, HitInfo info)
        {
            if (animal == null) return;
            BasePlayer attacker = info.InitiatorPlayer;

            if (attacker != null && animal.name.Contains("Omega"))
            {
                Puts($"The animal was a {animal.name}");
            }
            return;
        }

1997472344_discordbanner.png.a420428b0e99570e8fa9252aba8af1fd.png

 

  • Like 1
  • Love 1

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.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.