mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Updated to same formatting and comments as latest Corepatch files: https://github.com/Goliath86/CorePatch/tree/master/CorePatch_FIS/data/scripts airdestruction.sqf: - fixed _velocity variable was undefined - updated, Sa-Matra removed clearVehicleInit - !isNull checks are not needed because (local objNull) returns false and (speed objNull) returns zero BIS_Effects_startEvent: - 6th parameter is not used in BIS_Effects_Burn, neither in the old nor new version. Although the formatting is ugly, it is better to stay consistent with Bohemia's so they are easy to compare with future updates and scripts.txt exceptions are the same whether the official or custom files are used. Added Sa-Matra's final commit from yesterday:5e696bebdcThis partially revertsc15caf5.
132 lines
3.1 KiB
C++
132 lines
3.1 KiB
C++
#include "Configs\basicDefines.hpp"
|
|
#include "version.hpp"
|
|
#include "Configs\CfgNonAIVehicles.hpp" //Axeman lights
|
|
|
|
class CfgPatches
|
|
{
|
|
class dayz_code
|
|
{
|
|
units[] = {};
|
|
weapons[] = {};
|
|
requiredVersion = 0.1;
|
|
requiredAddons[] =
|
|
{
|
|
"csj_gyroac",
|
|
"pook_h13",
|
|
"map_eu",
|
|
|
|
//dayz_anim references all CA addons
|
|
"dayz_anim",
|
|
|
|
//dayz addons
|
|
"dayz",
|
|
"dayz_buildings", // Overwrite classes that use vanilla ItemPadlock with Epoch ItemComboLock
|
|
"dayz_communityassets",
|
|
"dayz_communityweapons",
|
|
"dayz_equip",
|
|
"dayz_sfx",
|
|
"dayz_vehicles",
|
|
"dayz_weapons",
|
|
"community_crossbow",
|
|
|
|
//shacktac addons
|
|
"st_bunnyhop",
|
|
"st_collision",
|
|
"st_evasive",
|
|
|
|
//Extra Epoch Addons
|
|
"asc_eu_lights",
|
|
"gnt_c185",
|
|
"usec_ch53"
|
|
};
|
|
};
|
|
};
|
|
|
|
class CfgMods
|
|
{
|
|
class DayZ
|
|
{
|
|
dir = "DayZ_Epoch";
|
|
name = "DayZ Epoch";
|
|
picture = "z\addons\dayz_code\gui\loadingscreen.paa";
|
|
hidePicture = 0;
|
|
hideName = 0;
|
|
action = "http://www.dayzepoch.com";
|
|
version = DayZVersion;
|
|
hiveVersion = 0.96;
|
|
//requiredAddons[] = {"Chernarus"}; // No need to load for other maps
|
|
};
|
|
};
|
|
|
|
class CfgAddons
|
|
{
|
|
access = 1;
|
|
class PreloadBanks {};
|
|
class PreloadAddons
|
|
{
|
|
class dayz
|
|
{
|
|
list[] =
|
|
{
|
|
"csj_gyroac", // do not move down!
|
|
"pook_h13", // do not move down!
|
|
"dayz_code",
|
|
"dayz",
|
|
"dayz_equip",
|
|
"dayz_communityassets",
|
|
"dayz_weapons",
|
|
"dayz_communityweapons",
|
|
"dayz_sfx",
|
|
"ST_bunnyhop",
|
|
"st_collision",
|
|
"st_evasive",
|
|
"asc_eu_lights",
|
|
"gnt_c185",
|
|
"usec_ch53",
|
|
"redryder",
|
|
"Anzio_20",
|
|
"dayz_epoch_b",
|
|
"CfgVehicles"
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
class DefaultEventhandlers {
|
|
init = "if (isNil 'BIS_Effects_Init_DZ') then {[] call compile preProcessFileLineNumbers '\z\addons\dayz_code\system\BIS_Effects\init.sqf';};";
|
|
};
|
|
|
|
#include "Configs\rscTitles.hpp"
|
|
#include "Configs\CfgWorlds.hpp"
|
|
#include "Configs\CfgMoves.hpp"
|
|
//#include "Configs\RadioProtocol.hpp"
|
|
#include "Configs\CfgVehicles\CfgVehicles.hpp"
|
|
#include "Configs\CfgWeapons\CfgWeapons.hpp"
|
|
#include "Configs\CfgCrafting\CfgCrafting.hpp"
|
|
#include "Configs\CfgConstruction\CfgConstruction.hpp"
|
|
#include "Configs\CfgMagazines\CfgMagazines.hpp"
|
|
//#include "Configs\CfgLoot\CfgLoot.hpp" //Moved to missionConfigFile
|
|
#include "Configs\CfgMarkers.hpp"
|
|
#include "Configs\CfgAmmo.hpp"
|
|
#include "Configs\CfgObjectCompositions.hpp"
|
|
#include "Configs\CfgTownGenerator\CfgTownGeneratorChernarus.hpp"
|
|
#include "Configs\CfgGrid\CfgGrid.hpp"
|
|
#include "Configs\CfgFaces.hpp"
|
|
#include "Configs\CfgGlasses.hpp"
|
|
#include "Configs\CfgArma.hpp"
|
|
#include "Configs\CfgRecoils.hpp"
|
|
#include "gui\padlock\padlock_ui.hpp"
|
|
|
|
//Epoch Additions
|
|
#include "Configs\RscDisplay\safegui.hpp"
|
|
#include "Configs\RscDisplay\tradermenu.hpp"
|
|
#include "Configs\RscDisplay\ZSCdefines.hpp"
|
|
#include "Configs\RscDisplay\advancedTrading.hpp"
|
|
#include "Configs\RscDisplay\plotManagement.hpp"
|
|
#include "Configs\RscDisplay\deathboards.hpp"
|
|
#include "Configs\CfgExtra\snappoints.hpp"
|
|
#include "external\R3F_Realism\R3F_Weight\R3F_CfgWeight.hpp"
|
|
#include "Configs\RscDisplay\doorManagement\doorManagement.hpp"
|
|
#include "Configs\RscDisplay\doorManagement\doorAccess.hpp"
|
|
|