From ee8ccc05efca31d62ec4f262ea3f57a10fd9b82f Mon Sep 17 00:00:00 2001 From: Richard Crockford Date: Fri, 7 Feb 2020 10:28:06 +0000 Subject: [PATCH] Fix for duplicate drag cubes --- .../ReStock/Patches/Aerodynamic/restock-aero-winglets.cfg | 4 ++++ .../GameData/ReStock/Patches/Command/restock-probes.cfg | 2 ++ .../ReStock/Patches/Electrical/restock-batteries.cfg | 3 +++ .../ReStock/Patches/Engine/restock-engines-liquid-0625.cfg | 1 + .../ReStock/Patches/Engine/restock-engines-liquid-125.cfg | 4 ++++ .../ReStock/Patches/Engine/restock-engines-liquid-25.cfg | 3 +++ .../ReStock/Patches/Engine/restock-engines-liquid-375.cfg | 1 + .../ReStock/Patches/Engine/restock-engines-srb-125.cfg | 2 ++ .../ReStock/Patches/FuelTank/restock-fueltanks-radial.cfg | 1 + .../ReStock/Patches/Structural/restock-structural-25.cfg | 1 + .../ReStock/Patches/Thermal/restock-heat-shields.cfg | 2 ++ .../GameData/ReStock/Patches/Utility/restock-parachutes.cfg | 5 +++++ 12 files changed, 29 insertions(+) diff --git a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-winglets.cfg b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-winglets.cfg index 1fb662a0..55e00b3e 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-winglets.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-winglets.cfg @@ -14,6 +14,7 @@ { model = ReStock/Assets/Aero/restock-winglet-basic-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.04573,0.9754,0.373, 0.04573,0.2997,0.648, 0.02582,0.2292,1.08, 0.02582,0.2819,0.3014, 0.5039,0.9864,0.1276, 0.5039,0.9864,0.1276, -0.1697,0.25,0, 0.7607,1.25,0.05625 @@ -28,6 +29,7 @@ { model = ReStock/Assets/Aero/restock-winglet-avr8-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = neutral, 0.128,0.4349,1.635, 0.128,0.3524,1.557, 0.124,0.3936,1.278, 0.124,0.07488,1.834, 2.033,0.9728,0.1538, 2.033,0.9736,0.1538, -0.07445,-0.03369,-0.0001223, 1.629,2.016,0.1065 @@ -44,6 +46,7 @@ { model = ReStock/Assets/Aero/restock-winglet-avt1-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.131,1,0.09983, 0.131,0.1167,1.597, 0.08604,0.07243,1.567, 0.08604,0.009355,1.241, 1.657,0.9968,0.1479, 1.657,0.997,0.1479, -0.1187,0.2268,0.006638, 1.497,2.11,0.09696 @@ -58,6 +61,7 @@ { model = ReStock/Assets/Aero/restock-winglet-delta-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = neutral, 0.1884,1,0.09813, 0.1884,0.7492,1.535, 0.1024,0.3948,1.376, 0.1024,0.1613,0.2502, 2.714,0.9913,0.143, 2.714,0.9917,0.143, -0.2699,-1.192E-07,0, 1.587,2.254,0.08718 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Command/restock-probes.cfg b/Distribution/Restock/GameData/ReStock/Patches/Command/restock-probes.cfg index 45293e3c..e5418207 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Command/restock-probes.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Command/restock-probes.cfg @@ -487,6 +487,7 @@ { model = ReStock/Assets/Command/restock-drone-core-125-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.3123,0.71,0.7274, 0.3123,0.7034,0.7331, 1.402,0.9681,0.1515, 1.402,0.9704,0.1515, 0.3077,0.701,0.7337, 0.3077,0.7054,0.7279, -0.005277,-9.855E-05,0.0009629, 1.261,0.2428,1.273 @@ -503,6 +504,7 @@ { model = ReStock/Assets/Command/restock-drone-core-25-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 1.028,0.7385,1.39, 1.028,0.7359,1.38, 5.274,0.9786,0.1842, 5.274,0.9776,0.1842, 1.072,0.7048,1.374, 1.072,0.7024,1.385, -0.0003395,0.0003387,-0.00157, 2.57,0.4079,2.58 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg b/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg index 360d706b..1e8e7bbb 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg @@ -19,6 +19,7 @@ scale = 1,1,1 rotation = 0, 0, 0 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.1251,0.7808,0.4043, 0.1251,0.7761,0.4043, 0.3044,0.9748,0.1197, 0.3044,0.9748,0.1197, 0.1237,0.7873,0.4044, 0.1237,0.7796,0.4918, 8.268E-05,0.002,-1.192E-08, 0.6248,0.2,0.625 @@ -38,6 +39,7 @@ scale = 1,1,1 rotation = 0, 0, 0 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.2808,0.7744,0.7051, 0.2808,0.7723,0.7051, 1.217,0.9607,0.1416, 1.217,0.9608,0.1416, 0.2808,0.7686,0.7051, 0.2808,0.7705,0.7051, 0,0,0, 1.25,0.2231,1.25 @@ -57,6 +59,7 @@ scale = 1,1,1 rotation = 0, 0, 0 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.5859,0.7659,1.385, 0.5859,0.7624,1.396, 4.895,0.9713,0.2224, 4.895,0.9722,0.2224, 0.6253,0.7324,1.292, 0.6252,0.7297,1.62, -0.006064,-0.005422,0.0008894, 2.648,0.2373,2.5 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg index 91e16fdb..00e01acc 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg @@ -391,6 +391,7 @@ } %node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 3 @attachRules = 1,1,1,0,0 + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 0.2612,0.7597,0.4044, 0.2612,0.7597,0.5694, 0.2642,0.7653,0.4683, 0.2642,0.7668,0.4938, 0.2612,0.7561,0.4497, 0.2612,0.7565,0.4044, 0,-0.1771,0, 0.625,0.4491,0.625 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg index c4715da7..cad65ce1 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg @@ -248,6 +248,7 @@ } @bulkheadProfiles = srf, size1, size2 node_attach = 0.0,0,0.0 , 0.0, 1.0, 0.0, 1 + !DRAG_CUBE {} DRAG_CUBE { cube = 0, 2.312,0.7586,1.181, 2.312,0.7602,1.243, 1.2,0.6938,1.333, 1.2,0.4948,1.383, 2.321,0.7617,1.215, 2.321,0.7611,1.455, 0,-0.4475,-5.96E-08, 1.255,2.355,1.255 @@ -591,6 +592,7 @@ !sound_rocket_hard = DELETE !sound_vent_soft = DELETE !sound_explosion_low = DELETE + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 1.208,0.7553,0.7254, 1.208,0.7553,0.7254, 1.253,0.9242,0.2382, 1.253,0.6771,0.8475, 1.208,0.7546,0.7254, 1.208,0.7549,0.7254, -2.086E-06,-0.3681,1.788E-07, 1.268,0.9682,1.268 @@ -922,6 +924,7 @@ %rescaleFactor = 1 @scale = 1 @attachRules = 1,1,1,0,0 + !DRAG_CUBE {} DRAG_CUBE { cube = 0, 1.323,0.7658,0.6937, 1.323,0.7658,0.6937, 1.2,0.71,1.99, 1.2,0.60,1.863, 1.342,0.7654,0.7222, 1.342,0.7655,0.7222, -4.768E-07,0.04716,-1.442E-05, 1.25,1.959,1.25 @@ -1273,6 +1276,7 @@ @node_stack_bottom = 0.0, -7.179225, 0.0, 0.0, -1.0, 0.0 %node_attach = 0.0, 9.0182625, 0.0, 0.0, 1.0, 0.0, 1 @attachRules = 1,1,1,0,0 + !DRAG_CUBE {} DRAG_CUBE { cube = 0, 1.068,0.7677,0.8473, 1.068,0.7677,0.6994, 1.2,0.71,1.582, 1.2,0.63,1.716, 1.061,0.7673,0.6994, 1.061,0.7674,0.6994, 0,0.1126,0, 1.25,1.703,1.25 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg index 7fd943d9..130044ec 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg @@ -27,6 +27,7 @@ scale = 1,1,1 rotation = 0, 0, 0 } + !DRAG_CUBE {} DRAG_CUBE { cube = 0, 7.567,0.7803,1.54, 7.566,0.7803,2.032, 4.8,0.6,3.323, 4.8,0.5,3.323, 7.6,0.7754,2.12, 7.6,0.7755,1.817, 0.001014,-0.3685,-0.002916, 3.018,3.123,3.018 @@ -403,6 +404,7 @@ !sound_rocket_hard = DELETE !sound_vent_soft = DELETE !sound_explosion_low = DELETE + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 3.898,0.7731,1.901, 3.898,0.773,1.901, 3.297,0.7352,1.744, 3.311,0.6924,1.917, 3.895,0.7689,2.073, 3.895,0.7683,2.129, -0.001018,-0.6431,-0.002216, 3.418,1.717,3.42 @@ -797,6 +799,7 @@ scale = 1,1,1 rotation = 0, 0, 0 } + !DRAG_CUBE {} DRAG_CUBE { cube = 0, 5.992,0.7789,1.767, 5.992,0.779,1.767, 4.87,0.6,2.5, 4.87,0.5,2.4, 5.969,0.7778,1.752, 5.969,0.7778,1.752, -0.000158,-1.106,-0.002611, 3.404,2.531,3.403 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg index 494773da..76de0fa0 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg @@ -13,6 +13,7 @@ model = ReStock/Assets/Engine/restock-engine-rhino-1 } %rescaleFactor = 1 + !DRAG_CUBE {} DRAG_CUBE { cube = 0, 15.48,0.7679,2.678, 15.48,0.7679,2.743, 11.07,0.9882,0.3025, 11.06,0.7086,4, 15.48,0.7679,2.678, 15.48,0.7679,2.743, 0.002109,-0.5297,-0.002108, 5.308,4.086,5.308 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg index 42e5381f..8053aa25 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg @@ -303,6 +303,7 @@ // @node_stack_bottom = 0.0, -1.5640875, 0.0, 0.0, -1.0, 0.0, 1 // @node_stack_top = 0.0, 1.2818375, 0.0, 0.0, 1.0, 0.0, 1 // @node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1 + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 3.7,0.6968,0.7651, 3.7,0.6962,0.8016, 1.25,0.9543,2.519, 1.25,0.77,0.7798, 3.642,0.6918,1.063, 3.642,0.7001,0.7651, 0,-0.1436,-5.96E-08, 1.349,2.859,1.349 @@ -459,6 +460,7 @@ model = ReStock/Assets/Engine/restock-engine-srb-flea-1 } %rescaleFactor = 1 + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 2.292,0.7167,0.7651, 2.292,0.715,0.7712, 1.25,0.9493,1.44, 1.25,0.77,0.7743, 2.257,0.7095,1.063, 2.257,0.7192,0.7651, 1.192E-07,-0.1231,0, 1.349,1.775,1.349 diff --git a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-radial.cfg b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-radial.cfg index 5a74a615..73a0e1b8 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-radial.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-radial.cfg @@ -177,6 +177,7 @@ { model = ReStock/Assets/FuelTank/restock-fueltank-foil-torus-1 } + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 0.3608,0.6239,0.7064, 0.3608,0.6124,0.7064, 1.21,0.96,0.2872447, 1.21,0.96,0.245615, 0.3608,0.616,0.7064, 0.3608,0.6181,0.7064, 0,0,0, 1.218,0.3161,1.218 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg index ef086542..0ec97db4 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg @@ -17,6 +17,7 @@ } !MODULE[ModulePartVariants] {} %rescaleFactor = 1 + !DRAG_CUBE {} DRAG_CUBE { cube = Default, 2.919,0.7316,1.334, 2.919,0.7316,1.334, 4.87,0.5272,1.596, 4.87,0.9547,0.1624, 2.919,0.7323,1.334, 2.919,0.7286,1.334, 0,0.002408,0, 2.5,1.547,2.5 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Thermal/restock-heat-shields.cfg b/Distribution/Restock/GameData/ReStock/Patches/Thermal/restock-heat-shields.cfg index 9596957e..1c3e1756 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Thermal/restock-heat-shields.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Thermal/restock-heat-shields.cfg @@ -17,6 +17,7 @@ } node_stack_bottom02 = 0.0, -0.0626, 0.0, 0.0, -1.0, 0.0, 0 @node_stack_bottom = 0.0, -0.0095, 0.0, 0.0, -1.0, 0.0, 0 + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 0.05634,0.7512,0.6665, 0.05634,0.7603,0.5694, 0.3044,0.9566,0.1698, 0.3044,0.932,0.1674, 0.05487,0.7518,0.4044, 0.05488,0.7514,0.4076, 0.001332,0.001115,-0.002111, 0.625,0.1071,0.625 @@ -143,6 +144,7 @@ { @jettisonName = HeatShield125Fairing } + !DRAG_CUBE {} DRAG_CUBE { cube = Fairing, 0.3875,0.7436,0.7686, 0.3875,0.7436,0.7686, 1.44,0.9625,0.1822, 1.44,0.964,0.3017, 0.3875,0.7436,0.7686, 0.3875,0.7436,0.7686, 0,-0.05126,0, 1.355,0.2838,1.355 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Utility/restock-parachutes.cfg b/Distribution/Restock/GameData/ReStock/Patches/Utility/restock-parachutes.cfg index 35d29960..cf35b745 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Utility/restock-parachutes.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Utility/restock-parachutes.cfg @@ -27,6 +27,7 @@ @semiDeployedAnimation = semiDeployLarge @fullyDeployedAnimation = fullyDeployLarge } + !DRAG_CUBE {} DRAG_CUBE { cube = PACKED, 0.6256,0.6346,0.7139, 0.6256,0.6346,0.7139, 1.108,0.7327,0.6962, 1.108,0.9453,0.1664, 0.6256,0.6357,0.7139, 0.6256,0.6335,0.7139, 0,0.2645,0, 1.233,0.6659,1.233 @@ -55,6 +56,7 @@ @semiDeployedAnimation = semiDeployLarge @fullyDeployedAnimation = fullyDeployLarge } + !DRAG_CUBE {} DRAG_CUBE { cube = PACKED, 0.587,0.6252,0.7139, 0.587,0.6252,0.7139, 1.108,0.7806,0.6187, 1.108,0.9453,0.164, 0.587,0.6262,0.7139, 0.587,0.6241,0.7139, 0,0.226,0, 1.233,0.5889,1.233 @@ -87,6 +89,7 @@ @semiDeployedAnimation = semiDeployLarge @fullyDeployedAnimation = fullyDeployLarge } + !DRAG_CUBE {} DRAG_CUBE { cube = PACKED, 0.1569,0.6557,0.4137, 0.1569,0.6557,0.4137, 0.2765,0.6423,0.3861, 0.2765,0.8647,0.1765, 0.1612,0.6491,0.6308, 0.1612,0.6762,0.669, 6.735E-06,0.1034,0.01848, 0.6307,0.3626,0.6124 @@ -115,6 +118,7 @@ @semiDeployedAnimation = semiDeployLarge @fullyDeployedAnimation = fullyDeployLarge } + !DRAG_CUBE {} DRAG_CUBE { cube = PACKED, 0.1455,0.8317,0.214, 0.1455,0.8291,0.214, 0.08433,0.6914,0.314, 0.08433,0.7864,0.2446, 0.4112,0.9454,0.1264, 0.4112,0.7406,0.2991, 0,-0.003353,-0.02865, 0.4906,0.8397,0.2079 @@ -146,6 +150,7 @@ @semiDeployedAnimation = semiDeployLarge @fullyDeployedAnimation = fullyDeployLarge } + !DRAG_CUBE {} DRAG_CUBE { cube = PACKED, 0.03638,0.8317,0.1572, 0.03638,0.8291,0.1572, 0.02108,0.6914,0.2066, 0.02108,0.7864,0.1726, 0.1028,0.9454,0.1132, 0.1028,0.7406,0.2002, 0,-0.001677,-0.01433, 0.2453,0.4199,0.1039