Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.98 KB | None | 0 0
  1. PART
  2. {
  3. name = turboJet
  4. module = Part
  5. author = Porkjet
  6. //mesh = turboJet.mu
  7. MODEL
  8. {
  9. model = Squad/Parts/Engine/jetEngines/turboJet
  10. }
  11. //MODEL
  12. //{
  13. // model = Squad/Parts/Engine/jetEngines/turbineInside
  14. // scale = 0.95, 1.0, 0.95
  15. //}
  16. rescaleFactor = 1
  17. node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
  18. CoMOffset = 0.0, 1.5, 0.0
  19. TechRequired = supersonicFlight
  20. entryCost = 9000
  21. cost = 2000
  22. category = Engine
  23. subcategory = 0
  24. title = J-404 "Panther" Afterburning Turbofan
  25. manufacturer = C7 Aerospace Division
  26. description = A high performance jet engine with a variable geometry thrust vectoring nozzle and an afterburner for extra thrust.
  27. attachRules = 1,0,1,0,0
  28. mass = 1.2
  29. // heatConductivity = 0.06 // half default
  30. skinInternalConductionMult = 4.0
  31. emissiveConstant = 0.8 // engine nozzles are good at radiating.
  32. dragModelType = default
  33. maximum_drag = 0.2
  34. minimum_drag = 0.2
  35. angularDrag = 2
  36. crashTolerance = 7
  37. maxTemp = 2000 // = 3600
  38. bulkheadProfiles = size1
  39. tags = after aircraft burner engine fighter jet (panther plane propuls
  40. MODULE
  41. {
  42. name = MultiModeEngine
  43. primaryEngineID = Dry
  44. secondaryEngineID = Wet
  45. carryOverThrottle = True
  46. autoSwitchAvailable = False
  47. }
  48. MODULE
  49. {
  50. name = ModuleEnginesFX
  51. engineID = Dry
  52. thrustVectorTransformName = thrustTransform
  53. exhaustDamage = True
  54. ignitionThreshold = 0.1
  55. minThrust = 0
  56. maxThrust = 85
  57. heatProduction = 15
  58. useEngineResponseTime = True
  59. engineAccelerationSpeed = 0.5
  60. engineDecelerationSpeed = 0.5
  61. useVelocityCurve = False
  62. flameoutEffectName = flameout
  63. powerEffectName = power_dry
  64. //runningEffectName = running_thrust
  65. engageEffectName = engage
  66. disengageEffectName = disengage
  67. spoolEffectName = running_dry
  68. engineSpoolIdle = 0.05
  69. engineSpoolTime = 2.0
  70. EngineType = Turbine
  71. exhaustDamageMultiplier = 5
  72. clampPropReceived = True
  73. PROPELLANT
  74. {
  75. name = IntakeAir
  76. ignoreForIsp = True
  77. ratio = 40
  78. }
  79. PROPELLANT
  80. {
  81. name = LiquidFuel
  82. resourceFlowMode = STAGE_STACK_FLOW_BALANCE
  83. ratio = 1
  84. DrawGauge = True
  85. }
  86. atmosphereCurve
  87. {
  88. key = 0 9000 0 0
  89. }
  90. // Jet params
  91. atmChangeFlow = True
  92. useVelCurve = True
  93. useAtmCurve = True
  94. flowMultCap = 1.1
  95. machLimit = 1.75
  96. machHeatMult = 20.0
  97. velCurve
  98. {
  99. key = 0 1 0 0
  100. key = 0.35 0.932 0 0
  101. key = 1 1.13 0.4510796 0.4510796
  102. key = 1.75 1.5 0 0
  103. key = 2 1.38 -1.126258 -1.126258
  104. key = 2.5 0 0 0
  105. }
  106. atmCurve
  107. {
  108. key = 0 0 1.069445 0.7244952
  109. key = 0.072 0.08 1.472049 1.472049
  110. key = 0.17 0.21 1.227685 1.227685
  111. key = 0.34 0.39 1.01426 1.01426
  112. key = 1 1 0.969697 0.969697
  113. }
  114. }
  115. MODULE
  116. {
  117. name = ModuleEnginesFX
  118. engineID = Wet
  119. thrustVectorTransformName = thrustTransform
  120. exhaustDamage = True
  121. ignitionThreshold = 0.1
  122. minThrust = 0
  123. maxThrust = 130
  124. heatProduction = 75
  125. useEngineResponseTime = True
  126. engineAccelerationSpeed = 0.8
  127. engineDecelerationSpeed = 0.8
  128. useVelocityCurve = False
  129. flameoutEffectName = flameout
  130. //powerEffectName = running_wet
  131. runningEffectName = power_wet
  132. engageEffectName = engage
  133. disengageEffectName = disengage
  134. spoolEffectName = running_wet
  135. engineSpoolIdle = 0.05
  136. engineSpoolTime = 2.0
  137. EngineType = Turbine
  138. exhaustDamageMultiplier = 20
  139. clampPropReceived = True
  140. PROPELLANT
  141. {
  142. name = IntakeAir
  143. ignoreForIsp = True
  144. ratio = 12
  145. }
  146. PROPELLANT
  147. {
  148. name = LiquidFuel
  149. resourceFlowMode = STAGE_STACK_FLOW_BALANCE
  150. ratio = 1
  151. DrawGauge = True
  152. }
  153. atmosphereCurve
  154. {
  155. key = 0 4000 0 0
  156. }
  157. // Jet params
  158. atmChangeFlow = True
  159. useVelCurve = True
  160. useAtmCurve = True
  161. flowMultCap = 1.1
  162. machLimit = 1.75
  163. machHeatMult = 20.0
  164.  
  165. velCurve
  166. {
  167. key = 0 1 0 0
  168. key = 0.18 0.97 0 0
  169. key = 0.43 1 0.202683 0.202683
  170. key = 1 1.42 1.280302 1.280302
  171. key = 2.5 3.63 0 0
  172. key = 3 0.58 -2.708558 -2.708558
  173. key = 3.35 0 -0.6150925 0
  174. }
  175. atmCurve
  176. {
  177. // less linear because AB has a big ram effect at high speed at high alt.
  178. key = 0 0 1.666667 1.666667
  179. key = 0.07066164 0.1397133 1.961396 1.961396
  180. key = 0.34 0.56 1.084002 1.084002
  181. key = 1 1 0.5302638 0.5302638
  182. }
  183. }
  184.  
  185. MODULE
  186. {
  187. name = FXModuleAnimateThrottle
  188. animationName = TurboJetNozzleDry
  189. responseSpeed = 0.05
  190. layer = 1
  191. dependOnEngineState = True
  192. dependOnThrottle = True
  193. engineName = Dry
  194. weightOnOperational = True
  195. }
  196. MODULE
  197. {
  198. name = FXModuleAnimateThrottle
  199. animationName = TurboJetNozzleWet
  200. responseSpeed = 0.08
  201. layer = 2
  202. dependOnEngineState = True
  203. dependOnThrottle = True
  204. engineName = Wet
  205. weightOnOperational = True
  206. }
  207. MODULE
  208. {
  209. name = FXModuleAnimateThrottle
  210. animationName = TurboJetHeat
  211. responseSpeed = 0.0005
  212. layer = 3
  213. dependOnEngineState = True
  214. engineName = Wet
  215. }
  216. MODULE
  217. {
  218. name = ModuleGimbal
  219. gimbalTransformName = Gimbal
  220. gimbalRange = 10
  221. gimbalResponseSpeed = 8
  222. useGimbalResponseSpeed = true
  223. }
  224.  
  225. MODULE
  226. {
  227. name = FXModuleConstrainPosition
  228. matchRotation = false
  229. matchPosition = true
  230. CONSTRAINFX
  231. {
  232. targetName = NozzlePoint
  233. moversName = Nozzle
  234. }
  235. }
  236.  
  237. MODULE
  238. {
  239. name = ModuleAlternator
  240. engineName = Wet
  241. outputName = Alternator (Wet)
  242. RESOURCE
  243. {
  244. name = ElectricCharge
  245. rate = 5.0
  246. }
  247. }
  248. MODULE
  249. {
  250. name = ModuleAlternator
  251. engineName = Dry
  252. outputName = Alternator (Dry)
  253. RESOURCE
  254. {
  255. name = ElectricCharge
  256. rate = 3.0
  257. }
  258. }
  259. MODULE
  260. {
  261. name = ModuleSurfaceFX
  262. thrustProviderModuleIndex = 1
  263. fxMax = 0.6
  264. maxDistance = 25
  265. falloff = 2
  266. thrustTransformName = thrustTransform
  267. }
  268. MODULE
  269. {
  270. name = ModuleSurfaceFX
  271. thrustProviderModuleIndex = 2
  272. fxMax = 0.6
  273. maxDistance = 25
  274. falloff = 2
  275. thrustTransformName = thrustTransform
  276. }
  277. EFFECTS
  278. {
  279.  
  280. running_dry
  281. {
  282. PREFAB_PARTICLE
  283. {
  284. prefabName = fx_smokeTrail_light
  285. transformName = smokePoint
  286. emission = 0.0 0.0
  287. emission = 0.05 0.0
  288. emission = 0.075 0.25
  289. emission = 1.0 1.25
  290. speed = 0.0 0.25
  291. speed = 1.0 1.0
  292. localOffset = 0, 0, 1
  293. localRotation = 1, 0, 0, -90
  294. }
  295. AUDIO
  296. {
  297. channel = Ship
  298. clip = sound_jet_low
  299. volume = 0.0 0.0
  300. volume = 0.05 0.9
  301. volume = 1.0 1.0
  302. pitch = 0.0 0.5
  303. pitch = 0.05 0.6
  304. pitch = 0.33 1.0
  305. pitch = 1.0 1.2
  306. loop = true
  307. }
  308. }
  309.  
  310. power_dry
  311. {
  312. AUDIO
  313. {
  314. channel = Ship
  315. clip = sound_jet_deep
  316. volume = 0.0 0.0
  317. volume = 0.05 0.4
  318. volume = 1.0 0.9
  319. pitch = 0.0 0.8
  320. pitch = 1.0 1.4
  321. loop = true
  322. }
  323. }
  324. running_wet
  325. {
  326. PREFAB_PARTICLE
  327. {
  328. prefabName = fx_smokeTrail_light
  329. transformName = smokePoint
  330. emission = 0.0 0.0
  331. emission = 0.05 0.0
  332. emission = 0.075 0.5
  333. emission = 1.0 1.25
  334. speed = 0.0 0.25
  335. speed = 1.0 1.0
  336. localOffset = 0, 0, 1
  337. localRotation = 1, 0, 0, -90
  338. }
  339. AUDIO
  340. {
  341. channel = Ship
  342. clip = sound_jet_low
  343. volume = 0.0 0.0
  344. volume = 0.05 0.9
  345. volume = 1.0 1.0
  346. pitch = 0.0 0.5
  347. pitch = 0.05 0.6
  348. pitch = 0.33 1.0
  349. pitch = 1.0 1.2
  350. loop = true
  351. }
  352. }
  353. power_wet
  354. {
  355.  
  356. AUDIO
  357. {
  358. channel = Ship
  359. clip = sound_rocket_spurts
  360. volume = 0.0 0.0
  361. volume = 0.1 0.3
  362. volume = 1.0 0.5
  363. pitch = 0.0 0.5
  364. pitch = 0.33 0.8
  365. pitch = 1.0 1.5
  366. loop = true
  367. }
  368. MODEL_MULTI_PARTICLE
  369. {
  370. modelName = Squad/FX/afterburner_shock
  371. transformName = smokePoint
  372. emission = 0.0 0.0
  373. emission = 0.05 0.05
  374. emission = 0.33 0.1
  375. emission = 1.0 1.0
  376. speed = 0.0 0.0
  377. speed = 0.05 0.05
  378. speed = 0.33 0.16
  379. speed = 1.0 1.0
  380. energy = 0.0 1.5
  381. energy = 0.33 1.0
  382. energy = 1.0 1.0
  383. }
  384. }
  385. engage
  386. {
  387. AUDIO
  388. {
  389. channel = Ship
  390. clip = sound_vent_medium
  391. volume = 1.0
  392. pitch = 2.0
  393. loop = false
  394. }
  395. }
  396. disengage
  397. {
  398. AUDIO
  399. {
  400. channel = Ship
  401. clip = sound_vent_soft
  402. volume = 1.0
  403. pitch = 2.0
  404. loop = false
  405. }
  406. }
  407. flameout
  408. {
  409. PREFAB_PARTICLE
  410. {
  411. prefabName = fx_exhaustSparks_flameout_2
  412. transformName = smokePoint
  413. oneShot = true
  414. }
  415. AUDIO
  416. {
  417. channel = Ship
  418. clip = sound_explosion_low
  419. volume = 1.0
  420. pitch = 2.0
  421. loop = false
  422. }
  423. }
  424. }
  425. MODULE
  426. {
  427. name = ModuleTestSubject
  428. useStaging = True
  429. useEvent = True
  430. situationMask = 15
  431. CONSTRAINT
  432. {
  433. type = OXYGEN
  434. value = True
  435. }
  436. CONSTRAINT
  437. {
  438. type = SPEEDENV
  439. test = LT
  440. value = 200
  441. prestige = Trivial
  442. }
  443. CONSTRAINT
  444. {
  445. type = SPEEDENV
  446. test = GT
  447. value = 100
  448. prestige = Trivial
  449. }
  450. CONSTRAINT
  451. {
  452. type = SPEEDENV
  453. test = LT
  454. value = 100
  455. prestige = Significant
  456. }
  457. CONSTRAINT
  458. {
  459. type = SPEEDENV
  460. test = GT
  461. value = 50
  462. prestige = Significant
  463. }
  464. CONSTRAINT
  465. {
  466. type = SPEEDENV
  467. test = LT
  468. value = 50
  469. prestige = Exceptional
  470. }
  471. CONSTRAINT
  472. {
  473. type = SPEEDENV
  474. test = GT
  475. value = 20
  476. prestige = Exceptional
  477. }
  478. CONSTRAINT
  479. {
  480. type = SPEED
  481. test = LT
  482. value = 450
  483. situationMask = 8
  484. prestige = Trivial
  485. }
  486. CONSTRAINT
  487. {
  488. type = SPEED
  489. test = GT
  490. value = 150
  491. situationMask = 8
  492. prestige = Trivial
  493. }
  494. CONSTRAINT
  495. {
  496. type = SPEED
  497. test = LT
  498. value = 650
  499. situationMask = 8
  500. prestige = Significant
  501. }
  502. CONSTRAINT
  503. {
  504. type = SPEED
  505. test = GT
  506. value = 250
  507. situationMask = 8
  508. prestige = Significant
  509. }
  510. CONSTRAINT
  511. {
  512. type = SPEED
  513. test = LT
  514. value = 900
  515. situationMask = 8
  516. prestige = Exceptional
  517. }
  518. CONSTRAINT
  519. {
  520. type = SPEED
  521. test = GT
  522. value = 350
  523. situationMask = 8
  524. prestige = Exceptional
  525. }
  526. CONSTRAINT
  527. {
  528. type = DENSITY
  529. test = GT
  530. value = 0.2
  531. situationMask = 8
  532. prestige = Trivial
  533. }
  534. CONSTRAINT
  535. {
  536. type = DENSITY
  537. test = GT
  538. value = 0.1
  539. situationMask = 8
  540. prestige = Significant
  541. }
  542. CONSTRAINT
  543. {
  544. type = DENSITY
  545. test = GT
  546. value = 0.05
  547. situationMask = 8
  548. prestige = Exceptional
  549. }
  550. CONSTRAINT
  551. {
  552. type = ALTITUDEENV
  553. test = GT
  554. value = 4000
  555. prestige = Trivial
  556. }
  557. CONSTRAINT
  558. {
  559. type = ALTITUDEENV
  560. test = LT
  561. value = 8000
  562. prestige = Trivial
  563. }
  564. CONSTRAINT
  565. {
  566. type = ALTITUDEENV
  567. test = GT
  568. value = 1000
  569. prestige = Significant
  570. }
  571. CONSTRAINT
  572. {
  573. type = ALTITUDEENV
  574. test = LT
  575. value = 2000
  576. prestige = Significant
  577. }
  578. CONSTRAINT
  579. {
  580. type = ALTITUDEENV
  581. test = GT
  582. value = 500
  583. prestige = Exceptional
  584. }
  585. CONSTRAINT
  586. {
  587. type = ALTITUDEENV
  588. test = LT
  589. value = 1000
  590. prestige = Exceptional
  591. }
  592. CONSTRAINT
  593. {
  594. type = REPEATABILITY
  595. value = ALWAYS
  596. prestige = Trivial
  597. }
  598. CONSTRAINT
  599. {
  600. type = REPEATABILITY
  601. value = BODYANDSITUATION
  602. prestige = Significant
  603. }
  604. CONSTRAINT
  605. {
  606. type = REPEATABILITY
  607. value = ONCEPERPART
  608. prestige = Exceptional
  609. }
  610. }
  611. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement