12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #define COMPONENT vehicle_weapons
- #include "script_component.hpp"
- class CfgPatches
- {
- class RD501_patch_vehicle_weapons
- {
- author=DANKAUTHORS;
- requiredAddons[]=
- {
- macro_lvl1_req,
- "3AS_LAAT"
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(pylon_laser,v_wing),
- macro_new_weapon(pylon_generic,kannon)
- };
- };
- };
- //scopes
- class CfgWeapons
- {
- class macro_new_weapon(generic,green_dual_aircraft_laser);
- class macro_new_weapon(pylon_laser,v_wing) : macro_new_weapon(generic,green_dual_aircraft_laser)
- {
- displayName = "Laser gun (Pylon)";
- displayNameShort = "Laser";
- magazines[]={macro_new_mag(pylon_generic_aircraft_gun_asg,3000)};
- };
-
- };
- class CfgMagazineWells
- {
- class macro_new_magwell(generic_aircraft_laser)
- {
- macro_new_magwell(generic_aircraft_colors)[]=
- {
- macro_new_mag(generic_aircraft_gun,1000),
- macro_new_mag(generic_aircraft_gun_blue,1000),
- macro_new_mag(generic_aircraft_gun_green,1000),
- macro_new_mag(generic_aircraft_gun_purple,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000)
- };
- };
- class macro_new_magwell(generic_aircraft_cannon)
- {
- macro_new_magwell(generic_aircraft_colors)[]=
- {
- macro_new_mag(generic_aircraft_cannon_red,1000),
- macro_new_mag(generic_aircraft_cannon_green,1000),
- macro_new_mag(generic_aircraft_cannon_blue,1000),
- macro_new_mag(generic_aircraft_cannon_plasma_red,1000),
- macro_new_mag(generic_aircraft_cannon_plasma_blue,1000),
- macro_new_mag(generic_aircraft_cannon_purple,1000)
- };
- };
-
- };
|