Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Pumpkin Head 1.1.3

$8.50

   (2 reviews)

5 Screenshots

  • 1,146
  • 101
  • 34.23 kB

About Pumpkin Head

When picking up wild pumpkins [PumpkinHead] or his twin [CornHead] from picking up corn can appear

 

Rusts 2 december update will break the NPC AI this will need a rewrite and might take some time !!!
 

Features :

  • Set configurable chance of [PumpkinHead] spawning after a wild pumpkin is picked up (not from harvesting pumpkins from planters)
  • Set configurable chance of [CornHead] spawning after a wild Corn is picked up (not from harvesting Corn from planters)
  • Configurable NPC (HP, Damage scaling, spawn amount and more)
  • Support for Kits.
  • Will yield corn and plant fibers on harvesting the PumpkinHead's corpse
  • Will yield pumpkins and plant fibers on harvesting the Corn Head's corpse
  • [PumpkinHead] and [CornHead] can drop a backpack (internal lootprofile through configuration)
  • The npc can only spawn on the surface (no support for tunnel/caves)
  • npc has 1 starter outfit and changes weapon each time it spawns out of the box (or when assigned kit(s) is not found)
  • npc has various spawn and death effects (sound and visual)

Permissions :

pumpkinhead.use : Assign to players/groups to trigger the mini event

Commands :

/phinfo : Replies plugin info and version to chat

Configuration :

  • To make a item spawn as a blueprint add .bp behind the shortname (for example ammo.pistol.bp)
  • Different prefabs can be used for visual and sound FX on the spawn and kills of Pumpkinhead (not every prefab works)
  • If you do not want to change the Deathsound (murderer) or use any effect just remove the line between the " " as shown in the example
     
          "Sound and visual FX": {
            "FX used when npc spawns (at npc position)": "",
            "Spawn soundeffect (at player position)": "",
            "FX used when npc dies (at npc position)": "",
            "Death soundeffect (npc deathsound)": ""
          }

     

{
  "Use Debug": true,
  "PumpkinHead triggers": {
    "Wild Pumpkins": {
      "Can spawn from wild Pumpkins": true,
      "Spawn chance (1-100%)": 100.0,
      "Sound and visual FX": {
        "FX used when npc spawns (at npc position)": "assets/bundled/prefabs/fx/explosions/water_bomb.prefab",
        "Spawn soundeffect (at player position)": "assets/bundled/prefabs/fx/player/howl.prefab",
        "FX used when npc dies (at npc position)": "assets/bundled/prefabs/fx/explosions/water_bomb.prefab",
        "Death soundeffect (npc deathsound)": "assets/prefabs/npc/murderer/sound/death.prefab"
      }
    },
    "Wild Corn": {
      "Can spawn from wild Corn": true,
      "Spawn chance (1-100%)": 100.0,
      "Sound and visual FX": {
        "FX used when npc spawns (at npc position)": "assets/bundled/prefabs/fx/explosions/water_bomb.prefab",
        "Spawn soundeffect (at player position)": "assets/bundled/prefabs/fx/player/howl.prefab",
        "FX used when npc dies (at npc position)": "assets/bundled/prefabs/fx/explosions/water_bomb.prefab",
        "Death soundeffect (npc deathsound)": "assets/prefabs/npc/murderer/sound/death.prefab"
      }
    }
  },
  "NPC Settings": {
    "Spawn Amount": 1,
    "Health": 250,
    "Max Roam Distance": 20,
    "Damage multiplier": 0.6,
    "Lifetime (minutes)": 10.0,
    "Use kit (clothing)": false,
    "Kit ID PumpkinHead": [],
    "Kit ID CornHead": [],
    "Show messages": true,
    "NPC drop a Backpack with loot": false,
    "Use Random Skins": true,
    "Spawn Min Amount Items": 2,
    "Spawn Max Amount Items": 6,
    "Loot Table": [
      {
        "shortname": "ammo.pistol",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.pistol.fire",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.pistol.hv",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.rifle",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.rifle.explosive",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.rifle.hv",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.rifle.incendiary",
        "amount": 5,
        "skin": 0,
        "amountMin": 5
      },
      {
        "shortname": "ammo.shotgun",
        "amount": 12,
        "skin": 0,
        "amountMin": 8
      },
      {
        "shortname": "explosive.timed",
        "amount": 1,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "explosives",
        "amount": 1,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "pistol.m92",
        "amount": 1,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "shotgun.spas12",
        "amount": 1,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "pickaxe",
        "amount": 1,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "hatchet",
        "amount": 1,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "can.beans",
        "amount": 3,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "can.tuna",
        "amount": 3,
        "skin": 0,
        "amountMin": 1
      },
      {
        "shortname": "black.raspberries",
        "amount": 5,
        "skin": 0,
        "amountMin": 3
      }
    ]
  }
}

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

{
  "PumpkinHead_Spawn": "My Pumpkiiiin",
  "PumpkinHead_Spawn_Backpack": "A Backpack dropped!",
  "Prefix": "[<color=green>PumpkinHead</color>] : ",
  "info": "\nGathering the wild pumpkins outside you could be jumped by PumpkinHead.",
  "CornHead_Spawn": "My Coooorn",
  "CornHead_Spawn_Backpack": "A Backpack dropped!"
}

 

  • Love 2

Krungh Crow's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

8,651 files sold to 758 customers and $132,330 of payments processed this year!

×
×
  • 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.