RimWorld

RimWorld

MiningCo. DrillTurret
140 Comments
>:( 9 Jun @ 11:10am 
pls 1.5 i beg of you
Mlie 31 May @ 10:50am 
Made an update of this:
https://gtm.you1.cn/sharedfiles/filedetails/?id=3258344832
Hope it helps anyone!
RogueCmdr 10 May @ 5:54pm 
any luck with 1.5
dhruvberwal93 27 Apr @ 7:01pm 
update plz
Wyccc 15 Apr @ 6:56am 
update plz
Rikiki  [author] 20 Oct, 2023 @ 8:21am 
@Katie: Yes, that's right. Accessing the mining progress was quite difficult so I took an easier way.
It's an interesting project you have in mind. You should probably remove the manning option if mounted on a vehicle. Good luck!
Katieclysm 4 Oct, 2023 @ 11:58am 
Trying to figure out if it's feasible to put a turret like this on a Vehicle Framework vehicle. If I'm understanding the code right, you just have your own basic "mining" function, rather than using the vanilla logic? Deal direct damage to rock/ore object, then spawn ore. Is that right?
Rikiki  [author] 18 Jun, 2023 @ 12:58pm 
@Robosium: Yes, indeed. You just have to switch the mining mode to "Rocks only": "In this mode, the mining turret only drill nearby designated rocks."
Robosium 16 Jun, 2023 @ 2:53pm 
is there a way to make the turret only dig up rocks designated for mining?
Ai Spacedestructor 21 May, 2023 @ 3:28pm 
also since i dont work with c# nor dlls, i dont have the ability to open the files referenced in errors and even if the mod includes source code i wouldnt know where to look. at least its good to know its something related to key bindings.
Ai Spacedestructor 21 May, 2023 @ 3:26pm 
@Rikki, when i searched the identifier presented in the error, windows has listed the dll in your mod. which is why im thinking its the drill turret.
hugs lib shows up a lot in errors it doesnt have because its loading code/instructions from other mods that depend on hugs lib and because hugs lib is the one executing it, the error gets thrown there even tho thats not the place where it was caused.
also i have only one error in this mod list because i just put it together the same day and i always try to minimize the number of errors, not counting "errors" which are xml checks that intentional fail. also as someone who is frequently over 500 mods, 205 doesnt look so impressive to me.i was holding back a lot not to add more in.
Rikiki  [author] 21 May, 2023 @ 1:04pm 
@Ai Spacedestructor: I see no error related to the DrillTurret. The exception seems related to HugsLibChecker. It seems to mention a problem related to key binding but I am really unsure.
Have you tried to open the reported file?
I am impressed you only have 1 error popping up with 205 mods!
Ai Spacedestructor 21 May, 2023 @ 2:52am 
i have identified this mod as the cause or an error i have been getting since 1.4

the error can be found by looking for "at HugsLibChecker.HugsLibChecker.RunAllChecks () [0x000a2] in <17e0364003f64863ad8732cb22ef5516>:0" in https://gist.github.com/HugsLibRecordKeeper/48442278c3192b2351bde1c13002643e

however, the mod still works as in tended. so im totally ok with using it as it is but if possible i would still like to eliminate all error message in my log that can be resolved.
Rikiki  [author] 5 May, 2023 @ 7:18am 
@Angrysquirrel: the magic of modding! ;-)
"I just have to modify the frequency... then recalibrate the lens... and ta-da! A new defensive toy!" *TING* Solar flare detected. :-p
Angrysquirrel 5 May, 2023 @ 2:40am 
I wish I could drill pirates with this thing. :)
Rikiki  [author] 21 Dec, 2022 @ 10:27am 
@萌王喵酱: please post your mod for others to enjoy if they want a faster drilling! :-)
This mod is published under Creative Common license. I believe you just have to put a link to the original mod (this page) and mention the author (me).
萌王喵酱 21 Dec, 2022 @ 7:10am 
I tried it out, it's difficult to modify the damage, but I managed it. Do you mind if I post an accessory mod?
萌王喵酱 20 Dec, 2022 @ 11:20pm 
how to modify its damage?
khaelion 28 Oct, 2022 @ 4:32pm 
Yep. It worked. I had a patch to your mod in another file that was not allowing the update to apply. thx rikki
Rikiki  [author] 28 Oct, 2022 @ 4:14am 
@khaelion: I just tried and it works as intended. Make sure you saved the file and that you restarted the game. You should also check that you modified the file in the 1.4 Defs directory.
On my PC, the file is under C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\974398773\1.4\Defs\ThingDefs_Buildings\Buildings_DrillTurret.xml.
khaelion 27 Oct, 2022 @ 2:21pm 
Tried, but not working. Same range.
Rikiki  [author] 27 Oct, 2022 @ 1:29pm 
@khaelion: Same file, modify the specialDisplayRadius field (default value is 15 cells). It is an old trick from old alpha versions. ;-)
khaelion 27 Oct, 2022 @ 1:20pm 
Rikki, is there any way to increase the range of the turret? I cant find that in the xml files. Thx!
Rikiki  [author] 23 Oct, 2022 @ 12:26pm 
@ignis: It's moddable. In MiningCo. DrillTurret\1.4\Defs\ThingDefs_Buildings\Buildings_DrillTurret.xml file, just modify the field "<size>(3,3)</size>" to "<size>(1,1)</size>" for example.
ignis 22 Oct, 2022 @ 8:22am 
One of the things that always felt too limiting is the size of that thing - being 3x3 it needs to much space to move around.
Rikiki  [author] 22 Oct, 2022 @ 6:39am 
Updated to V1.4. :-)

@Blækk: I just verified it and it works as intended. Colonists stop using it when unpowered.
Blækk 20 Aug, 2022 @ 6:24am 
BUG: colonists will try to manually use an unpowered drill turret
Guy_Jones 10 Jun, 2022 @ 3:36pm 
@Rikiki I don't know what I was doing wrong. It wasn't modded ores, just granite that I was trying to mine. I switched it to mine stone only. Unfortunately I cant try again, my base was overrun by an infestation :(
Rikiki  [author] 8 Jun, 2022 @ 12:58am 
@Guy_Jones: Automatic it is the default mode. Just click on the mode button to change it.
The turret will automatically start drilling when switching mode and there is a valid target in range.

Are you using heavily modded ores? If their definition is not correct, they might not be detected as "mineable".
Guy_Jones 7 Jun, 2022 @ 11:28am 
How do you enable automated mode? It's kinda annoying to constantly give it a target, one at a time.
Rikiki  [author] 23 Nov, 2021 @ 11:58pm 
@Luke: No but you can modify it in the XML file Buildings_DrillTurret.xml. Just change the specialDisplayRadius field to what you want. Be aware that the turret scans for mining cells around it so putting a realy high range may lead to slowdown.
Luke 23 Nov, 2021 @ 8:47pm 
Is there a research to increase the range?
Rikiki  [author] 3 Sep, 2021 @ 8:19am 
@Suger Eafly: thank you!
Suger Eafly 3 Sep, 2021 @ 8:05am 
I love your mods,they are so cool!
Shimmer 2 Aug, 2021 @ 7:17am 
@Blood Tear
Tested it, doesn't appear to work sadly. :<
Ayane 22 Jul, 2021 @ 11:31pm 
Has anyone tested if it works or not with 1.3?
1337 Kiwi 15 Jul, 2021 @ 9:52pm 
Please update to 1.3 when you have the time, thanks.
BabyNanachi 22 Apr, 2021 @ 10:40am 
wondering if this has much c# involved with how it mines. Generally so I could do as Black was suggesting and get them to use the Quarry
ignis 3 Mar, 2021 @ 8:29am 
I always wonder why it is so big. Manually mining out 3x3 square to place it kinda defies its purpose to automate.
Rikiki  [author] 30 Nov, 2020 @ 10:56am 
@BlackFyre: Sorry my friend but without coding knowledge, I am afraid you can forget about it... Have a look at the code if you are really interrested. I could answer your questions then.
BlackFyre 30 Nov, 2020 @ 10:36am 
@Rikiki oh man i don't know how to code, but how does the turret know how to mine ore/rock? does it use the mining worktype?
Rikiki  [author] 30 Nov, 2020 @ 10:06am 
@BlackFyre: I will not work on this myself but source code is available on GitHub if you want and try.
BlackFyre 29 Nov, 2020 @ 9:34pm 
Hey, any way to get compatibility with Quarry Mod?
Dr. Fnord 24 Aug, 2020 @ 10:01am 
Thanks for the update.
Angrysquirrel 21 Aug, 2020 @ 7:35pm 
Please update dude.
Lord Connir 17 Aug, 2020 @ 7:20am 
1.2 update ?
Tommy Gray x Land Raider 10 Aug, 2020 @ 7:16pm 
update for 1.2 plz
Fenrir 24 Apr, 2020 @ 9:47am 
Could you add an option for the turret range? I like to play on big maps with Mountains and it would help if i would not have to reset the drill every day :D

Maybe to balance higher range: Lower dmg (e.g. speed) at blocks that are further away? -> to the current limit of
15 -> 100% dmg
20 -> 50% dmg
25 -> 25% dmg
30 -> 12.5% dmg
35 -> 6.25% dmg
40 -> 0% dmg
Weever 23 Apr, 2020 @ 11:44am 
Amazing
Andy9272 23 Mar, 2020 @ 8:21am 
I love your mods, would it be possible to make this one compatible with quarry mod?