Jump to content

5 Screenshots

  • 25.5k
  • 331
  • 41.84 kB

About Helipad Event

Adds an event for the Lunchsite monument to your server. A crate with valuable loot will spawn on the helipad. The crate is protected by NPC guards and a patrol helicopter. The event is completely ready for use immediately after installation, you can flexibly configure it at your discretion


Features:

Easy to set up. Excellent customization options in the config

You can customize the contents of the box:

  • in the config file, set up a list of items that will be inside
  • also you can use kits (you need Kits plugin), just set the name of the kit in the config file, you can use the list of kits and choose them randomly
  • also you can use loot tables (you need SimpleLootTable plugin)

You can customize the NPCs:

  • you can set the health of the npc
  • you can set NPC damage multiplier on players
  • you can give kits for NPCs (you need a Kits plugin)

 

Commands(admin only):

hpestart - force the event to start

hpestop - force stop the event

 

Hooks:

void LaunchSiteHelipadEventStarted() // called when the event starts

{

}

void LaunchSiteHelipadEventEnded() // called when the event has ended

{

}

 

Config file:

{
  "Time to event start(in seconds)": 3600,
  "Random time to event start": false,
  "Minimum time to event start(in seconds)": 900,
  "Maximum time to event start(in seconds)": 10800,
  "Box lifetime(in seconds)": 1800,
  "Time the box is closed(in seconds)": 900,
  "Box skin": 0,
  "NPCs lifetime(in seconds)": 3600,
  "NPCs amount(maximum 20)": 2,
  "NPCs type, 0 - tunneldweller; 1 - underwaterdweller; 2 - excavator; 3 - full_any; 4 - lr300; 5 - mp5; 6 - pistol; 7 - shotgun; 8 - heavy; 9 - junkpile_pistol; 10 - oilrig; 11 - patrol; 12 - peacekeeper; 13 - roam; 14 - roamtethered; 15 - bandit_guard; 16 - cargo; 17 - cargo_turret_any; 18 - cargo_turret_lr300; 19 - ch47_gunner": 8,
  "NPCs health(0 - default)": 0,
  "NPCs damage multiplier": 1.0,
  "List of kits for each NPC(requires Kits plugin)": [
    "kit1",
    "kit2",
    "kit3"
  ],
  "Event start message(if empty, no message will be displayed)": "Helipad event started",
  "Message when box is unlocked(if empty, no message will be displayed)": "Box on the helipad unlocked",
  "Spawns a helicopter right on the launchsite(if false, then the helicopter will arrive from afar in a few seconds)": false,
  "Patrol helicopter spawn chance (0 - 100%)": 50,
  "Helicopter patrol range": 150,
  "How long the helicopter will patrol the launchsite (in minutes)": 5,
  "Helicopter damage multiplier": 1.0,
  "Helicopter health": 10000.0,
  "Helicopter main rotor health": 900.0,
  "Helicopter tail rotor health": 500.0,
  "The patrol helicopter will not patrol the helipad if it has found a target": false,
  "Make helicopter fly away after end of patrol time": false,
  "Event marker on the map(will spawn a marker immediately after the start of the event)": false,
  "Event marker name": "Launch site event",
  "Event marker lifetime(in seconds)": 3600,
  "Event marker transparency(0-1)": 0.75,
  "Event marker radius": 0.5,
  "Event marker color.R(0-1)": 1.0,
  "Event marker color.G(0-1)": 0.0,
  "Event marker color.B(0-1)": 0.0,
  "Use box kit(need a plugin Kits)": false,
  "Messages list - messages that players will see, depending on how much time (in seconds) is left before the box is opened": [
    {
      "message": "The box on the helipad will open in 15 minutes",
      "time": 900
    },
    {
      "message": "The box on the helipad will open in 10 minutes",
      "time": 600
    },
    {
      "message": "The box on the helipad will open in 5 minutes",
      "time": 300
    },
    {
      "message": "The box on the helipad will open in 3 minutes",
      "time": 180
    },
    {
      "message": "The box on the helipad will open in 1 minute",
      "time": 60
    }
  ],
  "List of items in the box": [
    {
      "shortname": "ammo.rocket.basic",
      "minAmount": 1,
      "maxAmount": 3,
      "skinID": 0
    },
    {
      "shortname": "explosive.timed",
      "minAmount": 1,
      "maxAmount": 3,
      "skinID": 0
    },
    {
      "shortname": "explosive.satchel",
      "minAmount": 5,
      "maxAmount": 10,
      "skinID": 0
    },
    {
      "shortname": "explosives",
      "minAmount": 40,
      "maxAmount": 100,
      "skinID": 0
    },
    {
      "shortname": "ammo.rifle.explosive",
      "minAmount": 64,
      "maxAmount": 128,
      "skinID": 0
    },
    {
      "shortname": "rocket.launcher",
      "minAmount": 1,
      "maxAmount": 1,
      "skinID": 0
    }
  ],
  "Kit list": [
    "111111111",
    "222222222",
    "333333333"
  ],
  "Use random kit(if false, then the first Kit in the list is always used": false,
  "Box simple loot table name(plugin SimpleLootTable is required)": "",
  "Minimum number of items in the box(plugin SimpleLootTable is required)": 1,
  "Maximum number of items in the box(plugin SimpleLootTable is required)": 3

 

  • Like 3
  • Love 1

Fruster's Collection

User Feedback

1.1m

Downloads

Total number of downloads.

5.8k

Customers

Total customers served.

83.9k

Files Sold

Total number of files sold.

1.6m

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.