diff --git a/GameData/Firespitter/Plugins/Firespitter.dll b/GameData/Firespitter/Plugins/Firespitter.dll new file mode 100644 index 0000000..01bf9fc Binary files /dev/null and b/GameData/Firespitter/Plugins/Firespitter.dll differ diff --git a/GameData/Firespitter/Plugins/Firespitter.version b/GameData/Firespitter/Plugins/Firespitter.version new file mode 100644 index 0000000..c7d49b1 --- /dev/null +++ b/GameData/Firespitter/Plugins/Firespitter.version @@ -0,0 +1,14 @@ +{ + "NAME": "Firespitter", + "URL": "https://raw.githubusercontent.com/snjo/Firespitter/master/For%20release/Firespitter/Firespitter.version", + "VERSION": { + "MAJOR": 7, + "MINOR": 3, + "PATCH": 0 + }, + "KSP_VERSION": { + "MAJOR": 1, + "MINOR": 1, + "PATCH": 3 + } +} diff --git a/GameData/ThunderAerospace/ChangeLog.txt b/GameData/ThunderAerospace/TacLifeSupport/ChangeLog.txt similarity index 100% rename from GameData/ThunderAerospace/ChangeLog.txt rename to GameData/ThunderAerospace/TacLifeSupport/ChangeLog.txt diff --git a/GameData/ThunderAerospace/TacLifeSupport/MM_TAC-LS_CTT.cfg.disabled b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/MM_TAC-LS_CTT.cfg.disabled similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/MM_TAC-LS_CTT.cfg.disabled rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/MM_TAC-LS_CTT.cfg.disabled diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/LargeLifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/LargeLifeSupport.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/LargeLifeSupport.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/LargeLifeSupport.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/NormalLifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/NormalLifeSupport.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/NormalLifeSupport.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/NormalLifeSupport.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/SmallLifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/SmallLifeSupport.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/SmallLifeSupport.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/SmallLifeSupport.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/Texture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/HexCans/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/HexCans/Texture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/LifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/LifeSupport.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/LifeSupport.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/LifeSupport.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/LifeSupportLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/LifeSupportLarge.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/LifeSupportLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/LifeSupportLarge.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/LifeSupportSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/LifeSupportSmall.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/LifeSupportSmall.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/LifeSupportSmall.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/MM_AddResourcesMFT.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/MM_AddResourcesMFT.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/MM_AddResourcesMFT.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/MM_AddResourcesMFT.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/MM_HideNormalContainers.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/MM_HideNormalContainers.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/MM_HideNormalContainers.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/MM_HideNormalContainers.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/TacContainer.mu b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/TacContainer.mu similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportContainers/TacContainer.mu rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/TacContainer.mu diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/TankDefinitions.cfg b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/TankDefinitions.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/TankDefinitions.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/TankDefinitions.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/Texture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Compatibility/ModularFuelTanks/Texture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/Container.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/Container.cfg new file mode 100644 index 0000000..2453604 --- /dev/null +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/Container.cfg @@ -0,0 +1,98 @@ +PART +{ + // --- general parameters --- + name = TacLifeSupportContainer + module = Part + author = TaranisElsu + + // --- asset parameters --- + scale = 1 + rescaleFactor = 1 + + // --- node Definitions --- + node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0, 1 + + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,0,1,1,0 + + // --- editor parameters --- + TechRequired = survivability + entryCost = 400 + cost = 327.8 + category = Utility + subcategory = 0 + title = Life Support Container + manufacturer = Thunder Aerospace Corporation + description = A 1.25-meter Life Support container. Recent accomplishments by TAC allow manufacturing the same container for different purposes, greatly reducing its price. The cost savings are passed on to shareholders. + + tags = tacls life support food water oxygen container supplies waste + + // --- standard part parameters --- + mass = 0.20 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 1 + crashTolerance = 12 + breakingForce = 500 + breakingTorque = 500 + maxTemp = 3200 + + // --- model/resource parameters (compatible with vessels using legacy part) --- + MODEL + { + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer + position = 0.0, 0.0, 0.0 + scale = 1.0, 1.0, 1.0 + rotation = 0.0, 0.0, 0.0 + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/Texture + } + RESOURCE + { + name = Food + amount = 113.2 + maxAmount = 113.2 + } + RESOURCE + { + name = Water + amount = 74.8 + maxAmount = 74.8 + } + RESOURCE + { + name = Oxygen + amount = 11466.9 + maxAmount = 11466.9 + } + + // --- fixed texture/payload switch using Firespitter Core --- + MODULE + { + name = FStextureSwitch2 + textureRootFolder = ThunderAerospace/TacLifeSupport/Parts/Containers/ + textureNames = Texture; RefuseTexture; FoodTexture; WaterTexture; OxygenTexture + textureDisplayNames = Supplies; Refuse; Food; Water; Oxygen + objectNames = MyContainer + nextButtonText = Next payload + prevButtonText = Previous payload + useFuelSwitchModule = true + fuelTankSetups = 0;1;2;3;4 + // uncomment to debug via right-click menu in-game + //debugMode = true + //showListButton = true + } + MODULE + { + name = FSfuelSwitch + resourceNames = Food, Water, Oxygen; CarbonDioxide, WasteWater, Waste; Food; Water; Oxygen + resourceAmounts = 113.2, 74.8, 11466.9; 18800.1, 180.9, 19.5; 240; 40; 53072.3 + initialResourceAmounts = 113.2, 74.8, 11466.9; 0, 0, 0; 240; 240; 53072.3 + hasGUI = false + basePartMass = 0.2 + //tankMass = 0;0;0;0;0 // TODO + //tankCost = 0;0;0;0;0 // TODO + //displayCurrentTankCost = true + } +} diff --git a/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/ContainerLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/ContainerLarge.cfg new file mode 100644 index 0000000..19929bb --- /dev/null +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/ContainerLarge.cfg @@ -0,0 +1,98 @@ +PART +{ + // --- general parameters --- + name = TacLifeSupportContainerLarge + module = Part + author = TaranisElsu + + // --- asset parameters --- + scale = 1 + rescaleFactor = 2 + + // --- node Definitions --- + node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0, 2 + node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0, 2 + + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,0,1,1,0 + + // --- editor parameters --- + TechRequired = heavyRocketry // FIXME: seems really out of place in-game + entryCost = 800 + cost = 2254.5 + category = Utility + subcategory = 0 + title = Life Support Container, Large + manufacturer = Thunder Aerospace Corporation + description = A large 2.5-meter Life Support container. Recent accomplishments by TAC allow manufacturing the same container for different purposes, greatly reducing its price. The cost savings are passed on to shareholders. + + tags = tacls life support food water oxygen container supplies waste + + // --- standard part parameters --- + mass = 0.75 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 1 + crashTolerance = 12 + breakingForce = 500 + breakingTorque = 500 + maxTemp = 3200 + + // --- model/resource parameters (compatible with vessels using legacy part) --- + MODEL + { + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer + position = 0.0, 0.0, 0.0 + scale = 1.0, 1.0, 1.0 + rotation = 0.0, 0.0, 0.0 + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/Texture + } + RESOURCE + { + name = Food + amount = 1038.3 + maxAmount = 1038.3 + } + RESOURCE + { + name = Water + amount = 686.3 + maxAmount = 686.3 + } + RESOURCE + { + name = Oxygen + amount = 105113.2 + maxAmount = 105113.2 + } + + // --- fixed texture/payload switch using Firespitter Core --- + MODULE + { + name = FStextureSwitch2 + textureRootFolder = ThunderAerospace/TacLifeSupport/Parts/Containers/ + textureNames = Texture; RefuseTexture; FoodTexture; WaterTexture; OxygenTexture + textureDisplayNames = Supplies; Refuse; Food; Water; Oxygen + objectNames = MyContainer + nextButtonText = Next payload + prevButtonText = Previous payload + useFuelSwitchModule = true + fuelTankSetups = 0;1;2;3;4 + // uncomment to debug via right-click menu in-game + //debugMode = true + //showListButton = true + } + MODULE + { + name = FSfuelSwitch + resourceNames = Food, Water, Oxygen; CarbonDioxide, WasteWater, Waste; Food; Water; Oxygen + resourceAmounts = 1038.3, 686.3, 105113.2; 172334.5, 1658.8, 179.2; 2200; 2200; 486496.4 + initialResourceAmounts = 1038.3, 686.3, 105113.2; 0, 0, 0; 2200; 2200; 486496.4 + hasGUI = false + basePartMass = 0.75 + //tankMass = 0;0;0;0;0 // TODO + //tankCost = 0;0;0;0;0 // TODO + //displayCurrentTankCost = true + } +} diff --git a/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/ContainerSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/ContainerSmall.cfg new file mode 100644 index 0000000..5266f65 --- /dev/null +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/ContainerSmall.cfg @@ -0,0 +1,98 @@ +PART +{ + // --- general parameters --- + name = TacLifeSupportContainerSmall + module = Part + author = TaranisElsu + + // --- asset parameters --- + scale = 1 + rescaleFactor = 0.5 + + // --- node Definitions --- + node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0, 0 + + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,0,1,1,0 + + // --- editor parameters --- + TechRequired = survivability + entryCost = 400 + cost = 52.9 + category = Utility + subcategory = 0 + title = Life Support Container, Small + manufacturer = Thunder Aerospace Corporation + description = A small 0.625-meter Life Support container. Recent accomplishments by TAC allow manufacturing the same container for different purposes, greatly reducing its price. The cost savings are passed on to shareholders. + + tags = tacls life support food water oxygen container supplies waste + + // --- standard part parameters --- + mass = 0.04 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 1 + crashTolerance = 12 + breakingForce = 500 + breakingTorque = 500 + maxTemp = 3200 + + // --- model/resource parameters (compatible with vessels using legacy part) --- + MODEL + { + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer + position = 0.0, 0.0, 0.0 + scale = 1.0, 1.0, 1.0 + rotation = 0.0, 0.0, 0.0 + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/Texture + } + RESOURCE + { + name = Food + amount = 11.7 + maxAmount = 11.7 + } + RESOURCE + { + name = Water + amount = 7.7 + maxAmount = 7.7 + } + RESOURCE + { + name = Oxygen + amount = 1194.4 + maxAmount = 1194.4 + } + + // --- fixed texture/payload switch using Firespitter Core --- + MODULE + { + name = FStextureSwitch2 + textureRootFolder = ThunderAerospace/TacLifeSupport/Parts/Containers/ + textureNames = Texture; RefuseTexture; FoodTexture; WaterTexture; OxygenTexture + textureDisplayNames = Supplies; Refuse; Food; Water; Oxygen + objectNames = MyContainer + nextButtonText = Next payload + prevButtonText = Previous payload + useFuelSwitchModule = true + fuelTankSetups = 0;1;2;3;4 + // uncomment to debug via right-click menu in-game + //debugMode = true + //showListButton = true + } + MODULE + { + name = FSfuelSwitch + resourceNames = Food, Water, Oxygen; CarbonDioxide, WasteWater, Waste; Food; Water; Oxygen + resourceAmounts = 11.7, 7.7, 1194.4; 1958.3, 18.8, 2; 25; 25; 5528.3 + initialResourceAmounts = 11.7, 7.7, 1194.4; 0, 0, 0; 25; 25; 5528.3 + hasGUI = false + basePartMass = 0.04 + //tankMass = 0;0;0;0;0 // TODO + //tankCost = 0;0;0;0;0 // TODO + //displayCurrentTankCost = true + } +} diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/FoodTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/FoodTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportContainers/FoodTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/FoodTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/OxygenTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/OxygenTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportContainers/OxygenTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/OxygenTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/WasteTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/RefuseTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportContainers/WasteTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/RefuseTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportMFT/TacContainer.mu b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer.mu similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportMFT/TacContainer.mu rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer.mu diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/Texture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportContainers/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/Texture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/WaterTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/WaterTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportContainers/WaterTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Containers/WaterTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/Food.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Food.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/Food.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Food.cfg index 07ea5b6..2a1bda4 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/Food.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Food.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/FoodTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/FoodTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 357.4 - category = Utility + category = -1 subcategory = 0 title = Life Support Food Container manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/FoodLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/FoodLarge.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/FoodLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/FoodLarge.cfg index dcc1efb..582be58 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/FoodLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/FoodLarge.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/FoodTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/FoodTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 800 cost = 2525.6 - category = Utility + category = -1 subcategory = 0 title = Life Support Food Container, Large manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/FoodSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/FoodSmall.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/FoodSmall.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/FoodSmall.cfg index eb8933d..2c399fd 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/FoodSmall.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/FoodSmall.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/FoodTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/FoodTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 56 - category = Utility + category = -1 subcategory = 0 title = Life Support Food Container, Small manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/Oxygen.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Oxygen.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/Oxygen.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Oxygen.cfg index bb04484..f639cfe 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/Oxygen.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Oxygen.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/OxygenTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/OxygenTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 303 - category = Utility + category = -1 subcategory = 0 title = Life Support Oxygen Container manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/OxygenLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/OxygenLarge.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/OxygenLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/OxygenLarge.cfg index 230b755..f189c2f 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/OxygenLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/OxygenLarge.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/OxygenTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/OxygenTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 800 cost = 2027.2 - category = Utility + category = -1 subcategory = 0 title = Life Support Oxygen Container, Large manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/OxygenSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/OxygenSmall.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/OxygenSmall.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/OxygenSmall.cfg index 964f7d3..a44b60d 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/OxygenSmall.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/OxygenSmall.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/OxygenTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/OxygenTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 50.4 - category = Utility + category = -1 subcategory = 0 title = Life Support Oxygen Container, Small manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/Waste.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Refuse.cfg similarity index 86% rename from GameData/ThunderAerospace/TacLifeSupportContainers/Waste.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Refuse.cfg index ced37a4..6d0b971 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/Waste.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Refuse.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/WasteTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/RefuseTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 300 - category = Utility + category = -1 subcategory = 0 title = Life Support Waste Container manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/WasteLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/RefuseLarge.cfg similarity index 86% rename from GameData/ThunderAerospace/TacLifeSupportContainers/WasteLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/RefuseLarge.cfg index ad44fb3..633a6b2 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/WasteLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/RefuseLarge.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/WasteTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/RefuseTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 800 cost = 2000 - category = Utility + category = -1 subcategory = 0 title = Life Support Waste Container, Large manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/WasteSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/RefuseSmall.cfg similarity index 86% rename from GameData/ThunderAerospace/TacLifeSupportContainers/WasteSmall.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/RefuseSmall.cfg index d7de038..19cd602 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/WasteSmall.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/RefuseSmall.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/WasteTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/RefuseTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 50 - category = Utility + category = -1 subcategory = 0 title = Life Support Waste Container, Small manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/Water.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Water.cfg similarity index 84% rename from GameData/ThunderAerospace/TacLifeSupportContainers/Water.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Water.cfg index dbcaad4..d66e81c 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/Water.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/Water.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/WaterTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/WaterTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 300.2 - category = Utility + category = -1 subcategory = 0 title = Life Support Water Container manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/WaterLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/WaterLarge.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/WaterLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/WaterLarge.cfg index f8364da..4780100 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/WaterLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/WaterLarge.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/WaterTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/WaterTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 800 cost = 2001.8 - category = Utility + category = -1 subcategory = 0 title = Life Support Water Container, Large manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/WaterSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/WaterSmall.cfg similarity index 85% rename from GameData/ThunderAerospace/TacLifeSupportContainers/WaterSmall.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/WaterSmall.cfg index a05feb9..7887570 100644 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/WaterSmall.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/ContainersLegacy/WaterSmall.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Containers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/WaterTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Containers/WaterTexture } // --- general parameters --- @@ -26,10 +26,10 @@ PART attachRules = 1,0,1,1,0 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 400 cost = 50.1 - category = Utility + category = -1 subcategory = 0 title = Life Support Water Container, Small manufacturer = Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/FoodTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/FoodTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan.cfg new file mode 100644 index 0000000..9a32162 --- /dev/null +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan.cfg @@ -0,0 +1,104 @@ +PART +{ + // --- general parameters --- + name = HexCanLifeSupport + module = Part + author = Greys, Taranis Elsu + + // --- asset parameters --- + scale = 1 + rescaleFactor = 1 + specPower = 0.3 + rimFalloff = 3 + alphaCutoff = 0 + + // --- general parameters --- + node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 2 + node_stack_top_01 = 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 1 + node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 1 + + attachRules = 1,1,1,1,1 + + // --- editor parameters --- + TechRequired = survivability + entryCost = 500 + cost = 190.1 + category = Utility + subcategory = 0 + title = Life Support HexCan + manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation + // small= 0.75m, normal= 1.5m large= 3m + description = A 1.5m-long Life Support canister. Recent accomplishments by TAC allow manufacturing the same container for different purposes, greatly reducing its price. The cost savings are passed on to shareholders. + + tags = tacls life support food water oxygen container supplies waste hexcan + + // --- general parameters --- + mass = 0.12 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 12 + breakingForce = 400 + breakingTorque = 400 + maxTemp = 2900 + + // --- model/resource parameters (compatible with vessels using legacy part) --- + // 2x the container size = 8x the volume + MODEL + { + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan + position = 0.0, 0.0, 0.0 + scale = 1.0, 1.0, 1.0 + rotation = 0.0, 0.0, 0.0 + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/Texture + } + RESOURCE + { + name = Food + amount = 61.3 + maxAmount = 61.3 + } + RESOURCE + { + name = Water + amount = 40.5 + maxAmount = 40.5 + } + RESOURCE + { + name = Oxygen + amount = 6211.2 + maxAmount = 6211.2 + } + + // --- fixed texture/payload switch using Firespitter Core --- + MODULE + { + name = FStextureSwitch2 + textureRootFolder = ThunderAerospace/TacLifeSupport/Parts/HexCans/ + textureNames = Texture; RefuseTexture; FoodTexture; WaterTexture; OxygenTexture + textureDisplayNames = Supplies; Refuse; Food; Water; Oxygen + objectNames = Canister + nextButtonText = Next payload + prevButtonText = Previous payload + useFuelSwitchModule = true + fuelTankSetups = 0;1;2;3;4 + // uncomment to debug via right-click menu in-game + //debugMode = true + //showListButton = true + } + MODULE + { + name = FSfuelSwitch + resourceNames = Food, Water, Oxygen; CarbonDioxide, WasteWater, Waste; Food; Water; Oxygen + resourceAmounts = 61.3, 40.5, 6211.2; 10183.4, 98, 10.5; 130; 130; 28747.5 + initialResourceAmounts = 61.3, 40.5, 6211.2; 0, 0, 0; 130; 130; 28747.5 + hasGUI = false + basePartMass = 0.12 + //tankMass = 0;0;0;0;0 // TODO + //tankCost = 0;0;0;0;0 // TODO + //displayCurrentTankCost = true + } +} diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/Models/HexCan.mu b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan.mu similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/Models/HexCan.mu rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan.mu diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/Models/HexCan000.png b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan000.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/Models/HexCan000.png rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan000.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCanLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCanLarge.cfg new file mode 100644 index 0000000..a13a5e4 --- /dev/null +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCanLarge.cfg @@ -0,0 +1,104 @@ +PART +{ + // --- general parameters --- + name = HexCanLifeSupportLarge + module = Part + author = Greys, Taranis Elsu + + // --- asset parameters --- + scale = 1 + rescaleFactor = 2 + specPower = 0.3 + rimFalloff = 3 + alphaCutoff = 0 + + // --- general parameters --- + node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 2 + node_stack_top_01 = 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 1 + node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 1 + + attachRules = 1,1,1,1,1 + + // --- editor parameters --- + TechRequired = heavyRocketry // FIXME: out of place (not a rocket) + entryCost = 1000 + cost = 1120.3 + category = Utility + subcategory = 0 + title = Life Support HexCan, Large + manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation + // small= 0.75m, normal= 1.5m large= 3m + description = A 3m-long Life Support canister. Recent accomplishments by TAC allow manufacturing the same container for different purposes, greatly reducing its price. The cost savings are passed on to shareholders. + + tags = tacls life support food water oxygen container supplies waste hexcan + + // --- general parameters --- + mass = 0.38 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 12 + breakingForce = 400 + breakingTorque = 400 + maxTemp = 2900 + + // --- model/resource parameters (compatible with vessels using legacy part) --- + // 2x the container size = 8x the volume + MODEL + { + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan + position = 0.0, 0.0, 0.0 + scale = 1.0, 1.0, 1.0 + rotation = 0.0, 0.0, 0.0 + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/Texture + } + RESOURCE + { + name = Food + amount = 490.8 + maxAmount = 490.8 + } + RESOURCE + { + name = Water + amount = 324.4 + maxAmount = 324.4 + } + RESOURCE + { + name = Oxygen + amount = 49689.9 + maxAmount = 49689.9 + } + + // --- fixed texture/payload switch using Firespitter Core --- + MODULE + { + name = FStextureSwitch2 + textureRootFolder = ThunderAerospace/TacLifeSupport/Parts/HexCans/ + textureNames = Texture; RefuseTexture; FoodTexture; WaterTexture; OxygenTexture + textureDisplayNames = Supplies; Refuse; Food; Water; Oxygen + objectNames = Canister + nextButtonText = Next payload + prevButtonText = Previous payload + useFuelSwitchModule = true + fuelTankSetups = 0;1;2;3;4 + // uncomment to debug via right-click menu in-game + //debugMode = true + //showListButton = true + } + MODULE + { + name = FSfuelSwitch + resourceNames = Food, Water, Oxygen; CarbonDioxide, WasteWater, Waste; Food; Water; Oxygen + resourceAmounts = 61.3, 40.5, 6211.2; 10183.4, 98, 10.5; 130; 130; 28747.5 + initialResourceAmounts = 490.8, 324.4, 49689.9; 81467.2, 784.2, 84.7; 1040; 1040; 229980.1 + hasGUI = false + basePartMass = 0.38 + //tankMass = 0;0;0;0;0 // TODO + //tankCost = 0;0;0;0;0 // TODO + //displayCurrentTankCost = true + } +} diff --git a/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCanSmall.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCanSmall.cfg new file mode 100644 index 0000000..a59264e --- /dev/null +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCanSmall.cfg @@ -0,0 +1,103 @@ +PART +{ + // --- general parameters --- + name = HexCanLifeSupportSmall + module = Part + author = Greys, Taranis Elsu + + // --- asset parameters --- + scale = 1 + rescaleFactor = 0.5 + specPower = 0.3 + rimFalloff = 3 + alphaCutoff = 0 + + // --- general parameters --- + node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 1 + node_stack_top_01 = 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 0 + node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 0 + + attachRules = 1,1,1,1,1 + + // --- editor parameters --- + TechRequired = survivability + entryCost = 500 + cost = 36.9 + category = Utility + subcategory = 0 + title = Life Support Supplies HexCan, Small + manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation + // small= 0.75m, normal= 1.5m large= 3m + description = A 0.75m-long Life Support canister. Recent accomplishments by TAC allow manufacturing the same container for different purposes, greatly reducing its price. The cost savings are passed on to shareholders. + + tags = tacls life support food water oxygen container supplies waste hexcan + + // --- general parameters --- + mass = 0.03 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 12 + breakingForce = 400 + breakingTorque = 400 + maxTemp = 2900 + + // // --- model/resource parameters (compatible with vessels using legacy part) --- + // 2x the container size = 8x the volume + MODEL + { + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan + position = 0.0, 0.0, 0.0 + scale = 1.0, 1.0, 1.0 + rotation = 0.0, 0.0, 0.0 + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/Texture + } + RESOURCE + { + name = Food + amount = 7.6 + maxAmount = 7.6 + } + RESOURCE + { + name = Water + amount = 5 + maxAmount = 5 + } + RESOURCE + { + name = Oxygen + amount = 776.4 + maxAmount = 776.4 + } + // --- fixed texture/payload switch using Firespitter Core --- + MODULE + { + name = FStextureSwitch2 + textureRootFolder = ThunderAerospace/TacLifeSupport/Parts/HexCans/ + textureNames = Texture; RefuseTexture; FoodTexture; WaterTexture; OxygenTexture + textureDisplayNames = Supplies; Refuse; Food; Water; Oxygen + objectNames = Canister + nextButtonText = Next payload + prevButtonText = Previous payload + useFuelSwitchModule = true + fuelTankSetups = 0;1;2;3;4 + // uncomment to debug via right-click menu in-game + //debugMode = true + //showListButton = true + } + MODULE + { + name = FSfuelSwitch + resourceNames = Food, Water, Oxygen; CarbonDioxide, WasteWater, Waste; Food; Water; Oxygen + resourceAmounts = 7.6, 5, 776.4; 1272.9, 12.2, 1.31.3; 16.2; 16.2; 3593.4 + initialResourceAmounts = 7.6, 5, 776.4; 0, 0, 0; 16.2; 16.2; 3593.4 + hasGUI = false + basePartMass = 0.03 + //tankMass = 0;0;0;0;0 // TODO + //tankCost = 0;0;0;0;0 // TODO + //displayCurrentTankCost = true + } +} diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/LICENSE-HexCans.txt b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/LICENSE-HexCans.txt similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/LICENSE-HexCans.txt rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/LICENSE-HexCans.txt diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/OxygenTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/OxygenTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/Readme-HexCans.txt b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/Readme-HexCans.txt similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/Readme-HexCans.txt rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/Readme-HexCans.txt diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/WasteTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/RefuseTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/WasteTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/RefuseTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/Texture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/Texture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/Texture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/WaterTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/Texture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCans/WaterTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/LargeFood.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeFood.cfg similarity index 88% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/LargeFood.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeFood.cfg index f74379a..35617cc 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/LargeFood.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeFood.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanFood/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/FoodTexture } // --- general parameters --- name = HexCanFoodLarge @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 1000 cost = 1248.5 - category = Utility + category = -1 subcategory = 0 title = Life Support Food HexCan, Large manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/LargeOxygen.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeOxygen.cfg similarity index 87% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/LargeOxygen.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeOxygen.cfg index e9e47bf..ecc4a8f 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/LargeOxygen.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeOxygen.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/OxygenTexture } // --- general parameters --- name = HexCanOxygenLarge @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 1000 cost = 1012.9 - category = Utility + category = -1 subcategory = 0 title = Life Support Oxygen HexCan, Large manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/LargeWaste.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeRefuse.cfg similarity index 89% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/LargeWaste.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeRefuse.cfg index 5693e1a..bbaf3e2 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/LargeWaste.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeRefuse.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/WasteTexture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/RefuseTexture } // --- general parameters --- name = HexCanLifeSupportWasteLarge @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 1000 cost = 1000 - category = Utility + category = -1 subcategory = 0 title = Life Support Waste HexCan, Large manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/LargeWater.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeWater.cfg similarity index 87% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/LargeWater.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeWater.cfg index 50cb7b1..e648f61 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/LargeWater.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/LargeWater.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/WaterTexture } // --- general parameters --- name = HexCanDrinkingWaterLarge @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = heavyRocketry + TechRequired = hidden entryCost = 1000 cost = 1000.9 - category = Utility + category = -1 subcategory = 0 title = Life Support Water HexCan, Large manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/NormalFood.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalFood.cfg similarity index 88% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/NormalFood.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalFood.cfg index ada7ca0..b9135db 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/NormalFood.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalFood.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanFood/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/FoodTexture } // --- general parameters --- name = HexCanFood @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 206.1 - category = Utility + category = -1 subcategory = 0 title = Life Support Food HexCan manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/NormalOxygen.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalOxygen.cfg similarity index 87% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/NormalOxygen.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalOxygen.cfg index 8488235..5807b61 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/NormalOxygen.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalOxygen.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/OxygenTexture } // --- general parameters --- name = HexCanOxygen @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 176.7 - category = Utility + category = -1 subcategory = 0 title = Life Support Oxygen HexCan manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/NormalWaste.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalRefuse.cfg similarity index 89% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/NormalWaste.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalRefuse.cfg index 00e9c3c..62a1d2b 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/NormalWaste.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalRefuse.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/WasteTexture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/RefuseTexture } // --- general parameters --- name = HexCanLifeSupportWaste @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 175 - category = Utility + category = -1 subcategory = 0 title = Life Support Waste HexCan manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/NormalWater.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalWater.cfg similarity index 87% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/NormalWater.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalWater.cfg index 78827e1..71d6f4d 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/NormalWater.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/NormalWater.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/WaterTexture } // --- general parameters --- name = HexCanDrinkingWater @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 175.2 - category = Utility + category = -1 subcategory = 0 title = Life Support Water HexCan manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/SmallFood.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallFood.cfg similarity index 88% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/SmallFood.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallFood.cfg index 7da1eb6..47bb5aa 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanFood/SmallFood.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallFood.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanFood/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/FoodTexture } // --- general parameters --- name = HexCanFoodSmall @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 38.9 - category = Utility + category = -1 subcategory = 0 title = Life Support Food HexCan, Small manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/SmallOxygen.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallOxygen.cfg similarity index 87% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/SmallOxygen.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallOxygen.cfg index 90c705c..359f4bd 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/SmallOxygen.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallOxygen.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanBreathingOxygen/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/OxygenTexture } // --- general parameters --- name = HexCanOxygenSmall @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 35.3 - category = Utility + category = -1 subcategory = 0 title = Life Support Oxygen HexCan, Small manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/SmallWaste.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallRefuse.cfg similarity index 89% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/SmallWaste.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallRefuse.cfg index bfd6386..0e78ed2 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/SmallWaste.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallRefuse.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanWaste/WasteTexture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/RefuseTexture } // --- general parameters --- name = HexCanLifeSupportWasteSmall @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 35 - category = Utility + category = -1 subcategory = 0 title = Life Support Waste HexCan, Small manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/SmallWater.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallWater.cfg similarity index 87% rename from GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/SmallWater.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallWater.cfg index 6e98264..b7e5c9d 100644 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/SmallWater.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/HexCansLegacy/SmallWater.cfg @@ -2,11 +2,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan + model = ThunderAerospace/TacLifeSupport/Parts/HexCans/HexCan position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanDrinkingWater/Texture + texture = HexCan000, ThunderAerospace/TacLifeSupport/Parts/HexCans/WaterTexture } // --- general parameters --- name = HexCanDrinkingWaterSmall @@ -29,10 +29,10 @@ PART attachRules = 1,1,1,1,1 // --- editor parameters --- - TechRequired = survivability + TechRequired = hidden entryCost = 500 cost = 35.1 - category = Utility + category = -1 subcategory = 0 title = Life Support Water HexCan, Small manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/AirFilter.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/AirFilter.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/AirFilter.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/AirFilter.cfg index 6a636ec..48a5b6a 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/AirFilter.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/AirFilter.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/AirFilterTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/AirFilterTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/AirFilterTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/AirFilterTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/AirFilterTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/AirFilterTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/CarbonExtractorTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/CarbonExtractorTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/CarbonExtractorTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/CarbonExtractorTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_CarbonExtractor.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_CarbonExtractor.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_CarbonExtractor.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_CarbonExtractor.cfg index 5415a02..23620f9 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_CarbonExtractor.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_CarbonExtractor.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/CarbonExtractorTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/CarbonExtractorTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_CarbonExtractorLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_CarbonExtractorLarge.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_CarbonExtractorLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_CarbonExtractorLarge.cfg index 4d48fd9..28c80e4 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_CarbonExtractorLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_CarbonExtractorLarge.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/CarbonExtractorTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/CarbonExtractorTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_SabatierCarbonRecycler.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_SabatierCarbonRecycler.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_SabatierCarbonRecycler.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_SabatierCarbonRecycler.cfg index e13cd68..2ebe68d 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_SabatierCarbonRecycler.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_SabatierCarbonRecycler.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/SabatierTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/SabatierTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_SabatierCarbonRecyclerLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_SabatierCarbonRecyclerLarge.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_SabatierCarbonRecyclerLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_SabatierCarbonRecyclerLarge.cfg index 757ebc4..111ede3 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_SabatierCarbonRecyclerLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_SabatierCarbonRecyclerLarge.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/SabatierTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/SabatierTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterPurifier.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterPurifier.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterPurifier.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterPurifier.cfg index 255b7f2..7fb3da2 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterPurifier.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterPurifier.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/WaterPurifierTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterPurifierTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterPurifierLarge.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterPurifierLarge.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterPurifierLarge.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterPurifierLarge.cfg index e1d94d0..1465abb 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterPurifierLarge.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterPurifierLarge.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/WaterPurifierTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterPurifierTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterSplitter.cfg b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterSplitter.cfg similarity index 95% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterSplitter.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterSplitter.cfg index 8d9b04c..a3d9b00 100644 --- a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Recycler_WaterSplitter.cfg +++ b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Recycler_WaterSplitter.cfg @@ -29,11 +29,11 @@ PART { MODEL { - model = ThunderAerospace/TacLifeSupportRecyclers/TacContainer + model = ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer position = 0.0, 0.0, 0.0 scale = 1.0, 1.0, 1.0 rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportRecyclers/WaterSplitterTexture + texture = Texture, ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterSplitterTexture } // --- general parameters --- diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/SabatierTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/SabatierTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/SabatierTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/SabatierTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/TacContainer.mu b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer.mu similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/TacContainer.mu rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/TacContainer.mu diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/Texture.png b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Texture.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/Texture.png rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/Texture.png diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/WaterPurifierTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterPurifierTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/WaterPurifierTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterPurifierTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupportRecyclers/WaterSplitterTexture.dds b/GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterSplitterTexture.dds similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupportRecyclers/WaterSplitterTexture.dds rename to GameData/ThunderAerospace/TacLifeSupport/Parts/Recyclers/WaterSplitterTexture.dds diff --git a/GameData/ThunderAerospace/TacLifeSupport/LifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupport/Plugins/LifeSupport.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/LifeSupport.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/LifeSupport.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupport/MM_AddLifeSupportModule.cfg b/GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_AddLifeSupportModule.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/MM_AddLifeSupportModule.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_AddLifeSupportModule.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupport/MM_AddResources.cfg b/GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_AddResources.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/MM_AddResources.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_AddResources.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupport/MM_CrewablePartTests.cfg b/GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_CrewablePartTests.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/MM_CrewablePartTests.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_CrewablePartTests.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupport/MM_StockPartChanges.cfg b/GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_StockPartChanges.cfg similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/MM_StockPartChanges.cfg rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/MM_StockPartChanges.cfg diff --git a/GameData/ThunderAerospace/TacLifeSupport/MiniAVC.dll b/GameData/ThunderAerospace/TacLifeSupport/Plugins/MiniAVC.dll similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/MiniAVC.dll rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/MiniAVC.dll diff --git a/GameData/ThunderAerospace/TacLifeSupport/PluginData/TacLifeSupport/resize.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/PluginData/TacLifeSupport/resize.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/PluginData/TacLifeSupport/resize.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/PluginData/TacLifeSupport/resize.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Plugins/TacLifeSupport.dll b/GameData/ThunderAerospace/TacLifeSupport/Plugins/TacLifeSupport.dll new file mode 100755 index 0000000..54a6257 Binary files /dev/null and b/GameData/ThunderAerospace/TacLifeSupport/Plugins/TacLifeSupport.dll differ diff --git a/GameData/ThunderAerospace/TacLifeSupport/TacLifeSupport.version b/GameData/ThunderAerospace/TacLifeSupport/Plugins/TacLifeSupport.version similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/TacLifeSupport.version rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/TacLifeSupport.version diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACEditorCatIcon.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACEditorCatIcon.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACEditorCatIcon.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACEditorCatIcon.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACToolTipBox.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACToolTipBox.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACToolTipBox.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACToolTipBox.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnRedCross.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnRedCross.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnRedCross.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnRedCross.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnResize.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnResize.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnResize.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnResize.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnResizeHeight.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnResizeHeight.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnResizeHeight.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnResizeHeight.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnResizeWidth.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnResizeWidth.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACbtnResizeWidth.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACbtnResizeWidth.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACgreenIconAL.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACgreenIconAL.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACgreenIconAL.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACgreenIconAL.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACgreenIconTB.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACgreenIconTB.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACgreenIconTB.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACgreenIconTB.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACredIconAL.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACredIconAL.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACredIconAL.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACredIconAL.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACredIconTB.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACredIconTB.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACredIconTB.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACredIconTB.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACyellowIconAL.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACyellowIconAL.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACyellowIconAL.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACyellowIconAL.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/Textures/TACyellowIconTB.png b/GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACyellowIconTB.png similarity index 100% rename from GameData/ThunderAerospace/TacLifeSupport/Textures/TACyellowIconTB.png rename to GameData/ThunderAerospace/TacLifeSupport/Plugins/Textures/TACyellowIconTB.png diff --git a/GameData/ThunderAerospace/TacLifeSupport/TacLifeSupport.dll b/GameData/ThunderAerospace/TacLifeSupport/TacLifeSupport.dll deleted file mode 100644 index d4d38e3..0000000 Binary files a/GameData/ThunderAerospace/TacLifeSupport/TacLifeSupport.dll and /dev/null differ diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupport.cfg deleted file mode 100644 index 01090b4..0000000 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupport.cfg +++ /dev/null @@ -1,70 +0,0 @@ -PART -{ - MODEL - { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer - position = 0.0, 0.0, 0.0 - scale = 1.0, 1.0, 1.0 - rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/Texture - } - - // --- general parameters --- - name = TacLifeSupportContainer - module = Part - author = TaranisElsu - - // --- asset parameters --- - scale = 1 - rescaleFactor = 1 - - // --- node Definitions --- - node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0, 1 - node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0, 1 - - // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision - attachRules = 1,0,1,1,0 - - // --- editor parameters --- - TechRequired = survivability - entryCost = 400 - cost = 327.8 - category = Utility - subcategory = 0 - title = Life Support Supplies Container - manufacturer = Thunder Aerospace Corporation - description = A 1.25-meter container full of Life Support supplies. - - tags = tacls life support food water oxygen container supplies - - // --- standard part parameters --- - mass = 0.20 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.2 - angularDrag = 1 - crashTolerance = 12 - breakingForce = 500 - breakingTorque = 500 - maxTemp = 3200 - - // --- resource parameters --- - RESOURCE - { - name = Food - amount = 113.2 - maxAmount = 113.2 - } - RESOURCE - { - name = Water - amount = 74.8 - maxAmount = 74.8 - } - RESOURCE - { - name = Oxygen - amount = 11466.9 - maxAmount = 11466.9 - } -} diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupportLarge.cfg b/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupportLarge.cfg deleted file mode 100644 index adccf13..0000000 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupportLarge.cfg +++ /dev/null @@ -1,70 +0,0 @@ -PART -{ - MODEL - { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer - position = 0.0, 0.0, 0.0 - scale = 1.0, 1.0, 1.0 - rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/Texture - } - - // --- general parameters --- - name = TacLifeSupportContainerLarge - module = Part - author = TaranisElsu - - // --- asset parameters --- - scale = 1 - rescaleFactor = 2 - - // --- node Definitions --- - node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0, 2 - node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0, 2 - - // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision - attachRules = 1,0,1,1,0 - - // --- editor parameters --- - TechRequired = heavyRocketry - entryCost = 800 - cost = 2254.5 - category = Utility - subcategory = 0 - title = Life Support Supplies Container, Large - manufacturer = Thunder Aerospace Corporation - description = A large 2.5-meter container full of Life Support supplies. - - tags = tacls life support food water oxygen container supplies - - // --- standard part parameters --- - mass = 0.75 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.2 - angularDrag = 1 - crashTolerance = 12 - breakingForce = 500 - breakingTorque = 500 - maxTemp = 3200 - - // --- resource parameters --- - RESOURCE - { - name = Food - amount = 1038.3 - maxAmount = 1038.3 - } - RESOURCE - { - name = Water - amount = 686.3 - maxAmount = 686.3 - } - RESOURCE - { - name = Oxygen - amount = 105113.2 - maxAmount = 105113.2 - } -} diff --git a/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupportSmall.cfg b/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupportSmall.cfg deleted file mode 100644 index a3a3718..0000000 --- a/GameData/ThunderAerospace/TacLifeSupportContainers/LifeSupportSmall.cfg +++ /dev/null @@ -1,70 +0,0 @@ -PART -{ - MODEL - { - model = ThunderAerospace/TacLifeSupportContainers/TacContainer - position = 0.0, 0.0, 0.0 - scale = 1.0, 1.0, 1.0 - rotation = 0.0, 0.0, 0.0 - texture = Texture, ThunderAerospace/TacLifeSupportContainers/Texture - } - - // --- general parameters --- - name = TacLifeSupportContainerSmall - module = Part - author = TaranisElsu - - // --- asset parameters --- - scale = 1 - rescaleFactor = 0.5 - - // --- node Definitions --- - node_stack_top = 0.0, 0.125, 0.0, 0.0, 1.0, 0.0, 0 - node_stack_bottom = 0.0, -0.125, 0.0, 0.0, -1.0, 0.0, 0 - - // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision - attachRules = 1,0,1,1,0 - - // --- editor parameters --- - TechRequired = survivability - entryCost = 400 - cost = 52.9 - category = Utility - subcategory = 0 - title = Life Support Supplies Container, Small - manufacturer = Thunder Aerospace Corporation - description = A small 0.625-meter container full of Life Support supplies. - - tags = tacls life support food water oxygen container supplies - - // --- standard part parameters --- - mass = 0.04 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.2 - angularDrag = 1 - crashTolerance = 12 - breakingForce = 500 - breakingTorque = 500 - maxTemp = 3200 - - // --- resource parameters --- - RESOURCE - { - name = Food - amount = 11.7 - maxAmount = 11.7 - } - RESOURCE - { - name = Water - amount = 7.7 - maxAmount = 7.7 - } - RESOURCE - { - name = Oxygen - amount = 1194.4 - maxAmount = 1194.4 - } -} diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/LargeLifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/LargeLifeSupport.cfg deleted file mode 100644 index 51452b4..0000000 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/LargeLifeSupport.cfg +++ /dev/null @@ -1,75 +0,0 @@ -PART -{ - MODEL - { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan - position = 0.0, 0.0, 0.0 - scale = 1.0, 1.0, 1.0 - rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/Texture - } - // --- general parameters --- - name = HexCanLifeSupportLarge - module = Part - author = Greys, Taranis Elsu - - // --- asset parameters --- - scale = 1 - rescaleFactor = 2 - specPower = 0.3 - rimFalloff = 3 - alphaCutoff = 0 - - // --- general parameters --- - node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 2 - node_stack_top_01= 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 1 - node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1 - node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 1 - - attachRules = 1,1,1,1,1 - - // --- editor parameters --- - TechRequired = heavyRocketry - entryCost = 1000 - cost = 1120.3 - category = Utility - subcategory = 0 - title = Life Support Supplies HexCan, Large - manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation - // small= 0.75m, normal= 1.5m large= 3m - description = A 3m long resource canister containing Life Support supplies. - - tags = tacls life support food water oxygen container supplies hexcan - - // --- general parameters --- - mass = 0.38 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.3 - angularDrag = 2 - crashTolerance = 12 - breakingForce = 400 - breakingTorque = 400 - maxTemp = 2900 - - // --- resource parameters --- - // 2x the container size = 8x the volume - RESOURCE - { - name = Food - amount = 490.8 - maxAmount = 490.8 - } - RESOURCE - { - name = Water - amount = 324.4 - maxAmount = 324.4 - } - RESOURCE - { - name = Oxygen - amount = 49689.9 - maxAmount = 49689.9 - } -} diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/NormalLifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/NormalLifeSupport.cfg deleted file mode 100644 index 04c6ba3..0000000 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/NormalLifeSupport.cfg +++ /dev/null @@ -1,75 +0,0 @@ -PART -{ - MODEL - { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan - position = 0.0, 0.0, 0.0 - scale = 1.0, 1.0, 1.0 - rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/Texture - } - // --- general parameters --- - name = HexCanLifeSupport - module = Part - author = Greys, Taranis Elsu - - // --- asset parameters --- - scale = 1 - rescaleFactor = 1 - specPower = 0.3 - rimFalloff = 3 - alphaCutoff = 0 - - // --- general parameters --- - node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 2 - node_stack_top_01= 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 1 - node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1 - node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 1 - - attachRules = 1,1,1,1,1 - - // --- editor parameters --- - TechRequired = survivability - entryCost = 500 - cost = 190.1 - category = Utility - subcategory = 0 - title = Life Support Supplies HexCan - manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation - // small= 0.75m, normal= 1.5m large= 3m - description = A 1.5m long resource canister containing Life Support supplies. - - tags = tacls life support food water oxygen container supplies hexcan - - // --- general parameters --- - mass = 0.12 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.3 - angularDrag = 2 - crashTolerance = 12 - breakingForce = 400 - breakingTorque = 400 - maxTemp = 2900 - - // --- resource parameters --- - // 2x the container size = 8x the volume - RESOURCE - { - name = Food - amount = 61.3 - maxAmount = 61.3 - } - RESOURCE - { - name = Water - amount = 40.5 - maxAmount = 40.5 - } - RESOURCE - { - name = Oxygen - amount = 6211.2 - maxAmount = 6211.2 - } -} diff --git a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/SmallLifeSupport.cfg b/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/SmallLifeSupport.cfg deleted file mode 100644 index 73e5160..0000000 --- a/GameData/ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/SmallLifeSupport.cfg +++ /dev/null @@ -1,75 +0,0 @@ -PART -{ - MODEL - { - model = ThunderAerospace/TacLifeSupportHexCans/Models/HexCan - position = 0.0, 0.0, 0.0 - scale = 1.0, 1.0, 1.0 - rotation = 0.0, 0.0, 0.0 - texture = HexCan000, ThunderAerospace/TacLifeSupportHexCans/HexCanLifeSupport/Texture - } - // --- general parameters --- - name = HexCanLifeSupportSmall - module = Part - author = Greys, Taranis Elsu - - // --- asset parameters --- - scale = 1 - rescaleFactor = 0.5 - specPower = 0.3 - rimFalloff = 3 - alphaCutoff = 0 - - // --- general parameters --- - node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 1 - node_stack_top_01= 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 0 - node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 0 - node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 0 - - attachRules = 1,1,1,1,1 - - // --- editor parameters --- - TechRequired = survivability - entryCost = 500 - cost = 36.9 - category = Utility - subcategory = 0 - title = Life Support Supplies HexCan, Small - manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co. in cooperation with Thunder Aerospace Corporation - // small= 0.75m, normal= 1.5m large= 3m - description = A 0.75m long resource canister containing Life Support supplies. - - tags = tacls life support food water oxygen container supplies hexcan - - // --- general parameters --- - mass = 0.03 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.3 - angularDrag = 2 - crashTolerance = 12 - breakingForce = 400 - breakingTorque = 400 - maxTemp = 2900 - - // --- resource parameters --- - // 2x the container size = 8x the volume - RESOURCE - { - name = Food - amount = 7.6 - maxAmount = 7.6 - } - RESOURCE - { - name = Water - amount = 5 - maxAmount = 5 - } - RESOURCE - { - name = Oxygen - amount = 776.4 - maxAmount = 776.4 - } -} diff --git a/Source/EditorFilter.cs b/Source/EditorFilter.cs index 5e14ae2..9a00721 100644 --- a/Source/EditorFilter.cs +++ b/Source/EditorFilter.cs @@ -9,7 +9,7 @@ namespace Tac [KSPAddon(KSPAddon.Startup.SpaceCentre, true)] public class TACEditorFilter : MonoBehaviour { - // This class ass a Filter Icon to the Editor to show TACLS Parts + // This class adds a Filter Icon to the Editor to show TAC-LS Parts. private static List TacavPartItems = new List(); public static TACEditorFilter Instance; internal string category = "Filter by Function"; @@ -90,7 +90,8 @@ public bool TacMMCallBack() foreach (AvailablePart avPart in PartLoader.LoadedPartsList) { if (!avPart.partPrefab) continue; - if (avPart.name.Contains("Tac") || avPart.name.Contains("HexCan")) + if ((avPart.name.Contains("Tac") || avPart.name.Contains("HexCan")) && + (avPart.TechRequired != "hidden" || avPart.category.ToString() != "-1" )) { TacavPartItems.Add(avPart); } diff --git a/Source/InstallChecker.cs b/Source/InstallChecker.cs index 7fb15bf..0d0149f 100644 --- a/Source/InstallChecker.cs +++ b/Source/InstallChecker.cs @@ -1,6 +1,6 @@ /** * Based on the InstallChecker from the Kethane mod for Kerbal Space Program. - * https://github.com/Majiir/Kethane/blob/b93b1171ec42b4be6c44b257ad31c7efd7ea1702/Plugin/InstallChecker.cs + * https://github.com/Majiir/Kethane/blob/5a1df504ee8d1d5c15a152f1cb0bc9f7b8cbfa06/Plugin/Kethane/Utilities/InstallChecker.cs * * Original is (C) Copyright Majiir. * CC0 Public Domain (http://creativecommons.org/publicdomain/zero/1.0/) @@ -21,6 +21,7 @@ internal class InstallChecker : MonoBehaviour { private const string modName = "TAC Life Support"; private const string expectedPath = "ThunderAerospace/TacLifeSupport"; + private const string expectedDLLPath = expectedPath + "/Plugins"; protected void Start() { @@ -33,14 +34,14 @@ protected void Start() this.Log(modName + " - Using 64-bit? " + (IntPtr.Size == 8)); // Search for this mod's DLL existing in the wrong location. This will also detect duplicate copies because only one can be in the right place. - var assemblies = AssemblyLoader.loadedAssemblies.Where(a => a.assembly.GetName().Name == Assembly.GetExecutingAssembly().GetName().Name).Where(a => a.url != expectedPath); + var assemblies = AssemblyLoader.loadedAssemblies.Where(a => a.assembly.GetName().Name == Assembly.GetExecutingAssembly().GetName().Name).Where(a => a.url != expectedDLLPath); if (assemblies.Any()) { var badPaths = assemblies.Select(a => a.path).Select(p => Uri.UnescapeDataString(new Uri(Path.GetFullPath(KSPUtil.ApplicationRootPath)).MakeRelativeUri(new Uri(p)).ToString().Replace('/', Path.DirectorySeparatorChar))); string badPathsString = String.Join("\n", badPaths.ToArray()); this.Log(modName + " - Incorrectly installed, bad paths:\n" + badPathsString); PopupDialog.SpawnPopupDialog(new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), "Incorrect " + modName + " Installation", - modName + " has been installed incorrectly and will not function properly. All files should be located in KSP/GameData/" + expectedPath + ". Do not move any files from inside that folder.\n\nIncorrect path(s):\n" + badPathsString, + modName + " has been installed incorrectly and will not function properly. All files should be located in GameData/" + expectedPath + ", with the DLL file in GameData/" + expectedDLLPath + ". Do not move any files from inside that folder.\n\nIncorrect path(s):\n" + badPathsString, "OK", false, HighLogic.UISkin); } @@ -74,7 +75,7 @@ protected void Start() "A very serious error has occurred while checking the installation of " + modName + ".\n\n" + "You need to\n" + " (1) shut down KSP,\n" + - " (2) send a complete copy of the entire log file to the mod developer (see https://github.com/taraniselsu/TacLifeSupport/wiki/Help)\n" + + " (2) send a complete copy of the entire log file to the mod developer (see https://github.com/KSP-RO/TacLifeSupport/wiki/Help)\n" + " (3) completely delete and re-install " + modName, "OK", false, HighLogic.UISkin); } diff --git a/Source/TacLifeSupport.csproj b/Source/TacLifeSupport.csproj index 45cd734..c179d01 100644 --- a/Source/TacLifeSupport.csproj +++ b/Source/TacLifeSupport.csproj @@ -165,6 +165,13 @@ with modifications + + + d3adb33f + d3adb33f + unknown + + @@ -180,10 +187,16 @@ - - - - + + + TacLifeSupport + + + + + + + @@ -198,21 +211,53 @@ - $(BaseDir)\GameData\ThunderAerospace\$(ProjectName)\$(ProjectName).version + $(BaseDir)\GameData\ThunderAerospace\$(ProjectName)\Plugins\$(ProjectName).version - + + + + + + + + TacLifeSupport + + + + + + + + + + + + TacLifeSupport + + + + $(BaseDir)\GameData\ThunderAerospace\$(ProjectName)\Plugins\$(ProjectName).version + + + + + + + TacLifeSupport + - - - - + + + + + @@ -245,9 +290,9 @@ - - + + diff --git a/Source/TacLifeSupport.sln b/Source/TacLifeSupport.sln index 30bff51..2897d58 100644 --- a/Source/TacLifeSupport.sln +++ b/Source/TacLifeSupport.sln @@ -17,6 +17,23 @@ Global {B333CA3A-BB28-4020-94F0-234EC7767E07}.Release|Any CPU.ActiveCfg = Release|Any CPU {B333CA3A-BB28-4020-94F0-234EC7767E07}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + Policies = $0 + $0.TextStylePolicy = $1 + $1.inheritsSet = null + $1.scope = text/x-csharp + $0.CSharpFormattingPolicy = $2 + $2.AfterDelegateDeclarationParameterComma = True + $2.inheritsSet = Mono + $2.inheritsScope = text/x-csharp + $2.scope = text/x-csharp + $0.TextStylePolicy = $3 + $3.FileWidth = 120 + $3.NoTabsAfterNonTabs = True + $3.inheritsSet = VisualStudio + $3.inheritsScope = text/plain + $3.scope = text/plain + EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection diff --git a/TacLib/Source/CommonProperties.proj b/TacLib/Source/CommonProperties.proj index dd934bf..91ccf3a 100644 --- a/TacLib/Source/CommonProperties.proj +++ b/TacLib/Source/CommonProperties.proj @@ -51,8 +51,8 @@ - - + + @@ -70,13 +70,13 @@ - $(BaseDir)\GameData\ThunderAerospace\$(ProjectName)\$(ProjectName).version + $(BaseDir)\GameData\ThunderAerospace\$(ProjectName)\Plugins\$(ProjectName).version - + diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..ebe99b2 --- /dev/null +++ b/test.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "x$KSP_TEST" == "x" ]; then + echo KSP_TEST has not been set! + exit 1 +else + KSP_TEST=`echo $KSP_TEST | tr '\\' '/'` + cp -rvf GameData "$KSP_TEST/" +fi