Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches
- {
- class CustomMOEConfig_BBP
- {
- units[]={};
- weapons[]={};
- requiredVersion=0.1;
- requiredAddons[] = {
- "MoreExplosives_Config",
- "BBP_Vanilla_Dmg_Doors"
- };
- };
- };
- ////////////////////////////////
- ///// Object Configuration /////
- ////////////////////////////////
- class CfgMoreExplosives
- {
- doorRaidOnlyEnabled = 1;
- deleteLocks = 1;
- raidOnlyWithMOE = 1;
- raidSchedulingEnabled = 0;
- class RaidScheduling
- {
- timeZoneOffset = 1;
- class Weekday;
- class Friday : Weekday
- {
- timeSlots[] = {
- 12.0, 24.0
- };
- };
- };
- };
- class CfgVehicles
- {
- //New entry
- class MOE_ExplosiveBase;
- class MOE_Explosive_Homemade : MOE_ExplosiveBase
- {
- class MOE_Settings
- {
- //Edit these values
- timeToArm = 5;
- timetoDisarm = 5;
- timeToDefuse = 15;
- timeToMount = 15;
- timeToDismount = 15;
- };
- };
- //The MOE_Settings class is always encapsulated by another item class
- //All the settings on the wiki only show the MOE_Settings class itself to avoid confusion and keep it generalized
- //The TL;DR is that any directly MOE related item changes are done inside the MOE_Settings class
- //with the exception of Ammo/Explosion related settings
- //To change the military explosive you just add the following
- class MOE_Explosive_Military : MOE_ExplosiveBase
- {
- class MOE_Settings
- {
- //Edit these values
- timeToArm = 5;
- timetoDisarm = 5;
- timeToDefuse = 15;
- timeToMount = 15;
- timeToDismount = 15;
- };
- };
- //Your existing entries
- class MOE_ComponentTimerBase;
- class MOE_Timer_Homemade : MOE_ComponentTimerBase
- {
- class MOE_Settings
- {
- minTimer = 30;
- maxTimer = 30;
- };
- };
- class MOE_Timer_Military : MOE_ComponentTimerBase
- {
- class MOE_Settings
- {
- minTimer = 20;
- maxTimer = 20;
- };
- };
- class BBP_WALL_BASE;
- class BBP_GATE_BASE : BBP_WALL_BASE
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 1;
- MOE_Explosive_Military = 1;
- };
- damageZonePriorities[] = {
- "t3_door",
- "t2_door",
- "t1_door",
- "window_bars",
- "t3_wall_concrete_bricks_2",
- "t3_wall_concrete_bricks",
- "t2_metal_2",
- "t2_metal",
- "t1_wall_logs_horizontal",
- "t1_wall_planks"
- };
- };
- class DamageSystem
- {
- class DamageZones
- {
- class BBP_Tier_1
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 12;
- MOE_Explosive_Military = 20;
- };
- };
- };
- class BBP_Tier_2
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 5.5;
- //slightly less damage on military explosive so it does not destroy the wall with a single explosion
- MOE_Explosive_Military = 3.5;
- };
- };
- };
- class BBP_Tier_3
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 9.0;
- MOE_Explosive_Military = 9.4;
- };
- };
- };
- class t1_wall_logs_horizontal: BBP_Tier_1
- {
- class MOE_Settings : MOE_Settings
- {
- requiredDestroyedParts[]={
- "t2_metal"
- };
- };
- };
- class t1_wall_planks: BBP_Tier_1
- {
- class MOE_Settings : MOE_Settings
- {
- requiredDestroyedParts[]={
- "t2_metal_2"
- };
- };
- };
- class t1_door: BBP_Tier_1
- {
- class MOE_Settings : MOE_Settings
- {
- requiredDestroyedParts[]={
- "t2_door"
- };
- };
- };
- };
- };
- };
- class BBP_DOOR_BASE : BBP_WALL_BASE
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 1;
- MOE_Explosive_Military = 1;
- };
- damageZonePriorities[] = {
- "t3_door",
- "t2_door",
- "t1_door",
- "window_bars"
- };
- };
- class DamageSystem
- {
- class DamageZones
- {
- class BBP_Tier_1
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 12;
- MOE_Explosive_Military = 20;
- };
- };
- };
- class BBP_Tier_2
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 5.5;
- //slightly less damage on military explosive so it does not destroy the wall with a single explosion
- MOE_Explosive_Military = 3.5;
- };
- };
- };
- class BBP_Tier_3
- {
- class MOE_Settings
- {
- class DamageMultipliers
- {
- MOE_Explosive_Homemade = 9.0;
- MOE_Explosive_Military = 9.4;
- };
- };
- };
- class t1_door: BBP_Tier_1
- {
- class MOE_Settings : MOE_Settings
- {
- requiredDestroyedParts[]={
- "t2_door"
- };
- };
- };
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement