123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- #include "../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class RD501_patch_zeus
- {
- requiredAddons[] = {
- macro_lvl2_req
- };
- requiredVersion = 0.1;
- units[] = {
- macro_new_ordnance(IonBomb),
- macro_new_ordnance(Orbit),
- macro_new_ordnance(ModuleSquadShield),
- macro_new_ordnance(ModuleDioxis),
- macro_new_ordnance(ModuleShadow),
- macro_new_ordnance(OrbitalLaser),
- rd501_moduleJammerSettings,
- rd501_moduleClearAllJammers,
- rd501_moduleVolatileSettings,
- };
- weapons[] = {};
- };
- };
- class CfgFunctions
- {
- class tts_beam
- {
- class beam
- {
- file = "\RD501_Zeus\functions";
- class beam {};
- class rayParticles {};
- class ragdollUnit {};
- class explosionDamage {};
- class explosionParticles {};
- class postProcessEffects {};
- class configMenu {};
- };
- };
- };
- class CfgSounds
- {
- class laser_impact
- {
- name = "laser_impact";
- sound[] = {"\RD501_Zeus\sounds\laser_impact.ogg", 50, 1, 5000};
- titles[] = {};
- };
- class laser
- {
- name = "laser";
- sound[] = {"\RD501_Zeus\sounds\laser.ogg", 50, 1, 5000};
- titles[] = {};
- };
- };
- class CfgFactionClasses {
- class Jammers {
- displayName = "Jammers";
- priority = 2;
- side = 7;
- };
- };
- class CfgVehicles
- {
- class Module_F;
- class ModuleOrdnance_F;
- class ModuleChemlight_F;
- class ModuleOrdnanceHowitzer_F;
- class rd501_moduleClearAllJammers: Module_F {
- author = "RD501";
- category = "Jammers";
- function = "rd501_zeus_fnc_moduleJammerClearAll";
- isGlobal = 1;
- isTriggerActivated = 0;
- scope = 1;
- scopeCurator = 2;
- curatorCanAttach = 1;
- displayName = "Clear All Jammers";
- portrait = "RD501_Zeus\ui\jammer_icon.paa";
- };
- class rd501_moduleJammerSettings: Module_F {
- author = "RD501";
- category = "Jammers";
- function = "ace_common_dummy";
- functionPriority = 1;
- isGlobal = 1;
- isTriggerActivated = 0;
- scope = 1;
- scopeCurator = 2;
- curatorCanAttach = 1;
- displayName = "Add Jammer";
- curatorInfoType = "RD501_RscJammerSettings";
- portrait = "RD501_Zeus\ui\jammer_icon.paa";
- };
- class rd501_moduleVolatileSettings: Module_F {
- author = "RD501";
- category = "Ordnance";
- function = "ace_common_dummy";
- functionPriority = 1;
- isGlobal = 1;
- isTriggerActivated = 0;
- scope = 1;
- scopeCurator = 2;
- curatorCanAttach = 1;
- displayName = "Make Volatile Cargo";
- curatorInfoType = "RD501_RscVolatileSettings";
- portrait = "RD501_Zeus\ui\explosion_zeus_icon_small.paa";
- };
- class macro_new_ordnance(ModuleSquadShield): ModuleChemlight_F
- {
- author = "RD501";
- _generalMacro = MACRO_QUOTE(macro_new_ordnance(ModuleSquadShield));
- scope = 1;
- scopeCurator = 2;
- category = "Ordnance";
- displayName = "Squad Shield";
- portrait = "RD501_Zeus\ui\wide_kite_64.paa";
- ammo = MACRO_QUOTE(macro_new_ammo(squad_shield_sigma));
- delete Arguments;
- };
- class macro_new_ordnance(ModuleDioxis): ModuleChemlight_F
- {
- author = "RD501";
- _generalMacro = MACRO_QUOTE(macro_new_ordnance(ModuleDioxis));
- scope = 1;
- scopeCurator = 2;
- category = "Ordnance";
- displayName = "Dioxis Cloud";
- portrait = "RD501_Zeus\ui\biohazard_64.paa";
- ammo = MACRO_QUOTE(macro_new_ordnance_ammo(Dioxis_long));
- delete Arguments;
- };
- class macro_new_ordnance(ModuleShadow): ModuleChemlight_F
- {
- author = "RD501";
- _generalMacro = MACRO_QUOTE(macro_new_ordnance(ModuleShadow));
- scope = 1;
- scopeCurator = 2;
- category = "Ordnance";
- displayName = "Shadow Virus";
- portrait = "RD501_Zeus\ui\biohazard_64.paa";
- ammo = MACRO_QUOTE(macro_new_ordnance_ammo(Shadow_long));
- delete Arguments;
- };
- class macro_new_ordnance(IonBomb): ModuleOrdnance_F
- {
- author = "RD501";
- _generalMacro = MACRO_QUOTE(macro_new_ordnance(IonBomb));
- isGlobal = 1;
- scope = 1;
- scopeCurator = 2;
- simulation = "house";
- category = "Ordnance";
- model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
- displayName = "Ion Mortar";
- portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
- ammo = MACRO_QUOTE(macro_new_ordnance_ammo(IonBomb));
- delete Arguments;
- };
- class macro_new_ordnance(Orbit): ModuleOrdnance_F
- {
- author = "RD501";
- _generalMacro = MACRO_QUOTE(macro_new_ordnance(Orbit));
- displayName = "Orbital Strike";
- model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
- isGlobal = 1;
- scope = 1;
- scopeCurator = 2;
- simulation = "house";
- category = "Ordnance";
- portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
- ammo = MACRO_QUOTE(macro_new_ordnance_ammo(Orbital));
- delete Arguments;
- };
- class macro_new_ordnance(OrbitalLaser): Module_F {
- author = "RD501";
- curatorCanAttach = 1;
- isGlobal = 1;
- scope = 1;
- scopeCurator = 2;
- isTriggerActivated = 0;
- category = "Ordnance";
- displayName = "Orbital Laser";
- function = "tts_beam_fnc_configMenu";
- portrait = "RD501_Zeus\ui\explosion_zeus_icon_small.paa";
- };
- };
- class CfgAmmo
- {
- class ModuleOrdnanceHowitzer_F_ammo;
- class ModuleOrdnanceMortar_F_ammo;
- class ModuleOrdnanceRocket_F_ammo;
- class macro_new_ammo(blueshadow);
- class macro_new_ammo(dioxis);
-
- class macro_new_ordnance_ammo(Dioxis_long): macro_new_ammo(dioxis)
- {
- timeToLive = 300;
- };
- class macro_new_ordnance_ammo(Shadow_long): macro_new_ammo(blueshadow)
- {
- timeToLive = 300;
- };
- class macro_new_ordnance_ammo(IonBomb): ModuleOrdnanceMortar_F_ammo
- {
- caliber = 1100;
- hit = 180;
- airFriction = 0;
- canLock = 0;
- deflecting = 0;
- explosive = 1;
- fuseDistance = 30;
- indirectHit = 70;
- indirectHitRange = 20;
- maxSpeed = 1100;
- typicalSpeed = 950;
- sideAirFriction = 0;
- simulation = "ShotShell";
- timeToLive = 180;
- model = "\ywing\pro_bomb.p3d";
- tracerStartTime = 0;
- supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1",1.0,1,40};
- supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2",1.0,1,100};
- CraterEffects = "HEShellCrater";
- effectFlare = "FlareShell";
- effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
- EffectFly = "ArtilleryTrailsBlue";
- CraterWaterEffects = "ImpactEffectsWaterHE";
- ExplosionEffects = "ProtonbombAmmoExplosion";
- };
- class macro_new_ordnance_ammo(DioxisCluster): ModuleOrdnanceRocket_F_ammo
- {
- caliber = 1100;
- hit = 1;
- allowAgainstInfantry = 1;
- canLock = 0;
- explosive = 1;
- fuseDistance = 35;
- indirectHit = 3;
- indirectHitRange = 50;
- maxSpeed = 1100;
- typicalSpeed = 1050;
- sideAirFriction = 0;
- submunitionConeType[] = {"poissonDisc", 10};
- submunitionAmmo[] = {macro_new_ammo(dioxis),1};
- submunitionConeAngle = 50;
- simulation = "shotSubmunitions";
- timeToLive = 120;
- tracerStartTime = 0;
- visibleFire = 100;
- visibleFireTime = 300;
- CraterEffects = "HEShellCrater";
- effectsSmoke = "Dioxis_Smoke";
- effectFlare = "FlareShell";
- effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
- EffectFly = "ArtilleryTrailsBlue";
- CraterWaterEffects = "ImpactEffectsWaterHE";
- ExplosionEffects = "ProtonbombAmmoExplosion";
- };
- class macro_new_ordnance_ammo(Orbital): ModuleOrdnanceHowitzer_F_ammo
- {
- caliber = 950;
- hit = 550;
- allowAgainstInfantry = 1;
- canLock = 0;
- explosive = 1;
- fuseDistance = 30;
- indirectHit = 300;
- indirectHitRange = 30;
- maxSpeed = 1100;
- typicalSpeed = 1050;
- sideAirFriction = 0;
- submunitionAmmo = "";
- submunitionConeAngle = 30;
- simulation = "shotSubmunitions";
- timeToLive = 120;
- tracerStartTime = 0;
- visibleFire = 100;
- visibleFireTime = 300;
- CraterEffects = "HEShellCrater";
- effectFlare = "FlareShell";
- effectsMissileInit = "RocketBackEffectsStaticRPGBlue";
- EffectFly = "ArtilleryTrailsBlue";
- CraterWaterEffects = "ImpactEffectsWaterHE";
- ExplosionEffects = "ProtonbombAmmoExplosion";
- };
- };
- class Extended_PreInit_EventHandlers
- {
- class RD501_Zeus_PreInit
- {
- init="call compileFinal preprocessFileLineNumbers 'RD501_Zeus\XEH_preInit.sqf'";
- };
- };
- #include "ui\RscAttributes.hpp"
|