Jump to content

1 Screenshot

  • 57.9k
  • 2k
  • 48.16 kB
  • Update details
    v1.3.1
    Released
    Download size48.16 kB
    Total versions13
    Time between versions 1 day
    Typical update pace About every 109 days
    Freshness 44 days ago

depends on

Required files or plugins needed for this resource to work properly.

Works with

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

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
  • Skin Safe for the randomized skins
     

Alpha Animal Types :

  • Bear
  • Polar Bear
  • Wolf
  • Wolf2
  • Tiger
  • Panther
  • Crocodile
     

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": true,
    "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,
    "Alpha Crocodile points": 500,
    "Alpha Panther points": 200,
    "Alpha Tiger points": 200
  },
  "ServerRewards": {
    "Use ServerRewards": true,
    "Alpha Bear points": 300,
    "Omega Bear points": 100,
    "Alpha Polarbear points": 400,
    "Omega Polarbear points": 150,
    "Alpha Wolf points": 200,
    "Omega Wolf points": 50,
    "Alpha Crocodile points": 500,
    "Alpha Panther points": 200,
    "Alpha Tiger points": 200
  },
  "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": 2,
    "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;
        }

API  for developers :

         // Pre definition trigger on Alpha/Omega animal kill (before the animal type is defined)
                void OnAlphaAnimalKilled(BaseAnimalNPC animal, HitInfo info);
                void OmegaAnimalKilled(BaseAnimalNPC animal, HitInfo info);

                // Alpha animal kills
                void OnAlphaBearKilled(BaseAnimalNPC animal, HitInfo info);
                void OnAlphaPolarbearKilled(BaseAnimalNPC animal, HitInfo info);
                void OnAlphaWolfKilled(BaseAnimalNPC animal, HitInfo info);

                void OnAlphaCrocodileKilled(BaseAnimalNPC animal, HitInfo info);
                void OnAlphaPantherKilled(BaseAnimalNPC animal, HitInfo info);
                void OnAlphaTigerKilled(BaseAnimalNPC animal, HitInfo info);


                // Omega animal kills
                void OnOmegaBearKilled(BaseAnimalNPC animal, HitInfo info);
                void OnOmegaPolarbearKilled(BaseAnimalNPC animal, HitInfo info);
                void OnOmegaWolfKilled(BaseAnimalNPC animal, HitInfo info);

                // Omega animal spawns
                void OnOmegaBearSpawned(BaseAnimalNPC animal);
                void OnOmegaPolarbearSpawned(BaseAnimalNPC animal);
                void OnOmegaWolfSpawned(BaseAnimalNPC animal);

 

1997472344_discordbanner.png.a420428b0e99570e8fa9252aba8af1fd.png

 

  • Like 1
  • Love 1

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.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
156k
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.