Gamenator

L59

May 3rd, 2022 (edited)
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.79 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class FLPMC_airvehicle_L59_PMC
  4. {
  5. units[]=
  6. {
  7. "FLPMC_B_L59_PMC",
  8. "FLPMC_O_L59_PMC",
  9. "FLPMC_I_L59_PMC"
  10.  
  11. };
  12. weapons[]={};
  13. requiredVersion=0.1;
  14. requiredAddons[]=
  15. {};
  16. };
  17. };
  18. class Components;
  19. class SensorTemplateActiveRadar;
  20. class SensorTemplateAntiRadiation;
  21. class SensorTemplateIR;
  22. class SensorTemplateLaser;
  23. class SensorTemplateMan;
  24. class SensorTemplateNV;
  25. class SensorTemplatePassiveRadar;
  26. class SensorTemplateVisual;
  27. class DefaultVehicleSystemsDisplayManagerRight;
  28. class DefaultVehicleSystemsDisplayManagerLeft;
  29. class VehicleSystemsTemplateLeftPilot: DefaultVehicleSystemsDisplayManagerLeft
  30. {
  31. class Components;
  32. };
  33. class VehicleSystemsTemplateRightPilot: DefaultVehicleSystemsDisplayManagerRight
  34. {
  35. class Components;
  36. };
  37. class VehicleSystemsTemplateLeftGunner: DefaultVehicleSystemsDisplayManagerLeft
  38. {
  39. class Components;
  40. };
  41. class VehicleSystemsTemplateRightGunner: DefaultVehicleSystemsDisplayManagerRight
  42. {
  43. class Components;
  44. };
  45. class CUP_B_L39_CZ;
  46.  
  47.  
  48. class cfgVehicles
  49. {
  50. class CUP_B_L39_CZ;
  51. class FLPMC_B_L59_PMC : CUP_B_L39_CZ
  52. {
  53. _generalMacro = "CUP_B_L39_CZ";
  54. scope = 2;
  55. side = 1;
  56. faction = "B_FLPMC";
  57. displayName="L-59 Super Albatros";
  58. crew = "B_Pilot_F";
  59. weapons[]=
  60. {
  61. "CUP_Vacannon_GSh23L_L39",
  62. "CMFlareLauncher"
  63. };
  64. magazines[]=
  65. {
  66. "CUP_150Rnd_TE2_Green_Tracer_GSh23_23mm_APHE_M",
  67. "120Rnd_CMFlare_Chaff_Magazine"
  68. };
  69. hiddenSelections[]=
  70. {
  71. "Camo1",
  72. "Camo2",
  73. "CamoGlass"
  74.  
  75. };
  76. hiddenSelectionsTextures[]=
  77. {
  78.  
  79. "L59\data\Textures\l-39_body_woodland_co.paa",
  80. "L59\data\Textures\l-39_body_2_woodland_co.paa",
  81. "cup\airvehicles\cup_airvehicles_l39\data\l-39_glass_ca.paa"
  82.  
  83. };
  84. class Components: Components
  85. {
  86. class VehicleSystemsDisplayManagerComponentLeft: DefaultVehicleSystemsDisplayManagerLeft
  87. {
  88. defaultDisplay="EmptyDisplay";
  89. class Components
  90. {
  91. class MissileDisplay
  92. {
  93. componentType="TransportFeedDisplayComponent";
  94. source="Missile";
  95. };
  96. class SensorsDisplay
  97. {
  98. componentType="SensorsDisplayComponent";
  99. range[]={16000,8000,4000,2000};
  100. resource="RscCustomInfoSensors";
  101. };
  102. class CrewDisplay
  103. {
  104. componentType="CrewDisplayComponent";
  105. resource="RscCustomInfoCrew";
  106. };
  107. class MinimapDisplay
  108. {
  109. componentType="MinimapDisplayComponent";
  110. resource="RscCustomInfoMiniMap";
  111. };
  112. class EmptyDisplay
  113. {
  114. componentType="EmptyDisplayComponent";
  115. };
  116. };
  117. };
  118. class VehicleSystemsDisplayManagerComponentRight: DefaultVehicleSystemsDisplayManagerRight
  119. {
  120. defaultDisplay="SensorsDisplay";
  121. class Components
  122. {
  123. class MissileDisplay
  124. {
  125. componentType="TransportFeedDisplayComponent";
  126. source="Missile";
  127. };
  128. class SensorsDisplay
  129. {
  130. componentType="SensorsDisplayComponent";
  131. range[]={16000,8000,4000,2000};
  132. resource="RscCustomInfoSensors";
  133. };
  134. class CrewDisplay
  135. {
  136. componentType="CrewDisplayComponent";
  137. resource="RscCustomInfoCrew";
  138. };
  139. class MinimapDisplay
  140. {
  141. componentType="MinimapDisplayComponent";
  142. resource="RscCustomInfoMiniMap";
  143. };
  144. class EmptyDisplay
  145. {
  146. componentType="EmptyDisplayComponent";
  147. };
  148. };
  149. };
  150. class SensorsManagerComponent
  151. {
  152. class Components
  153. {
  154. class IRSensorComponent: SensorTemplateIR
  155. {
  156. aimDown=0;
  157. angleRangeHorizontal=360;
  158. angleRangeVertical=360;
  159. typeRecognitionDistance=1500;
  160. class AirTarget
  161. {
  162. maxRange=3000;
  163. minRange=50;
  164. objectDistanceLimitCoef=1;
  165. viewDistanceLimitCoef=1;
  166. };
  167. class GroundTarget
  168. {
  169. maxRange=3000;
  170. minRange=50;
  171. objectDistanceLimitCoef=1;
  172. viewDistanceLimitCoef=1;
  173. };
  174. };
  175. class PassiveRadarComponent: SensorTemplatePassiveRadar
  176. {
  177. };
  178. class ActiveRadarComponent: SensorTemplateActiveRadar
  179. {
  180. aimDown=0;
  181. angleRangeHorizontal=90;
  182. angleRangeVertical=90;
  183. typeRecognitionDistance=3500;
  184. class AirTarget
  185. {
  186. maxRange=7000;
  187. minRange=0;
  188. objectDistanceLimitCoef=-1;
  189. viewDistanceLimitCoef=-1;
  190. };
  191. class GroundTarget
  192. {
  193. maxRange=5000;
  194. minRange=0;
  195. objectDistanceLimitCoef=-1;
  196. viewDistanceLimitCoef=-1;
  197. };
  198. };
  199. class VisualSensorComponent: SensorTemplateVisual
  200. {
  201. aimDown=0;
  202. angleRangeHorizontal=360;
  203. angleRangeVertical=360;
  204. maxTrackableSpeed=110;
  205. typeRecognitionDistance=1000;
  206. class AirTarget
  207. {
  208. maxRange=2500;
  209. minRange=50;
  210. objectDistanceLimitCoef=1;
  211. viewDistanceLimitCoef=1;
  212. };
  213. class GroundTarget
  214. {
  215. maxRange=2500;
  216. minRange=50;
  217. objectDistanceLimitCoef=1;
  218. viewDistanceLimitCoef=1;
  219. };
  220. };
  221. class NVSensorComponent: SensorTemplateNV
  222. {
  223. aimDown=0;
  224. angleRangeHorizontal=360;
  225. angleRangeVertical=360;
  226. typeRecognitionDistance=1500;
  227. class AirTarget
  228. {
  229. maxRange=3000;
  230. minRange=50;
  231. objectDistanceLimitCoef=1;
  232. viewDistanceLimitCoef=1;
  233. };
  234. class GroundTarget
  235. {
  236. maxRange=3000;
  237. minRange=50;
  238. objectDistanceLimitCoef=1;
  239. viewDistanceLimitCoef=1;
  240. };
  241. };
  242. class LaserSensorComponent: SensorTemplateLaser
  243. {
  244. };
  245. };
  246. };
  247. class TransportPylonsComponent
  248. {
  249. UIPicture="\CUP\AirVehicles\CUP_AirVehicles_L39\data\ui\CUP_L39_3DEN_ca.paa";
  250. class presets
  251. {
  252. class Default
  253. {
  254. attachment[]=
  255. {
  256. "CUP_PylonPod_16Rnd_S5_plane_M",
  257. "CUP_PylonPod_16Rnd_S5_plane_M",
  258. "CUP_PylonPod_16Rnd_S5_plane_M",
  259. "CUP_PylonPod_16Rnd_S5_plane_M"
  260. };
  261. displayName="$STR_VEHICLE_DEFAULT";
  262. };
  263. class CAS
  264. {
  265. attachment[]=
  266. {
  267. "CUP_PylonPod_16Rnd_S5_plane_M",
  268. "CUP_PylonPod_16Rnd_S5_plane_M",
  269. "CUP_PylonPod_16Rnd_S5_plane_M",
  270. "CUP_PylonPod_16Rnd_S5_plane_M"
  271. };
  272. displayName="$STR_A3_CAS_PRESET_DISPLAYNAME";
  273. };
  274. class CASLarge
  275. {
  276. attachment[]=
  277. {
  278. "CUP_PylonPod_32Rnd_S5_plane_M",
  279. "CUP_PylonPod_32Rnd_S5_plane_M",
  280. "CUP_PylonPod_32Rnd_S5_plane_M",
  281. "CUP_PylonPod_32Rnd_S5_plane_M"
  282. };
  283. displayName="$STR_CUP_dn_Core_Pylon_CASLarge";
  284. };
  285. class Bombs
  286. {
  287. attachment[]=
  288. {
  289. "CUP_PylonPod_1Rnd_FAB250_plane_M",
  290. "CUP_PylonPod_1Rnd_FAB250_plane_M",
  291. "CUP_PylonPod_1Rnd_FAB250_plane_M",
  292. "CUP_PylonPod_1Rnd_FAB250_plane_M"
  293. };
  294. displayName="$STR_CUP_dn_Core_Pylon_Bombs";
  295. };
  296. class CAP
  297. {
  298. attachment[]=
  299. {
  300. "CUP_PylonPod_1Rnd_R73_Vympel",
  301. "CUP_PylonPod_1Rnd_R73_Vympel",
  302. "CUP_PylonPod_1Rnd_R73_Vympel",
  303. "CUP_PylonPod_1Rnd_R73_Vympel"
  304. };
  305. displayName="$STR_CUP_dn_Core_Pylon_CAP";
  306. };
  307. };
  308. class pylons
  309. {
  310. class pylons1
  311. {
  312. attachment="CUP_PylonPod_16Rnd_S5_plane_M";
  313. hardpoints[]=
  314. {
  315. "O_MISSILE_PYLON",
  316. "O_BOMB_PYLON",
  317. "B_MISSILE_PYLON",
  318. "B_BOMB_PYLON",
  319. "B_A143_BUZZARD_CENTER_PYLON"
  320. };
  321. maxweight=400;
  322. priority=5;
  323. UIposition[]=
  324. {
  325. 0.40000001,
  326. "0.11 +0.0"
  327. };
  328. turret[]={};
  329. };
  330. class pylons2
  331. {
  332. attachment="CUP_PylonPod_16Rnd_S5_plane_M";
  333. hardpoints[]=
  334. {
  335. "O_MISSILE_PYLON",
  336. "O_BOMB_PYLON",
  337. "B_MISSILE_PYLON",
  338. "B_BOMB_PYLON",
  339. "B_A143_BUZZARD_CENTER_PYLON"
  340. };
  341. maxweight=500;
  342. priority=4;
  343. UIposition[]=
  344. {
  345. 0.40000001,
  346. "0.11 +0.05"
  347. };
  348. };
  349. class pylons8: pylons2
  350. {
  351. mirroredMissilePos=2;
  352. UIposition[]=
  353. {
  354. 0.40000001,
  355. "0.11 +0.29"
  356. };
  357. };
  358. class pylons9: pylons1
  359. {
  360. mirroredMissilePos=1;
  361. UIposition[]=
  362. {
  363. 0.40000001,
  364. "0.11 +0.34"
  365. };
  366. };
  367. };
  368. };
  369. };
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376. typicalCargo[] = {"B_Pilot_F"};
  377. availableForSupportTypes[] = {"CAS_Bombing"};
  378.  
  379. class TextureSources
  380. {
  381. class PMC_Livery_Green
  382. {
  383. displayName="Woodland camo";
  384. author="Gamenator";
  385. textures[]=
  386. {
  387. "L59\data\Textures\l-39_body_woodland_co.paa",
  388. "L59\data\Textures\l-39_body_2_woodland_co.paa",
  389. "cup\airvehicles\cup_airvehicles_l39\data\l-39_glass_ca.paa"
  390. };
  391. factions[]=
  392. {
  393. "B_FLPMC",
  394. "O_FLPMC",
  395. "I_FLPMC"
  396.  
  397. };
  398. };
  399. class PMC_Livery_Desert
  400. {
  401. displayName="Takistan Camo (No emblems)";
  402. author="Gamenator";
  403. textures[]=
  404. {
  405. "L59\data\Textures\l-39_body_noemblem_co.paa",
  406. "L59\data\Textures\l-39_body_1_noemblem_co.paa",
  407. "cup\airvehicles\cup_airvehicles_l39\data\l-39_glass_ca.paa"
  408. };
  409. factions[]=
  410. {
  411. "B_FLPMC",
  412. "O_FLPMC",
  413. "I_FLPMC"
  414. };
  415. };
  416. textureList[]=
  417. {
  418. "PMC_Livery_Green",
  419. 0.5,
  420. "PMC_Livery_Desert",
  421. 0.5
  422.  
  423. };
  424.  
  425. };
  426.  
  427. };
  428.  
  429. class FLPMC_O_L59_PMC: FLPMC_B_L59_PMC
  430. {
  431. _generalMacro = "CUP_B_L39_CZ";
  432. scope = 2;
  433. side = 0;
  434. faction = "O_FLPMC";
  435. textureList[]=
  436. {
  437. "PMC_Livery_Green",
  438. 0.5,
  439. "PMC_Livery_Desert",
  440. 0.5
  441. };
  442. };
  443.  
  444. class FLPMC_I_L59_PMC: FLPMC_B_L59_PMC
  445. {
  446. _generalMacro = "CUP_B_L39_CZ";
  447. scope = 2;
  448. side = 2;
  449. faction = "I_FLPMC";
  450. textureList[]=
  451. {
  452. "PMC_Livery_Green",
  453. 0.5,
  454. "PMC_Livery_Desert",
  455. 0.5
  456. };
  457. };
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464. };
Add Comment
Please, Sign In to add comment