版本 1.5.1

修复了对 Harmony 补丁所做的一些错误
更改

可依赖

关于 Airfield Event

将机场事件添加到您的服务器!一架货机降落在机场并投下空投、箱子。强大的 NPC、布拉德利和一架巡逻直升机将保护板条箱

您还可以使用“SimpleLootTable”插件设置自定义战利品

特征:

易于设置。配置中出色的自定义选项

命令(仅限 admin):

afestart – 强制事件启动

afestop – 使事件结束

AFEFast – 货机快速降落,用于测试设置

afe_addcustom – 为货机添加自定义着陆点。您必须站在水平地面上,看向货机将要移动的方向(不要忘记在配置文件中设置 “Use a custom place to land a cargo plane”: true)

钩:

 

void AirfieldEventStarted() // 在事件开始时调用

{

}

void AirfieldEventEnded() // 在事件结束时调用

{

}

 

AirfieldEvent 配置:

{
  "PVE mode (crates can only be looted by the player who first dealt damage to the NPC)": false,
  "Time after which the owner of the event will be deleted if he left the dome or left the server (for PVE mode)": 300,
  "Give event ownership to the owner's teammates if he is no longer the owner. Only if teammates are within the event radius (for PVE mode)": true,
  "Radius for event(for PVE mode)": 380,
  "Create a dome for PVE mode": false,
  "Dome transparency (the higher the value, the darker the dome, recommended 4)": 4,
  "Dome offset": {
    "x": 0.0,
    "y": 0.0,
    "z": 30.0
  },
  "Message when a player enters the event dome(only for PVE mode if there is a dome)": "You have entered the Airfield Event",
  "Message when the event owner leaves the event dome (only for PVE mode if there is a dome)": "Return to the event dome, otherwise after 300 seconds you will no longer be the owner of this event",
  "Do not allow other players into the event(only for PVE mode if there is a dome)": false,
  "Message when a player is ejected from the event dome(only for PVE mode if there is a dome)": "You cannot be here, you are not the owner of this event",
  "Allow admin to be in event dome (only for PVE mode if there is a dome)": true,
  "Triggering an event by timer (disable if you want to trigger the event only manually)": true,
  "Time to event start(in seconds, minimum 900)": 3900,
  "Random time to event start": false,
  "Minimum time to event start(in seconds, minimum 900)": 900,
  "Maximum time to event start(in seconds)": 10800,
  "Minimum number of online players to trigger an event": 1,
  "Drops amount(number of cargo spawns after plane landing, maximum 10)": 3,
  "Crates amount(spawn every cargo drop)": 1,
  "Crate simple loot table name(plugin SimpleLootTable is required)": "",
  "Minimum number of items in a crate(plugin SimpleLootTable is required)": 0,
  "Maximum number of items in a crate(plugin SimpleLootTable is required)": 0,
  "Remove crates after being looted by a player(in seconds)": 300,
  "Extend the duration of the event if the NPCs were attacked(if there is less time left, then increase to the set time(in seconds))": 600,
  "Crates lifetime(in seconds). The crate will not be destroyed if it has been activated": 3600,
  "Crates timer(in seconds)": 900,
  "Airdrops amount(spawn every cargo drop)": 1,
  "Airdrop simple loot table name(plugin SimpleLootTable is required)": "",
  "Minimum number of items in an airdrop(plugin SimpleLootTable is required)": 0,
  "Maximum number of items in an airdrop(plugin SimpleLootTable is required)": 0,
  "Airdrops lifetime(in seconds)": 3600,
  "NPCs amount(spawn every cargo drop)": 0,
  "NPCs lifetime(in seconds)": 3600,
  "NPCs type(NPCs prefab, experimental setting, it is not known how the NPCs will behave) 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,
  "NPCs accuracy(the lower the value, the more accurate, 0 - maximum accuracy)": 2.0,
  "NPCs attack range": 75.0,
  "Radius of chasing the player(NPCs will chase the player as soon as he comes closer than the specified radius, must be no greater than the attack range)": 60.0,
  "Minimum distance to NPC damage": 75.0,
  "Message if the player attacks far away NPCs": "NPC is too far away, he doesn't take damage",
  "Forcibly immobilize an NPC": false,
  "Method of distribution of kits for NPCs(1 - sequentially, 2 - repeating, 3 - randomly)": 1,
  "List of kits for NPC(requires Kits plugin)": [
    "kit1",
    "kit2",
    "kit3"
  ],
  "Default displayName for NPC(for SimpleKillFeed/DeathNotes plugin)": "Airfield NPC",
  "List of displayNames for each NPC(for SimpleKillFeed/DeathNotes plugin)": [
    "Airfield NPC1",
    "Airfield NPC2",
    "Airfield NPC3"
  ],
  "Event message(if empty, no message will be displayed)": "Airfield event started",
  "Event end message(if empty, no message will be displayed)": "Airfield event ended",
  "Landing message(displayed when the cargo plane has landed)": "Cargoplane landed at Airfield",
  "Patrol helicopter spawn chance (0 - 100%)": 50,
  "Call the helicopter only after activating the hackable crate": false,
  "How long the helicopter will patrol the airfield (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 airfield if it has found a target": true,
  "Make helicopter fly away after end of patrol time": false,
  "Spawns a helicopter right on the airfield(if false, then the helicopter will arrive from afar in a few seconds)": false,
  "Helicopter patrol range": 150,
  "Event marker on the map(will spawn a marker immediately after the start of the event)": false,
  "If true, spawn the marker only after the plane lands": false,
  "Event marker name": "Airfield 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 a custom place to land a cargo plane": false,
  "Custom place position": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0
  },
  "Custom place rotation": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0
  },
  "Use custom navmesh (enable if using custom airfield and getting NPC navmesh error)": false,
  "BradleyAPC spawn chance (0 - 100%)": 0,
  "BradleyAPC lifetime(in seconds)": 3600,
  "BradleyAPC bullet damage": 7.0,
  "BradleyAPC health": 1000.0,
  "Use Notify plugin for messages": false,
  "Type notify for 'Message when a player enters the event dome'(only for Notify plugin)": 0,
  "Type notify for 'Message when the event owner leaves the event dome'(only for Notify plugin)": 0,
  "Type notify for 'Message when a player is ejected from the event dome'(only for Notify plugin)": 0,
  "Type notify for 'Message if the player attacks far away NPCs'(only for Notify plugin)": 0,
  "Type notify for 'Event message'(only for Notify plugin)": 0,
  "Type notify for 'Event end message'(only for Notify plugin)": 0,
  "Type notify for 'Landing message'(only for Notify plugin)": 0
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。