If you’re like me and you don’t like the somewhat recent addition of inhibitors to the MES framework here’s a quick basic fix that should work for all affected mods.
The Fix
단계 1: Navigate to your Steam folder
단계 2: From there navigate to the following path:
SteamApps\workshop\content\244850\1521905890\Data\Scripts\ModularEncountersSpawner\Manipulation\
단계 3: In the folder is a file called “ArmorModuleReplacement.cs” open this one with a text editor of your liking
단계 4: In the file find the following code:
SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Nanobots-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-JumpDrive-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Jetpack-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Drill-Small")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Nanobots-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-JumpDrive-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Jetpack-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Drill-Large"));
단계 5: Replace the code with:
/* SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Nanobots-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-JumpDrive-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Jetpack-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Drill-Small")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Nanobots-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-JumpDrive-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Jetpack-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Drill-Large")); */
단계 6: Save your changes.
단계 7: Reload your savegame or start fresh
단계 8: Bum rush the cargo ships and drill under those outposts for glory and motherland or don’t. It’s your choice now.
What Changes
This comments out the Inhibitors being registered with the Replacement logic and prevents them from being replaced by any Spawner trying to. No other functionality is affected.
Please note this only disables Inhibitors placed automatically via automatic Armor Module Replacement by spawners. Blocks manually added to ship blueprints are unaffected since the blocks themselves are still functional. Thus ships already flying around in your game world will not be affected by the change but any newly spawned ones are.
This fix will probably disappear and need to be reapplied when MES is updated or Steam decides to re-download it for whatever reason. Maybe MES will incorporate a config for stuff like this at some point for a more permanent solution or a mod appears to do it. 누가 알 겠어요.
선택 과목
If you only want some of the inhibitors gone while keeping others instead of replacing the code as shown above you can disable individual lines like this:
SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Nanobots-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-JumpDrive-Small")); SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Jetpack-Small")); //SmallModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Drill-Small")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Nanobots-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-JumpDrive-Large")); LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Jetpack-Large")); //LargeModules.Add(new MyDefinitionId(typeof(MyObjectBuilder_RadioAntenna), "MES-Suppressor-Drill-Large"));
This for example only disables the Drill Inhibitors while the others remain viable for auto-replacement.
이것이 오늘 우리가 공유하는 모든 것입니다. 우주 엔지니어 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. Brother Jason. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.