Eh his instructions for adding the power cell are terribly unclear but I figured it out.
Load his EarlyIonBattery.dll into dnspy software.
Navigate to \steamapps\common\Subnautica\Subnautica_Data\Managed
Place mscorlib and Assembly-CSharp into dnspy.
Go here and DL Harmony https://github.com/pardeike/Harmony/releases download Harmony.2.1.1.0.zip
Unzip harmony and find net45 folder then drag the 0Harmony.dll into dnspy
Inside dnspy navigate EarlyIonBattery and find EarlyIonBattery.Patches
Click on Prefix(PDAScanner.EntryData)
Right click on public static bool Prefix and click Edit Method
Copy and paste: KnownTech.Add(TechType.PrecursorIonPowerCell, true); below KnownTech.Add(TechType.PrecursorIonBattery, true);
Click compile then go to file and click save module. Make sure the module shown there is EarlyIonBattery (I believe it defaults to what you currently have highlighted in the list.
If there are any errors you loaded the wrong dlls into your dnspy assembly. If you want to liven this up a bit, you can download both versions and edit one of them to change it to unlock the power cell instead so you can unlock both early but each one will be in a different location. I think I'll do that instead.
Could you share modified dll to public? Or could you send it to DragonS315, so he can include it into Files section as one of the available options to download?
Using Custom Craft 2 here is how I was able to unlock the ion power cell also at the same time. I created a Notepad file called: "ModifiedResources_Electronics" and placed that in the CC2 "Working Files" folder. The actual content of the file is copy and pasted below:
As you can see I didn't actually modify the ION battery, I just repeated the recipe so I could add the "Unlocks: PrecursorIonPowerCell; at the end. However you could obviously also modify the ION battery at the same time if you prefer.
Um, I dont know if this is just my computer, but whenever I try to download the folder, it just downloads a .rar file in the notepad. Is there someway to fix this?
"as it is written in the mod description (yes, I did it on purpose). but you can do it for yourself by adding a certain line to the mod by using dnspy. p.s. no time for subnautica.. at all.." Or using CC2 mod to unlock ion cells after you pickup ion battery..
No, the ion cube is easy to find and this is part of the recipe for batteries, so I made a different condition for obtaining it. But you can use the CC2 mod for this - in item "PrecursorIonBattery" add "UnlockedBy: PrecursorIonCrystal;"
Nice. I always thought it was a bit pointless to even have them at all when they only unlock in the effective post-game (you're, like, 25 minutes from the end when you get them). Especially since you're given a bunch of ion crystals throughout the game that you don't really need until you reach the point where ion crystals become a renewable resource anyway.
as it is written in the mod description (yes, I did it on purpose). but you can do it for yourself by adding a certain line to the mod by using dnspy. p.s. no time for subnautica.. at all..
26 comments
I won't mind.
If there are any errors you loaded the wrong dlls into your dnspy assembly. If you want to liven this up a bit, you can download both versions and edit one of them to change it to unlock the power cell instead so you can unlock both early but each one will be in a different location. I think I'll do that instead.
F3 -> "dnSpy"
for some other info (spam included)
**imho CC2 much easer
ModifiedRecipes: ( ItemID: PrecursorIonBattery; AmountCrafted: 1; Ingredients: ( ItemID: PrecursorIonCrystal; Required: 1; ), ( ItemID: Gold; Required: 1; ), ( ItemID: Silver; Required: 1; ); Unlocks: PrecursorIonPowerCell;);
Regards
but you can do it for yourself by adding a certain line to the mod by using dnspy.
p.s. no time for subnautica.. at all.."
Or using CC2 mod to unlock ion cells after you pickup ion battery..
But you can use the CC2 mod for this - in item "PrecursorIonBattery" add "UnlockedBy: PrecursorIonCrystal;"
but you can do it for yourself by adding a certain line to the mod by using dnspy.
p.s. no time for subnautica.. at all..
They're named differently EC and WP, but their descriptions are identical
EC - for Quarantine Enforcement Platform
WP - for Disease Research Facility
*descriptions fixed