From 0f240135ab91c508bd6246ab88657843cbc7908d Mon Sep 17 00:00:00 2001 From: BDCarrillo <90526940+BDCarrillo@users.noreply.github.com> Date: Thu, 13 Mar 2025 23:43:57 -0500 Subject: [PATCH 1/7] Touchups --- Data/BlocksCategories.sbc | 23 +------- .../ShieldLogic/ShieldFields.cs | 1 - .../DefenseShields/ShieldLogic/ShieldInit.cs | 2 +- .../DefenseShields/ShieldLogic/ShieldRun.cs | 1 - .../PhysicsCatch/CatchEntities.cs | 55 ------------------- DefenseShields.csproj | 3 - 6 files changed, 4 insertions(+), 81 deletions(-) delete mode 100644 Data/Scripts/DefenseShields/SupportClasses/PhysicsCatch/CatchEntities.cs diff --git a/Data/BlocksCategories.sbc b/Data/BlocksCategories.sbc index 9324130..4f99724 100644 --- a/Data/BlocksCategories.sbc +++ b/Data/BlocksCategories.sbc @@ -217,28 +217,11 @@ GuiBlockCategoryDefinition - DarkStar + Defense Shields DarkStar_Shield_MFG_INC - - SmallShieldModulator - LargeShieldModulator - DSControlLCD - DSControlLCDWide - DSControlTable - DSControlSmall - DSControlLarge - EmitterL - EmitterS - - EmitterST - EmitterLA - EmitterSA - DS_Supergen - LargeEnhancer - SmallEnhancer - - + UpgradeModule/DSControlLarge + UpgradeModule/EmitterL diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs index 1270e7e..2cb7f41 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs @@ -47,7 +47,6 @@ public partial class DefenseShields internal readonly HashSet FriendlyMissileCache = new HashSet(); internal readonly ShieldChargeMgr ChargeMgr = new ShieldChargeMgr(); internal readonly ConcurrentDictionary ProtectedEntCache = new ConcurrentDictionary(); - internal readonly MyShipController FakeController = new MyShipController(); internal readonly ConcurrentDictionary WebEnts = new ConcurrentDictionary(); internal readonly ConcurrentDictionary EntsByMe = new ConcurrentDictionary(); diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs index cd142a3..be85252 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs @@ -363,7 +363,7 @@ private void StorageSetup() private void ResetDistributor() { _checkResourceDist = false; - MyResourceDist = FakeController.GridResourceDistributor; + MyResourceDist = (MyResourceDistributorComponent)((IMyCubeGrid)MyGrid).ResourceDistributor; } private void PowerPreInit() diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs index 6c9a4f0..bd0a9fc 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs @@ -38,7 +38,6 @@ public override void Init(MyObjectBuilder_EntityBase objectBuilder) CapString = Localization.GetText("InfoShieldCapString"); Shield = (IMyUpgradeModule)Entity; MyCube = (MyCubeBlock)Entity; - FakeController.SlimBlock = MyCube.SlimBlock; StorageSetup(); } diff --git a/Data/Scripts/DefenseShields/SupportClasses/PhysicsCatch/CatchEntities.cs b/Data/Scripts/DefenseShields/SupportClasses/PhysicsCatch/CatchEntities.cs deleted file mode 100644 index aff8784..0000000 --- a/Data/Scripts/DefenseShields/SupportClasses/PhysicsCatch/CatchEntities.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Collections.Generic; -using Sandbox.Game.Entities; -using VRage.Game.Entity; - -namespace DefenseShields.Support -{ - public class PhantomSphere : MySafeZone - { - private readonly List _entityCompare = new List(); - private readonly List _entityList = new List(); - private int _counter = 0; - - public PhantomSphere() - { - Closing(); - } - - protected sealed override void Closing() - { - base.Closing(); - } - - public List ReturnEntitySet() - { - var isEqual = true; - var countEqual = m_containedEntities.Count == _entityCompare.Count; - if (countEqual) - { - if (_counter == 9) - { - for (int i = 0; i < _entityCompare.Count; i++) - { - if (!m_containedEntities.Contains(_entityCompare[i])) - { - isEqual = false; - break; - } - } - } - } - else isEqual = false; - if (_counter++ > 9) _counter = 0; - - if (isEqual) return _entityList; - _entityList.Clear(); - _entityCompare.Clear(); - foreach (var id in m_containedEntities) - { - _entityCompare.Add(id); - _entityList.Add(MyEntities.GetEntityById(id)); - } - return _entityList; - } - } -} diff --git a/DefenseShields.csproj b/DefenseShields.csproj index 6eaca78..54d5132 100644 --- a/DefenseShields.csproj +++ b/DefenseShields.csproj @@ -604,9 +604,6 @@ PreserveNewest - - PreserveNewest - PreserveNewest From 0e31cd2d9a5179503a28a5e4300f19b17b419f65 Mon Sep 17 00:00:00 2001 From: BDCarrillo <90526940+BDCarrillo@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:31:41 -0500 Subject: [PATCH 2/7] Tidy up usings --- Data/Scripts/DefenseShields/API/ApiClient.cs | 2 -- Data/Scripts/DefenseShields/API/ApiServer.cs | 5 +---- Data/Scripts/DefenseShields/API/TapiBackend.cs | 4 ---- Data/Scripts/DefenseShields/Control/DsUi.cs | 2 -- Data/Scripts/DefenseShields/Control/ModUi.cs | 1 - Data/Scripts/DefenseShields/EmitterLogic/EmitterMisc.cs | 1 - Data/Scripts/DefenseShields/EmitterLogic/EmitterState.cs | 4 +--- Data/Scripts/DefenseShields/EnhancerLogic/EnhancerOther.cs | 1 - .../Scripts/DefenseShields/ModulatorLogic/ModulatorOther.cs | 1 - Data/Scripts/DefenseShields/Session/SessionControls.cs | 1 - Data/Scripts/DefenseShields/Session/SessionDamage.cs | 2 -- Data/Scripts/DefenseShields/Session/SessionFields.cs | 1 - Data/Scripts/DefenseShields/Session/SessionRun.cs | 1 - Data/Scripts/DefenseShields/Session/SessionSupport.cs | 2 -- Data/Scripts/DefenseShields/Session/SessionText.cs | 1 - Data/Scripts/DefenseShields/ShieldLogic/ShieldCharge.cs | 2 -- Data/Scripts/DefenseShields/ShieldLogic/ShieldChargeMgr.cs | 2 -- Data/Scripts/DefenseShields/ShieldLogic/ShieldChecks.cs | 4 ---- Data/Scripts/DefenseShields/ShieldLogic/ShieldDraw.cs | 2 -- Data/Scripts/DefenseShields/ShieldLogic/ShieldEvents.cs | 4 ---- Data/Scripts/DefenseShields/ShieldLogic/ShieldHeat.cs | 2 -- Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs | 5 +---- Data/Scripts/DefenseShields/ShieldLogic/ShieldIntersect.cs | 4 +--- Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs | 4 +--- Data/Scripts/DefenseShields/ShieldLogic/ShieldWeb.cs | 3 +-- Data/Scripts/DefenseShields/SupportBlocks/PlanetShield.cs | 3 --- .../SupportClasses/Collision/CSupport/Octree.cs | 3 --- .../SupportClasses/Collision/CSupport/ResourcePool.cs | 1 - .../SupportClasses/Collision/CSupport/Triangle3.cs | 6 +----- .../SupportClasses/Collision/CustomCollision.cs | 6 +----- .../DefenseShields/SupportClasses/Collision/GJK/Sphere.cs | 1 - Data/Scripts/DefenseShields/SupportClasses/CustomTypes.cs | 3 --- .../DefenseShields/SupportClasses/Debug/DebugDraw.cs | 1 - .../SupportClasses/GridComps/ModulatorGridComp.cs | 2 -- .../SupportClasses/GridComps/ShieldGridComp.cs | 3 --- Data/Scripts/DefenseShields/SupportClasses/Logging.cs | 1 - Data/Scripts/DefenseShields/SupportClasses/Render.cs | 4 +--- Data/Scripts/DefenseShields/SupportClasses/Spawn.cs | 5 +---- Data/Scripts/DefenseShields/SupportClasses/Utils.cs | 2 -- 39 files changed, 10 insertions(+), 92 deletions(-) diff --git a/Data/Scripts/DefenseShields/API/ApiClient.cs b/Data/Scripts/DefenseShields/API/ApiClient.cs index a167865..83973bd 100644 --- a/Data/Scripts/DefenseShields/API/ApiClient.cs +++ b/Data/Scripts/DefenseShields/API/ApiClient.cs @@ -4,8 +4,6 @@ using Sandbox.ModAPI; using System; using System.Collections.Generic; -using DefenseShields.Support; -using Sandbox.Game.Entities; using VRage; using VRage.Game.Entity; using System.Collections.Immutable; diff --git a/Data/Scripts/DefenseShields/API/ApiServer.cs b/Data/Scripts/DefenseShields/API/ApiServer.cs index 196e245..59fe1c7 100644 --- a/Data/Scripts/DefenseShields/API/ApiServer.cs +++ b/Data/Scripts/DefenseShields/API/ApiServer.cs @@ -1,7 +1,4 @@ -using DefenseShields.Support; -using VRage; - -namespace DefenseShields +namespace DefenseShields { using System; using System.Collections.Generic; diff --git a/Data/Scripts/DefenseShields/API/TapiBackend.cs b/Data/Scripts/DefenseShields/API/TapiBackend.cs index 90e5ca9..375f420 100644 --- a/Data/Scripts/DefenseShields/API/TapiBackend.cs +++ b/Data/Scripts/DefenseShields/API/TapiBackend.cs @@ -7,14 +7,10 @@ using VRage.Collections; using VRage.Game; using VRage.Game.Entity; -using System.Collections.Generic; using System.Collections.Immutable; using VRage.Game.ModAPI; using VRage.ModAPI; -using VRage.Utils; using VRageMath; -using static VRage.Game.MyObjectBuilder_SessionComponentMission; -using static VRage.Game.MyObjectBuilder_BehaviorTreeDecoratorNode; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/Control/DsUi.cs b/Data/Scripts/DefenseShields/Control/DsUi.cs index 9882578..8a8a655 100644 --- a/Data/Scripts/DefenseShields/Control/DsUi.cs +++ b/Data/Scripts/DefenseShields/Control/DsUi.cs @@ -1,6 +1,4 @@ using System; -using VRage.Game.ModAPI; -using VRageMath; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/Control/ModUi.cs b/Data/Scripts/DefenseShields/Control/ModUi.cs index daf852a..9ab6d7e 100644 --- a/Data/Scripts/DefenseShields/Control/ModUi.cs +++ b/Data/Scripts/DefenseShields/Control/ModUi.cs @@ -8,7 +8,6 @@ namespace DefenseShields using Sandbox.Game.Entities; using Sandbox.ModAPI; using System.Text; - using static VRage.Game.ObjectBuilders.Definitions.MyObjectBuilder_GameDefinition; internal static class ModUi { diff --git a/Data/Scripts/DefenseShields/EmitterLogic/EmitterMisc.cs b/Data/Scripts/DefenseShields/EmitterLogic/EmitterMisc.cs index 7c01012..3df97de 100644 --- a/Data/Scripts/DefenseShields/EmitterLogic/EmitterMisc.cs +++ b/Data/Scripts/DefenseShields/EmitterLogic/EmitterMisc.cs @@ -4,7 +4,6 @@ using Sandbox.Game.EntityComponents; using Sandbox.ModAPI; using VRage.Game.Components; -using VRage.Game.ModAPI; using VRage.ModAPI; using VRage.Utils; diff --git a/Data/Scripts/DefenseShields/EmitterLogic/EmitterState.cs b/Data/Scripts/DefenseShields/EmitterLogic/EmitterState.cs index ad8baec..b3e5d25 100644 --- a/Data/Scripts/DefenseShields/EmitterLogic/EmitterState.cs +++ b/Data/Scripts/DefenseShields/EmitterLogic/EmitterState.cs @@ -1,6 +1,4 @@ -using System; -using DefenseShields.Support; -using Sandbox.Game.Entities; +using DefenseShields.Support; using Sandbox.ModAPI; namespace DefenseShields diff --git a/Data/Scripts/DefenseShields/EnhancerLogic/EnhancerOther.cs b/Data/Scripts/DefenseShields/EnhancerLogic/EnhancerOther.cs index 6bb0ae8..d97291f 100644 --- a/Data/Scripts/DefenseShields/EnhancerLogic/EnhancerOther.cs +++ b/Data/Scripts/DefenseShields/EnhancerLogic/EnhancerOther.cs @@ -1,7 +1,6 @@ using System; using System.Text; using DefenseShields.Support; -using Sandbox.Game.Entities; using Sandbox.Game.EntityComponents; using Sandbox.ModAPI; using VRage.Game.Components; diff --git a/Data/Scripts/DefenseShields/ModulatorLogic/ModulatorOther.cs b/Data/Scripts/DefenseShields/ModulatorLogic/ModulatorOther.cs index 032d22e..6679585 100644 --- a/Data/Scripts/DefenseShields/ModulatorLogic/ModulatorOther.cs +++ b/Data/Scripts/DefenseShields/ModulatorLogic/ModulatorOther.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Text; using DefenseShields.Support; using Sandbox.Game.Entities; diff --git a/Data/Scripts/DefenseShields/Session/SessionControls.cs b/Data/Scripts/DefenseShields/Session/SessionControls.cs index e64e188..ed7d8fe 100644 --- a/Data/Scripts/DefenseShields/Session/SessionControls.cs +++ b/Data/Scripts/DefenseShields/Session/SessionControls.cs @@ -12,7 +12,6 @@ namespace DefenseShields using Sandbox.ModAPI; using Sandbox.ModAPI.Interfaces.Terminal; using VRage.ModAPI; - using VRage.Utils; public partial class Session { diff --git a/Data/Scripts/DefenseShields/Session/SessionDamage.cs b/Data/Scripts/DefenseShields/Session/SessionDamage.cs index ba4561d..fc07ea8 100644 --- a/Data/Scripts/DefenseShields/Session/SessionDamage.cs +++ b/Data/Scripts/DefenseShields/Session/SessionDamage.cs @@ -6,9 +6,7 @@ using VRage.Game; using VRage.Game.Entity; using VRage.Game.ModAPI; -using VRage.Utils; using VRageMath; -using static VRage.Game.MyObjectBuilder_BehaviorTreeDecoratorNode; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/Session/SessionFields.cs b/Data/Scripts/DefenseShields/Session/SessionFields.cs index f2796c0..b2f9369 100644 --- a/Data/Scripts/DefenseShields/Session/SessionFields.cs +++ b/Data/Scripts/DefenseShields/Session/SessionFields.cs @@ -7,7 +7,6 @@ namespace DefenseShields using System.Collections.Concurrent; using System.Collections.Generic; using Support; - using Sandbox.Common.ObjectBuilders; using Sandbox.Game.Entities; using Sandbox.ModAPI.Interfaces.Terminal; using VRage.Collections; diff --git a/Data/Scripts/DefenseShields/Session/SessionRun.cs b/Data/Scripts/DefenseShields/Session/SessionRun.cs index f18957d..da9ebad 100644 --- a/Data/Scripts/DefenseShields/Session/SessionRun.cs +++ b/Data/Scripts/DefenseShields/Session/SessionRun.cs @@ -9,7 +9,6 @@ using VRage.Utils; using VRageMath; using MyVisualScriptLogicProvider = Sandbox.Game.MyVisualScriptLogicProvider; - using Sandbox.Engine.Platform.VideoMode; [MySessionComponentDescriptor(MyUpdateOrder.BeforeSimulation | MyUpdateOrder.Simulation, int.MaxValue - 3)] public partial class Session : MySessionComponentBase diff --git a/Data/Scripts/DefenseShields/Session/SessionSupport.cs b/Data/Scripts/DefenseShields/Session/SessionSupport.cs index fb37930..6f586d4 100644 --- a/Data/Scripts/DefenseShields/Session/SessionSupport.cs +++ b/Data/Scripts/DefenseShields/Session/SessionSupport.cs @@ -5,7 +5,6 @@ using VRage.Collections; using VRage.Input; using VRage.Utils; -using VRageMath; namespace DefenseShields { @@ -14,7 +13,6 @@ namespace DefenseShields using VRage.Game.ModAPI; using System; using VRage.Game.Entity; - using VRage.Game; using Sandbox.Game.Entities; public partial class Session diff --git a/Data/Scripts/DefenseShields/Session/SessionText.cs b/Data/Scripts/DefenseShields/Session/SessionText.cs index 274b86c..9aee14d 100644 --- a/Data/Scripts/DefenseShields/Session/SessionText.cs +++ b/Data/Scripts/DefenseShields/Session/SessionText.cs @@ -1,6 +1,5 @@ using System.Collections.Concurrent; using System.Collections.Generic; -using DefenseShields.Support; using VRage.Collections; using VRage.Game; using VRage.Utils; diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldCharge.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldCharge.cs index 6293d8b..52def8e 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldCharge.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldCharge.cs @@ -1,11 +1,9 @@ using VRageMath; using System; -using DefenseShields.Support; using Sandbox.Game.Entities; using VRage; using VRage.Collections; using VRage.Utils; -using Sandbox.ModAPI; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldChargeMgr.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldChargeMgr.cs index 44cac59..7420a0c 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldChargeMgr.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldChargeMgr.cs @@ -1,9 +1,7 @@ using System; using DefenseShields.Support; using Sandbox.ModAPI; -using VRage.Utils; using VRageMath; -using static VRage.Game.MyObjectBuilder_ControllerSchemaDefinition; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldChecks.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldChecks.cs index c9c5d96..051053c 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldChecks.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldChecks.cs @@ -1,18 +1,14 @@ using System; using System.Collections.Generic; using DefenseShields.Support; -using GjkShapes; using Sandbox.Game.Entities; using Sandbox.ModAPI; using VRage.Game; using VRage.Game.Entity; using VRage.Game.ModAPI; using VRage.ModAPI; -using VRage.Noise.Patterns; using VRage.Utils; using VRageMath; -using static DefenseShields.DefenseShields; -using static VRage.Game.MyObjectBuilder_BlockNavigationDefinition; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldDraw.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldDraw.cs index 6232a6c..047176e 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldDraw.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldDraw.cs @@ -1,5 +1,4 @@ using System; -using System.Runtime.InteropServices; using DefenseShields.Support; using Sandbox.ModAPI; using VRage.Game; @@ -7,7 +6,6 @@ using VRage.Game.ModAPI; using VRage.Utils; using VRageMath; -using static VRage.Game.MyObjectBuilder_CurveDefinition; using BlendTypeEnum = VRageRender.MyBillboard.BlendTypeEnum; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldEvents.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldEvents.cs index 78afed1..e5fb667 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldEvents.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldEvents.cs @@ -3,12 +3,8 @@ using System; using System.Text; using Support; - using Sandbox.Common.ObjectBuilders; using Sandbox.Game.Entities; using Sandbox.ModAPI; - using Sandbox.ModAPI.Weapons; - using VRage; - using VRage.Game.Entity; using VRage.Game.ModAPI; public partial class DefenseShields diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldHeat.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldHeat.cs index fe48b4d..8d0b379 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldHeat.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldHeat.cs @@ -1,12 +1,10 @@ using System; -using Sandbox.ModAPI; using VRage.Utils; using VRageMath; namespace DefenseShields { using Support; - using static VRage.Game.ObjectBuilders.Definitions.MyObjectBuilder_GameDefinition; public partial class DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs index be85252..9ea20ca 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldInit.cs @@ -1,7 +1,4 @@ - -using System.Linq; -using SpaceEngineers.Game.ModAPI; -using VRage.Game.ModAPI; +using VRage.Game.ModAPI; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldIntersect.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldIntersect.cs index ff9540a..bea570a 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldIntersect.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldIntersect.cs @@ -1,6 +1,4 @@ -using Sandbox.Game; -using VRage.Collections; -using VRage.Game; +using VRage.Collections; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs index bd0a9fc..304ab1f 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs @@ -1,6 +1,4 @@ -using VRage; -using VRage.Utils; -using VRageMath; +using VRage.Utils; namespace DefenseShields { diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldWeb.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldWeb.cs index 80e5b1d..73e8c01 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldWeb.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldWeb.cs @@ -1,5 +1,4 @@ -using System.Linq; -using System; +using System; using System.Collections.Generic; using DefenseShields.Support; using Sandbox.Game.Entities; diff --git a/Data/Scripts/DefenseShields/SupportBlocks/PlanetShield.cs b/Data/Scripts/DefenseShields/SupportBlocks/PlanetShield.cs index 0b78e4f..15fc091 100644 --- a/Data/Scripts/DefenseShields/SupportBlocks/PlanetShield.cs +++ b/Data/Scripts/DefenseShields/SupportBlocks/PlanetShield.cs @@ -1,9 +1,6 @@ namespace DefenseShields { - using global::DefenseShields.Support; using Sandbox.Common.ObjectBuilders; - using Sandbox.Game.Entities; - using Sandbox.Game.EntityComponents; using VRage.Game.Components; [MyEntityComponentDescriptor(typeof(MyObjectBuilder_UpgradeModule), false, "PlanetaryEmitterLarge")] public class PlanetShields : MyGameLogicComponent diff --git a/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Octree.cs b/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Octree.cs index baac611..c64678e 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Octree.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Octree.cs @@ -1,7 +1,4 @@ #region Using Statements -using System; -using System.Collections.Generic; -using VRageMath; #endregion namespace Jitter.Collision diff --git a/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/ResourcePool.cs b/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/ResourcePool.cs index 85f78f8..3a0f7a8 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/ResourcePool.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/ResourcePool.cs @@ -18,7 +18,6 @@ */ #region Using Statements -using System; using System.Collections.Generic; #endregion diff --git a/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Triangle3.cs b/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Triangle3.cs index edb7d9f..d28a019 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Triangle3.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Collision/CSupport/Triangle3.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using VRageMath; +using VRageMath; namespace DefenseShields.Support { diff --git a/Data/Scripts/DefenseShields/SupportClasses/Collision/CustomCollision.cs b/Data/Scripts/DefenseShields/SupportClasses/Collision/CustomCollision.cs index 9dfaada..bd1fd36 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Collision/CustomCollision.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Collision/CustomCollision.cs @@ -1,8 +1,4 @@ -using Sandbox.ModAPI; -using VRage.Game.ObjectBuilders.Definitions.SessionComponents; -using VRage.Utils; - -namespace DefenseShields.Support +namespace DefenseShields.Support { using System; using System.Collections.Generic; diff --git a/Data/Scripts/DefenseShields/SupportClasses/Collision/GJK/Sphere.cs b/Data/Scripts/DefenseShields/SupportClasses/Collision/GJK/Sphere.cs index f09d5ad..afc94eb 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Collision/GJK/Sphere.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Collision/GJK/Sphere.cs @@ -1,4 +1,3 @@ -using System; using VRageMath; namespace GjkShapes diff --git a/Data/Scripts/DefenseShields/SupportClasses/CustomTypes.cs b/Data/Scripts/DefenseShields/SupportClasses/CustomTypes.cs index b4fb4f6..49bf574 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/CustomTypes.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/CustomTypes.cs @@ -1,11 +1,8 @@ using System.Collections.Concurrent; -using VRage.Audio; namespace DefenseShields.Support { using System; - using System.Collections.Generic; - using Sandbox.Game.EntityComponents; using Sandbox.Game.Entities; using Sandbox.ModAPI; using VRage.Collections; diff --git a/Data/Scripts/DefenseShields/SupportClasses/Debug/DebugDraw.cs b/Data/Scripts/DefenseShields/SupportClasses/Debug/DebugDraw.cs index 698483c..d72697b 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Debug/DebugDraw.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Debug/DebugDraw.cs @@ -2,7 +2,6 @@ using VRage.Game; using VRage.Utils; using VRageMath; -using BlendTypeEnum = VRageRender.MyBillboard.BlendTypeEnum; namespace DefenseShields.Support { diff --git a/Data/Scripts/DefenseShields/SupportClasses/GridComps/ModulatorGridComp.cs b/Data/Scripts/DefenseShields/SupportClasses/GridComps/ModulatorGridComp.cs index ce0488b..011aca1 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/GridComps/ModulatorGridComp.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/GridComps/ModulatorGridComp.cs @@ -1,6 +1,4 @@ using System.Collections.Generic; -using DefenseShields.Support; -using Sandbox.Game.Entities; using VRage.Game.Components; using VRage.Game.ModAPI; diff --git a/Data/Scripts/DefenseShields/SupportClasses/GridComps/ShieldGridComp.cs b/Data/Scripts/DefenseShields/SupportClasses/GridComps/ShieldGridComp.cs index 32ab08e..86ce61d 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/GridComps/ShieldGridComp.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/GridComps/ShieldGridComp.cs @@ -1,9 +1,6 @@ using System.Collections.Concurrent; -using System.Collections.Generic; -using DefenseShields.Support; using Sandbox.Game.Entities; using VRage.Game.Components; -using VRage.Game.ModAPI; using VRageMath; namespace DefenseShields diff --git a/Data/Scripts/DefenseShields/SupportClasses/Logging.cs b/Data/Scripts/DefenseShields/SupportClasses/Logging.cs index 09131f1..143316c 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Logging.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Logging.cs @@ -1,5 +1,4 @@ using System; -using System.Globalization; using System.IO; using Sandbox.ModAPI; diff --git a/Data/Scripts/DefenseShields/SupportClasses/Render.cs b/Data/Scripts/DefenseShields/SupportClasses/Render.cs index 808f302..241e004 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Render.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Render.cs @@ -1,6 +1,4 @@ -using VRage.Game.ModAPI; - -namespace DefenseShields.Support +namespace DefenseShields.Support { using System; using System.Collections.Generic; diff --git a/Data/Scripts/DefenseShields/SupportClasses/Spawn.cs b/Data/Scripts/DefenseShields/SupportClasses/Spawn.cs index ce4fd21..1eb821e 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Spawn.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Spawn.cs @@ -1,7 +1,4 @@ -using Sandbox.Engine.Physics; -using Sandbox.Game.Entities; -using Sandbox.Game.Entities.Debris; -using VRage.Game.Components; +using Sandbox.Game.Entities; using VRage.Utils; namespace DefenseShields.Support diff --git a/Data/Scripts/DefenseShields/SupportClasses/Utils.cs b/Data/Scripts/DefenseShields/SupportClasses/Utils.cs index 33ba150..c58f273 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Utils.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Utils.cs @@ -8,8 +8,6 @@ namespace DefenseShields.Support using System.Collections.Generic; using System.Diagnostics; using System.Linq; - using Sandbox.Game.Entities; - using VRageMath; internal static class ConcurrentQueueExtensions { From b509adb101e9ed636b843ce044c68fc76f79eafe Mon Sep 17 00:00:00 2001 From: Harmoni Karman <73192825+DSLapatura@users.noreply.github.com> Date: Sat, 5 Jul 2025 21:37:01 -0700 Subject: [PATCH 3/7] reworked zh-CN localization --- .../SupportClasses/Localization.cs | 86 ++++++++++--------- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/Data/Scripts/DefenseShields/SupportClasses/Localization.cs b/Data/Scripts/DefenseShields/SupportClasses/Localization.cs index 4cf680c..1169c83 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Localization.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Localization.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Sandbox.ModAPI; using VRage; @@ -328,30 +328,32 @@ public static class Localization { MyLanguagesEnum.ChineseChina, new Dictionary { - { "TerminalSwitchOn", "在" }, - { "TerminalSwitchOff", "离开" }, + { "TerminalSwitchOn", "开启" }, + { "TerminalSwitchOff", "关闭" }, { "TerminalSwitchUp", "启用" }, { "TerminalSwitchDown", "停用" }, - { "TerminalAutoManageTitle", "自动屏蔽管理" }, - { "TerminalAutoManageTooltip", "启用后,防护罩将自动管理自我,但会牺牲其峰值能力" }, - { "TerminalSwitchPush", "推" }, - { "TerminalSwitchPull", "拉" }, + { "TerminalHeatSink", "散热" }, + { "TerminalHeatSinkTooltip", "降低护盾热量, 同时减少最大护盾值" }, + { "TerminalAutoManageTitle", "自动管理" }, + { "TerminalAutoManageTooltip", "启用后,发生器将自行调整各项参数并自动散热,但会略微降低最大护盾值" }, + { "TerminalSwitchPush", "分流" }, + { "TerminalSwitchPull", "正常" }, { "TerminalPasswordTitle", "护盾接入频率" }, { "TerminalPasswordTooltip", "匹配护盾的调制频率/密码" }, { "TerminalShieldFreqTitle", "护盾频率" }, - { "TerminalShieldFreqTooltip", "将此设置为用于护盾访问的秘密频率/密码" }, + { "TerminalShieldFreqTooltip", "将此设置为用于护盾访问的调制频率/密码" }, { "TerminalToggleShieldTitle", "护盾状态" }, - { "TerminalToggleShieldTooltip", "提升或降低护盾" }, - { "TerminalPowerScaleSelectTitle", "选择功率比例尺" }, - { "TerminalPowerScaleSelectTooltip", "选择要使用的功率比例尺" }, - { "TerminalPowerWattsTitle", "使用的能源" }, - { "TerminalPowerWattsTooltip", "选择护盾可以使用的最大的经过比例尺缩放的能源" }, + { "TerminalToggleShieldTooltip", "开关护盾" }, + { "TerminalPowerScaleSelectTitle", "选择功率倍率" }, + { "TerminalPowerScaleSelectTooltip", "选择要使用的功率倍率(单位)" }, + { "TerminalPowerWattsTitle", "功率" }, + { "TerminalPowerWattsTooltip", "护盾的最大功率" }, { "TerminalFitTitle", "护盾合身度" }, { "TerminalFitTooltip", "护盾合身度" }, { "TerminalSphereFitTitle", "球形护盾" }, { "TerminalSphereFitTooltip", "球形护盾" }, { "TerminalFortifyShieldTitle", "强化护盾" }, - { "TerminalFortifyShieldTooltip", "强化护盾" }, + { "TerminalFortifyShieldTooltip", "大幅提升护盾的综合防护能力, 但无法在移动速度过高时使用" }, { "TerminalWidthSliderTitle", "护盾尺寸 宽度" }, { "TerminalWidthSliderTooltip", "护盾尺寸 宽度" }, { "TerminalHeightSliderTitle", "护盾尺寸 高度" }, @@ -364,18 +366,18 @@ public static class Localization { "TerminalOffsetHeightSliderTooltip", "前后偏移" }, { "TerminalOffsetDepthSliderTitle", "上下偏移" }, { "TerminalOffsetDepthSliderTooltip", "上下偏移" }, - { "TerminalBatteryBoostCheckBoxTitle", "忽略电池的能源输入" }, - { "TerminalBatteryBoostCheckBoxTooltip", "允许护盾使用电池的能源来作战" }, + { "TerminalBatteryBoostCheckBoxTitle", "忽略电池能源输入" }, + { "TerminalBatteryBoostCheckBoxTooltip", "是否允许护盾使用电池的能源" }, { "TerminalSendToHudCheckBoxTitle", "广播护盾状态到 Hud 上" }, - { "TerminalSendToHudCheckBoxTooltip", "广播护盾状态到附近的友军的 Hud 上" }, - { "TerminalShellSelectTitle", "选择护盾外观" }, - { "TerminalShellSelectTooltip", "选择护盾外壳的材质" }, - { "TerminalShellVisibilityTitle", "选择护盾的可见性" }, - { "TerminalShellVisibilityTooltip", "决定护盾什么时候可以被看到" }, - { "TerminalHideActiveCheckBoxTitle", "命中时隐藏护盾的健康状况" }, - { "TerminalHideActiveCheckBoxTooltip", "命中时隐藏护盾的健康状况" }, + { "TerminalSendToHudCheckBoxTooltip", "广播护盾状态到附近友军的 Hud 上" }, + { "TerminalShellSelectTitle", "护盾外观" }, + { "TerminalShellSelectTooltip", "选择护盾的外观" }, + { "TerminalShellVisibilityTitle", "护盾可见性" }, + { "TerminalShellVisibilityTooltip", "选择护盾什么时候可以被看到" }, + { "TerminalHideActiveCheckBoxTitle", "隐藏完整度显示" }, + { "TerminalHideActiveCheckBoxTooltip", "隐藏护盾命中时的完整度提示" }, { "TerminalNoWarningSoundsCheckBoxTitle", "禁用语音警告" }, - { "TerminalNoWarningSoundsCheckBoxTooltip", "屏蔽护盾语音警告" }, + { "TerminalNoWarningSoundsCheckBoxTooltip", "禁用护盾语音警告" }, { "TerminalDimShieldHitsCheckBoxTitle", "淡化来袭特效" }, { "TerminalDimShieldHitsCheckBoxTooltip", "禁用高亮来袭特效" }, { "TerminalSideShuntingTitle", "分流护盾" }, @@ -383,21 +385,21 @@ public static class Localization { "TerminalShowShuntingTitle", "显示已分流的护盾" }, { "TerminalShowShuntingTooltip", "启用/停用 显示侧面护盾状态" }, { "TerminalTopShieldTitle", "分流顶部护盾" }, - { "TerminalTopShieldTooltip", "将顶部的护盾力量转给其他面" }, + { "TerminalTopShieldTooltip", "将顶部的护盾分流给其他面" }, { "TerminalBottomShieldTitle", "分流底部护盾" }, - { "TerminalBottomShieldTooltip", "将底部的护盾力量转给其他面" }, + { "TerminalBottomShieldTooltip", "将底部的护盾分流给其他面" }, { "TerminalLeftShieldTitle", "分流左侧护盾" }, - { "TerminalLeftShieldTooltip", "将左侧的护盾力量转给其他面" }, + { "TerminalLeftShieldTooltip", "将左侧的护盾分流给其他面" }, { "TerminalRightShieldTitle", "分流右侧护盾" }, - { "TerminalRightShieldTooltip", "将右侧的护盾力量转给其他面" }, + { "TerminalRightShieldTooltip", "将右侧的护盾分流给其他面" }, { "TerminalFrontShieldTitle", "分流前方护盾" }, - { "TerminalFrontShieldTooltip", "将前方的护盾力量转给其他面" }, + { "TerminalFrontShieldTooltip", "将前方的护盾分流给其他面" }, { "TerminalBackShieldTitle", "分流后方护盾" }, - { "TerminalBackShieldTooltip", "将后方的护盾力量转给其他面" }, - { "TerminalModDamageTitle", "屏蔽保护" }, - { "TerminalModDamageTooltip", "平衡护盾保护" }, - { "TerminalModReInforceTitle", "增强结构完整性" }, - { "TerminalModReInforceTooltip", "增强结构完整性, 防止碰撞造成损害" }, + { "TerminalBackShieldTooltip", "将后方的护盾分流给其他面" }, + { "TerminalModDamageTitle", "调整伤害抗性" }, + { "TerminalModDamageTooltip", "调整护盾对不同类型伤害的抗性" }, + { "TerminalModReInforceTitle", "碰撞防护" }, + { "TerminalModReInforceTooltip", "保护网格免受碰撞伤害, 但会极大增加武器对护盾造成的伤害" }, { "TerminalModVoxelsTitle", "护盾忽略地形" }, { "TerminalModVoxelsTooltip", "允许体素通过护盾" }, { "TerminalModGridsTitle", "实体可以通过护盾" }, @@ -405,9 +407,9 @@ public static class Localization { "TerminalModAlliesTitle", "友方玩家可以通过" }, { "TerminalModAlliesTooltip", "允许友方玩家通过护盾" }, { "TerminalPassiveModulationTitle", "聚合调制" }, - { "TerminalPassiveModulationTooltip", "比持续的混合伤害更有效" }, - { "TerminalModEmpTitle", "免受电磁脉冲伤害" }, - { "TerminalModEmpTooltip", "但是产热速度 10x" }, + { "TerminalPassiveModulationTooltip", "使护盾更有效防护混合类型的伤害" }, + { "TerminalModEmpTitle", "防护EMP伤害" }, + { "TerminalModEmpTooltip", "使护盾可防护电磁脉冲伤害, 但会极大增加产热速度" }, { "ActionDefault", "默认" }, { "ActionIncrease", "增加" }, { "ActionDecrease", "减少" }, @@ -419,8 +421,8 @@ public static class Localization { "ActionHeightDecrease", "高度减少" }, { "ActionFitIncrease", "合身度增加" }, { "ActionFitDecrease", "合身度减少" }, - { "InfoShieldMaxString", ": 最大血量: " }, - { "InfoShieldCapString", ": 上限血量: " }, + { "InfoShieldMaxString", ": 最大护盾值: " }, + { "InfoShieldCapString", ": 上限护盾值: " }, { "InfoShieldStatus", "护盾状态" }, { "InfoShieldStatus[Controller Faulty]", "[控制器错误]" }, { "InfoShieldStatus[Controller Offline]", "[控制器离线]" }, @@ -436,7 +438,7 @@ public static class Localization { "InfoShieldStatus[Shield Offline]", "[护盾离线]" }, { "InfoShieldStatus[Shield Up]", "[护盾启用]" }, { "InfoShield[Shield HP__]", "[护盾血量]" }, - { "InfoShield[HP Per Sec_]", "[每秒血量]" }, + { "InfoShield[HP Per Sec_]", "[每秒恢复]" }, { "InfoShield[Damage In__]", "[伤害]" }, { "InfoShield[Charge Rate]", "[充能速率]" }, { "InfoShield[Full Charge_]", "[完全充能]" }, @@ -478,7 +480,7 @@ public static class Localization { "InfoModulator[Remodulating Shield]", "[重新调制护盾]" }, { "InfoModulator[Backup Modulator]", "[是备份调制器]" }, { "InfoModulator[Energy Damage]", "[能量伤害]" }, - { "InfoModulator[Kinetic Damage]", "[动能损伤]" }, + { "InfoModulator[Kinetic Damage]", "[动能伤害]" }, { "InfoModulator[Emp Protection]", "[电磁脉冲防护]" }, } } @@ -518,4 +520,4 @@ internal static string GetTextWithoutFallback(string text) return I18NDictionary.TryGetValue(text, out value) ? value : text; } } -} \ No newline at end of file +} From f9e5a2aec4605f1378cb86339f3b40d2ca73cae3 Mon Sep 17 00:00:00 2001 From: enenra Date: Fri, 24 Oct 2025 23:08:21 +0200 Subject: [PATCH 4/7] Spring Cleaning * Complete overhaul of pretty much all SBCS - mostly formatting * Separated all SBC bits into their own proper files * Added Localization strings & script to load localization (by SISK) * Removed a bunch of old references to things that don't exist anymore * Set up proper BlockCategories --- Data/Audio.sbc | 146 +- Data/Audio_ShieldFX.sbc | 74 - Data/BlockVariantGroups.sbc | 36 + Data/BlocksCategories.sbc | 1307 +-- Data/BluePrintClassEntries.sbc | 6 + Data/Blueprints.sbc | 23 + Data/CompBlueprint.sbc | 55 - Data/Components.sbc | 27 + Data/CubeBlocks/DSControl.sbc | 179 + Data/CubeBlocks/DSControl_MES.sbc | 128 + Data/CubeBlocks/Emitters.sbc | 264 + Data/CubeBlocks/Emitters_MES.sbc | 120 + Data/CubeBlocks/Enhancers.sbc | 96 + Data/CubeBlocks/Modulators.sbc | 103 + Data/EntityComponents.sbc | 1 + Data/Localization/MyTexts.resx | 224 + Data/{ParticleEffects.sbc => Particles.sbc} | 955 +- Data/ResearchBlocks.sbc | 89 + Data/ResearchGroups.sbc | 53 + .../DefenseShields/LoadLocalization.cs | 78 + Data/TransparentMaterials.sbc | 8518 ++++++++--------- 21 files changed, 6341 insertions(+), 6141 deletions(-) delete mode 100644 Data/Audio_ShieldFX.sbc create mode 100644 Data/BlockVariantGroups.sbc create mode 100644 Data/BluePrintClassEntries.sbc create mode 100644 Data/Blueprints.sbc delete mode 100644 Data/CompBlueprint.sbc create mode 100644 Data/Components.sbc create mode 100644 Data/CubeBlocks/DSControl.sbc create mode 100644 Data/CubeBlocks/DSControl_MES.sbc create mode 100644 Data/CubeBlocks/Emitters.sbc create mode 100644 Data/CubeBlocks/Emitters_MES.sbc create mode 100644 Data/CubeBlocks/Enhancers.sbc create mode 100644 Data/CubeBlocks/Modulators.sbc create mode 100644 Data/Localization/MyTexts.resx rename Data/{ParticleEffects.sbc => Particles.sbc} (75%) create mode 100644 Data/ResearchBlocks.sbc create mode 100644 Data/ResearchGroups.sbc create mode 100644 Data/Scripts/DefenseShields/LoadLocalization.cs diff --git a/Data/Audio.sbc b/Data/Audio.sbc index e7ffb21..76f2e35 100644 --- a/Data/Audio.sbc +++ b/Data/Audio.sbc @@ -1,6 +1,7 @@ + MyObjectBuilder_AudioDefinition @@ -9,47 +10,48 @@ BLOCK 1000 1 - true + true 4 - + Audio\RealBlockGravityGenLoop3d.wav - - - MyObjectBuilder_AudioDefinition - DefenseShieldsSS - - BLOCK - 1000 - 1 - true + + + + MyObjectBuilder_AudioDefinition + DefenseShieldsSS + + BLOCK + 1000 + 1 + true 4 - - - Audio\RealBlockGravityGenLoop3d.wav - - - - - - MyObjectBuilder_AudioDefinition - DefenseShieldsST - - BLOCK - 1000 - 1 - true + + + Audio\RealBlockGravityGenLoop3d.wav + + + + + + + MyObjectBuilder_AudioDefinition + DefenseShieldsST + + BLOCK + 1000 + 1 + true 4 - - - Audio\RealBlockGravityGenLoop3d.wav - - - - + + + Audio\RealBlockGravityGenLoop3d.wav + + + @@ -62,12 +64,12 @@ 1 4 - + Audio\ShieldStart_3d.wav Audio\ShieldLoop_3d.wav Audio\ShieldEnd_3d.wav - + Audio\ShieldStart_2d.wav Audio\ShieldLoop_2d.wav Audio\ShieldEnd_2d.wav @@ -90,6 +92,7 @@ + @@ -105,6 +108,7 @@ + @@ -120,6 +124,7 @@ + @@ -135,6 +140,7 @@ + @@ -150,6 +156,7 @@ + @@ -165,6 +172,7 @@ + @@ -180,5 +188,71 @@ - + + + + MyObjectBuilder_AudioDefinition + ArcShieldHitFX + + Particle + 300 + 120 + 3.0 + 0 + 4 + + + Audio\Particle\ShieldHit_v601.wav + + + Audio\Particle\ShieldHit_v602.wav + + + Audio\Particle\ShieldHit_v603.wav + + + Audio\Particle\ShieldHit_v604.wav + + + Audio\Particle\ShieldHit_v605.wav + + + + + + + MyObjectBuilder_AudioDefinition + RealShieldHitFX + + R_Particle + 300 + 120 + 3.0 + 0.1 + 25 + true + 0 + 4 + realShipFilter + 0.8 + + + Audio\Particle\ShieldHit_v601.wav + + + Audio\Particle\ShieldHit_v602.wav + + + Audio\Particle\ShieldHit_v603.wav + + + Audio\Particle\ShieldHit_v604.wav + + + Audio\Particle\ShieldHit_v605.wav + + + + + diff --git a/Data/Audio_ShieldFX.sbc b/Data/Audio_ShieldFX.sbc deleted file mode 100644 index 1feeab4..0000000 --- a/Data/Audio_ShieldFX.sbc +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - MyObjectBuilder_AudioDefinition - ArcShieldHitFX - - Particle - 300 - 120 - 3.0 - 0 - 4 - - - Audio\Particle\ShieldHit_v601.wav - - - Audio\Particle\ShieldHit_v602.wav - - - Audio\Particle\ShieldHit_v603.wav - - - Audio\Particle\ShieldHit_v604.wav - - - Audio\Particle\ShieldHit_v605.wav - - - - - - MyObjectBuilder_AudioDefinition - RealShieldHitFX - - R_Particle - 300 - 120 - 3.0 - 0.1 - 25 - true - 0 - 4 - realShipFilter - 0.8 - - - Audio\Particle\ShieldHit_v601.wav - - - Audio\Particle\ShieldHit_v602.wav - - - Audio\Particle\ShieldHit_v603.wav - - - Audio\Particle\ShieldHit_v604.wav - - - Audio\Particle\ShieldHit_v605.wav - - - - - diff --git a/Data/BlockVariantGroups.sbc b/Data/BlockVariantGroups.sbc new file mode 100644 index 0000000..e617630 --- /dev/null +++ b/Data/BlockVariantGroups.sbc @@ -0,0 +1,36 @@ + + + + + + + Textures\GUI\Icons\Cubes\ShipShield_Icon.dds + DisplayName_EmitterL + Description_Emitter + + + + + + + + + + + + + + + + Textures\Icons\DS_Control_Block.dds + DisplayName_DSControlLarge + Description_DSControl + + + + + + + + + \ No newline at end of file diff --git a/Data/BlocksCategories.sbc b/Data/BlocksCategories.sbc index 4f99724..c4294de 100644 --- a/Data/BlocksCategories.sbc +++ b/Data/BlocksCategories.sbc @@ -1,1259 +1,92 @@ - - - - - - ShieldEmitters - - - - - - ShieldEmitters - - - - - - JumpDrivePlaceholder - - - - - - JumpDrivePlaceholder - - - - - - JumpDrivePlaceholder - - - - - - JumpDrivePlaceholder - - - - - - JumpDrivePlaceholder - - - - - - ShieldControllers - - - - - - ShieldControllers - - - - - - ShieldControllers - - - - - - ShieldControllers - - - - - - ShieldControllers - - - - - - ShieldEmitters - - - - - - ShieldEmitters - - - - - - ShieldEmitters - - - - - - ShieldModulation - - - - - - ShieldModulation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - Textures\GUI\Icons\Cubes\ShipShield_Icon.dds - DisplayName_BlockGroup_ShieldEmitters - Shield Emitters for stations and ships. - - - - - - - - - - - - - - - - Textures\Icons\DS_Control_Block.dds - DisplayName_BlockGroup_ControlGroup - Shield Controllers, Enhancer, and Modulator. - - - - - - - - - - - - Textures\Icons\DS_Supergen.dds - DisplayName_BlockGroup_Pressurizer - Shield Air Pressurizer. - - - - - - - - - GuiBlockCategoryDefinition - Defense Shields - DarkStar_Shield_MFG_INC + DisplayName_Category_LargeBlocks + Section1_Position1_LargeBlocks + true - UpgradeModule/DSControlLarge - UpgradeModule/EmitterL + UpgradeModule/DSControlLarge + UpgradeModule/DSControlTable + UpgradeModule/EmitterL + UpgradeModule/EmitterST + UpgradeModule/EmitterLA + UpgradeModule/LargeEnhancer + UpgradeModule/LargeShieldModulator + OxygenGenerator/DS_Supergen - - - - - - - UpgradeModule - DSControlTable - - Shield Controller Table - Textures\Icons\DS_Control.dds - Large - true - TriangleMesh - - - Models\DS\DS_Control.mwm - - - - - - - - - - - - - - - - - - - - OutsideVoxel - 0.4 - 0 - - - OutsideVoxel - 0.4 - 0.01 - - - DS_Control_Table - Y - Light - 3 - Damage_Electrical_Damaged - ParticleElectrical - Utility - 0.00002 - BlockDestroyedExplosion_Small - WepSmallWarheadExpl - - - - - - UpgradeModule - DSControlLarge - - Shield Controller - Textures\Icons\DS_Control_Block.dds - Large - true - TriangleMesh - - - Models\DS\DS_Control_Block.mwm - - - - - - - - - - - - - - - - - - - - - - - - - OutsideVoxel - 0.4 - 0 - - - OutsideVoxel - 0.4 - 0.01 - - - DS_Control - Y - Light - 3 - Damage_Electrical_Damaged - ParticleElectrical - Utility - 0.00002 - BlockDestroyedExplosion_Small - WepSmallWarheadExpl - - - - - - - UpgradeModule - DSControlSmall - - Shield Control - Textures\Icons\DS_Control_Block.dds - Small - true - TriangleMesh - - - Models\DS\DS_Control_small.mwm - - - - - - - - - - - - - - - - - - - - - - - OutsideVoxel - 0.4 - 0 - - - OutsideVoxel - 0.4 - 0.01 - - - DS_Control - Y - Light - 3 - Damage_Electrical_Damaged - ParticleElectrical - Utility - 0.00002 - BlockDestroyedExplosion_Small - WepSmallWarheadExpl - - - - - - - UpgradeModule - NPCControlLB - - NPC Shield Controller - Textures\GUI\Icons\NPCControl.dds - Large - false - false - TriangleMesh - - - Models\Cubes\NPCshieldControllerLB.mwm - - - - - - - - - - - - - - - - - - - - - - - - - OutsideVoxel - 0.4 - 0 - - - OutsideVoxel - 0.4 - 0.01 - - - NPC_Control - Y - Light - 3 - Damage_Electrical_Damaged - ParticleElectrical - Utility - 0.00002 - BlockDestroyedExplosion_Small - WepSmallWarheadExpl - - - - - - UpgradeModule - NPCControlSB - - NPC Shield Controller - Textures\GUI\Icons\NPCControl.dds - Small - false - false - TriangleMesh - - - Models\Cubes\NPCshieldControllerSB.mwm - - - - - - - - - - - - - - - - - - - - - - - - - OutsideVoxel - 0.4 - 0 - - - OutsideVoxel - 0.4 - 0.01 - - - NPC_Control - Y - Light - 3 - Damage_Electrical_Damaged - ParticleElectrical - Utility - 0.00002 - BlockDestroyedExplosion_Small - WepSmallWarheadExpl - - - - - - UpgradeModule - NPCEmitterLB - - NPC Shield Emitter - Textures\GUI\Icons\NPCEmitter.dds - Large - false - false - TriangleMesh - - - Models\Cubes\NPCshieldEmitterLB.mwm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NPC_Emitter - An emitter for ships. Must be in the open to function and have a control block to work. - Light - Z - Y - ShieldStartLoopEnd - 90 - 500 - 214 - ParticleElectrical - - - - - - UpgradeModule - NPCEmitterSB - - NPC Shield Emitter - Textures\GUI\Icons\NPCEmitter.dds - Small - false - false - TriangleMesh - - - Models\Cubes\NPCshieldEmitterSB.mwm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NPC_Emitter - An emitter for ships. Must be in the open to function and have a control block to work. - Light - Z - Y - ShieldStartLoopEnd - 90 - 500 - 214 - ParticleElectrical - - - - - - - OxygenGenerator - DSSupergen - - Shield Air Pressurizer - Textures\Icons\DS_Supergen.dds - Large - TriangleMesh - - - Models\DS\DS_Supergen.mwm - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - Light - 70 - This block pressurizes station shields for breathable atmosphere. - Reactors - Factory - 1000 - 1 - - 1 - 1 - 1 - - 0.001 - 0.56 - - - - GasProperties - Oxygen - - 10 - - - - GasProperties - Hydrogen - - 10 - - - - Ice - - Damage_WeapExpl_Damaged - ParticleWeapExpl - O2Generator - BlockOxyGenProcess - BlockOxyGenIdle - Explosion_Missile - WepSmallMissileExpl - Extended - BlockDestroyedExplosion_Small - WepSmallWarheadExpl - - - - - UpgradeModule - EmitterL - - Ship Shield Emitter - Textures\GUI\Icons\Cubes\ShipShield_Icon.dds - Large - TriangleMesh - - - Models\Cubes\large\DefenseShieldBase_Large.mwm - - - - - - - - - - - - - - - - - - - - - - - - - Emitter - An emitter for ships. Must be in the open to function and have a control block to work. - Light - Z - Y - ShieldStartLoopEnd - 90 - 500 - 214 - ParticleElectrical - - - - + - UpgradeModule - EmitterS + GuiBlockCategoryDefinition + - Ship Shield Emitter - Textures\GUI\Icons\Cubes\ShipShield_Icon.dds - Small - TriangleMesh - false - - - Models\Cubes\small\DefenseShieldBaseS_Small.mwm - - - - - - - - - - - - - - - - - - - - - - - - - Emitter - An emitter for ships. Must be in the open to function and have a control block to work. - Light - Z - Y - ShieldStartLoopEnd - 45 - 25 - 214 - ParticleElectrical - + DisplayName_Category_SmallBlocks + Section1_Position1_SmallBlocks + true + + UpgradeModule/DSControlSmall + UpgradeModule/EmitterS + UpgradeModule/EmitterSA + UpgradeModule/SmallEnhancer + UpgradeModule/SmallShieldModulator + + - - - UpgradeModule - EmitterST - - Station Shield Emitter - Textures\GUI\Icons\Cubes\ShipShield_Icon.dds - Large - TriangleMesh - - - Models\Cubes\large\DefenseShieldStation_Large.mwm - - - - - - - - - - - - - - - - - - - - - - - - - StationEmitter - This emitter only works as a station block, if converted to ship it will not function. Also allows pressurization. - Light - Z - Y - ShieldStartLoopEnd - 180 - 1000 - 214 - ParticleElectrical - - - - + - UpgradeModule - LargeShieldModulator + GuiBlockCategoryDefinition + - Shield Modulator - Textures\GUI\Icons\Cubes\ModulatorIcon.dds - Large - TriangleMesh - - - Models\Cubes\ShieldModulatorLarge.mwm - - - - - - - - - - - - - - - - - - - - ShieldModulator - Allows access to shields that have a modulation setting, set this block to the same setting as you have in the shielded grid. - Light - 8 - - - - 20000 - false - Y - Z - Metal - Default - - + DisplayName_Category_Nonarmor + Section1_Position2_Nonarmor + true + + UpgradeModule/DSControlSmall + UpgradeModule/DSControlLarge + UpgradeModule/DSControlTable + UpgradeModule/EmitterL + UpgradeModule/EmitterS + UpgradeModule/EmitterST + UpgradeModule/EmitterLA + UpgradeModule/EmitterSA + UpgradeModule/LargeEnhancer + UpgradeModule/SmallEnhancer + UpgradeModule/SmallShieldModulator + UpgradeModule/LargeShieldModulator + OxygenGenerator/DS_Supergen + + - - - UpgradeModule - SmallShieldModulator - - Shield Modulator - Textures\GUI\Icons\Cubes\ModulatorIcon.dds - Small - TriangleMesh - - - Models\Cubes\SmallModulator.mwm - - - - - - - - - - - - - - - - - ShieldModulator - Light - 8 - - - - - - - - false - Y - Z - Metal - Shield - - - - - + - UpgradeModule - LargeEnhancer + GuiBlockCategoryDefinition + - Shield Enhancer - Textures\GUI\Icons\Cubes\DamageEnhancerIcon.dds - Large - TriangleMesh - - - Models\Cubes\DamageEnhancerLarge.mwm - - - - - - - - - - - - - - - - - - ShieldEnhancer - Light - 20 - - - - false - Y - Z - Metal - Default - - + DisplayName_DefenseShields + Section1_Position3_DefenseShields + + UpgradeModule/DSControlSmall + UpgradeModule/DSControlLarge + UpgradeModule/DSControlTable + UpgradeModule/EmitterL + UpgradeModule/EmitterS + UpgradeModule/EmitterST + UpgradeModule/EmitterLA + UpgradeModule/EmitterSA + UpgradeModule/LargeEnhancer + UpgradeModule/SmallEnhancer + UpgradeModule/SmallShieldModulator + UpgradeModule/LargeShieldModulator + OxygenGenerator/DS_Supergen + + - - - UpgradeModule - SmallEnhancer - - Shield Enhancer - Textures\GUI\Icons\Cubes\DamageEnhancerIcon.dds - Small - TriangleMesh - - - Models\Cubes\DamageEnhancerSmall.mwm - - - - - - - - - - - - - - - - - - ShieldEnhancer - Light - 20 - - - - false - Y - Z - Metal - Default - - - - - - UpgradeModule - EmitterLA - - Ship Shield Emitter - Textures\GUI\Icons\Cubes\ArmoredEmitterIcon.dds - Large - TriangleMesh - - - Models\Cubes\ArmoredEmitterLarge.mwm - - - - - - - - - - - - - - - - - - - - - - - CompactEmitter - Light - 20 - - - - - - - - true - Y - Z - Metal - Default - - - - UpgradeModule - EmitterSA - - Shield Compact Emitter - Textures\GUI\Icons\Cubes\ArmoredEmitterIcon.dds - Small - TriangleMesh - - - Models\Cubes\ArmoredEmitterSmall.mwm - - - - - - - - - - - - - - - - - - - - - - - CompactEmitter - Light - 20 - - - - - - - - true - Y - Z - Metal - Default - - - + diff --git a/Data/BluePrintClassEntries.sbc b/Data/BluePrintClassEntries.sbc new file mode 100644 index 0000000..fd4e496 --- /dev/null +++ b/Data/BluePrintClassEntries.sbc @@ -0,0 +1,6 @@ + + + + + + diff --git a/Data/Blueprints.sbc b/Data/Blueprints.sbc new file mode 100644 index 0000000..68aa37e --- /dev/null +++ b/Data/Blueprints.sbc @@ -0,0 +1,23 @@ + + + + + + + BlueprintDefinition + ShieldComponentBP + + DisplayName_ShieldComponentBP + Textures\Icons\Shield_Comp1.dds + + + + + + + + 7 + + + + diff --git a/Data/CompBlueprint.sbc b/Data/CompBlueprint.sbc deleted file mode 100644 index be3f6c3..0000000 --- a/Data/CompBlueprint.sbc +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - BlueprintDefinition - ShieldComponentBP - - Field Emitter - Textures\Icons\Shield_Comp1.dds - - - - - - - - - 7 - - - - - - - - Component - ShieldComponent - - Field Emitter - Textures\Icons\Shield_Comp1.dds - - 0.05 - 0.05 - 0.03 - - 0.31 - 0.85 - Models\Components\Shield_Comp1.mwm - Metal - - 100 - 0.3 - - 100 - - - - - - - - diff --git a/Data/Components.sbc b/Data/Components.sbc new file mode 100644 index 0000000..17c9183 --- /dev/null +++ b/Data/Components.sbc @@ -0,0 +1,27 @@ + + + + + + + Component + ShieldComponent + + DisplayName_ShieldComponent + Textures\Icons\Shield_Comp1.dds + + 0.05 + 0.05 + 0.03 + + 0.31 + 0.85 + Models\Components\Shield_Comp1.mwm + Metal + 100 + 0.3 + 100 + + + + diff --git a/Data/CubeBlocks/DSControl.sbc b/Data/CubeBlocks/DSControl.sbc new file mode 100644 index 0000000..9758d95 --- /dev/null +++ b/Data/CubeBlocks/DSControl.sbc @@ -0,0 +1,179 @@ + + + + + + + UpgradeModule + DSControlTable + + DisplayName_DSControlTable + Description_DSControl + Textures\Icons\DS_Control.dds + Large + false + TriangleMesh + + + Models\DS\DS_Control.mwm + + + + + + + + + + + + + + + + + + + OutsideVoxel + 0.4 + 0 + + + OutsideVoxel + 0.4 + 0.01 + + + DS_Control_Table + Y + Light + 3 + Damage_Electrical_Damaged + ParticleElectrical + Utility + 0.00002 + BlockDestroyedExplosion_Small + WepSmallWarheadExpl + + + + + + UpgradeModule + DSControlLarge + + DisplayName_DSControlLarge + Description_DSControl + Textures\Icons\DS_Control_Block.dds + Large + false + TriangleMesh + + + Models\DS\DS_Control_Block.mwm + + + + + + + + + + + + + + + + + + + + + + + + OutsideVoxel + 0.4 + 0 + + + OutsideVoxel + 0.4 + 0.01 + + + DS_Control + Y + Light + 3 + Damage_Electrical_Damaged + ParticleElectrical + Utility + 0.00002 + BlockDestroyedExplosion_Small + WepSmallWarheadExpl + + + + + + UpgradeModule + DSControlSmall + + DisplayName_DSControlSmall + Description_DSControl + Textures\Icons\DS_Control_Block.dds + Small + false + TriangleMesh + + + Models\DS\DS_Control_small.mwm + + + + + + + + + + + + + + + + + + + + + + OutsideVoxel + 0.4 + 0 + + + OutsideVoxel + 0.4 + 0.01 + + + DS_Control + Y + Light + 3 + Damage_Electrical_Damaged + ParticleElectrical + Utility + 0.00002 + BlockDestroyedExplosion_Small + WepSmallWarheadExpl + + + + + \ No newline at end of file diff --git a/Data/CubeBlocks/DSControl_MES.sbc b/Data/CubeBlocks/DSControl_MES.sbc new file mode 100644 index 0000000..f8d5ebd --- /dev/null +++ b/Data/CubeBlocks/DSControl_MES.sbc @@ -0,0 +1,128 @@ + + + + + + + UpgradeModule + NPCControlLB + + DisplayName_NPCControlLB + Description_DSControl + Textures\GUI\Icons\NPCControl.dds + Large + false + false + TriangleMesh + + + Models\Cubes\NPCshieldControllerLB.mwm + + + + + + + + + + + + + + + + + + + + + + + + OutsideVoxel + 0.4 + 0 + + + OutsideVoxel + 0.4 + 0.01 + + + NPC_Control + Y + Light + 3 + Damage_Electrical_Damaged + ParticleElectrical + Utility + 0.00002 + BlockDestroyedExplosion_Small + WepSmallWarheadExpl + + + + + + UpgradeModule + NPCControlSB + + DisplayName_NPCControlSB + Description_DSControl + Textures\GUI\Icons\NPCControl.dds + Small + false + false + TriangleMesh + + + Models\Cubes\NPCshieldControllerSB.mwm + + + + + + + + + + + + + + + + + + + + + + + + OutsideVoxel + 0.4 + 0 + + + OutsideVoxel + 0.4 + 0.01 + + + NPC_Control + Y + Light + 3 + Damage_Electrical_Damaged + ParticleElectrical + Utility + 0.00002 + BlockDestroyedExplosion_Small + WepSmallWarheadExpl + + + + + diff --git a/Data/CubeBlocks/Emitters.sbc b/Data/CubeBlocks/Emitters.sbc new file mode 100644 index 0000000..2932d3a --- /dev/null +++ b/Data/CubeBlocks/Emitters.sbc @@ -0,0 +1,264 @@ + + + + + + + UpgradeModule + EmitterL + + DisplayName_EmitterL + Description_Emitter + Textures\GUI\Icons\Cubes\ShipShield_Icon.dds + Large + false + TriangleMesh + + + Models\Cubes\large\DefenseShieldBase_Large.mwm + + + + + + + + + + + + + + + + + + + + + + + + + Emitter + An emitter for ships. Must be in the open to function and have a control block to work. + Light + Z + Y + ShieldStartLoopEnd + 90 + 500 + 214 + ParticleElectrical + + + + + + UpgradeModule + EmitterS + + DisplayName_EmitterS + Description_Emitter + Textures\GUI\Icons\Cubes\ShipShield_Icon.dds + Small + false + TriangleMesh + false + + + Models\Cubes\small\DefenseShieldBaseS_Small.mwm + + + + + + + + + + + + + + + + + + + + + + + + + Emitter + An emitter for ships. Must be in the open to function and have a control block to work. + Light + Z + Y + ShieldStartLoopEnd + 45 + 25 + 214 + ParticleElectrical + + + + + UpgradeModule + EmitterST + + DisplayName_EmitterST + Description_EmitterST + Textures\GUI\Icons\Cubes\ShipShield_Icon.dds + Large + false + TriangleMesh + + + Models\Cubes\large\DefenseShieldStation_Large.mwm + + + + + + + + + + + + + + + + + + + + + + + + + StationEmitter + This emitter only works as a station block, if converted to ship it will not function. Also allows pressurization. + Light + Z + Y + ShieldStartLoopEnd + 180 + 1000 + 214 + ParticleElectrical + + + + + UpgradeModule + EmitterLA + + DisplayName_EmitterLA + Description_Emitter + Textures\GUI\Icons\Cubes\ArmoredEmitterIcon.dds + Large + false + TriangleMesh + + + Models\Cubes\ArmoredEmitterLarge.mwm + + + + + + + + + + + + + + + + + + + + + + + CompactEmitter + Light + 20 + + + + + + + + true + Y + Z + Metal + Default + + + + + UpgradeModule + EmitterSA + + DisplayName_EmitterSA + Description_Emitter + Textures\GUI\Icons\Cubes\ArmoredEmitterIcon.dds + Small + false + TriangleMesh + + + Models\Cubes\ArmoredEmitterSmall.mwm + + + + + + + + + + + + + + + + + + + + + + + CompactEmitter + Light + 20 + + + + + + + + true + Y + Z + Metal + Default + + + + diff --git a/Data/CubeBlocks/Emitters_MES.sbc b/Data/CubeBlocks/Emitters_MES.sbc new file mode 100644 index 0000000..e2507d8 --- /dev/null +++ b/Data/CubeBlocks/Emitters_MES.sbc @@ -0,0 +1,120 @@ + + + + + + + UpgradeModule + NPCEmitterLB + + DisplayName_EmitterLB + Description_Emitter + Textures\GUI\Icons\NPCEmitter.dds + Large + false + false + TriangleMesh + + + Models\Cubes\NPCshieldEmitterLB.mwm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NPC_Emitter + An emitter for ships. Must be in the open to function and have a control block to work. + Light + Z + Y + ShieldStartLoopEnd + 90 + 500 + 214 + ParticleElectrical + + + + + + UpgradeModule + NPCEmitterSB + + DisplayName_EmitterSB + Description_Emitter + Textures\GUI\Icons\NPCEmitter.dds + Small + false + false + TriangleMesh + + + Models\Cubes\NPCshieldEmitterSB.mwm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NPC_Emitter + An emitter for ships. Must be in the open to function and have a control block to work. + Light + Z + Y + ShieldStartLoopEnd + 90 + 500 + 214 + ParticleElectrical + + + + + diff --git a/Data/CubeBlocks/Enhancers.sbc b/Data/CubeBlocks/Enhancers.sbc new file mode 100644 index 0000000..f162ac3 --- /dev/null +++ b/Data/CubeBlocks/Enhancers.sbc @@ -0,0 +1,96 @@ + + + + + + + UpgradeModule + LargeEnhancer + + DisplayName_LargeEnhancer + Description_ShieldEnhancer + Textures\GUI\Icons\Cubes\DamageEnhancerIcon.dds + Large + false + TriangleMesh + + + Models\Cubes\DamageEnhancerLarge.mwm + + + + + + + + + + + + + + + + + + ShieldEnhancer + Light + 20 + + + + false + Y + Z + Metal + Default + + + + + + UpgradeModule + SmallEnhancer + + DisplayName_SmallEnhancer + Description_ShieldEnhancer + Textures\GUI\Icons\Cubes\DamageEnhancerIcon.dds + Small + false + TriangleMesh + + + Models\Cubes\DamageEnhancerSmall.mwm + + + + + + + + + + + + + + + + + + ShieldEnhancer + Light + 20 + + + + false + Y + Z + Metal + Default + + + + + diff --git a/Data/CubeBlocks/Modulators.sbc b/Data/CubeBlocks/Modulators.sbc new file mode 100644 index 0000000..6b70ff0 --- /dev/null +++ b/Data/CubeBlocks/Modulators.sbc @@ -0,0 +1,103 @@ + + + + + + + UpgradeModule + LargeShieldModulator + + DisplayName_LargeShieldModulator + Description_ShieldModulator + Textures\GUI\Icons\Cubes\ModulatorIcon.dds + Large + false + TriangleMesh + + + Models\Cubes\ShieldModulatorLarge.mwm + + + + + + + + + + + + + + + + + + + + ShieldModulator + Allows access to shields that have a modulation setting, set this block to the same setting as you have in the shielded grid. + Light + 8 + + + + 20000 + false + Y + Z + Metal + Default + + + + + + UpgradeModule + SmallShieldModulator + + DisplayName_SmallShieldModulator + Description_ShieldModulator + Textures\GUI\Icons\Cubes\ModulatorIcon.dds + Small + false + TriangleMesh + + + Models\Cubes\SmallModulator.mwm + + + + + + + + + + + + + + + + + ShieldModulator + Light + 8 + + + + + + + + false + Y + Z + Metal + Shield + + + + + diff --git a/Data/EntityComponents.sbc b/Data/EntityComponents.sbc index bfe3ef0..cb6fb3f 100644 --- a/Data/EntityComponents.sbc +++ b/Data/EntityComponents.sbc @@ -1,3 +1,4 @@ + diff --git a/Data/Localization/MyTexts.resx b/Data/Localization/MyTexts.resx new file mode 100644 index 0000000..fb63d67 --- /dev/null +++ b/Data/Localization/MyTexts.resx @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + Defense Shields + + + + + Field Emitter + + + + Field Emitter + + + + + Shield Controller Table + + + + Shield Controller + + + + NPC Shield Controller + + + + Small Shield Controller + + + + Small NPC Shield Controller + + + + Shield Controllers enable the configuration of a shield projected onto a grid by a Shield Emitter. + + + + + Ship Shield Emitter + + + + NPC Ship Shield Emitter + + + + Small Ship Shield Emitter + + + + Small NPC Ship Shield Emitter + + + + Compact Shield Emitter + + + + Small Compact Shield Emitter + + + + Ship Shield Emitters project a shield onto a dynamic grid if a Shield Controller block is also present. They do not work on static grids. + + + + + Station Shield Emitter + + + + Station Shield Emitters project a shield onto a static grid if a Shield Controller block is also present. They do not work on non-static grids. + + + + + Shield Enhancer + + + + Small Shield Enhancer + + + + Shield Enhancers increase the strenght of a shield in return for heightened energy consumption. + + + + + Shield Modulator + + + + Small Shield Modulator + + + + Shield modulators allow for the tuning of a shield against specific sources of damage. + + + + \ No newline at end of file diff --git a/Data/ParticleEffects.sbc b/Data/Particles.sbc similarity index 75% rename from Data/ParticleEffects.sbc rename to Data/Particles.sbc index 6ad83e8..8962223 100644 --- a/Data/ParticleEffects.sbc +++ b/Data/Particles.sbc @@ -540,40 +540,40 @@ ParticleEffect - ShieldImpact + ShieldImpact - 1 - 1657 - 1 - 0 - 1 - false + 1 + 1657 + 1 + 0 + 1 + false - - - GPU + + + GPU - + - 4 - 4 + 4 + 4 0 - - 6 + 6 - + 1 - + @@ -620,7 +620,7 @@ - + @@ -647,10 +647,10 @@ - + 0.5 - + @@ -694,7 +694,7 @@ - + @@ -702,14 +702,14 @@ - + 0 1 0 - + @@ -717,7 +717,7 @@ - + @@ -725,7 +725,7 @@ - + @@ -733,7 +733,7 @@ - + @@ -741,14 +741,14 @@ - + 0 0 0 - + @@ -775,10 +775,10 @@ - + 0 - + @@ -805,22 +805,22 @@ - + 0.6 - + 1 - + 1 - + 0.9 - + true - + @@ -844,76 +844,76 @@ - + Atlas_E_01 - + 1 - + false - + false - + false - + false - + 0 - + 0 - + 0 0 0 - + 119 - + 0 - + 0 - + true - + 1 - + 0 - + true 1 - + 0 0 0 - + 0 0 0 - + @@ -940,7 +940,7 @@ - + @@ -964,10 +964,10 @@ - + 0 - + @@ -994,10 +994,10 @@ - + 0 - + false @@ -1006,19 +1006,19 @@ 0 - + 0 - + 1 - + 0 - - + + @@ -1130,7 +1130,7 @@ - + ParticleEffect @@ -1667,418 +1667,413 @@ - - - - ParticleEffect - PlasmaArc1 - - 0 - 1224 - 12 - 12 - 12 - 5000 - true - - - - GPU - - - - 32 - 16 - 0 - - - - 448 - - - 32 - - - - - - - - - - - 0 - .4 - 0 - .2 - - - - - - 0.1960784 - .4 - 0 - .2 - - - - - - 0 - .4 - 0 - .2 - - - - - - 0 - .4 - 0 - .2 - - - - - - - - - - - - - - - - 1 - - - - 100 - - - - 100 - - - - 1 - - - - - - - - 0.5 - - - - - - - 0 - 0 - 5 - - - - - - - - - 0 - - - - - - 0 - 0 - 90 - - - - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - - - - - 360 - - - - - - 0 - 0 - 0 - - - - - - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - - - - 0 - - - - - - - - - - 0.1 - - - - 0.38 - - - - 0.38 - - - - 0.1 - - - - - - - - 0.05 - - - 1 - - - 4 - - - 0.03 - - - true - - - - - - 6 - - - - - Atlas_D_01 - - - 1 - - - false - - - false - - - false - - - false - - - 1 - - - 0 - - - - 0 - -1.5 - 0.1 - - - - 0 - - - 0 - - - false - - - 1 - - - 0 - - - true - - - 0 - - - - 45 - 0 - 0 - - - - - 0 - 0 - 0 - - - - - - - - - - - 1 - - - - 1 - - - - 1 - - - - 1 - - - - - - - - - - - 0.01 - - - - - - - - - - 50 - - - - 50 - - - - 50 - - - - 0 - - - - - - - - 5 - - - false - - - false - - - 1 - - - 0 - - - 1 - - - 0 - - - 0 - - - - - - - - - + + + + ParticleEffect + PlasmaArc1 + + 0 + 1224 + 12 + 12 + 12 + 5000 + true + - + + GPU + + + + 32 + 16 + 0 + + + + 448 + + + 32 + + + + + + + + + + + 0 + .4 + 0 + .2 + + + + + + 0.1960784 + .4 + 0 + .2 + + + + + + 0 + .4 + 0 + .2 + + + + + + 0 + .4 + 0 + .2 + + + + + + + + + + + + + + + + 1 + + + + 100 + + + + 100 + + + + 1 + + + + + + + + 0.5 + + + + + + + 0 + 0 + 5 + + + + + + + + + 0 + + + + + + 0 + 0 + 90 + + + + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + + + + + 360 + + + + + + 0 + 0 + 0 + + + + + + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + + + + + + + 0.1 + + + + 0.38 + + + + 0.38 + + + + 0.1 + + + + + + + + 0.05 + + + 1 + + + 4 + + + 0.03 + + + true + + + + + + 6 + + + + + Atlas_D_01 + + + 1 + + + false + + + false + + + false + + + false + + + 1 + + + 0 + + + + 0 + -1.5 + 0.1 + + + + 0 + + + 0 + + + false + + + 1 + + + 0 + + + true + + + 0 + + + + 45 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + + + + + + + 0.01 + + + + + + + + + + 50 + + + + 50 + + + + 50 + + + + 0 + + + + + + + + 5 + + + false + + + false + + + 1 + + + 0 + + + 1 + + + 0 + + + 0 + + + + + + diff --git a/Data/ResearchBlocks.sbc b/Data/ResearchBlocks.sbc new file mode 100644 index 0000000..a472a7b --- /dev/null +++ b/Data/ResearchBlocks.sbc @@ -0,0 +1,89 @@ + + + + + + + ShieldEmitters + + + + + + ShieldEmitters + + + + + + JumpDrivePlaceholder + + + + + + JumpDrivePlaceholder + + + + + + JumpDrivePlaceholder + + + + + + ShieldControllers + + + + + + ShieldControllers + + + + + + ShieldControllers + + + + + + ShieldControllers + + + + + + ShieldControllers + + + + + + ShieldEmitters + + + + + + ShieldEmitters + + + + + + ShieldModulation + + + + + + ShieldModulation + + + + \ No newline at end of file diff --git a/Data/ResearchGroups.sbc b/Data/ResearchGroups.sbc new file mode 100644 index 0000000..05d173c --- /dev/null +++ b/Data/ResearchGroups.sbc @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Data/Scripts/DefenseShields/LoadLocalization.cs b/Data/Scripts/DefenseShields/LoadLocalization.cs new file mode 100644 index 0000000..b8378ac --- /dev/null +++ b/Data/Scripts/DefenseShields/LoadLocalization.cs @@ -0,0 +1,78 @@ +using System.Collections.Generic; +using System.IO; +using System.Linq; +using Sandbox.ModAPI; +using VRage; +using VRage.Game.Components; + +namespace SISK.LoadLocalization + +{ /// + /// Main session component. + /// + [MySessionComponentDescriptor(MyUpdateOrder.NoUpdate)] + public class Mod : MySessionComponentBase + { + + /// + /// Language used to localize this mod. + /// + public MyLanguagesEnum? Language { get; private set; } + + /// + /// Create localizations. + /// + public override void LoadData() + { + LoadLocalization(); + + MyAPIGateway.Gui.GuiControlRemoved += OnGuiControlRemoved; + } + + /// + /// Unloads all data. + /// + protected override void UnloadData() + { + MyAPIGateway.Gui.GuiControlRemoved -= OnGuiControlRemoved; + } + + /// + /// Load localizations for this mod. + /// + private void LoadLocalization() + { + var path = Path.Combine(ModContext.ModPathData, "Localization"); + var supportedLanguages = new HashSet(); + MyTexts.LoadSupportedLanguages(path, supportedLanguages); + + var currentLanguage = supportedLanguages.Contains(MyAPIGateway.Session.Config.Language) ? MyAPIGateway.Session.Config.Language : MyLanguagesEnum.English; + if (Language != null && Language == currentLanguage) + { + return; + } + + Language = currentLanguage; + var languageDescription = MyTexts.Languages.Where(x => x.Key == currentLanguage).Select(x => x.Value).FirstOrDefault(); + if (languageDescription != null) + { + var cultureName = string.IsNullOrWhiteSpace(languageDescription.CultureName) ? null : languageDescription.CultureName; + var subcultureName = string.IsNullOrWhiteSpace(languageDescription.SubcultureName) ? null : languageDescription.SubcultureName; + + MyTexts.LoadTexts(path, cultureName, subcultureName); + } + } + + /// + /// Event triggered on gui control removed. + /// Used to detect if Option screen is closed and then to reload localization. + /// + private void OnGuiControlRemoved(object obj) + { + if (obj.ToString().EndsWith("ScreenOptionsSpace")) + { + LoadLocalization(); + } + } + } +} \ No newline at end of file diff --git a/Data/TransparentMaterials.sbc b/Data/TransparentMaterials.sbc index ecb359b..dc2965c 100644 --- a/Data/TransparentMaterials.sbc +++ b/Data/TransparentMaterials.sbc @@ -1,51 +1,51 @@ - - - TransparentMaterialDefinition - EnglishFontMono - - false - 1 - false - false - 1 - Textures\GUI\EnglishFontMono.dds - false - 0 - - 0 - 0 - - - 1 - 1 - - - - - - TransparentMaterialDefinition - EnglishFontShadow - - false - 1 - false - false - 1 - Textures\GUI\EnglishFontShadow.dds - false - 0 - - 0 - 0 - - - 1 - 1 - - + + + TransparentMaterialDefinition + EnglishFontMono + + false + 1 + false + false + 1 + Textures\GUI\EnglishFontMono.dds + false + 0 + + 0 + 0 + + + 1 + 1 + + + + + + TransparentMaterialDefinition + EnglishFontShadow + + false + 1 + false + false + 1 + Textures\GUI\EnglishFontShadow.dds + false + 0 + + 0 + 0 + + + 1 + 1 + + TransparentMaterialDefinition @@ -211,7 +211,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass @@ -266,7 +266,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass11 @@ -321,7 +321,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass10 @@ -376,7 +376,7 @@ false - + TransparentMaterialDefinition ShieldRedirectGlass @@ -412,7 +412,7 @@ 0.175 - 0 + 0 0 0 0 @@ -438,7 +438,7 @@ - + TransparentMaterialDefinition ShieldPassiveGlass09 @@ -493,7 +493,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass08 @@ -548,7 +548,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass07 @@ -603,7 +603,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass06 @@ -658,7 +658,7 @@ false - + TransparentMaterialDefinition ShieldPassiveGlass05 @@ -825,59 +825,59 @@ false - - - TransparentMaterialDefinition - DS_HUD - - false - 1 - false - false - 1 - Textures\Models\Cubes\DS_HUD.dds - - false - true - - 0 - 0 - - - 1 - 1 - - - 1 - 1 - 1 - 1 - - - 0.0 - 0.0 - 0.0 - .1 - - - 1 - 1 - 1 - 1 - - - 1 - 1 - 1 - 1 - - 0 - 0 - 0 - 0.0 - 20 - false - + + + TransparentMaterialDefinition + DS_HUD + + false + 1 + false + false + 1 + Textures\Models\Cubes\DS_HUD.dds + + false + true + + 0 + 0 + + + 1 + 1 + + + 1 + 1 + 1 + 1 + + + 0.0 + 0.0 + 0.0 + .1 + + + 1 + 1 + 1 + 1 + + + 1 + 1 + 1 + 1 + + 0 + 0 + 0 + 0.0 + 20 + false + @@ -934,7 +934,7 @@ 0 false - + TransparentMaterialDefinition DS_ShieldInside @@ -1044,7 +1044,7 @@ true - + TransparentMaterialDefinition @@ -1737,1083 +1737,17 @@ false - - - TransparentMaterialDefinition - DS_ShieldHeal10 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal10.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal20 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal20.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal30 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal30.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldHeal40 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal40.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal50 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal50.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal60 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal60.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal70 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal70.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal80 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal80.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal90 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal90.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldHeal100 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHeal100.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldDps10 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps10.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps20 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps20.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldDps30 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps30.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldDps40 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps40.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps50 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps50.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps60 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps60.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps70 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps70.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps80 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps80.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps90 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps90.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0.1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldDps100 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldDps100.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .95 - .95 - .95 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - TransparentMaterialDefinition - DS_ShieldHeat10 + DS_ShieldHeal10 false 1 false false 1 - Textures\Icons\DS_ShieldHeat10.dds + Textures\Icons\DS_ShieldHeal10.dds false true @@ -2825,9 +1759,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -2859,14 +1793,14 @@ TransparentMaterialDefinition - DS_ShieldHeat20 + DS_ShieldHeal20 false 1 false false 1 - Textures\Icons\DS_ShieldHeat20.dds + Textures\Icons\DS_ShieldHeal20.dds false true @@ -2878,9 +1812,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -2912,14 +1846,14 @@ TransparentMaterialDefinition - DS_ShieldHeat30 + DS_ShieldHeal30 false 1 false false 1 - Textures\Icons\DS_ShieldHeat30.dds + Textures\Icons\DS_ShieldHeal30.dds false true @@ -2931,9 +1865,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -2966,14 +1900,14 @@ TransparentMaterialDefinition - DS_ShieldHeat40 + DS_ShieldHeal40 false 1 false false 1 - Textures\Icons\DS_ShieldHeat40.dds + Textures\Icons\DS_ShieldHeal40.dds false true @@ -2985,9 +1919,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3019,14 +1953,14 @@ TransparentMaterialDefinition - DS_ShieldHeat50 + DS_ShieldHeal50 false 1 false false 1 - Textures\Icons\DS_ShieldHeat50.dds + Textures\Icons\DS_ShieldHeal50.dds false true @@ -3038,9 +1972,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3072,14 +2006,14 @@ TransparentMaterialDefinition - DS_ShieldHeat60 + DS_ShieldHeal60 false 1 false false 1 - Textures\Icons\DS_ShieldHeat60.dds + Textures\Icons\DS_ShieldHeal60.dds false true @@ -3091,9 +2025,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3125,14 +2059,14 @@ TransparentMaterialDefinition - DS_ShieldHeat70 + DS_ShieldHeal70 false 1 false false 1 - Textures\Icons\DS_ShieldHeat70.dds + Textures\Icons\DS_ShieldHeal70.dds false true @@ -3144,9 +2078,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3178,14 +2112,14 @@ TransparentMaterialDefinition - DS_ShieldHeat80 + DS_ShieldHeal80 false 1 false false 1 - Textures\Icons\DS_ShieldHeat80.dds + Textures\Icons\DS_ShieldHeal80.dds false true @@ -3197,9 +2131,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3231,14 +2165,14 @@ TransparentMaterialDefinition - DS_ShieldHeat90 + DS_ShieldHeal90 false 1 false false 1 - Textures\Icons\DS_ShieldHeat90.dds + Textures\Icons\DS_ShieldHeal90.dds false true @@ -3250,9 +2184,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3284,14 +2218,14 @@ TransparentMaterialDefinition - DS_ShieldHeat100 + DS_ShieldHeal100 false 1 false false 1 - Textures\Icons\DS_ShieldHeat100.dds + Textures\Icons\DS_ShieldHeal100.dds false true @@ -3303,9 +2237,9 @@ 1 - .85 - .85 - .85 + .95 + .95 + .95 1 @@ -3335,386 +2269,91 @@ false - - - TransparentMaterialDefinition - DS_ShieldRedirectLeft - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldRedirectLeft.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldRedirectRight - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldRedirectRight.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldRedirectUp - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldRedirectUp.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldRedirectDown - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldRedirectDown.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldRedirectFront - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldRedirectFront.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldRedirectBack - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldRedirectBack.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ImpactRing - - false - 1 - false - true - 0 - Textures\DS_ImpactRing.dds - false - - 0 - 0 - - - 1 - 1 - - 0 - - - TransparentMaterialDefinition - Station + DS_ShieldDps10 false 1 - true + false false 1 - Textures\Particles\SquareWindowDirtInside_ca.dds - Textures\Models\Cubes\AluminiumGlossy_ng.dds + Textures\Icons\DS_ShieldDps10.dds false true + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + 0 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps20 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps20.dds + false + true + + 1 + 1 1 1 - 5.35 - 6.25 - 12.5 - 0.5 + .95 + .95 + .95 + 1 0 0 0 - 0 + 0.1 0 @@ -3729,2702 +2368,4063 @@ 0 0 - 5 - 1 - 0.4 - 0.5 - 255 + 0 + 0 + 0 + 0 + 0 false - - - TransparentMaterialDefinition - DS_ShieldVenting - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldVenting.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - - - - TransparentMaterialDefinition - DS_ShieldKinetic1 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic1.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic2 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic2.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic3 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic3.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic4 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic4.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic5 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic5.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic6 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic6.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic7 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic7.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic8 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic8.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldKinetic9 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic9.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldKinetic10 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldKinetic10.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_KineticEnergyNeutral - - false - 1 - false - false - 1 - Textures\Icons\DS_KineticEnergyNeutral.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldEnergy1 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy1.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy2 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy2.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy3 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy3.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy4 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy4.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy5 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy5.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy6 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy6.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy7 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy7.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy8 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy8.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy9 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy9.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - TransparentMaterialDefinition - DS_ShieldEnergy10 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldEnergy10.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - - TransparentMaterialDefinition - DS_ShieldPenLess1Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen1.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen1Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen2.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen2Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen3.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen5Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen4.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen10Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen5.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen20Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen6.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen30Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen7.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPen40Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen8.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldPenGreater50Percent - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldPen9.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldHPLoss5 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss5.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldHPLoss10 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss10.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldHPLoss15 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss15.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - - - - - TransparentMaterialDefinition - DS_ShieldHPLoss20 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss20.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldDps30 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps30.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldDps40 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps40.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps50 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps50.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps60 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps60.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps70 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps70.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps80 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps80.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps90 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps90.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldDps100 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldDps100.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .95 + .95 + .95 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + + TransparentMaterialDefinition + DS_ShieldHeat10 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat10.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat20 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat20.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat30 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat30.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldHeat40 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat40.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat50 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat50.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat60 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat60.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat70 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat70.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat80 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat80.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat90 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat90.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0.1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldHeat100 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHeat100.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldRedirectLeft + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldRedirectLeft.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldRedirectRight + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldRedirectRight.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldRedirectUp + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldRedirectUp.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldRedirectDown + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldRedirectDown.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + + TransparentMaterialDefinition + DS_ShieldRedirectFront + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldRedirectFront.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldRedirectBack + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldRedirectBack.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ImpactRing + + false + 1 + false + true + 0 + Textures\DS_ImpactRing.dds + false + + 0 + 0 + + + 1 + 1 + + 0 + + + + + TransparentMaterialDefinition + Station + + false + 1 + true + false + 1 + Textures\Particles\SquareWindowDirtInside_ca.dds + Textures\Models\Cubes\AluminiumGlossy_ng.dds + false + true + + 0 + 0 + + + 1 + 1 + + + 5.35 + 6.25 + 12.5 + 0.5 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 5 + 1 + 0.4 + 0.5 + 255 + false + + + + + TransparentMaterialDefinition + DS_ShieldVenting + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldVenting.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + + + + TransparentMaterialDefinition + DS_ShieldKinetic1 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic1.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic2 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic2.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic3 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic3.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic4 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic4.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic5 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic5.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic6 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic6.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic7 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic7.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic8 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic8.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldKinetic9 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic9.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldKinetic10 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldKinetic10.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_KineticEnergyNeutral + + false + 1 + false + false + 1 + Textures\Icons\DS_KineticEnergyNeutral.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldEnergy1 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy1.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy2 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy2.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy3 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy3.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy4 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy4.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy5 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy5.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy6 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy6.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy7 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy7.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy8 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy8.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy9 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy9.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + TransparentMaterialDefinition + DS_ShieldEnergy10 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldEnergy10.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + + TransparentMaterialDefinition + DS_ShieldPenLess1Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen1.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen1Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen2.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen2Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen3.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen5Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen4.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen10Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen5.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen20Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen6.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen30Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen7.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPen40Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen8.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldPenGreater50Percent + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldPen9.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldHPLoss5 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss5.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldHPLoss10 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss10.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldHPLoss15 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss15.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + + + + + TransparentMaterialDefinition + DS_ShieldHPLoss20 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss20.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss25 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss25.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss25 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss25.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss30 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss30.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss30 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss30.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss35 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss35.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss35 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss35.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss40 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss40.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss40 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss40.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss45 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss45.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss45 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss45.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss50 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss50.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss50 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss50.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss55 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss55.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss55 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss55.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss60 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss60.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss60 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss60.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss65 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss65.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss65 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss65.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss70 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss70.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss70 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss70.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss75 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss75.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss75 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss75.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss80 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss80.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss80 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss80.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss85 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss85.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss85 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss85.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss90 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss90.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss90 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss90.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - - - TransparentMaterialDefinition - DS_ShieldHPLoss95 - - false - 1 - false - false - 1 - Textures\Icons\DS_ShieldHPLoss95.dds - false - true - - 1 - 1 - - - 1 - 1 - - - .85 - .85 - .85 - 1 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - 0 - 0 - 0 - 0 - 0 - false - + + + TransparentMaterialDefinition + DS_ShieldHPLoss95 + + false + 1 + false + false + 1 + Textures\Icons\DS_ShieldHPLoss95.dds + false + true + + 1 + 1 + + + 1 + 1 + + + .85 + .85 + .85 + 1 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + false + - + TransparentMaterialDefinition DS_ShieldFortify From 4d3682c1e75aa7feead09518ac912aaf6a404613 Mon Sep 17 00:00:00 2001 From: BDCarrillo <90526940+BDCarrillo@users.noreply.github.com> Date: Fri, 24 Oct 2025 17:22:36 -0500 Subject: [PATCH 5/7] hexed --- Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs | 2 ++ Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs | 1 + Data/Scripts/DefenseShields/SupportClasses/Render.cs | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs index 2cb7f41..5bbbb40 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldFields.cs @@ -365,6 +365,8 @@ public enum PlayerNotice internal bool EntCleanUpTime { get; set; } internal bool ShieldActive { get; set; } internal bool ClientInitPacket { get; set; } + internal bool SuppressHex { get; set; } + internal Vector3D MyGridCenter { get; set; } internal Vector3D WorldEllipsoidCenter { get; set; } diff --git a/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs b/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs index 304ab1f..47f751e 100644 --- a/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs +++ b/Data/Scripts/DefenseShields/ShieldLogic/ShieldRun.cs @@ -35,6 +35,7 @@ public override void Init(MyObjectBuilder_EntityBase objectBuilder) MaxString = Localization.GetText("InfoShieldMaxString"); CapString = Localization.GetText("InfoShieldCapString"); Shield = (IMyUpgradeModule)Entity; + SuppressHex = Shield.BlockDefinition.SubtypeName.Contains("GFA"); MyCube = (MyCubeBlock)Entity; StorageSetup(); } diff --git a/Data/Scripts/DefenseShields/SupportClasses/Render.cs b/Data/Scripts/DefenseShields/SupportClasses/Render.cs index 241e004..3c5032f 100644 --- a/Data/Scripts/DefenseShields/SupportClasses/Render.cs +++ b/Data/Scripts/DefenseShields/SupportClasses/Render.cs @@ -420,7 +420,7 @@ internal void StepEffects() if (_impact) { _impact = false; - if (_active && Shield != null) HitFace(); + if (_active && Shield != null && !Shield.SuppressHex) HitFace(); ImpactsFinished = false; _refresh = false; From dcac254dac8ab881a13644ec939907b917dab931 Mon Sep 17 00:00:00 2001 From: enenra Date: Mon, 3 Nov 2025 20:06:49 +0100 Subject: [PATCH 6/7] Re-Added Shield Air Pressurizer * Re-Added Shield Air Pressurizer. * Added BluePrintClassEntries for all blocks so they can be queued up in the assembler. * Added description for Shield Air Pressurizer. --- Data/BlockVariantGroups.sbc | 1 + Data/BlocksCategories.sbc | 6 +-- Data/BluePrintClassEntries.sbc | 24 +++++++-- Data/CubeBlocks/DSSupergen.sbc | 92 ++++++++++++++++++++++++++++++++++ Data/Localization/MyTexts.resx | 9 ++++ Data/ResearchBlocks.sbc | 6 +++ Data/ResearchGroups.sbc | 7 +++ 7 files changed, 139 insertions(+), 6 deletions(-) create mode 100644 Data/CubeBlocks/DSSupergen.sbc diff --git a/Data/BlockVariantGroups.sbc b/Data/BlockVariantGroups.sbc index e617630..7e4d88b 100644 --- a/Data/BlockVariantGroups.sbc +++ b/Data/BlockVariantGroups.sbc @@ -17,6 +17,7 @@ + diff --git a/Data/BlocksCategories.sbc b/Data/BlocksCategories.sbc index c4294de..f8d6094 100644 --- a/Data/BlocksCategories.sbc +++ b/Data/BlocksCategories.sbc @@ -18,7 +18,7 @@ UpgradeModule/EmitterLA UpgradeModule/LargeEnhancer UpgradeModule/LargeShieldModulator - OxygenGenerator/DS_Supergen + OxygenGenerator/DSSupergen @@ -60,7 +60,7 @@ UpgradeModule/SmallEnhancer UpgradeModule/SmallShieldModulator UpgradeModule/LargeShieldModulator - OxygenGenerator/DS_Supergen + OxygenGenerator/DSSupergen @@ -84,7 +84,7 @@ UpgradeModule/SmallEnhancer UpgradeModule/SmallShieldModulator UpgradeModule/LargeShieldModulator - OxygenGenerator/DS_Supergen + OxygenGenerator/DSSupergen diff --git a/Data/BluePrintClassEntries.sbc b/Data/BluePrintClassEntries.sbc index fd4e496..131b213 100644 --- a/Data/BluePrintClassEntries.sbc +++ b/Data/BluePrintClassEntries.sbc @@ -1,6 +1,24 @@ - + - + - + + + + + + + + + + + + + + + + + + + diff --git a/Data/CubeBlocks/DSSupergen.sbc b/Data/CubeBlocks/DSSupergen.sbc new file mode 100644 index 0000000..882591b --- /dev/null +++ b/Data/CubeBlocks/DSSupergen.sbc @@ -0,0 +1,92 @@ + + + + + + + OxygenGenerator + DSSupergen + + DisplayName_DSSupergen + Description_DSSupergen + Textures\Icons\DS_Supergen.dds + Large + TriangleMesh + + +
+ Models\DS\DS_Supergen.mwm + + + + + + + + + + + + + + + + + + + + + + + + + + + + Light + 70 + This block pressurizes station shields for breathable atmosphere. + Reactors + Factory + 1000 + 1 + + 1 + 1 + 1 + + 0.001 + 0.56 + + + + GasProperties + Oxygen + + 10 + + + + GasProperties + Hydrogen + + 10 + + + + Ice + + Damage_WeapExpl_Damaged + ParticleWeapExpl + O2Generator + BlockOxyGenProcess + BlockOxyGenIdle + Explosion_Missile + WepSmallMissileExpl + Extended + BlockDestroyedExplosion_Small + WepSmallWarheadExpl + + + + diff --git a/Data/Localization/MyTexts.resx b/Data/Localization/MyTexts.resx index fb63d67..218cc6c 100644 --- a/Data/Localization/MyTexts.resx +++ b/Data/Localization/MyTexts.resx @@ -221,4 +221,13 @@ + + Shield Air Pressurizer + + + + Shield Air Pressurizers fill the inside of a projected shield with breathable air. + + + \ No newline at end of file diff --git a/Data/ResearchBlocks.sbc b/Data/ResearchBlocks.sbc index a472a7b..f5c84db 100644 --- a/Data/ResearchBlocks.sbc +++ b/Data/ResearchBlocks.sbc @@ -85,5 +85,11 @@ ShieldModulation + + + + ShieldEmitters + + \ No newline at end of file diff --git a/Data/ResearchGroups.sbc b/Data/ResearchGroups.sbc index 05d173c..01e1c0b 100644 --- a/Data/ResearchGroups.sbc +++ b/Data/ResearchGroups.sbc @@ -49,5 +49,12 @@ + + + + + + + \ No newline at end of file From 7d09cd67f071237afae6f0b1d3fb244c5f433f14 Mon Sep 17 00:00:00 2001 From: BDCarrillo <90526940+BDCarrillo@users.noreply.github.com> Date: Mon, 24 Nov 2025 15:10:41 -0600 Subject: [PATCH 7/7] action labels --- .../DefenseShields/Control/TerminalHelpers.cs | 4 +++- .../DefenseShields/Session/SessionControls.cs | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Data/Scripts/DefenseShields/Control/TerminalHelpers.cs b/Data/Scripts/DefenseShields/Control/TerminalHelpers.cs index 8ae5033..b9a9e36 100644 --- a/Data/Scripts/DefenseShields/Control/TerminalHelpers.cs +++ b/Data/Scripts/DefenseShields/Control/TerminalHelpers.cs @@ -188,7 +188,7 @@ internal static IMyTerminalControl[] AddVectorEditor(T block, string name, st return controls; } - internal static IMyTerminalControlCheckbox AddCheckbox(T block, string name, string title, string tooltip, Func getter, Action setter, Func enabledGetter = null, Func visibleGetter = null) where T : IMyTerminalBlock + internal static IMyTerminalControlCheckbox AddCheckbox(T block, string name, string title, string tooltip, Func getter, Action setter, Func enabledGetter = null, Func visibleGetter = null, string onText = "On", string offText = "Off") where T : IMyTerminalBlock { var c = MyAPIGateway.TerminalControls.CreateControl(name); var d = GetDefaultEnabled(); @@ -199,6 +199,8 @@ internal static IMyTerminalControlCheckbox AddCheckbox(T block, string name, c.Setter = setter; c.Visible = visibleGetter ?? d; c.Enabled = enabledGetter ?? d; + c.OnText = MyStringId.GetOrCompute(onText); + c.OffText = MyStringId.GetOrCompute(offText); MyAPIGateway.TerminalControls.AddControl(c); return c; diff --git a/Data/Scripts/DefenseShields/Session/SessionControls.cs b/Data/Scripts/DefenseShields/Session/SessionControls.cs index ed7d8fe..26c8b65 100644 --- a/Data/Scripts/DefenseShields/Session/SessionControls.cs +++ b/Data/Scripts/DefenseShields/Session/SessionControls.cs @@ -57,8 +57,8 @@ public void CreateControllerElements(IMyTerminalBlock block) Fit = TerminalHelpers.AddSlider(comp?.Shield, "DS-CFit", Localization.GetText("TerminalFitTitle"), Localization.GetText("TerminalFitTooltip"), DsUi.GetFit, DsUi.SetFit); Fit.SetLimits(0, 22); - SphereFit = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_SphereFit", Localization.GetText("TerminalSphereFitTitle"), Localization.GetText("TerminalSphereFitTooltip"), DsUi.GetSphereFit, DsUi.SetSphereFit); - FortifyShield = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_ShieldFortify", Localization.GetText("TerminalFortifyShieldTitle"), Localization.GetText("TerminalFortifyShieldTooltip"), DsUi.GetFortify, DsUi.SetFortify); + SphereFit = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_SphereFit", Localization.GetText("TerminalSphereFitTitle"), Localization.GetText("TerminalSphereFitTooltip"), DsUi.GetSphereFit, DsUi.SetSphereFit, null, null, "Sphere On", "Sphere Off"); + FortifyShield = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_ShieldFortify", Localization.GetText("TerminalFortifyShieldTitle"), Localization.GetText("TerminalFortifyShieldTooltip"), DsUi.GetFortify, DsUi.SetFortify, null, null, "Fortify On", "Fortify Off"); TerminalHelpers.Separator(comp?.Shield, "DS-C_sep3"); @@ -97,7 +97,7 @@ public void CreateControllerElements(IMyTerminalBlock block) DimShieldHitsCheckBox = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_DimShieldHits", Localization.GetText("TerminalDimShieldHitsCheckBoxTitle"), Localization.GetText("TerminalDimShieldHitsCheckBoxTooltip"), DsUi.GetDimShieldHits, DsUi.SetDimShieldHits); TerminalHelpers.Separator(comp?.Shield, "DS-C_sep6"); - SideShunting = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_SideRedirect", Localization.GetText("TerminalSideShuntingTitle"), Localization.GetText("TerminalSideShuntingTooltip"), DsUi.GetSideShunting, DsUi.SetSideShunting, DsUi.SetSideShuntingVis); + SideShunting = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_SideRedirect", Localization.GetText("TerminalSideShuntingTitle"), Localization.GetText("TerminalSideShuntingTooltip"), DsUi.GetSideShunting, DsUi.SetSideShunting, DsUi.SetSideShuntingVis, null, "Shunt On", "Shunt Off"); ShowShunting = TerminalHelpers.AddCheckbox(comp?.Shield, "DS-C_ShowRedirect", Localization.GetText("TerminalShowShuntingTitle"), Localization.GetText("TerminalShowShuntingTooltip"), DsUi.GetShowShunting, DsUi.SetShowShunting); TopShield = TerminalHelpers.AddOnOff(comp?.Shield, "DS-C_TopShield", Localization.GetText("TerminalTopShieldTitle"), Localization.GetText("TerminalTopShieldTooltip"), Localization.GetText("TerminalSwitchPush"), Localization.GetText("TerminalSwitchPull"), DsUi.GeTopShield, DsUi.SetTopShield, DsUi.RedirectEnabled); @@ -154,9 +154,9 @@ public void CreateModulatorUi(IMyTerminalBlock block) ModSep2 = TerminalHelpers.Separator(comp?.Modulator, "DS-M_sep2"); ModReInforce = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_ModulateReInforceProt", Localization.GetText("TerminalModReInforceTitle"), Localization.GetText("TerminalModReInforceTooltip"), ModUi.GetReInforceProt, ModUi.SetReInforceProt); AggregateModulation = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_AggreateModulation", Localization.GetText("TerminalPassiveModulationTitle"), Localization.GetText("TerminalPassiveModulationTooltip"), ModUi.GetAggregateModulation, ModUi.SetAggregateModulation, ModUi.GetAggregateModulationVis); - ModVoxels = TerminalHelpers.AddCheckbox(comp?.Modulator, " DS-M_ModulateVoxels", Localization.GetText("TerminalModVoxelsTitle"), Localization.GetText("TerminalModVoxelsTooltip"), ModUi.GetVoxels, ModUi.SetVoxels); - ModGrids = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_ModulateGrids", Localization.GetText("TerminalModGridsTitle"), Localization.GetText("TerminalModGridsTooltip"), ModUi.GetGrids, ModUi.SetGrids); - ModAllies = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_ModulateAllies", Localization.GetText("TerminalModAlliesTitle"), Localization.GetText("TerminalModAlliesTooltip"), ModUi.GetAllies, ModUi.SetAllies); + ModVoxels = TerminalHelpers.AddCheckbox(comp?.Modulator, " DS-M_ModulateVoxels", Localization.GetText("TerminalModVoxelsTitle"), Localization.GetText("TerminalModVoxelsTooltip"), ModUi.GetVoxels, ModUi.SetVoxels, null, null, "Voxels On", "Voxels Off"); + ModGrids = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_ModulateGrids", Localization.GetText("TerminalModGridsTitle"), Localization.GetText("TerminalModGridsTooltip"), ModUi.GetGrids, ModUi.SetGrids, null, null, "Grids On", "Grids Off"); + ModAllies = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_ModulateAllies", Localization.GetText("TerminalModAlliesTitle"), Localization.GetText("TerminalModAlliesTooltip"), ModUi.GetAllies, ModUi.SetAllies, null, null, "Allies On", "Allies Off"); ModEmp = TerminalHelpers.AddCheckbox(comp?.Modulator, "DS-M_ModulateEmpProt", Localization.GetText("TerminalModEmpTitle"), Localization.GetText("TerminalModEmpTooltip"), ModUi.GetEmpProt, ModUi.SetEmpProt); CreateActionDamageModRate(ModDamage);