123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152 |
- //Get this addons macro
- //get the macro for the air subaddon
- //get generlized macros
- #include "../../../RD501_main/config_macros.hpp"
- //General name of the vehicle
- #define vehicle_addon Y_Wing
- #define patch_name MODNAME##vehicle_addon##_Patches
- #define vehicle_classname MODNAME##_##vehicle_addon
- #define new_y_wing_class(name) vehicle_classname##_##name
- class CfgPatches
- {
- class macro_patch_name(Y_Wing)
- {
- addonRootClass=macro_patch_name(vehicles)
- requiredAddons[]=
- {
- macro_patch_name(vehicles)
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(Y_wing,MkII),
- macro_new_vehicle(Y_wing,Rebels_MkII),
- macro_new_vehicle(LAAT,vtol)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class CfgVehicles
- {
- class Plane_Base_F;
- class swop_ywing_base: Plane_Base_F
- {
- class Turrets;
- };
- class swop_ywclones: swop_ywing_base
- {
- class Turrets:Turrets
- {
- class MainTurret;
- };
- class AnimationSources;
- class ViewCargo;
- class NewTurret;
- class ACE_SelfActions;
- };
- class macro_new_vehicle(Y_wing,MkII):swop_ywclones
- {
- side=1;
- scope=2;
- displayName = "Y-Wing";
- forceInGarage = 1;
- armor=300;
-
- faction = macro_republic_faction
- editorSubcategory = macro_editor_cat_air(Republic_vtol)
- vehicleClass = macro_editor_vehicle_type_air(Republic)
- class UserActions
- {
- class fRepulsorBrake
- {
- condition = "";
- displayName = "";
- displayNameDefault = "";
- hideonuse = 1;
- onlyForPlayer = 0;
- position = "";
- priority = 1e+011;
- radius = ;
- shortcut = "";
- statement = """";
- textToolTip = "";
- userActionID = ;
- };
- #include "../../common/universal_dmg_report.hpp"
- };
- #include "common.hpp"
- class Sounds;
- class SoundsExt;
- class pilotCamera
- {
- class OpticsIn
- {
- class Wide
- {
- opticsDisplayName="WFOV";
- initAngleX=0;
- minAngleX=-10;
- maxAngleX=90;
- initAngleY=0;
- minAngleY=-90;
- maxAngleY=90;
- initFov=0.425;//"(30 / 120)";
- minFov=0.425;//"(30 / 120)";
- maxFov=0.425;//"(30 / 120)";
- directionStabilized=1;
- thermalMode[] = {0,1,2,3,4,5};
- visionMode[]=
- {
- "Normal",
- "NVG",
- "Ti"
- };
- gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
- opticsPPEffects[]=
- {
- "OpticsCHAbera2",
- "OpticsBlur2"
- };
- };
- class zoomx4: Wide
- {
- opticsDisplayName="NFOV";
- initFov="(0.425/4)";//"(3.75 / 120)";
- minFov="(0.425/4)";//"(3.75 / 120)";
- maxFov="(0.425/4)";//"(3.75 / 120)";
-
- gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
- };
- class zoomX8: Wide
- {
- opticsDisplayName="NFOV";
-
- initFov="(0.42/8)";//"(.375 / 120)";
- minFov="(0.42/8)";//"(.375 / 120)";
- maxFov="(0.42/8)";//"(.375 / 120)";
- gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
- };
- class zoomX20: Wide
- {
- opticsDisplayName="NFOV";
- initFov="(0.42/20)";//"(.375 / 120)";
- minFov="(0.42/20)";//"(.375 / 120)";
- maxFov="(0.42/20)";//"(.375 / 120)";
- gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
- };
- class zoomX50: Wide
- {
- opticsDisplayName="NFOV";
-
- initFov="(0.42/50)";//"(.375 / 120)";
- minFov="(0.42/50)";//"(.375 / 120)";
- maxFov="(0.42/50)";//"(.375 / 120)";
- gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
- };
- class zoomX70: Wide
- {
- opticsDisplayName="NFOV";
- initFov="(0.42/70)";//"(.375 / 120)";
- minFov="(0.42/70)";//"(.375 / 120)";
- maxFov="(0.42/70)";//"(.375 / 120)";
- gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
- };
- showMiniMapInOptics=1;
- showUAVViewInOptics=0;
- showSlingLoadManagerInOptics=1;
- };
- minTurn=-180;
- maxTurn=180;
- initTurn=0;
- minElev=-10;
- maxElev=90;
- initElev=-10;
- maxXRotSpeed=0.30000001;
- maxYRotSpeed=0.30000001;
- pilotOpticsShowCursor=1;
- controllable=1;
- };
- weapons[] = {
- macro_basic_air_weapons,
- macro_new_weapon(voltic,y_wing),
- macro_new_weapon(wynd,agm),
- macro_new_weapon(wynd,lgm),
- macro_new_weapon(bomb,SDB),
- macro_new_weapon(bomb,LGB),
- macro_new_weapon(bomb,cluster),
- macro_new_weapon(bomb,cluster_emp),
- macro_new_weapon(bomb,carpet_I)
- };
- magazines[] = {
- macro_basic_air_mags,
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(agm,6),
- macro_new_mag(agm,6),
- macro_new_mag(agm,6),
- macro_new_mag(agm,6),
- macro_new_mag(agm,6),
- macro_new_mag(lgm,4),
- macro_new_mag(lgm,4),
- macro_new_mag(lgm,4),
- macro_new_mag(carpet_I_bomb_mag,20),
- macro_new_mag(carpet_I_bomb_mag,20),
- macro_new_mag(cluster_bomb,4),
- macro_new_mag(cluster_bomb,4),
- macro_new_mag(cluster_bomb,4),
- macro_new_mag(cluster_emp,2),
- macro_new_mag(sdb_bomb,4),
- macro_new_mag(sdb_bomb,4),
- macro_new_mag(sdb_bomb,4),
- macro_new_mag(lgb_bomb,4),
- macro_new_mag(lgb_bomb,4),
- macro_new_mag(lgb_bomb,4)
- };
- };
- // class VTOL_02_infantry_base_F;
- // class VTOL_02_infantry_dynamicLoadout_base_F:VTOL_02_infantry_base_F
- // {
- // class Turrets;
- // class HitPoints;
- // };
- // class O_T_VTOL_02_infantry_dynamicLoadout_F:VTOL_02_infantry_dynamicLoadout_base_F
- // {
- // class Turrets: Turrets
- // {
- // class GunnerTurret;
- // class MainTurret;
- // class CargoTurret;
- // class CopilotTurret;
- // //class CargoTurret_01;
- // };
- // class HitPoints:HitPoints
- // {
- // class HitHull;
- // class HitFuel;
- // class HitHRotor;
- // class HitVRotor;
- // };
- // class AnimationSources;
- // };
- class macro_new_vehicle(LAAT,vtol): macro_new_vehicle(Y_wing,MkII)
- {
- displayName="VTOL LAAT Mk.II";
- gearsUpFrictionCoef=0;
- model="\LAAT\LAAT.p3d";
- hiddenSelections[] = {"camo1","camo2"};
- hiddenSelectionsTextures[]=
- {
- "RD501_Laat\textures\laat\Laat501stcxx\Laat501stBodyCXX_lightning.paa",
- "RD501_Laat\textures\laat\Laat501stcxx\Laat501stWingCXX.paa"
- };
- forceInGarage=1;
- availableForSupportTypes[] = {};
- memoryPointGun[] = {"cannon1"};
- gunBeg[] = {"cannon1"};
- gunEnd[] = {"konec hlavne1"};
- memoryPointLRocket = "RocketL";
- memoryPointRRocket = "RocketR";
- memoryPointLMissile = "RocketL";
- memoryPointRMissile = "RocketR";
- weapons[] = {
- macro_basic_air_weapons,
- macro_new_weapon(generic,republic_aircraft_cannon),
- macro_new_weapon(wynd,a2a),
- macro_new_weapon(wynd,agm),
- macro_new_weapon(wynd,ugm)
- };
- magazines[] = {
- macro_new_mag(generic_aircraft_cannon_green,1000),
- macro_new_mag(a2a,4),
- macro_new_mag(agm,6),
- macro_new_mag(ugm,10),
- macro_basic_air_mags
- };
- armor=550;
- class Sounds: Sounds
- {
- class EngineExt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 1.25893,
- 1,
- 400
- };
- frequency="rotorSpeed";
- volume="camPos*((rotorSpeed-0.72)*4)";
- };
- class RotorExt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 1,
- 1,
- 4000
- };
- frequency="rotorSpeed * (1-rotorThrust/5)";
- volume="camPos*(0 max (rotorSpeed-0.1))*(1 + rotorThrust)";
- cone[]={1.6,3.1400001,1.6,0.94999999};
- };
- class RotorNoiseExt
- {
- sound[]=
- {
- "",
- "db0",
- 1,
- 400
- };
- frequency=1;
- volume="(camPos*(rotorThrust factor [0.6, 1]))";
- cone[]={0.69999999,1.3,1,0};
- };
- class EngineInt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 0.30000001,
- 1
- };
- frequency="rotorSpeed";
- volume="2 * (1-camPos)*(rotorSpeed factor[0.4,1])";
- };
- class RotorInt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 0.30000001,
- 1
- };
- frequency="rotorSpeed * (1-rotorThrust/5)";
- volume="(1-camPos) * (rotorSpeed factor[0.3, 1]) * (1 + rotorThrust)";
- };
- };
- class SoundsExt: SoundsExt
- {
- class Sounds: Sounds
- {
- class EngineExt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 1.25893,
- 1,
- 400
- };
- frequency="rotorSpeed";
- volume="camPos*((rotorSpeed-0.72)*4)";
- };
- class RotorExt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 1,
- 1,
- 4000
- };
- frequency="rotorSpeed * (1-rotorThrust/5)";
- volume="camPos*(0 max (rotorSpeed-0.1))*(1 + rotorThrust)";
- cone[]={1.6,3.1400001,1.6,0.94999999};
- };
- class RotorNoiseExt
- {
- sound[]=
- {
- "",
- "db0",
- 1,
- 400
- };
- frequency=1;
- volume="(camPos*(rotorThrust factor [0.6, 1]))";
- cone[]={0.69999999,1.3,1,0};
- };
- class EngineInt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 0.30000001,
- 1
- };
- frequency="rotorSpeed";
- volume="2 * (1-camPos)*(rotorSpeed factor[0.4,1])";
- };
- class RotorInt
- {
- sound[]=
- {
- "RD501_Vehicles\sounds\LAAT\laat_Idle.ogg",
- 0.30000001,
- 1
- };
- frequency="rotorSpeed * (1-rotorThrust/5)";
- volume="(1-camPos) * (rotorSpeed factor[0.3, 1]) * (1 + rotorThrust)";
- };
- };
- };
- class Turrets: Turrets
- {
- class CopilotTurret: MainTurret
- {
- class ViewGunner
- {
- visionMode[]=
- {
- "Normal",
- "NVG"
- };
- gunnerOpticsEffect[]={};
- stabilizedInAxes=0;
- directionStabilized=0;
- horizontallyStabilized=0;
- initFov=1;
- minFov=0.60000002;
- maxFov=0.85000002;
- initAngleX=-10;
- minAngleX=-35;
- maxAngleX=85;
- initAngleY=0;
- minAngleY=-130;
- maxAngleY=130;
- minMoveX=-0.1;
- maxMoveX=0.1;
- minMoveY=-0.025;
- maxMoveY=0.1;
- minMoveZ=-0.1;
- maxMoveZ=0.1;
- gunnerOpticsModel="";
- };
- visionMode[]=
- {
- "Normal",
- "NVG",
- "Ti"
- };
- class Reflectors
- {
- class cabin
- {
- color[]={830,100,100};
- ambient[]={5,0,0};
- class Attenuation
- {
- start=0;
- constant=0;
- linear=1;
- quadratic=50;
- hardLimitStart=1;
- hardLimitEnd=1.5;
- };
- intensity=9;
- size=1;
- innerAngle=90;
- outerAngle=165;
- coneFadeCoef=1;
- position="cabin_light";
- direction="cabin_light_dir";
- hitpoint="cabin_light";
- selection="cabin_light";
- useFlare=1;
- flareSize=1;
- flareMaxDistance=5;
- dayLight=1;
- blinking=0;
- };
- class cabin2
- {
- color[]={830,100,100};
- ambient[]={5,0,0};
- class Attenuation
- {
- start=0;
- constant=0;
- linear=1;
- quadratic=50;
- hardLimitStart=1;
- hardLimitEnd=1.5;
- };
- intensity=9;
- size=1;
- innerAngle=90;
- outerAngle=165;
- coneFadeCoef=1;
- position="cabin_light2";
- direction="cabin_light2_dir";
- hitpoint="cabin_light2";
- selection="cabin_light2";
- useFlare=1;
- flareSize=1;
- flareMaxDistance=5;
- dayLight=1;
- blinking=0;
- };
- class cargo_light_1: cabin
- {
- color[]={830,100,100};
- class Attenuation
- {
- start=0;
- constant=0;
- linear=1;
- quadratic=70;
- hardLimitStart=2;
- hardLimitEnd=2.5;
- };
- position="cargo_light_1";
- direction="cargo_light_1_dir";
- hitpoint="cargo_light_1";
- selection="cargo_light_1";
- intensity=21;
- useFlare=0;
- coneFadeCoef=0.1;
- };
- class cargo_light_2: cargo_light_1
- {
- position="cargo_light_2";
- direction="cargo_light_2_dir";
- hitpoint="cargo_light_2";
- selection="cargo_light_2";
- };
- };
- discreteDistance[]={100,200,300,400,500,600,700,800,1000,1200,1500,1800,2100,2400};
- magazines[]=
- {
- "Laserbatteries",
- "1000Rnd_Laser_Cannon_LAAT",
- "1000Rnd_Laser_Cannon_LAAT"
- };
- weapons[]=
- {
- "Laserdesignator_mounted",
- "Cannon_LAAT"
- };
- class Viewoptics
- {
- visionMode[]=
- {
- "Normal",
- "NVG",
- "Ti"
- };
- minAngleX=0;
- maxAngleX=0;
- initAngleX=0;
- minAngleY=-15;
- maxAngleY=15;
- initAngleY=0;
- initFov=0.75;
- minFov=0.25;
- maxFov=0.75;
- };
- class OpticsIn
- {
- class Wide
- {
- visionMode[]=
- {
- "Normal",
- "NVG",
- "Ti"
- };
- thermalMode[]={0,1};
- initAngleX=0;
- minAngleX=0;
- maxAngleX=0;
- initAngleY=0;
- minAngleY=-15;
- maxAngleY=15;
- initFov=0.46599999;
- minFov=0.46599999;
- maxFov=0.46599999;
- opticsDisplayName="W";
- gunnerOpticsModel="\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_wide_F";
- };
- class Medium: Wide
- {
- initFov=0.093000002;
- minFov=0.093000002;
- maxFov=0.093000002;
- opticsDisplayName="M";
- gunnerOpticsModel="\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_medium_F";
- };
- class Narrow: Wide
- {
- initFov=0.028999999;
- minFov=0.028999999;
- maxFov=0.028999999;
- opticsDisplayName="N";
- gunnerOpticsModel="\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
- };
- };
- class OpticsOut
- {
- class Monocular
- {
- visionMode[]=
- {
- "Normal",
- "NVG"
- };
- gunnerOpticsEffect[]={};
- initAngleX=-10;
- minAngleX=-30;
- maxAngleX=30;
- initAngleY=0;
- minAngleY=-100;
- maxAngleY=100;
- minFov=0.25;
- maxFov=1.25;
- initFov=0.75;
- gunnerOpticsModel="";
- };
- };
- class Components
- {
- class VehicleSystemsDisplayManagerComponentLeft: DefaultVehicleSystemsDisplayManagerLeft
- {
- class Components: components
- {
- class VehiclePrimaryGunnerDisplay
- {
- componentType="TransportFeedDisplayComponent";
- source="PrimaryGunner";
- };
- class VehicleMissileDisplay
- {
- componentType="TransportFeedDisplayComponent";
- source="Missile";
- };
- class SensorDisplay
- {
- range[]={4000,2000,16000,8000};
- componentType="SensorsDisplayComponent";
- resource="RscCustomInfoSensors";
- };
- };
- };
- class VehicleSystemsDisplayManagerComponentRight: DefaultVehicleSystemsDisplayManagerRight
- {
- class Components: components
- {
- class VehiclePrimaryGunnerDisplay
- {
- componentType="TransportFeedDisplayComponent";
- source="PrimaryGunner";
- };
- class VehicleMissileDisplay
- {
- componentType="TransportFeedDisplayComponent";
- source="Missile";
- };
- class SensorDisplay
- {
- range[]={4000,2000,16000,8000};
- componentType="SensorsDisplayComponent";
- resource="RscCustomInfoSensors";
- };
- };
- defaultDisplay="SensorDisplay";
- };
- };
- soundServo[]=
- {
- "",
- 0.0099999998,
- 1
- };
- gunnerOpticsEffect[]=
- {
- "TankCommanderOptics1",
- "BWTV"
- };
- primaryObserver=0;
- primaryGunner=1;
- primary=1;
- usePip=1;
- turretFollowFreeLook=0;
- gunnerCompartments="Compartment2";
- body="mainTurret";
- gun="mainGun";
- gunBeg="Usti hlavne";
- gunEnd="konec hlavne";
- animationSourceBody="mainTurret";
- animationSourceGun="mainGun";
- gunnerLeftHandAnimName="";
- gunnerRightHandAnimName="";
- maxHorizontalRotSpeed=5;
- maxVerticalRotSpeed=5;
- proxyindex=1;
- isCopilot=1;
- gunnerName="Co-Pilot";
- showHMD=1;
- castCargoShadow=0;
- viewCargoShadow=0;
- castDriverShadow=0;
- viewDriverShadow=0;
- CanEject=1;
- hideWeaponsGunner=1;
- memoryPointsGetInGunner="pos driver";
- memoryPointsGetInGunnerDir="pos driver dir";
- memoryPointGunnerOutOptics="gunnerviewout";
- discreteDistanceInitIndex=5;
- gunnerAction="Driver_mid01";
- gunnerInAction="Driver_mid01";
- gunnerGetInAction="GetInLow";
- gunnerGetOutAction="GetOutLow";
- gunnerUsesPilotView=0;
- commanding=-1;
- startEngine=0;
- stabilizedInAxes="StabilizedInAxesBoth";
- showAllTargets=4;
- minElev=-15;
- maxElev=15;
- initElev=0;
- minTurn=0;
- maxTurn=0;
- initTurn=0;
- memoryPointLRocket="RocketL";
- memoryPointRRocket="RocketR";
- memoryPointLMissile="RocketL";
- memoryPointRMissile="RocketR";
- selectionFireAnim="";
- SWOP_JumpMasterTurretIndex=1;
- outGunnerMayFire=1;
- memoryPointGunnerOptics="gunner1";
- castGunnerShadow=0;
- viewGunnerShadow=0;
- gunnerOpticsModel="";
- gunnerForceOptics=0;
- turretInfoType="RscOptics_Heli_Attack_01_gunner";
- gunnerNotSpawned=1;
- gunnerLeftLegAnimName="pedalL";
- gunnerRightLegAnimName="pedalR";
- turretCanSee="1 + 2 + 4 + 8 + 16";
- };
- class GunnerTurret1: MainTurret
- {
- soundServo[]=
- {
- "A3\Sounds_F\vehicles\armor\noises\servo_armor_gunner",
- 0.36234099,
- 1,
- 20
- };
- soundServoVertical[]=
- {
- "A3\Sounds_F\vehicles\armor\noises\servo_armor_gunner_vertical",
- 0.36234099,
- 1,
- 30
- };
- weapons[]=
- {
- "Cannon_LAAT_Turret1"
- };
- magazines[]=
- {
- "500Rnd_Cannon_LAAT_TURRET",
- "500Rnd_Cannon_LAAT_TURRET"
- };
- class ViewOptics
- {
- initAngleX=0;
- minAngleX=-30;
- maxAngleX=30;
- initAngleY=0;
- minAngleY=-100;
- maxAngleY=100;
- initFov=0.69999999;
- minFov=0.25;
- maxFov=1.1;
- };
- class OpticsIn
- {
- class Wide
- {
- visionMode[]=
- {
- "Normal",
- "NVG",
- "Ti"
- };
- thermalMode[]={0,1};
- opticsDisplayName="W";
- initAngleX=0;
- minAngleX=-45;
- maxAngleX=45;
- initAngleY=0;
- minAngleY=-100;
- maxAngleY=100;
- initFov=0.46599999;
- minFov=0.46599999;
- maxFov=0.46599999;
- gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Gunner_AAA_01_w_F";
- };
- class Medium: Wide
- {
- opticsDisplayName="M";
- initFov=0.093000002;
- minFov=0.093000002;
- maxFov=0.093000002;
- gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Gunner_AAA_01_m_F";
- };
- class Narrow: Wide
- {
- opticsDisplayName="N";
- gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Gunner_AAA_01_n_F";
- initFov=0.028999999;
- minFov=0.028999999;
- maxFov=0.028999999;
- };
- };
- isCopilot=0;
- proxyIndex=2;
- commanding=-4;
- primaryObserver=0;
- primaryGunner=0;
- body="mainTurret2";
- gun="mainGun2";
- minElev=-60;
- maxElev=60;
- initElev=0;
- minTurn=0;
- maxTurn=110;
- initTurn=0;
- turretFollowFreeLook=0;
- isPersonTurret=0;
- memoryPointGunnerOptics="gunnerview2";
- memoryPointGun="machinegun2";
- animationSourceHatch="";
- stabilizedInAxes="StabilizedInAxesNone";
- selectionFireAnim="";
- animationSourceBody="MainTurret2";
- animationSourceGun="MainGun2";
- gunBeg="muzzle_2";
- gunEnd="chamber_2";
- gunnerName="Ball Turret (Left)";
- gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Gunner_AAA_01_w_F";
- gunnerOutOpticsShowCursor=1;
- gunnerOpticsShowCursor=1;
- gunnerAction="Driver_mid01";
- gunnerInAction="Driver_mid01";
- gunnerlefthandanimname="";
- gunnerrighthandanimname="";
- gunnerLeftLegAnimName="";
- gunnerRightLegAnimName="";
- gunnerGetInAction="GetInLow";
- gunnerGetOutAction="GetOutLow";
- gunnerForceOptics=0;
- inGunnerMayFire=1;
- gunnerFireAlsoInInternalCamera=1;
- outGunnerMayFire=1;
- gunnerCompartments="Compartment4";
- memoryPointsGetInGunner="pos driver";
- memoryPointsGetInGunnerDir="pos driver dir";
- turretinfotype="RscOptics_APC_Tracked_01_gunner";
- };
- class GunnerTurret2: GunnerTurret1
- {
- soundServo[]=
- {
- "A3\Sounds_F\vehicles\armor\noises\servo_armor_gunner",
- 0.36234099,
- 1,
- 20
- };
- soundServoVertical[]=
- {
- "A3\Sounds_F\vehicles\armor\noises\servo_armor_gunner_vertical",
- 0.36234099,
- 1,
- 30
- };
- weapons[]=
- {
- "Cannon_LAAT_Turret2"
- };
- magazines[]=
- {
- "500Rnd_Cannon_LAAT_TURRET",
- "500Rnd_Cannon_LAAT_TURRET"
- };
- isCopilot=0;
- body="mainTurret3";
- gun="mainGun3";
- minTurn=-110;
- maxTurn=0;
- initTurn=0;
- inGunnerMayFire=1;
- gunnerFireAlsoInInternalCamera=1;
- outGunnerMayFire=1;
- animationSourceBody="MainTurret3";
- animationSourceGun="MainGun3";
- gunBeg="muzzle_3";
- gunEnd="chamber_3";
- gunnerlefthandanimname="";
- gunnerrighthandanimname="";
- gunnerLeftLegAnimName="";
- gunnerRightLegAnimName="";
- stabilizedInAxes="StabilizedInAxesNone";
- selectionFireAnim="";
- proxyIndex=3;
- commanding=-5;
- primaryObserver=0;
- primaryGunner=0;
- turretFollowFreeLook=0;
- isPersonTurret=0;
- gunnerOutOpticsShowCursor=1;
- gunnerOpticsShowCursor=1;
- gunnerName="Ball Turret (Right)";
- memoryPointGun="machinegun3";
- memoryPointGunnerOptics="gunnerview3";
- gunnerCompartments="Compartment5";
- memoryPointsGetInGunner="pos driver";
- memoryPointsGetInGunnerDir="pos driver dir";
- };
- class CargoTurret_01: MainTurret
- {
- weapons[]=
- {
-
- };
- magazines[]=
- {
-
- };
- gunnerAction="passenger_inside_3";
- gunnerGetInAction="GetInLow";
- gunnerGetOutAction="GetOutLow";
- memoryPointsGetInGunner="pos cargo";
- memoryPointsGetInGunnerDir="pos cargo dir";
- gunnerName="Passenger (left-back)";
- gunnerCompartments="Compartment6";
- memoryPointGunnerOptics="";
- LODTurnedIn=1;
- LODTurnedOut=1;
- proxyIndex=42;
- maxElev=45;
- minElev=-35;
- maxTurn=61;
- minTurn=-65;
- castGunnerShadow=0;
- viewGunnerShadow=0;
- castCargoShadow=1;
- viewCargoShadow=1;
- castDriverShadow=0;
- viewDriverShadow=0;
- enabledByAnimationSource="";
- isCopilot=0;
-
- };
- class CargoTurret_02: CargoTurret_01
- {
- gunnerAction="passenger_inside_3";
- gunnerName="Passenger (left-front)";
- gunnerCompartments="Compartment6";
- memoryPointsGetInGunner="pos cargo";
- memoryPointsGetInGunnerDir="pos cargo dir";
- proxyIndex=43;
- castGunnerShadow=0;
- viewGunnerShadow=0;
- castCargoShadow=1;
- viewCargoShadow=1;
- castDriverShadow=0;
- viewDriverShadow=0;
- enabledByAnimationSource="";
- };
- class CargoTurret_03: CargoTurret_01
- {
- gunnerAction="passenger_inside_3";
- gunnerName="Passenger (left-middle)";
- gunnerCompartments="Compartment6";
- memoryPointsGetInGunner="pos cargo";
- memoryPointsGetInGunnerDir="pos cargo dir";
- proxyIndex=44;
- castGunnerShadow=0;
- viewGunnerShadow=0;
- castCargoShadow=1;
- viewCargoShadow=1;
- castDriverShadow=0;
- viewDriverShadow=0;
- enabledByAnimationSource="";
- };
- class CargoTurret_04: CargoTurret_01
- {
- gunnerAction="passenger_inside_3";
- gunnerName="Passenger (right-back)";
- gunnerCompartments="Compartment6";
- memoryPointsGetInGunner="pos cargo";
- memoryPointsGetInGunnerDir="pos cargo dir";
- proxyIndex=45;
- castGunnerShadow=0;
- viewGunnerShadow=0;
- castCargoShadow=1;
- viewCargoShadow=1;
- castDriverShadow=0;
- viewDriverShadow=0;
- enabledByAnimationSource="";
- };
- class CargoTurret_05: CargoTurret_01
- {
- gunnerAction="passenger_inside_3";
- gunnerName="Passenger (right-front)";
- gunnerCompartments="Compartment6";
- memoryPointsGetInGunner="pos cargo";
- memoryPointsGetInGunnerDir="pos cargo dir";
- proxyIndex=46;
- castGunnerShadow=0;
- viewGunnerShadow=0;
- castCargoShadow=1;
- viewCargoShadow=1;
- castDriverShadow=0;
- viewDriverShadow=0;
- enabledByAnimationSource="";
- };
- class CargoTurret_06: CargoTurret_01
- {
- gunnerAction="passenger_inside_3";
- gunnerName="Passenger (right-middle)";
- gunnerCompartments="Compartment6";
- memoryPointsGetInGunner="pos cargo";
- memoryPointsGetInGunnerDir="pos cargo dir";
- proxyIndex=47;
- castGunnerShadow=0;
- viewGunnerShadow=0;
- castCargoShadow=1;
- viewCargoShadow=1;
- castDriverShadow=0;
- viewDriverShadow=0;
- enabledByAnimationSource="";
- };
- };
- thrustCoef[]=
- {
- "1.16*2.4",
- "1.15*1.75",
- "1.14*1.5",
- "1.14*1.1",
- "1.13*1",
- "1.12*1",
- "1.1*1",
- "1.07*1",
- "0.99*1",
- "0.2*1",
- 0,
- 0,
- 0
- };
- thrustDelay=0;
- };
- //#include "_vtol_laat.hpp"
- class swop_yw: swop_ywing_base
- {
- class Turrets:Turrets
- {
- class MainTurret;
- };
- class ACE_SelfActions;
- }
- class macro_new_vehicle(Y_wing,Rebels_MkII) : swop_yw
- {
- faction = macro_rebel_faction
- editorSubcategory = macro_editor_cat_air(Rebel_vtol)
- vehicleClass = macro_editor_vehicle_type_air(Rebel)
-
- scope = 2;
- altFullForce = 6000;
- airBrakeFrictionCoef = 80.4;
- altNoForce = 9000;
- forceInGarage=1;
- displayname = "Y-Wing Rebels Mk.II";
- visualTarget = 1;
- visualTargetSize = 1;
- reportOwnPosition = true;
- radarTargetSize = 1;
- radarTarget = 1;
- nvTarget = 1;
- laserTarget = 1;
- laserScanner = 0;
- irTarget = 1;
- irTargetSize = 1;
- countermeasureActivationRadius = 2000;
-
- armor=800;
-
- #include "common.hpp"
- weapons[] = {
- macro_basic_air_weapons,
- macro_new_weapon(voltic,y_wing),
- macro_new_weapon(wynd,a2a),
- macro_new_weapon(wynd,agm),
- macro_new_weapon(wynd,ugm),
- macro_new_weapon(bomb,cluster),
- macro_new_weapon(bomb,cluster_emp),
- macro_new_weapon(bomb,SDB),
- macro_new_weapon(bomb,LGB),
- };
- magazines[] = {
- macro_basic_air_mags,
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(voltic,200),
- macro_new_mag(a2a,4),
- macro_new_mag(a2a,4),
- macro_new_mag(agm,6),
- macro_new_mag(ugm,10),
- macro_new_mag(cluster_bomb,4),
- macro_new_mag(cluster_bomb,4),
- macro_new_mag(cluster_bomb,4),
- macro_new_mag(cluster_emp,2),
- macro_new_mag(sdb_bomb,4),
- macro_new_mag(sdb_bomb,4),
- macro_new_mag(sdb_bomb,4),
- macro_new_mag(lgb_bomb,4),
- macro_new_mag(lgb_bomb,4),
- macro_new_mag(lgb_bomb,4)
- };
- };
- };
|