|
| 1 | +//-----------NEVER MAKE A REALCHUTE PhysicsSignificance = 1!!! Not that anyone would ever do that. :) |
| 2 | + |
| 3 | +// Experimental config originally provided by Deimos Rast |
| 4 | + |
| 5 | +@PART[LETchuteR1]:NEEDS[RealChute] |
| 6 | +{ |
| 7 | + |
| 8 | + maximum_drag = 0.32 //--------------------Not sure why they do this |
| 9 | + @category = none //--------------------Not sure why they do this |
| 10 | + @cost = 1600 //--------------------This is mainly important for the procedural portion, if you're resizing it; we're not |
| 11 | + @mass = 0.75 //----------------Your mass here (this is important later) |
| 12 | + |
| 13 | + |
| 14 | + !sound_parachute_open //---------Deletes sounds; adds its own later |
| 15 | + !sound_parachute_single //---------Deletes sounds; adds its own later |
| 16 | + |
| 17 | + !MODULE[ModuleParachute]{} //---------Destroy stock parachute Module; adds Realchute Module |
| 18 | + |
| 19 | + MODULE |
| 20 | + { |
| 21 | + name = RealChuteModule |
| 22 | + caseMass = 0.75 //--------------Your mass here (this is why we had it set again above) |
| 23 | + timer = 0 //------------------I think this is a delay to open; I've only ever seen a zero here |
| 24 | + mustGoDown = false //-------------I like this as true, but it defaults as false; makes it so the chute only deploys when your "falling" e.g. going down |
| 25 | + cutSpeed = 0.5 //------------How fast the chute gets cut I guess; always 0.5 I believe |
| 26 | + spareChutes = 5 //----------------RealChutes come with Spares! Engineers (configurable) in Career, or everyone in other modes, can repack a "spent" Parachute, using a spare, and it's good as new. Note: RealChutes also get the "Disarm" option, in addition to "Cut" and "Deploy" |
| 27 | + PARACHUTE |
| 28 | + { |
| 29 | + //ParachuteType = Drogue // if you wanted to make a Drogue, you could add this; I believe it's mainly for the RealChute editor calculations - not strictly necessary; only included for instructional purposes |
| 30 | + material = Nylon //---------------What the Chute is made out of. Different materials have different thermal, toughness factors, and more importantly drag coefficients. Can make your own; included are Silk, Nylon (default for Main) or Kevlar (default for Drogue) |
| 31 | + preDeployedDiameter = 2.8 //-----how big the Chute will be during the predeployment phase |
| 32 | + deployedDiameter = 68 // same as previous, but for deployment phase |
| 33 | + minIsPressure = true // false; does the predeployment phase minimum to open correspond to pressure a la stock? |
| 34 | + minPressure = 0.01 // if the above is true, what is the minimum pressure required to open the chute? |
| 35 | + //minDeployment = 35000 // if minIsPressure = false, then get rid of minPressure entirely, and use minDeployment instead, which is the minimum altitude for the chute for predeployment. |
| 36 | + deploymentAlt = 1000 // default deployment altitude |
| 37 | + cutAlt = -1 // default altitude the parachute is auto cut at; -1 means ground contact basically. If you have a double chute, you can set it so the first chute gets cut at the same height as the second chute opens for example (RealChute has a chute like this included) |
| 38 | + preDeploymentSpeed = 2 // speed at which chute opens during predeployment; might be useful to tweak if you want to reduce abruptness of opening |
| 39 | + deploymentSpeed = 6 // same as above |
| 40 | + preDeploymentAnimation = chuteSemiDeploy //---you already know this stuff; it's the same as what it is on the chute you're converting |
| 41 | + deploymentAnimation = chuteFullyDeploy //---you already know this stuff; it's the same as what it is on the chute you're converting |
| 42 | + parachuteName = canopy //---you already know this stuff; it's the same as what it is on the chute you're converting |
| 43 | + capName = cap //---you already know this stuff; it's the same as what it is on the chute you're converting |
| 44 | + } |
| 45 | + } |
| 46 | + |
| 47 | + MODULE |
| 48 | + { |
| 49 | + name = ProceduralChute //----This is what allows you to edit the parachute with the RealChute editor in the VAB/SPH |
| 50 | + textureLibrary = StockReplacement |
| 51 | + currentCanopies = Main chute // other option that I know of is "Drogue chute" |
| 52 | + } |
| 53 | + //-----RealChute's ProceduralChute module allows you to resize and reshape parachutes with its editor, if the module looks something like below. For basic editor functionality, you only need the above version. |
| 54 | + MODULE |
| 55 | + { |
| 56 | + name = ProceduralChute |
| 57 | + textureLibrary = RealChute |
| 58 | + type = Radial |
| 59 | + currentCase = Main |
| 60 | + currentCanopies = Main chute |
| 61 | + |
| 62 | + SIZE |
| 63 | + { |
| 64 | + size = 1, 1, 1 //-----------Size of the Parachute; presumably 1 corresponds to "normal" |
| 65 | + sizeID = Radial 2 |
| 66 | + caseMass = 0.75 //----------This is why we set the mass again above, in make sure it was this number |
| 67 | + cost = 1600 // 300 //----------This is why we set the cost again above, in make sure it was this number |
| 68 | + } |
| 69 | + |
| 70 | + SIZE |
| 71 | + { |
| 72 | + size = 1.5, 1.5, 1.5 //----------- 1.5x Size |
| 73 | + sizeID = Radial 3 |
| 74 | + caseMass = 1.5 //---------2x the mass |
| 75 | + cost = 1280 // 250 //----was originally ~80% the cost of Full Size (300); Bigger Size Costs Less? |
| 76 | + } |
| 77 | + |
| 78 | + SIZE |
| 79 | + { |
| 80 | + size = 0.5, 0.5, 0.5 //----Half Size |
| 81 | + sizeID = Radial 1 |
| 82 | + caseMass = 0.375 //---------0.5 the mass |
| 83 | + cost = 1920 // 350 //----was originally ~117% the cost of Full Size (300); Smaller Size Costs More? |
| 84 | + } |
| 85 | + } |
| 86 | + |
| 87 | + |
| 88 | + EFFECTS //----------RealChute has its own sound library, which replaces the stock sound FX (remember it deleting the stock FX in the beginning) |
| 89 | + { |
| 90 | + rcpredeploy |
| 91 | + { |
| 92 | + AUDIO |
| 93 | + { |
| 94 | + channel = Ship |
| 95 | + clip = sound_parachute_open |
| 96 | + volume = 1 |
| 97 | + } |
| 98 | + } |
| 99 | + rcdeploy |
| 100 | + { |
| 101 | + AUDIO |
| 102 | + { |
| 103 | + channel = Ship |
| 104 | + clip = sound_parachute_single |
| 105 | + volume = 1 |
| 106 | + } |
| 107 | + } |
| 108 | + rccut |
| 109 | + { |
| 110 | + AUDIO |
| 111 | + { |
| 112 | + channel = Ship |
| 113 | + clip = RealChute/Sounds/sound_parachute_cut |
| 114 | + volume = 1 |
| 115 | + } |
| 116 | + } |
| 117 | + rcrepack |
| 118 | + { |
| 119 | + AUDIO |
| 120 | + { |
| 121 | + channel = Ship |
| 122 | + clip = RealChute/Sounds/sound_parachute_repack |
| 123 | + volume = 1 |
| 124 | + } |
| 125 | + } |
| 126 | + } |
| 127 | +} |
| 128 | + |
0 commit comments