SHARE
TWEET

Untitled

a guest Dec 10th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Program name="hover-v1 0 1">
  3.   <Variables>
  4.     <Variable name="ReqThrottle" number="0" />
  5.     <Variable name="ReqThrust" number="0" />
  6.     <Variable name="MaxThrust" number="0" />
  7.     <Variable name="prevMass" number="0" />
  8.     <Variable name="PredictedMass" number="0" />
  9.     <Variable name="MassOffset" number="0" />
  10.     <Variable name="velOffset" number="0" />
  11.     <Variable name="initVal" number="0" />
  12.     <Variable name="debugVal" number="0" />
  13.     <Variable name="tickRate" number="0" />
  14.     <Variable name="localG" number="0" />
  15.     <Variable name="curMass" number="0" />
  16.     <Variable name="curVerVel" number="0" />
  17.     <Variable name="boolStopHover" number="0" />
  18.     <Variable name="minSecondsToStop" number="0" />
  19.     <Variable name="decelNewtons" number="0" />
  20.     <Variable name="dropTimeToImpact" number="0" />
  21.     <Variable name="timetosplat" number="0" />
  22.     <Variable name="velocityFinal" number="0" />
  23.     <Variable name="tmpsomething" number="0" />
  24.     <Variable name="p1" number="0" />
  25.     <Variable name="p2" number="0" />
  26.     <Variable name="p3" number="0" />
  27.     <Variable name="k" number="0" />
  28.     <Variable name="acoshVal" number="0" />
  29.     <Variable name="firstVal" number="0" />
  30.     <Variable name="thirdVal" number="0" />
  31.     <Variable name="xVal" number="0" />
  32.     <Variable name="localMass" number="0" />
  33.     <Variable name="localAGL" number="0" />
  34.     <Variable name="localVertVel" number="0" />
  35.     <Variable name="CONSTe" number="0" />
  36.     <Variable name="hkm" number="0" />
  37.   </Variables>
  38.   <Instructions>
  39.     <Event event="FlightStart" id="0" style="flight-start" pos="-1453.235,718.8042" />
  40.     <SetVariable id="1" style="set-variable">
  41.       <Variable local="false" variableName="tickRate" style="variable" pos="402,285" />
  42.       <Constant text=".01" />
  43.     </SetVariable>
  44.     <SetVariable id="2" style="set-variable">
  45.       <Variable local="false" variableName="boolStopHover" style="variable" pos="-824.0365,-194.3109" />
  46.       <Constant style="false" pos="-550.129,-261.181" bool="false" />
  47.     </SetVariable>
  48.     <ActivateStage id="3" style="activate-stage" />
  49.     <SetInput input="throttle" id="4" style="set-input">
  50.       <Constant text="100" />
  51.     </SetInput>
  52.     <WaitSeconds id="5" style="wait-seconds">
  53.       <Constant text="7.5" />
  54.     </WaitSeconds>
  55.     <SetInput input="throttle" id="6" style="set-input">
  56.       <Constant text="0" />
  57.     </SetInput>
  58.     <WaitSeconds id="7" style="wait-seconds">
  59.       <Constant text="2" />
  60.     </WaitSeconds>
  61.     <SetTargetHeading property="pitch" id="8" style="set-heading">
  62.       <Constant text="89" />
  63.     </SetTargetHeading>
  64.     <SetVariable id="9" style="set-variable">
  65.       <Variable local="false" variableName="prevMass" style="variable" pos="-859,-388" />
  66.       <CraftProperty property="Performance.Mass" style="prop-performance" pos="-750.46,-384" />
  67.     </SetVariable>
  68.     <BroadcastMessage local="true" id="10" style="broadcast-msg">
  69.       <Constant text="startHover" />
  70.       <Variable local="false" variableName="tickRate" style="variable" pos="574.37,-49.24344" />
  71.     </BroadcastMessage>
  72.     <WaitUntil id="11" style="wait-until">
  73.       <BoolOp op="and" style="op-and" pos="-785.9351,-497.8571">
  74.         <Comparison op="l" style="op-lt" pos="90.12377,-762.7484">
  75.           <CraftProperty property="Performance.TWR" style="prop-performance" pos="-526.746,-876.273" />
  76.           <Constant text="1.0001" />
  77.         </Comparison>
  78.         <Comparison op="g" style="op-gt" pos="507.4182,-760.9337">
  79.           <CraftProperty property="Performance.TWR" style="prop-performance" pos="-299.0274,-926.037" />
  80.           <Constant text="0.9999" />
  81.         </Comparison>
  82.       </BoolOp>
  83.     </WaitUntil>
  84.     <WaitSeconds id="12" style="wait-seconds">
  85.       <Constant text="6" />
  86.     </WaitSeconds>
  87.     <SetVariable id="13" style="set-variable">
  88.       <Variable local="false" variableName="boolStopHover" style="variable" pos="-821.3268,-109.6585" />
  89.       <Constant style="true" pos="-592.9748,-613.7408" bool="true" />
  90.     </SetVariable>
  91.     <BroadcastMessage local="true" id="14" style="broadcast-msg">
  92.       <Constant text="startDrop" />
  93.       <Variable local="false" variableName="tickRate" style="variable" pos="574.37,-49.24344" />
  94.     </BroadcastMessage>
  95.     <WaitSeconds id="15" style="wait-seconds">
  96.       <Variable local="false" variableName="tickRate" style="variable" pos="-830.0827,-351.6547" />
  97.     </WaitSeconds>
  98.   </Instructions>
  99.   <Instructions>
  100.     <Event event="ReceiveMessage" id="16" style="receive-msg" pos="-2121.832,373.3333">
  101.       <Constant canReplace="false" text="displayThread" />
  102.     </Event>
  103.     <SetVariable id="17" style="set-variable">
  104.       <Variable local="false" variableName="debugVal" style="variable" pos="991.7384,-231.0844" />
  105.       <MathFunction function="ceiling" style="op-math" pos="1124.052,-224.1206">
  106.         <BinaryOp op="*" style="op-mul" pos="1104,-236">
  107.           <BinaryOp op="+" style="op-add" pos="1274.653,-236.3776">
  108.             <Variable local="true" variableName="data" pos="1476.847,-391.0487" />
  109.             <Constant text="1" />
  110.           </BinaryOp>
  111.           <Constant text="5" />
  112.         </BinaryOp>
  113.       </MathFunction>
  114.     </SetVariable>
  115.     <If id="18" style="if">
  116.       <Comparison op="=" style="op-eq" pos="898.3748,-752.8038">
  117.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  118.         <Constant text="0" />
  119.       </Comparison>
  120.       <Instructions>
  121.         <DisplayMessage id="19" style="display">
  122.           <Constant text="1:Thrust 2:AGL 3:mSTS 4:Mass 5:Acc 6:VelVer" />
  123.           <Constant number="7" />
  124.         </DisplayMessage>
  125.       </Instructions>
  126.     </If>
  127.     <If id="20" style="if">
  128.       <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
  129.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  130.         <Constant text="1" />
  131.       </Comparison>
  132.       <Instructions>
  133.         <DisplayMessage id="21" style="display">
  134.           <CraftProperty property="Performance.CurrentEngineThrust" style="prop-performance" pos="965.2052,-415.9696" />
  135.           <Constant number="7" />
  136.         </DisplayMessage>
  137.       </Instructions>
  138.     </If>
  139.     <If id="22" style="if">
  140.       <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
  141.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  142.         <Constant text="2" />
  143.       </Comparison>
  144.       <Instructions>
  145.         <DisplayMessage id="23" style="display">
  146.           <CraftProperty property="Altitude.AGL" style="prop-altitude" pos="972.1798,-509.7097" />
  147.           <Constant number="7" />
  148.         </DisplayMessage>
  149.       </Instructions>
  150.     </If>
  151.     <If id="24" style="if">
  152.       <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
  153.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  154.         <Constant text="3" />
  155.       </Comparison>
  156.       <Instructions>
  157.         <SetVariable id="25" style="set-variable">
  158.           <Variable local="false" variableName="decelNewtons" style="variable" pos="-1547.332,-607.8616" />
  159.           <BinaryOp op="-" style="op-sub" pos="-1342.709,-616.4855">
  160.             <CraftProperty property="Performance.MaxActiveEngineThrust" style="prop-performance" pos="-1256.162,-690.2082" />
  161.             <CraftProperty property="Performance.Mass" style="prop-performance" pos="-919.7457,-694.5567" />
  162.           </BinaryOp>
  163.         </SetVariable>
  164.         <SetVariable id="26" style="set-variable">
  165.           <Variable local="false" variableName="minSecondsToStop" style="variable" pos="-1323.61,-873.8715" />
  166.           <BinaryOp op="/" style="op-div" pos="-1083.52,-873.735">
  167.             <BinaryOp op="*" style="op-mul" pos="-449.1889,-590.8098">
  168.               <CraftProperty property="Performance.Mass" style="prop-performance" pos="-691.9956,-586.071" />
  169.               <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="-701.4778,-544.5488" />
  170.             </BinaryOp>
  171.             <Variable local="false" variableName="decelNewtons" style="variable" pos="45.45762,-591.5277" />
  172.           </BinaryOp>
  173.         </SetVariable>
  174.         <DisplayMessage id="27" style="display">
  175.           <MathFunction function="abs" style="op-math" pos="-1496.348,70.62444">
  176.             <Variable local="false" variableName="minSecondsToStop" style="variable" pos="-1282.443,-479.9179" />
  177.           </MathFunction>
  178.           <Constant number="7" />
  179.         </DisplayMessage>
  180.       </Instructions>
  181.     </If>
  182.     <If id="28" style="if">
  183.       <Comparison op="=" style="op-eq" pos="-1422.05,71.93518">
  184.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  185.         <Constant text="4" />
  186.       </Comparison>
  187.       <Instructions>
  188.         <DisplayMessage id="29" style="display">
  189.           <CraftProperty property="Performance.Mass" style="prop-performance" pos="971.3693,-710.4379" />
  190.           <Constant number="7" />
  191.         </DisplayMessage>
  192.       </Instructions>
  193.     </If>
  194.     <If id="30" style="if">
  195.       <Comparison op="=" style="op-eq" pos="915.228,-465.4932">
  196.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  197.         <Constant text="5" />
  198.       </Comparison>
  199.       <Instructions>
  200.         <DisplayMessage id="31" style="display">
  201.           <CraftProperty property="Vel.Acceleration" style="prop-velocity" pos="-1368.112,29.53385" />
  202.           <Constant number="7" />
  203.         </DisplayMessage>
  204.       </Instructions>
  205.     </If>
  206.     <If id="32" style="if">
  207.       <Comparison op="=" style="op-eq" pos="898.3748,-752.8038">
  208.         <Variable local="false" variableName="debugVal" style="variable" pos="1561.354,-601.2732" />
  209.         <Constant text="6" />
  210.       </Comparison>
  211.       <Instructions>
  212.         <DisplayMessage id="33" style="display">
  213.           <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="968.9139,-913.0147" />
  214.           <Constant number="7" />
  215.         </DisplayMessage>
  216.       </Instructions>
  217.     </If>
  218.     <WaitSeconds id="34" style="wait-seconds">
  219.       <Variable local="false" variableName="tickRate" style="variable" pos="-1420.891,-127.9267" />
  220.     </WaitSeconds>
  221.   </Instructions>
  222.   <Instructions>
  223.     <Event event="ReceiveMessage" id="35" style="receive-msg" pos="-918.0729,119.7267">
  224.       <Constant canReplace="false" text="startHover" />
  225.     </Event>
  226.     <While id="36" style="while">
  227.       <Comparison op="=" style="op-eq" pos="-208.2243,600.3671">
  228.         <Variable local="false" variableName="boolStopHover" style="variable" pos="-419.1737,598.4014" />
  229.         <Constant style="false" pos="-299.1122,595.8685" bool="false" />
  230.       </Comparison>
  231.       <Instructions>
  232.         <SetVariable id="37" style="set-variable">
  233.           <Variable local="false" variableName="localG" style="variable" pos="-426.1773,-255.0776" />
  234.           <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="-326.9799,-256.7808" />
  235.         </SetVariable>
  236.         <SetVariable id="38" style="set-variable">
  237.           <Variable local="false" variableName="curMass" style="variable" pos="-476.1551,-302.3635" />
  238.           <CraftProperty property="Performance.Mass" style="prop-performance" pos="-305.5593,-300.2222" />
  239.         </SetVariable>
  240.         <SetVariable id="39" style="set-variable">
  241.           <Variable local="false" variableName="curVerVel" style="variable" pos="-458.789,-344.7579" />
  242.           <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="-295.9166,-344.4792" />
  243.         </SetVariable>
  244.         <SetVariable id="40" style="set-variable">
  245.           <Variable local="false" variableName="MassOffset" style="variable" pos="-542,-644.0011" />
  246.           <BinaryOp op="*" style="op-mul" pos="-685,-286">
  247.             <BinaryOp op="-" style="op-sub" pos="-23.67999,-265">
  248.               <Variable local="false" variableName="prevMass" style="variable" pos="-118.86,-565" />
  249.               <Variable local="false" variableName="curMass" style="variable" pos="-100.2897,-349.8675" />
  250.             </BinaryOp>
  251.             <Constant text="2" />
  252.           </BinaryOp>
  253.         </SetVariable>
  254.         <SetVariable id="41" style="set-variable">
  255.           <Variable local="false" variableName="PredictedMass" style="variable" pos="-384,-559.0011" />
  256.           <BinaryOp op="-" style="op-sub" pos="-354,-632.0011">
  257.             <Variable local="false" variableName="curMass" style="variable" pos="-202.1375,-395.8675" />
  258.             <Variable local="false" variableName="MassOffset" style="variable" pos="23.14001,-483" />
  259.           </BinaryOp>
  260.         </SetVariable>
  261.         <SetVariable id="42" style="set-variable">
  262.           <Variable local="false" variableName="velOffset" style="variable" pos="535.8397,-542.8654" />
  263.           <BinaryOp op="*" style="op-mul" pos="-297.2482,-481.4932">
  264.             <Variable local="false" variableName="curVerVel" style="variable" pos="-256.2124,-488.4033" />
  265.             <Variable local="false" variableName="PredictedMass" style="variable" pos="1283.916,-387.9066" />
  266.           </BinaryOp>
  267.         </SetVariable>
  268.         <If id="43" style="if">
  269.           <Comparison op="l" style="op-lt" pos="-262.4802,-454.8654">
  270.             <Constant text="0.000001" />
  271.             <Variable local="false" variableName="curVerVel" style="variable" pos="-366.7087,-536.2852" />
  272.           </Comparison>
  273.           <Instructions>
  274.             <SetVariable id="44" style="set-variable">
  275.               <Variable local="false" variableName="ReqThrust" style="variable" pos="-649,-158" />
  276.               <BinaryOp op="-" style="op-sub" pos="-22,-504">
  277.                 <BinaryOp op="*" style="op-mul" pos="769.2397,-779.8654">
  278.                   <Variable local="false" variableName="PredictedMass" style="variable" pos="11.14001,-306" />
  279.                   <Variable local="false" variableName="localG" style="variable" pos="-114.57,-573.9734" />
  280.                 </BinaryOp>
  281.                 <BinaryOp op="*" style="op-mul" pos="297,-448">
  282.                   <Constant text="2" />
  283.                   <Variable local="false" variableName="velOffset" style="variable" pos="790.0497,-469.8653" />
  284.                 </BinaryOp>
  285.               </BinaryOp>
  286.             </SetVariable>
  287.           </Instructions>
  288.         </If>
  289.         <ElseIf id="45" style="else-if">
  290.           <Comparison op="g" style="op-gt" pos="-221.0303,-561.8654">
  291.             <Constant text="-0.000001" />
  292.             <Variable local="false" variableName="curVerVel" style="variable" pos="-300.411,-640.6428" />
  293.           </Comparison>
  294.           <Instructions>
  295.             <SetVariable id="46" style="set-variable">
  296.               <Variable local="false" variableName="ReqThrust" style="variable" pos="-649,-158" />
  297.               <BinaryOp op="+" style="op-add" pos="-30.76025,-610.8654">
  298.                 <BinaryOp op="*" style="op-mul" pos="705.2397,-175.8653">
  299.                   <Variable local="false" variableName="PredictedMass" style="variable" pos="11.14001,-306" />
  300.                   <Variable local="false" variableName="localG" style="variable" pos="-110.929,-673.6609" />
  301.                 </BinaryOp>
  302.                 <BinaryOp op="*" style="op-mul" pos="307.0496,-552.8653">
  303.                   <Constant text="2" />
  304.                   <Variable local="false" variableName="velOffset" style="variable" pos="790.0497,-469.8653" />
  305.                 </BinaryOp>
  306.               </BinaryOp>
  307.             </SetVariable>
  308.           </Instructions>
  309.         </ElseIf>
  310.         <ElseIf id="47" style="else">
  311.           <Constant bool="true" />
  312.           <Instructions>
  313.             <SetVariable id="48" style="set-variable">
  314.               <Variable local="false" variableName="ReqThrust" style="variable" pos="-649,-158" />
  315.               <BinaryOp op="*" style="op-mul" pos="-685.46,-386">
  316.                 <Variable local="false" variableName="PredictedMass" style="variable" pos="11.14001,-306" />
  317.                 <Variable local="false" variableName="localG" style="variable" pos="-124.5701,-771.7005" />
  318.               </BinaryOp>
  319.             </SetVariable>
  320.           </Instructions>
  321.         </ElseIf>
  322.         <SetVariable id="49" style="set-variable">
  323.           <Variable local="false" variableName="ReqThrottle" style="variable" pos="-620,-204" />
  324.           <BinaryOp op="/" style="op-div" pos="-460.29,-455">
  325.             <BinaryOp op="*" style="op-mul" pos="-328.29,-411">
  326.               <Variable local="false" variableName="ReqThrust" style="variable" pos="-155.29,-341" />
  327.               <Constant text="100" />
  328.             </BinaryOp>
  329.             <CraftProperty property="Performance.MaxActiveEngineThrust" style="prop-performance" pos="-73.44066,-837.1736" />
  330.           </BinaryOp>
  331.         </SetVariable>
  332.         <SetVariable id="50" style="set-variable">
  333.           <Variable local="false" variableName="prevMass" style="variable" pos="-859,-388" />
  334.           <Variable local="false" variableName="curMass" style="variable" pos="-273.4006,-904.8049" />
  335.         </SetVariable>
  336.         <If id="51" style="if">
  337.           <Comparison op="l" style="op-lt" pos="635.4724,-308.5299">
  338.             <Variable local="false" variableName="ReqThrottle" style="variable" pos="1143.013,-248.1843" />
  339.             <Constant number="0" />
  340.           </Comparison>
  341.           <Instructions>
  342.             <SetInput input="throttle" id="52" style="set-input">
  343.               <Constant text="0" />
  344.             </SetInput>
  345.           </Instructions>
  346.         </If>
  347.         <ElseIf id="53" style="else-if">
  348.           <Comparison op="g" style="op-gt" pos="675.7505,-401.3304">
  349.             <Variable local="false" variableName="ReqThrottle" style="variable" pos="1166.24,-150.4557" />
  350.             <Constant text="100" />
  351.           </Comparison>
  352.           <Instructions>
  353.             <SetInput input="throttle" id="54" style="set-input">
  354.               <Constant text="100" />
  355.             </SetInput>
  356.           </Instructions>
  357.         </ElseIf>
  358.         <ElseIf id="55" style="else">
  359.           <Constant bool="true" />
  360.           <Instructions>
  361.             <SetInput input="throttle" id="56" style="set-input">
  362.               <Variable local="false" variableName="ReqThrottle" style="variable" pos="-834.86,-273" />
  363.             </SetInput>
  364.           </Instructions>
  365.         </ElseIf>
  366.         <BroadcastMessage local="true" id="57" style="broadcast-msg">
  367.           <Constant text="displayThread" />
  368.           <CraftProperty property="Input.Slider1" style="prop-input" pos="49.69482,-838.8038" />
  369.         </BroadcastMessage>
  370.         <WaitSeconds id="58" style="wait-seconds">
  371.           <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
  372.         </WaitSeconds>
  373.       </Instructions>
  374.     </While>
  375.   </Instructions>
  376.   <Instructions>
  377.     <Event event="ReceiveMessage" id="59" style="receive-msg" pos="-219.9734,786.0827">
  378.       <Constant canReplace="false" text="startDrop" />
  379.     </Event>
  380.     <DisplayMessage id="60" style="display">
  381.       <Constant text="STARTINGDROP" />
  382.       <Constant number="7" />
  383.     </DisplayMessage>
  384.     <SetInput input="throttle" id="61" style="set-input">
  385.       <Constant number="0" />
  386.     </SetInput>
  387.     <While id="62" style="while">
  388.       <Constant style="true" pos="-1410.818,-309.8009" bool="true" />
  389.       <Instructions>
  390.         <BroadcastMessage local="true" id="63" style="broadcast-msg">
  391.           <Constant text="tts" />
  392.           <Variable local="true" variableName="data" pos="-888.7729,1002.866" />
  393.         </BroadcastMessage>
  394.         <WaitSeconds id="64" style="wait-seconds">
  395.           <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
  396.         </WaitSeconds>
  397.       </Instructions>
  398.     </While>
  399.     <WaitSeconds id="65" style="wait-seconds">
  400.       <Constant text="2" />
  401.     </WaitSeconds>
  402.   </Instructions>
  403.   <Instructions>
  404.     <Event event="ReceiveMessage" id="66" style="receive-msg" pos="195.9205,627.3046">
  405.       <Constant canReplace="false" text="ttstesting" />
  406.     </Event>
  407.     <SetVariable id="67" style="set-variable">
  408.       <Variable local="false" variableName="k" style="variable" pos="-493.2145,1056.195" />
  409.       <Constant text="0.76" />
  410.     </SetVariable>
  411.     <SetVariable id="68" style="set-variable">
  412.       <Variable local="false" variableName="CONSTe" style="variable" pos="-522.2411,1014.251" />
  413.       <Constant text="2.718281828459045" />
  414.     </SetVariable>
  415.     <SetVariable id="69" style="set-variable">
  416.       <Variable local="false" variableName="localMass" style="variable" pos="-501.0224,1012.797" />
  417.       <CraftProperty property="Performance.Mass" style="prop-performance" pos="-367.056,1017.426" />
  418.     </SetVariable>
  419.     <SetVariable id="70" style="set-variable">
  420.       <Variable local="false" variableName="localVertVel" style="variable" pos="-484.0382,957.91" />
  421.       <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="-350.806,935.8204" />
  422.     </SetVariable>
  423.     <SetVariable id="71" style="set-variable">
  424.       <Variable local="false" variableName="localAGL" style="variable" pos="-486.7497,918.5508" />
  425.       <CraftProperty property="Altitude.AGL" style="prop-altitude" pos="-436.8947,930.3121" />
  426.     </SetVariable>
  427.     <SetVariable id="72" style="set-variable">
  428.       <Variable local="false" variableName="hkm" style="variable" pos="-516.9766,840.3088" />
  429.       <BinaryOp op="/" style="op-div" pos="-420.9359,836.3558">
  430.         <BinaryOp op="*" style="op-mul" pos="424.9106,937.1416">
  431.           <Variable local="false" variableName="localAGL" style="variable" pos="-104.3024,878.7045" />
  432.           <Variable local="false" variableName="k" style="variable" pos="182.0296,960.4854" />
  433.         </BinaryOp>
  434.         <Variable local="false" variableName="localMass" style="variable" pos="786.7081,1047" />
  435.       </BinaryOp>
  436.     </SetVariable>
  437.     <SetVariable id="73" style="set-variable">
  438.       <Variable local="false" variableName="xVal" style="variable" pos="-502.1538,1012.02" />
  439.       <BinaryOp op="^" style="op-exp" pos="-404.5838,965.6602">
  440.         <Variable local="false" variableName="CONSTe" style="variable" pos="-399.6445,833.5957" />
  441.         <Variable local="false" variableName="hkm" style="variable" pos="-304.1183,790.7617" />
  442.       </BinaryOp>
  443.     </SetVariable>
  444.     <SetVariable id="74" style="set-variable">
  445.       <Variable local="false" variableName="acoshVal" style="variable" pos="-520.9114,1011.526" />
  446.       <MathFunction function="ln" style="op-math" pos="-346.86,1018.06">
  447.         <BinaryOp op="+" style="op-add" pos="-221.131,951.2972">
  448.           <Variable local="false" variableName="xVal" style="variable" pos="-369.679,617.1437" />
  449.           <MathFunction function="sqrt" style="op-math" pos="1653.176,1762.636">
  450.             <BinaryOp op="-" style="op-sub" pos="-148.4915,617.1436">
  451.               <BinaryOp op="^" style="op-exp" pos="-624.824,623.8941">
  452.                 <Variable local="false" variableName="xVal" style="variable" pos="-502.3143,616.0185" />
  453.                 <Constant text="2" />
  454.               </BinaryOp>
  455.               <Constant text="1" />
  456.             </BinaryOp>
  457.           </MathFunction>
  458.         </BinaryOp>
  459.       </MathFunction>
  460.     </SetVariable>
  461.     <SetVariable id="75" style="set-variable">
  462.       <Variable local="false" variableName="firstVal" style="variable" pos="-479.5165,758.8895" />
  463.       <MathFunction function="sqrt" style="op-math" pos="-384.6044,762.1221">
  464.         <BinaryOp op="/" style="op-div" pos="-10.58694,968.5217">
  465.           <Variable local="false" variableName="localMass" style="variable" pos="256.8684,851.7845" />
  466.           <BinaryOp op="*" style="op-mul" pos="329.2121,1024.555">
  467.             <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="320.8614,953.5962" />
  468.             <Variable local="false" variableName="k" style="variable" pos="537.0852,957.7113" />
  469.           </BinaryOp>
  470.         </BinaryOp>
  471.       </MathFunction>
  472.     </SetVariable>
  473.     <SetVariable id="76" style="set-variable">
  474.       <Variable local="false" variableName="timetosplat" style="variable" pos="-329.2221,1409.808" />
  475.       <BinaryOp op="*" style="op-mul" pos="-343.0496,706.4349">
  476.         <Variable local="false" variableName="firstVal" style="variable" pos="-334.7648,703.1479" />
  477.         <Variable local="false" variableName="acoshVal" style="variable" pos="-246.6469,712.344" />
  478.       </BinaryOp>
  479.     </SetVariable>
  480.     <DisplayMessage id="77" style="display">
  481.       <Variable local="false" variableName="timetosplat" style="variable" pos="343.5108,-53.64553" />
  482.       <Constant number="7" />
  483.     </DisplayMessage>
  484.     <WaitSeconds id="78" style="wait-seconds">
  485.       <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
  486.     </WaitSeconds>
  487.   </Instructions>
  488.   <Instructions>
  489.     <Event event="ReceiveMessage" id="79" style="receive-msg" pos="190.4572,1025.284">
  490.       <Constant canReplace="false" text="tts" />
  491.     </Event>
  492.     <SetVariable id="80" style="set-variable">
  493.       <Variable local="false" variableName="velocityFinal" style="variable" pos="-344.8086,1193.208" />
  494.       <MathFunction function="sqrt" style="op-math" pos="-158.2608,1200.406">
  495.         <BinaryOp op="+" style="op-add" pos="651.0931,1250.936">
  496.           <BinaryOp op="^" style="op-exp" pos="533.5822,1369.328">
  497.             <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="537.1428,1351.994" />
  498.             <Constant text="2" />
  499.           </BinaryOp>
  500.           <BinaryOp op="*" style="op-mul" pos="376.4121,1373.147">
  501.             <Constant text="2" />
  502.             <BinaryOp op="*" style="op-mul" pos="16.53604,1515.628">
  503.               <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="19.26636,1518.525" />
  504.               <CraftProperty property="Altitude.AGL" style="prop-altitude" pos="244.3165,1524.401" />
  505.             </BinaryOp>
  506.           </BinaryOp>
  507.         </BinaryOp>
  508.       </MathFunction>
  509.     </SetVariable>
  510.     <SetVariable id="81" style="set-variable">
  511.       <Variable local="false" variableName="timetosplat" style="variable" pos="-329.2221,1409.808" />
  512.       <BinaryOp op="/" style="op-div" pos="-192.1417,1376.276">
  513.         <BinaryOp op="-" style="op-sub" pos="-186.4146,1385.053">
  514.           <MathFunction function="abs" style="op-math" pos="-157.7779,1419.553">
  515.             <Variable local="false" variableName="velocityFinal" style="variable" pos="257.2175,1152.459" />
  516.           </MathFunction>
  517.           <MathFunction function="abs" style="op-math" pos="141.6629,1418.496">
  518.             <CraftProperty property="Vel.VerticalSurfaceVelocity" style="prop-velocity" pos="511.3626,1320.186" />
  519.           </MathFunction>
  520.         </BinaryOp>
  521.         <CraftProperty property="Vel.Gravity" style="prop-velocity" pos="180.1683,1413.192" />
  522.       </BinaryOp>
  523.     </SetVariable>
  524.     <DisplayMessage id="82" style="display">
  525.       <Variable local="false" variableName="timetosplat" style="variable" pos="-538.2981,1253.104" />
  526.       <Constant number="7" />
  527.     </DisplayMessage>
  528.     <WaitSeconds id="83" style="wait-seconds">
  529.       <Variable local="true" variableName="data" pos="-228.1051,-886.418" />
  530.     </WaitSeconds>
  531.   </Instructions>
  532.   <Expressions />
  533. </Program>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top