123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- //Get this addons macro
- //get the macro for the air subaddon
- //get generlized macros
- #include "../../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class macro_patch_name(shields)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- "RD501_Squad_Shield",
- "RD501_Squad_Shield_trench",
- "RD501_Droideka_Shield",
- "RD501_Personal_Shield",
- "RD501_Shield_Wall",
- "RD501_Shield_Gate_L",
- "RD501_Shield_Gate_S",
- "RD501_Shield_Door"
-
- };
- weapons[]=
- {
-
- };
- };
- };
- class CfgVehicles
- {
- class Land_House_Small_03_V1_ruins_F;
- class Car_F;
- class RD501_Squad_Shield: Car_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- armor=200000;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- side=3;
- simulation="house";
- displayName="Squad Shield";
- model="\RD501_Vehicles\static\shields\bubble\bubble.p3d";
- icon="iconObject_1x1";
- rd501_fired_deployable_loopSound = "rd501_squad_shield_loop";
- rd501_fired_deployable_loopDuration = 14;
- rd501_fired_deployable_endSound = "rd501_squad_shield_end";
- rd501_fired_deployable_endDuration = 1;
- rd501_fired_deployable_soundDistance = 300;
- rd501_shield_isShield=1;
- hiddenSelections[] = { "camo1" };
- hiddenSelectionsTextures[] = { "\RD501_Vehicles\static\shields\bubble\shield.paa" };
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- class RD501_Shield_Wall: Car_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- armor=200000;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- side=3;
- simulation="house";
- displayName="Shield wall";
- model="\RD501_Vehicles\static\shields\wall\shield_wall.p3d";
- icon="iconObject_1x1";
- rd501_fired_deployable_loopSound = "rd501_squad_shield_loop";
- rd501_fired_deployable_loopDuration = 14;
- rd501_fired_deployable_endSound = "rd501_squad_shield_end";
- rd501_fired_deployable_endDuration = 1;
- rd501_fired_deployable_soundDistance = 300;
- rd501_shield_isShield=1;
- rd501_shield_type="CIS";
- rd501_shield_health=100000;
- hiddenSelections[] = { "camo1" };
- hiddenSelectionsTextures[] = { "\RD501_Vehicles\static\shields\shared\rd501_shield_cis_normal.paa" };
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- class RD501_Shield_Gate_L: Car_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- armor=200000;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- side=3;
- simulation="house";
- displayName="Shield Gate(Large)";
- model="\RD501_Vehicles\static\shields\wall\shield_gate_l.p3d";
- icon="iconObject_1x1";
- rd501_fired_deployable_loopSound = "rd501_squad_shield_loop";
- rd501_fired_deployable_loopDuration = 14;
- rd501_fired_deployable_endSound = "rd501_squad_shield_end";
- rd501_fired_deployable_endDuration = 1;
- rd501_fired_deployable_soundDistance = 300;
- rd501_shield_isShield=1;
- rd501_shield_type="CIS";
- rd501_shield_health=20000;
- hiddenSelections[] = { "camo1" };
- hiddenSelectionsTextures[] = { "\RD501_Vehicles\static\shields\shared\rd501_shield_cis_normal.paa" };
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- class RD501_Shield_Gate_S: Car_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- armor=200000;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- side=3;
- simulation="house";
- displayName="Shield Gate(Small)";
- model="\RD501_Vehicles\static\shields\wall\shield_gate_s.p3d";
- icon="iconObject_1x1";
- rd501_fired_deployable_loopSound = "rd501_squad_shield_loop";
- rd501_fired_deployable_loopDuration = 14;
- rd501_fired_deployable_endSound = "rd501_squad_shield_end";
- rd501_fired_deployable_endDuration = 1;
- rd501_fired_deployable_soundDistance = 300;
- rd501_shield_isShield=1;
- rd501_shield_type="CIS";
- rd501_shield_health=10000;
- hiddenSelections[] = { "camo1" };
- hiddenSelectionsTextures[] = { "\RD501_Vehicles\static\shields\shared\rd501_shield_cis_normal.paa" };
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- class RD501_Shield_Door: Car_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- armor=200000;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- side=3;
- simulation="house";
- displayName="Shield Door";
- model="\RD501_Vehicles\static\shields\wall\shield_door.p3d";
- icon="iconObject_1x1";
- rd501_fired_deployable_loopSound = "rd501_squad_shield_loop";
- rd501_fired_deployable_loopDuration = 14;
- rd501_fired_deployable_endSound = "rd501_squad_shield_end";
- rd501_fired_deployable_endDuration = 1;
- rd501_fired_deployable_soundDistance = 300;
- rd501_shield_isShield=1;
- rd501_shield_type="CIS";
- rd501_shield_health=1000;
- hiddenSelections[] = { "camo1" };
- hiddenSelectionsTextures[] = { "\RD501_Vehicles\static\shields\shared\rd501_shield_cis_normal.paa" };
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- class RD501_Squad_Shield_trench: Land_House_Small_03_V1_ruins_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- displayName="Trench Shield";
- model="\RD501_Vehicles\static\shields\trench\trench.p3d";
- icon="iconObject_1x1";
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- class RD501_Droideka_Shield: Land_House_Small_03_V1_ruins_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- displayName="Trench Shield";
- model="\RD501_Vehicles\static\shields\bubble\deka_shield.p3d";
- icon="iconObject_1x1";
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
-
- class RD501_Personal_Shield: Land_House_Small_03_V1_ruins_F
- {
- author="$STR_A3_Bohemia_Interactive";
- mapSize=21.1;
- class SimpleObject
- {
- eden=0;
- animate[]={};
- hide[]={};
- verticalOffset=-0.023;
- verticalOffsetWorld=0;
- init="''";
- };
- editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
- scope=2;
- scopeCurator=2;
- displayName="Trench Shield";
- model="\RD501_Vehicles\static\shields\personal\personal_shield.p3d";
- icon="iconObject_1x1";
- vehicleClass = macro_editor_vehicle_type(statics)
- editorCategory = macro_editor_cat(statics)
- editorSubcategory = macro_editor_cat(static_msc)
- };
- };
- class CfgSounds
- {
- class rd501_squad_shield_loop
- {
- // how the sound is referred to in the editor (e.g. trigger effects)
- name = "shield_loop";
- // filename, volume, pitch, distance (optional)
- sound[] = { "\RD501_Vehicles\static\shields\shield_loop.wss", 4, 1, 300 };
- // subtitle delay in seconds, subtitle text
- titles[] = { 1, "*Electric Shield Hum*" };
- };
- class rd501_squad_shield_end
- {
- // how the sound is referred to in the editor (e.g. trigger effects)
- name = "shield_loop";
- // filename, volume, pitch, distance (optional)
- sound[] = { "\RD501_Vehicles\static\shields\shield_end.wss", 4, 1, 300 };
- // subtitle delay in seconds, subtitle text
- titles[] = { 1, "*Shield Retracting Hiss*" };
- };
- };
- class Extended_Init_EventHandlers
- {
- class RD501_Shield_Wall
- {
- class rd501_init_shield {
- init = "[_this select 0] call rd501_fnc_shield_init";
- };
- }
- class RD501_Shield_Door
- {
- class rd501_init_shield {
- init = "[_this select 0] call rd501_fnc_shield_init";
- };
- }
- class RD501_Shield_Gate_L
- {
- class rd501_init_shield {
- init = "[_this select 0] call rd501_fnc_shield_init";
- };
- }
- class RD501_Shield_Gate_S
- {
- class rd501_init_shield {
- init = "[_this select 0] call rd501_fnc_shield_init";
- };
- }
- };
|