mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
818289161f
[Added] Dynamic Debris Epoch Event. Dynamically spawns vehicle and other debris on the roadways. Scans the roads on startup and uses a random seed generator to determine the locations of debris. Debris is spawned using createSimpleObject and is made to conform with the upper most roadway surface. [Added] Epoch Events 3.0 - Supports events based on server side configs and pbos. - New server side events can be added by just dropping .pbo into @epochhive/addons folder. - To make your own standalone events you can use Dynamic Debris Event as a template. [Removed] Vehicle simulation handler, so we can use A3 Dynamic Simulation instead. [Changed] Safe Vehicle and token checks simplified to only check the vehicles a player is in. [Changed] Safe Vehicle classes can now be configured via server settings pbo CfgSecConf >> vehicles >> safeVehicles array.
48 lines
2.0 KiB
C++
48 lines
2.0 KiB
C++
/*
|
|
Author: Aaron Clark - EpochMod.com
|
|
|
|
Contributors:
|
|
|
|
Description:
|
|
BASE Epoch Server Events !!!DO NOT EDIT THIS FILE!!! Copy the epoch_server_debris_event to make new ones.
|
|
|
|
Licence:
|
|
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
|
|
|
Github:
|
|
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_server_settngs/config.cpp
|
|
*/
|
|
|
|
#define _ARMA_
|
|
|
|
class CfgPatches {
|
|
class A3_server_events {
|
|
requiredVersion = 0.1;
|
|
requiredAddons[] = {};
|
|
#include "build.hpp"
|
|
};
|
|
};
|
|
|
|
// import settings
|
|
class CfgEpochServerEvents
|
|
{
|
|
/* EXAMPLES ONLY !!! DO NOT EDIT THIS FILE make a copy of the Dynamic Debris Event !!!
|
|
class ContainerSpawner {
|
|
delay = 1200; // delay in seconds between executions <SCALAR>,
|
|
script = "\epoch_server_events\EpochEvents\ContainerSpawner.sqf"; // script: name or full path if usePrefix is set to 0
|
|
runOnStart = 0; // runOnStart: 1 = run script at startup, 0 normal delay
|
|
usePrefix = 0; // usePrefix: 1 = use pre/postfix path (inside epoch settings pbo EpochEvents folder) 0 = use full file path
|
|
runNumTimes = -1; // runNumTimes: -1 = no limit, 0 = disabled, 1+ = number of times to execute before removing event.
|
|
input[] = {}; // array input to execVM at time of run and accessed with _this inside of script.
|
|
};
|
|
class AirDrop {
|
|
delay = 2700; // delay in seconds between executions <SCALAR>,
|
|
script = "AirDrop"; // script: name or full path if usePrefix is set to 0
|
|
runOnStart = 0; // runOnStart: 1 = run script at startup, 0 normal delay
|
|
usePrefix = 2; // usePrefix: 1 = use pre/postfix path (inside epoch settings pbo EpochEvents folder) 0 = use full file path
|
|
runNumTimes = -1; // runNumTimes: -1 = no limit, 0 = disabled, 1+ = number of times to execute before removing event.
|
|
input[] = {}; // array input to execVM at time of run and accessed with _this inside of script.
|
|
};
|
|
*/
|
|
};
|