RimWorld

RimWorld

MiningCo. MMS
212 Comments
Mlie 29 May, 2024 @ 2:09pm 
jimmyal 14 May, 2024 @ 10:28pm 
please update to 1.5
Criarino 14 May, 2024 @ 9:23pm 
1.5 pls?
xNaquada 13 Apr, 2024 @ 7:38am 
Seeing as the last update was in 2022, is there any chance at 1.5 or is this mod abandoned?
VitaKaninen 2 Nov, 2023 @ 3:00am 
You can add them yourself easily enough if you want to. If you look back through the comments it says how to do it somewhere. You just have to open the mod folder and edit one of the files.
mojave_wastelander 2 Nov, 2023 @ 2:02am 
It would be great to add a config to append more mineables, e.g. expanded metals and such, also for mountain bases and real ruins it becomes very important to find rooms inside to mountains (I just added walls to scanned things manually).
pgames-food 2 Jun, 2023 @ 8:16am 
(nice alien4 avatar) :)
i never noticed that about jade - maybe on my maps i always had tons of small ore patches of ore to mine, and not enough drills to clear a map yet :)
Sigourney Weaver in Alien4 2 Jun, 2023 @ 8:12am 
Hey, is there a reason jade is not included in the detectable things?
MeatBeatMarv 31 Oct, 2022 @ 1:07pm 
Disregard my last request. Just noticed that it highlights cryptosleep caskets.
ignis 28 Oct, 2022 @ 8:57am 
Any way to make it reveal everything with 100% chance?
MeatBeatMarv 28 Oct, 2022 @ 4:42am 
Any interest in adding the ability to find buried ancient dangers? More often lately it feels like I'm finding maps where they're buried deep as hell.
Rikiki  [author] 28 Oct, 2022 @ 4:38am 
@khaelion: For now it is hardcoded. I'll consider it if I get some more free time.
khaelion 27 Oct, 2022 @ 1:31pm 
For me is working the 1.3 on the 1.4.

Rikki, is there any way to increase the range of the scanner in the xml? If you update, can be something you consider?
Pawmee 24 Oct, 2022 @ 2:44am 
please update for 1.4
Lady Sorcia 25 Nov, 2021 @ 3:57pm 
Expanded Materials Metals

<li>VMEu_MineableCoal</li>
<li>VMEu_MineableIron</li>
<li>VMEu_MineableLead</li>
<li>VMEu_MineableTin</li>
<li>VMEu_MineableCopper</li>
<li>VMEu_MineableGermanium</li>
<li>VMEu_MineableTitanium</li>
<li>VMEu_MineableLithium</li>
<li>VMEu_MineableTungsten</li>

Edit: I fixed the list to actually work.
multiplayer_rocks 25 Aug, 2021 @ 4:37pm 
Ok, I've added in all the modded ores/rocks I want to scan for and all seems ok now.The only thing different this time is I took out the "MayRequire". Thx for useful mod.

<scannedThingDefs>
<li>MineableSteel</li>
<li>MineableSilver</li>
<li>MineableGold</li>
<li>MineableUranium</li>
<li>MineablePlasteel</li>
<li>MineableComponentsIndustrial</li>
<li>AncientCryptosleepCasket</li>
<li MayRequire="Rikiki.ColdCrystal">MineableColdCrystal</li>
<li MayRequire="Rikiki.ColdCrystal">MineableAmberCrystal</li>
<li>PRF_MineableCoal</li>
<li>PRF_MineableIron</li>
<li>PRF_MineableCopper</li>
<li>RF_MineableCopper</li>
<li>RF_MineableTin</li>
<li>PRF_MineableQuartz</li>
<li>PRF_MineableDiamond</li>
<li>PRF_MineableSteelSlag</li>
<li>MineableDiamond</li>
<li>MineableRuby</li>
<li>MineableSapphire</li>
<li>MineableTisnit</li>
<li>MineableSimerium</li>
<li>MineablePhasarium</li>
</scannedThingDefs>
Rikiki  [author] 25 Aug, 2021 @ 2:24pm 
@multiplayer_rocks: You are maybe using a mod that overrides the vanilla ore definitions.
Mind that "MineableSteel" (the block of rock you can mine) is different from "Steel" (the resource you obtain upon mining completion).
Please verify that the detected defs (as for example <li>MineableColdCrystal</li>) are the ones defined by your mods.
multiplayer_rocks 25 Aug, 2021 @ 9:35am 
Hi, I have built this, powered it and the animation works fine meaning shows the radar scanning and expands out to the max range but it won't detect a thing, even the vanilla "steel" wont show up.
I am also trying to get it to work with rimforge, PRF materials, jewelry mineables but again, nothing detected. I tried using the example below obviously tweaked the path for using it for 1.3
Am I missing something/setting somewhere ? Thanks.
Seriously? 7 Aug, 2021 @ 11:42pm 
love the idea but its so slow by the time this thing finds a mineral i could have stripmined the whole mountain
Criarino 3 Aug, 2021 @ 6:05pm 
thanks for the update
forestfey 28 Jul, 2021 @ 9:11am 
@azrobbins: thank yooou, done. Now I just have to remember doing it after every update ;)
pgames-food 25 Jul, 2021 @ 3:58pm 
thats quite cool to know :)
VitaKaninen 25 Jul, 2021 @ 3:54pm 
@forestfey: You can add them yourself.

Open this file in notepad: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\755224256\1.2\Defs\ThingDefs_Buildings\Building_MobileMineralSonar.xml

Add the following 2 items near the bottom in the list of Scanned Things:

<li>MineableColdCrystal</li>
<li>MineableAmberCrystal</li>
forestfey 25 Jul, 2021 @ 8:34am 
...could you please make a patch or something, so the crystal veins from your coldcrystal mod show up, too?
Criarino 23 Jul, 2021 @ 11:21am 
it works, however that "radar-like" animation doesn't show up anymore
VitaKaninen 21 Jul, 2021 @ 9:58pm 
@Lyca. Install it and find out if it still works?
Lyca 21 Jul, 2021 @ 4:31pm 
Hopefully update, or does it still work? <3
Criarino 20 Jul, 2021 @ 12:49pm 
No error on startup with 1.3. Still don't know if it works tho
VitaKaninen 15 May, 2021 @ 12:35pm 
@Rikiki Thanks, but I don't have Visual Studio, and wouldn't know how to use it if I did. Is it possible for you to add the option to adjust the power consumption, max range, and speed to the mod?
Rikiki  [author] 15 May, 2021 @ 10:03am 
@azrobbins: Interresting solution!
Otherwise, the source code is available on GitHub [github.com] so you can edit it with Visual Studio and recompile the dll.
VitaKaninen 15 May, 2021 @ 5:37am 
@kubbih: I used a program called dnSpy to edit it. (https://github.com/dnSpy/dnSpy/releases)

Here is what I did to change the scan radius expansion speed:

Part 1:
1. Go to C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\755224256\1.2\Assemblies and make a backup of the MiningCo. MMS.dll file before you edit it.

2. Open the dnSpy program, and then open MiningCo. MMS.dll in dnSpy. When you open the program, there should be a section on the left called Assembly Explorer. If the Assembly Explorer tab is not open, then click View > Assembly Explorer to open the tab on the left so that you can navigate the file.

3. On the Assembly Explorer on the left, expand the section called "MiningCo. MMS (1.0.0.0)", then "MiningCo. MMS.dll", then "MobileMineralSonar" then click "Building_MobileMineralSonar".

4. In the section on the right, Scroll down to line #92, and right click the number "300" and select "Edit IL Instructions".
VitaKaninen 15 May, 2021 @ 5:32am 
@kubbih:
Part 2:

5. In the pop-up window, scroll down to line #42 where it says 0x12c. This is the Hex equivalent to 300 and determines the rate at which the scan radius expands.

The default speed (1x) is 300 (0x12C)
2x (or 600) would be 0x258.
10x is 0xBB8.
100x is 0x7530.
1000x is 0x493E0, etc.

6. After changing the hex number to whatever you like, click the "OK" button at the bottom right.

7. Back in the main window, Line #92 should reflect your chosen speed. My line #92 now says:
"this.scanProgress += 300000;"

8. Save the .dll and close dnSpy. You should now be able to start Rimworld and the scan speed should be faster.

There are a few other changes you can make as well.

Changing lines 18 and line 251 from 50 to 127, and changing line 356 from 100f to 256f will increase the scan radius.

Changing lines 19, 257, 260, and 263 from 0.2f and 0.4f to 1f will increase the detection chance, so there will be less empty spots in the chunks it finds.
pgames-food 5 Apr, 2021 @ 8:40pm 
oh ok, i'll have to try that again in my game, i havent been able to play for a few days, maybe something changed...
kubbih 5 Apr, 2021 @ 8:06pm 
@pgames-food Yes that is true. Unfortunately it does not work anymore and that's why i have to stick with this mod.
pgames-food 5 Apr, 2021 @ 5:40pm 
hi you can turn off shadows i think in dev mode (2nd button at the top, the one after the log button)
kubbih 4 Apr, 2021 @ 12:52pm 
@azrobbins How did you do that? I used to use no shadows, but it got nerfed so i have to stick with this instead. This is damn slow indeed, but still gives some hope at least. I used to mine all hexes around my base, but with a speed like this thing it would take too long.
ignis 3 Mar, 2021 @ 8:31am 
Maybe you can add an option to make it reveal areas upon scanning? Empty spaces should be quite obvious for a sonar.
VitaKaninen 1 Mar, 2021 @ 12:28pm 
That would be a good compromise as well.
pgames-food 1 Mar, 2021 @ 12:35am 
maybe 1 way to do it could be to have its search radius lowered, but its speed increased, and then the player has to move it a few places manually to re-position it?
VitaKaninen 28 Feb, 2021 @ 2:27am 
I really love this mod. I use it with my mining caravan to find all the ore veins to mine. I wish there were a setting to be able to speed up the scanning since it takes many days to completely scan through the radius, while my miners can clear a map of minerals in about 2 days. I went in and manually edited the .dll so that it is much faster now, but it would be nice if the mod were configurable so that others can make the changes as well. I would gladly carry 20 Vanometric cells with me to power it if its scan speed varied depending on the available power.
Slye_Fox 8 Nov, 2020 @ 11:43am 
Could we get support for 'Expanded Materials - Metals' please?
Rikiki  [author] 9 Oct, 2020 @ 7:42am 
@Aurora Bora: it is probably that there is a name for the mined item (like "steel") and one for the mineable rock (like "MineableSteel").
You want to detect the mineable rock.
Aurora Bora 8 Oct, 2020 @ 11:50pm 
okay no idea why but my edits randomly decided to function....no idea lol
Aurora Bora 8 Oct, 2020 @ 2:20pm 
okay will have to poke around maybe found the wrong mineable name I added this set of strings to the object scannable section <li>MineableJade</li>
<li>MorrowRim_MineableGlass</li>
<li>MorrowRim_MineableEbony</li>
Lanthrudar 5 Oct, 2020 @ 6:24pm 
@Aurora Bora You have to edit the xml files (IIRC, been about 5 months since I did this one) to include the name of the mineable ore so the mod knows what to look for. You will need to dig into the mod files for anything non standard to add in.
Aurora Bora 3 Oct, 2020 @ 9:51am 
also added mineable jade and didn't work for jade
Aurora Bora 3 Oct, 2020 @ 9:50am 
is it more than adding the mineable glass and ebony tags? I tried to add a patch myself and didn't work
brucethemoose 6 Sep, 2020 @ 2:37pm 
Hey, I created a small PR for Metals+ and MorrowRim ores.
pgames-food 26 Aug, 2020 @ 6:36pm 
1.2 happened yesterday :)
cool - youve updated your mods, rikiki-tick :lunar2019grinningpig:
Stellar ❤️💙💛 15 Aug, 2020 @ 1:28pm 
1.2 pls