Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1.  
  2. class CfgPatches {
  3.  
  4. class A3PL_Goose {
  5. units = {"A3PL_FakePlatform", "A3PL_Goose_Default"};
  6. weapons = {};
  7. requiredAddons = {"A3PL_Planes"};
  8. requiredVersion = 0.400000;
  9. };
  10. };
  11.  
  12. class CfgMovesBasic {
  13. /*extern*/ class DefaultDie;
  14.  
  15. class ManActions {
  16. goose_pilot = "goose_pilot";
  17. };
  18. };
  19.  
  20. class CfgMovesMaleSdr: CfgMovesBasic {
  21.  
  22. class States {
  23. /*extern*/ class Crew;
  24.  
  25. class goose_pilot: Crew {
  26. file = "\a3pl_planes\goose\anim\Pilot.rtm";
  27. leftHandIKCurve = {1};
  28. rightHandIKCurve = {1};
  29. leftLegIKCurve = {1};
  30. rightLegIKCurve = {1};
  31. interpolateTo = {"", 1};
  32. leaning = "crewShake_shoulders";
  33. };
  34. };
  35. };
  36.  
  37. class CfgAnimationSourceSounds {
  38.  
  39. class GooseGear {
  40.  
  41. class GearUp {
  42. loop = 0;
  43. terminate = 0;
  44. trigger = "direction * (phase factor[0.1,0.2])";
  45. sound0 = {"\A3PL_Planes\Goose\sounds\gearup.wav", 1, 1, 50};
  46. sound = {"sound0", 1};
  47. };
  48.  
  49. class GearDown {
  50. loop = 0;
  51. terminate = 0;
  52. trigger = "(1 - direction) * (phase factor[0.9,0.8])";
  53. sound0 = {"\A3PL_Planes\Goose\sounds\geardown.wav", 1, 1, 50};
  54. sound = {"sound0", 1};
  55. };
  56. };
  57.  
  58. class GooseGen {
  59.  
  60. class ButtonMovement {
  61. loop = 0;
  62. terminate = 0;
  63. trigger = "direction * (phase factor[0.98,0.99])";
  64. sound0 = {"\A3PL_Planes\Goose\sounds\gyro.wav", 1, 1, 50};
  65. sound = {"sound0", 1};
  66. };
  67. };
  68.  
  69. class GooseFuelPump {
  70.  
  71. class ButtonMovement {
  72. loop = 0;
  73. terminate = 0;
  74. trigger = "direction * (phase factor[0.98,0.99])";
  75. sound0 = {"\A3PL_Planes\Goose\sounds\fuelpump.wav", 1, 1, 50};
  76. sound = {"sound0", 1};
  77. };
  78. };
  79.  
  80. class GooseStartup {
  81.  
  82. class ButtonMovement {
  83. loop = 0;
  84. terminate = 0;
  85. trigger = "direction * (phase factor[0.51,0.52])";
  86. sound0 = {"\A3PL_Planes\Goose\sounds\StarterLeft.wav", 1, 1, 50};
  87. sound = {"sound0", 1};
  88. };
  89.  
  90. class ButtonMovement2 {
  91. loop = 0;
  92. terminate = 0;
  93. trigger = "(1 - direction) * (phase factor[0.4,0.39])";
  94. sound0 = {"\A3PL_Planes\Goose\sounds\StarterLeft.wav", 1, 1, 50};
  95. sound = {"sound0", 1};
  96. };
  97.  
  98. class ButtonMovement3 {
  99. loop = 0;
  100. terminate = 0;
  101. trigger = "(1 - direction) * (phase factor[0.02,0.01])";
  102. sound0 = {"\A3PL_Planes\Goose\sounds\StartupLeft.wav", 1, 1, 50};
  103. sound = {"sound0", 1};
  104. };
  105. };
  106. };
  107.  
  108. class cfgVehicles {
  109. /*extern*/ class C_Boat_Civil_01_F;
  110.  
  111. class A3PL_FakePlatform: C_Boat_Civil_01_F {
  112. scope = 2;
  113.  
  114. class EventHandlers {
  115. };
  116.  
  117. class Useractions {
  118. };
  119. model = "\A3PL_Planes\Goose\A3PL_FakePlatform";
  120. maxSpeed = 0;
  121. enginePower = 0;
  122. waterLeakiness = 0.000000;
  123. destrType = "DestructNo";
  124. turnCoef = 0.240000;
  125. hideWeaponsDriver = 1;
  126. hideWeaponsCargo = 1;
  127. driveraction = "";
  128. getInAction = "";
  129. leftFastWaterEffect = "LFastWaterEffects";
  130. rightFastWaterEffect = "RFastWaterEffects";
  131. weapons = {};
  132. cargoGetInAction = {};
  133. hiddenSelections = {};
  134. hiddenSelectionsTextures = {};
  135. _generalMacro = "A3PL_FakePlatform";
  136. displayName = "A3PL FakePlatform";
  137. extCameraPosition = {0, 1.000000, -3.000000};
  138. transportSoldier = 0;
  139.  
  140. class Exhausts {
  141. };
  142.  
  143. class Sounds {
  144. };
  145.  
  146. class AnimationSources {
  147. };
  148. };
  149. /*extern*/ class Air;
  150.  
  151. class Plane: Air {
  152. /*extern*/ class Turrets;
  153.  
  154. class HitPoints {
  155. /*extern*/ class HitHull;
  156. };
  157. };
  158.  
  159. class Plane_Base_F: Plane {
  160. /*extern*/ class AnimationSources;
  161.  
  162. class HitPoints: HitPoints {
  163.  
  164. class HitHull: HitHull {
  165. };
  166. };
  167.  
  168. class Turrets: Turrets {
  169. /*extern*/ class CopilotTurret;
  170. };
  171. /*extern*/ class MarkerLights;
  172. /*extern*/ class ViewPilot;
  173. };
  174.  
  175. class A3PL_Goose_Base: Plane_Base_F {
  176. displayName = "A3PL Goose";
  177. model = "\A3PL_Planes\Goose\A3PL_Goose";
  178. accuracy = 0.200000;
  179. canFloat = 1;
  180. transportSoldier = 7;
  181. cargoAction = {"passenger_low01", "passenger_low01", "passenger_low01", "passenger_low01", "passenger_low01", "passenger_low01", "passenger_low01"};
  182. cargoGetInAction = {"GetInHigh"};
  183. cargoGetOutAction = {"GetOutHigh"};
  184.  
  185. class EventHandlers {
  186. init = "if (!isDedicated) then { [_this] spawn {waituntil{sleep 1; !isNil 'A3PL_HandleVehicleInit'}; [_this] call A3PL_HandleVehicleInit}; };";
  187. };
  188. driverAction = "goose_pilot";
  189. gunnerAction = "goose_pilot";
  190. LockDetectionSystem = "CM_Lock_Radar";
  191. incomingMissileDetectionSystem = "CM_Missile";
  192. attenuationEffectType = "HeliAttenuation";
  193. soundEngineOnInt = {"\A3PL_Planes\Goose\sounds\StartupRight.wav", 1.000000, 1.000000};
  194. soundEngineOnExt = {"\A3PL_Planes\Goose\sounds\StartupRight.wav", 1.778280, 1.000000, 500};
  195. soundEngineOffInt = {"\A3PL_Planes\Goose\sounds\ShutDownRight.wav", 1.000000, 1.000000};
  196. soundEngineOffExt = {"\A3PL_Planes\Goose\sounds\ShutDownRight.wav", 1.778280, 1.000000, 500};
  197. soundLocked = {"", "db-0", 1};
  198. soundIncommingMissile = {"", "db-0", 1.500000};
  199. soundGearDown = {"\A3PL_Planes\Goose\sounds\geardown.wav", 1.000000, 1.000000};
  200. soundGearUp = {"\A3PL_Planes\Goose\sounds\gearup.wav", 1.000000, 1.000000};
  201. soundFlapsDown = {"\A3PL_Planes\Goose\sounds\flaps.wav", 1.000000, 1.000000};
  202. soundFlapsUp = {"\A3PL_Planes\Goose\sounds\flaps.wav", 1.000000, 1.000000};
  203.  
  204. class Sounds {
  205.  
  206. class EngineLowIn {
  207. sound = {"\A3PL_Planes\Goose\sounds\int-low.wav", "db-3", 1.000000};
  208. frequency = "1.0 min (rpm + 0.5)";
  209. volume = "(1-camPos)*((rpm factor[0.7, 0.1])*(rpm factor[0.1, 0.7]))";
  210. };
  211.  
  212. class EngineHighIn {
  213. sound = {"\A3PL_Planes\Goose\sounds\int-high.wav", "db-3", 1.200000};
  214. frequency = "1";
  215. volume = "(1-camPos)*(rpm factor[0.85, 1.0])";
  216. };
  217.  
  218. class WindNoiseIn {
  219. sound = {"A3\Sounds_F\air\Plane_Fighter_03\noise", "db-6", 1.000000};
  220. frequency = "(0.1+(1.2*(speed factor[1, 150])))";
  221. volume = "(1-camPos)*(speed factor[1, 150])";
  222. };
  223.  
  224. class EngineLowOut {
  225. sound = {"\A3PL_Planes\Goose\sounds\ext-low.wav", 2.511890, 1.000000, 1200};
  226. frequency = "1.0 min (rpm + 0.5)";
  227. volume = "camPos*2*(rpm factor[0, 0.95])*(rpm factor[0.95, 0])";
  228. };
  229.  
  230. class EngineHighOut {
  231. sound = {"\A3PL_Planes\Goose\sounds\ext-high.wav", 2.511890, 1.200000, 1400};
  232. frequency = "1";
  233. volume = "camPos*4*(rpm factor[1.1, 0.5])*(rpm factor[0.5, 1.1])";
  234. };
  235.  
  236. class ForsageIn {
  237. sound = {};
  238. frequency = "1";
  239. volume = "(1-camPos)*(engineOn*(thrust factor[0.6, 1.0]))";
  240. };
  241.  
  242. class ForsageOut {
  243. sound = {};
  244. frequency = "1";
  245. volume = "engineOn*camPos*(thrust factor[0.6, 1.0])";
  246. cone = {3.140000, 3.920000, 2, 0.500000};
  247. };
  248.  
  249. class WindNoiseOut {
  250. sound = {"A3\Sounds_F\air\Plane_Fighter_03\noise", 0.562341, 1, 150};
  251. frequency = "(0.1+(1.2*(speed factor[1, 150])))";
  252. volume = "camPos*(speed factor[1, 150])";
  253. };
  254. };
  255. mapSize = 4;
  256. landingSpeed = 90;
  257. acceleration = 20;
  258. maxSpeed = 230;
  259. driveOnComponent = {"wheel_1", "wheel_2", "wheel_3"};
  260. wheelSteeringSensitivity = 1;
  261. aileronSensitivity = 1.500000;
  262. elevatorSensitivity = 0.200000;
  263. irScanRangeMin = 500;
  264. irScanRangeMax = 5000;
  265. irScanToEyeFactor = 2;
  266. driverLeftHandAnimName = "front_stick";
  267. driverRightHandAnimName = "front_stick";
  268. memoryPointsGetInDriver = "pos driver";
  269. memoryPointsGetInDriverDir = "pos driver dir";
  270. memoryPointsGetInGunner = "pos gunner";
  271. memoryPointsGetInGunnerPrecise = "pos gunner";
  272. memoryPointsGetInGunnerDir = "pos gunner dir";
  273. envelope = {0.000000, 0.000000, 0.100000, 0.200000, 0.300000, 0.400000, 0.500000, 0.800000, 1, 2, 2, 2.000000, 0.500000, 0};
  274. extCameraPosition = {0.000000, 1, -13.000000};
  275. angleOfIndicence = 0.022360;
  276. draconicForceXCoef = 12.500000;
  277. draconicForceYCoef = 12.500000;
  278. draconicForceZCoef = 12.500000;
  279. draconicTorqueXCoef = 0.150000;
  280. draconicTorqueYCoef = 2.000000;
  281. thrustCoef = {1.500000, 2.000000, 2.500000, 1.500000, 2, 2, 2, 1.000000, 0.700000, 0.500000, 0.500000, 0.500000, 0.500000, 0.300000, 0.200000, 0.100000};
  282. landingAoa = "rad 10";
  283. laserScanner = 1;
  284. gunAimDown = 0.029000;
  285. headAimDown = 0.000000;
  286. memoryPointLRocket = "Rocket_1";
  287. memoryPointRRocket = "Rocket_2";
  288. flapsFrictionCoef = 0.320000;
  289. minFireTime = 30;
  290. gearUpTime = 8;
  291. gearDownTime = 8;
  292. gearRetracting = 0;
  293. threat = {1, 1, 1};
  294. armor = 60;
  295. damageResistance = 0.004000;
  296.  
  297. class ViewPilot: ViewPilot {
  298. maxFov = 0.800000;
  299. };
  300.  
  301. class RenderTargets {
  302. };
  303.  
  304. class Exhausts {
  305. };
  306.  
  307. class Turrets {
  308. };
  309.  
  310. class WingVortices {
  311. };
  312.  
  313. class Reflectors {
  314.  
  315. class Left {
  316. color = {7000, 7500, 10000, 1};
  317. ambient = {100, 100, 100};
  318. position = "Light_1_pos";
  319. direction = "Light_1_dir";
  320. hitpoint = "Light_1_pos";
  321. selection = "Light_1_pos";
  322. innerAngle = 50;
  323. outerAngle = 100;
  324. coneFadeCoef = 20;
  325. intensity = 25;
  326. useFlare = 1;
  327. dayLight = 0;
  328. FlareSize = 5;
  329. size = 2;
  330.  
  331. class Attenuation {
  332. start = 1;
  333. constant = 0;
  334. linear = 0;
  335. quadratic = 4;
  336. hardLimitStart = 150;
  337. hardLimitEnd = 300;
  338. };
  339. };
  340.  
  341. class Right: Left {
  342. position = "Light_2_pos";
  343. direction = "Light_2_dir";
  344. hitpoint = "Light_2_pos";
  345. selection = "Light_2_pos";
  346. };
  347. };
  348. hiddenSelections = {"camo0"};
  349.  
  350. class AnimationSources {
  351.  
  352. class rotorL {
  353. source = "user";
  354. animPeriod = 1;
  355. initPhase = 0;
  356. };
  357.  
  358. class gearm {
  359. source = "user";
  360. animPeriod = 7;
  361. initPhase = 0;
  362. sound = "GooseGear";
  363. };
  364.  
  365. class floats {
  366. source = "user";
  367. animPeriod = 8;
  368. initPhase = 1;
  369. };
  370.  
  371. class goose_floats {
  372. source = "user";
  373. animperiod = 1.500000;
  374. initPhase = 1;
  375. };
  376.  
  377. class goose_fuelpump {
  378. source = "user";
  379. animPeriod = 1;
  380. initPhase = 0;
  381. sound = "GooseFuelPump";
  382. };
  383.  
  384. class goose_flaps: rotorL {
  385. };
  386.  
  387. class goose_gen: goose_fuelpump {
  388. source = "user";
  389. animPeriod = 1;
  390. initPhase = 0;
  391. sound = "GooseGen";
  392. };
  393.  
  394. class goose_gear: rotorL {
  395. };
  396.  
  397. class goose_ign: goose_fuelpump {
  398. initPhase = 0.500000;
  399. sound = "GooseStartup";
  400. };
  401.  
  402. class goose_bat: rotorL {
  403. };
  404. };
  405. };
  406.  
  407. class A3PL_Goose_Default: A3PL_Goose_Base {
  408. scope = 2;
  409. author = "Kane - A3PL";
  410. displayName = "A3PL Goose";
  411. side = 3;
  412. faction = "CIV_F";
  413. crew = "C_man_pilot_F";
  414. vehicleClass = "A3PL_Vehicles";
  415. weapons = {};
  416. magazines = {};
  417. hiddenselectionstextures = {"a3pl_planes\goose\data\ext_1.paa"};
  418. };
  419. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement