Jump to content

[1.10.x] Stockalike Mining Extension [1.1.5 Release 7/8/2020]


SuicidalInsanity

Recommended Posts

1 hour ago, B-STRK said:

Hi @TheProtagonists in trying out the patch, I noted that the Terravore gets only 0.30 goldore/sec, compared to the stock drill's 22.5 goldore/sec. Granted, the EC per goldore unit is the same for both, but in terms of output rate it's a little paradoxical that that the way bigger drill would be slower, and use less power, than the smaller. Would this be intended?

Also, the smaller stack drill isn't showing any goldore output.

 

Hope to hear from you on this!

Certainly not intended... I guess I made this over a year ago when I have no idea what those numbers do, so I basically just entered random numbers... Please feel free to change them as you see as fit and maybe share it here too!

Link to comment
Share on other sites

5 hours ago, TheProtagonists said:

Certainly not intended... I guess I made this over a year ago when I have no idea what those numbers do, so I basically just entered random numbers... Please feel free to change them as you see as fit and maybe share it here too!

I know, I'm looking at the part configs for SMX and Gold Standard, and I can't make heads or tails of the numbers I need to manipulate. (Why couldn't there have been an actual definition for input/output for drills, just like the ISRUs?)

PS: I got my numbers mixed up: Radial drill outputs 1.5 GoldOre/sec, not 22.5 (that was EC's). But 1.5/sec admittedly is still faster than 0.30/sec. 

For anyone else here who knows how to play with the drill modules, exactly what numbers do we need to manipulate to up the input/output of a drill for a given resource? The outcome we need is that the SMX drills' input/output for EC and GoldOre matches exactly that of their stock Ore input/output, just like what The Gold Standard does to the stock drills.  In hard numbers, that the Terravore, for example, eats 120ECs/sec. to spit out 20 GoldOre/sec, just like its Ore input/output. 

Also, @SuicidalInsanity, may I ask for help in matching up the CFG part names to their actual part names? (e.g., I assume the Size3 Stack Drill's the Terravore?) As noted in my previous post, the patch failed to apply for the stack drill one size smaller, and we need to identify what its CFG part name is (safe to assume Size2?).

Edited by B-STRK
Link to comment
Share on other sites

ModuleResourceHarvester/ModuleAsteroidDrill input/output values:
Efficiency: How much is harvested, on a 1:1 scale; Efficiency = 5 results in 5 [RESOURCE] per second getting harvested.
Ratio (inside an INPUT_RESOURCE segment): Multiply this by Efficiency to get Harvester operation resource cost, per second, so Efficiency = 5 with ratio = 10 would be 50 [RESOURCE] per second. Used by ModuleresourceHarvester.
PowerConsumption: identical to Ratio, except used by ModuleAsteroidDrill.
So for 1-1 Ore to GoldOre yield rates, for the Terravore, you'd want a ModuleResoureceHarvestern Efficiency of 20, a ratio of 6, and a ModuleAsteroidDrill Efficiency of 35 and a PowerConsumption of 1.14.

Drill names: CFG               in-game
SMX_InlineDrill              'Prospector' Aerospace Mining Excavator
SMX_0mStackDrill        'Trowel' Stack Mining Excavator
SMX_1mInlineDrill         'Wildcat' Vertical inline Mining Excavator
SMX_1mHInlineDrill      'Wildcat' Horizontal Mining Excavator
SMX_1mStackDrill        'Tremor' Stack Mining Excavator
SMX_2mStackDrill        'Terravore' Stack Mining Excavator
SMX_3mStackDrill        'Lithoquake' Stack Mining Excavator
SMX_1mInlinePump     Inline Oceanic Extractor
SMX_1mStackPump     D4-MP Stack Oceanic Extractor
SMX_2mStackPump     W-37 Stack Oceanic Extractor

Link to comment
Share on other sites

  • 3 weeks later...

Weird bug ... I tried using the Mk2 Drill and ISRU on my spaceplane, but they ended up being 1 size too small for some reason. I have Tweakscale so I scaled it up, but its kinda off... I'm playing on 1.5.1 - could abyone please confirm?

Link to comment
Share on other sites

  • 4 weeks later...

@SuicidalInsanityThere is a bug in 1.6.0 & 1.6.1 that can lock up the parts menu in the VAB if a bulkheadProfiles isn't defined for each part. The following thread discusses it. The following parts in this mod are missing the bulkheadProfiles definition

./MiningExpansion/Parts/Mk2Generator/part.cfg
./MiningExpansion/Parts/Mk2ISRUDrill/Drill.cfg
./MiningExpansion/Parts/Mk3OreTank/HugeTank.cfg
./MiningExpansion/Parts/Size0Generator/Generator.cfg
./MiningExpansion/Parts/Size0ISRU/ISRU.cfg
./MiningExpansion/Parts/Size0OreTank/Microtank.cfg
./MiningExpansion/Parts/Size0StackDrill/Drill.cfg
./MiningExpansion/Parts/Size1Generator/Generator.cfg
./MiningExpansion/Parts/Size1InlineDrill/InlineDrill.cfg
./MiningExpansion/Parts/Size1InlineDrillH/InlineDrill.cfg
./MiningExpansion/Parts/Size1InlinePump/OceanicExtractor.cfg
./MiningExpansion/Parts/Size1StackDrill/Drill.cfg
./MiningExpansion/Parts/Size1StackPump/OceanicExtractor.cfg
./MiningExpansion/Parts/Size2Generator/Generator.cfg
./MiningExpansion/Parts/Size2StackDrill/Drill.cfg
./MiningExpansion/Parts/Size2StackPump/OceanicExtractor.cfg
./MiningExpansion/Parts/Size3ISRU/ISRU.cfg
./MiningExpansion/Parts/Size3OreTank/HugeTank.cfg
./MiningExpansion/Parts/Size3StackDrill/Drill.cfg

Link to comment
Share on other sites

Hotfix update 0.9.9.2 to address the issue: SpaceDock - GitHub
Because all it does is fix the missing bulkhead profiles, I've also put together a MM patch for those of you who don't want to download a whole new update:

Spoiler

//adds missing bulkhead profiles
@PART[SMX_Mk2Generator|SMX_InlineDrill]
{
    %bulkheadProfiles = mk2
}
@PART[SMX_Mk3OreTank]
{
    %bulkheadProfiles = mk3, srf
}
@PART[SMX_Size0Generator|SMX_Size0OreTank]
{
    %bulkheadProfiles = size0, srf
}
@PART[SMX_Size0ISRU|SMX_0mStackDrill|SMX_RCSDriver]
{
    %bulkheadProfiles = size0
}
@PART[SMX_Size1Generator]
{
    %bulkheadProfiles = size1, srf
}
@PART[SMX_1mInlineDrill|SMX_1mHInlineDrill|SMX_1mInlinePump|SMX_1mStackDrill|SMX_1mStackPump|SMX_Size0Driver]
{
    %bulkheadProfiles = size1
}
@PART[SMX_Size1Driver|SMX_Size2Generator|SMX_2mStackDrill|SMX_2mStackPump]
{
    %bulkheadProfiles = size2
}
@PART[SMX_Size3ISRU|SMX_3mStackDrill]
{
    %bulkheadProfiles = size3
}
@PART[SMX_Size3OreTank]
{
    %bulkheadProfiles = size3, srf
}

 

Edited by SuicidalInsanity
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Thanks for this SuicidalInsanity, 

I found an error in one config file.

\GameData\MiningExpansion\Patch\SME_KA.cfg

Missing a closing bracket } on this config.

Spoiler

@PART[SMX_Mk2ISRURefinery]:NEEDS[KerbalAtomics]
{
    MODULE
    {
         name = ModuleResourceConverter
         ConverterName = LH2
         StartActionName = Start ISRU [LH2]
         StopActionName = Stop ISRU [LH2]
        AutoShutdown = true
        TemperatureModifier
        {
            key = 0 50000
            key = 750 25000
            key = 1000 5000
            key = 1250 2500    
            key = 2000 2500    
            key = 4000 0
        }                
        GeneratesHeat = true
        DefaultShutoffTemp = .8
        ThermalEfficiency 
        {
            key = 0 0 0 0
            key = 500 0.9 0 0
            key = 1000 1.0 0 0
            key = 1250 0.9 0 0
            key = 1500 0.5 0 0
            key = 3000 0.0 0 0 
        }
        UseSpecialistBonus = true
        SpecialistEfficiencyFactor = 0.2
        SpecialistBonusBase = 0.05
        Specialty = Engineer
        EfficiencyBonus = 1

         
         INPUT_RESOURCE
         {
            ResourceName = Ore
            Ratio = 1
         }
         INPUT_RESOURCE
         {
            ResourceName = ElectricCharge
            Ratio = 30
         }
         OUTPUT_RESOURCE
         {
            ResourceName = LqdHydrogen
            Ratio = 0.9
            DumpExcess = false
         }
    }

 

 

 

Link to comment
Share on other sites

  • 3 months later...
On 4/23/2019 at 7:52 PM, Barar said:

Thanks for this SuicidalInsanity, 

I found an error in one config file.

\GameData\MiningExpansion\Patch\SME_KA.cfg

Missing a closing bracket } on this config.

  Reveal hidden contents

@PART[SMX_Mk2ISRURefinery]:NEEDS[KerbalAtomics]
{
    MODULE
    {
         name = ModuleResourceConverter
         ConverterName = LH2
         StartActionName = Start ISRU [LH2]
         StopActionName = Stop ISRU [LH2]
        AutoShutdown = true
        TemperatureModifier
        {
            key = 0 50000
            key = 750 25000
            key = 1000 5000
            key = 1250 2500    
            key = 2000 2500    
            key = 4000 0
        }                
        GeneratesHeat = true
        DefaultShutoffTemp = .8
        ThermalEfficiency 
        {
            key = 0 0 0 0
            key = 500 0.9 0 0
            key = 1000 1.0 0 0
            key = 1250 0.9 0 0
            key = 1500 0.5 0 0
            key = 3000 0.0 0 0 
        }
        UseSpecialistBonus = true
        SpecialistEfficiencyFactor = 0.2
        SpecialistBonusBase = 0.05
        Specialty = Engineer
        EfficiencyBonus = 1

         
         INPUT_RESOURCE
         {
            ResourceName = Ore
            Ratio = 1
         }
         INPUT_RESOURCE
         {
            ResourceName = ElectricCharge
            Ratio = 30
         }
         OUTPUT_RESOURCE
         {
            ResourceName = LqdHydrogen
            Ratio = 0.9
            DumpExcess = false
         }
    }

 

 

 

corrected on github and put in pull request for you. @barar thank you.

Link to comment
Share on other sites

  • Mk3 ISRU is missing a Near Future Propulsion patch.
  • Size 3 stack drill and size 1 horizontal inline drill are missing OSEWorkshop patches.
  • Mk2 drill and Mk2 generator have only 7 m/s impact tolerance and 2000K max temp instead of the 50 m/s and 2500K normal for their hull type.
  • Mk3 converter has 2500K max temp instead of the 2700K normal for its hull type.
  • Size 0 claw is called "Mini Grabbing UNit". I imagine the N isn't meant to be capitalised?
Edited by Guest
Link to comment
Share on other sites

2 hours ago, Rocket Witch said:
  • Mk3 ISRU is missing a Near Future Propulsion patch.
  • Size 3 stack drill and size 1 horizontal inline drill are missing OSEWorkshop patches.
  • Mk2 drill and Mk2 generator have only 7 m/s impact tolerance and 2000K max temp instead of the 50 m/s and 2500K normal for their hull type.
  • Mk3 converter has 2500K max temp instead of the 2700K normal for its hull type.
  • Size 0 claw is called "Mini Grabbing UNit". I imagine the N isn't meant to be capitalised?

PR for items crossed off above done.

If someone writes the patches (NFP and Workshop) I will push them on github.


some parts missing bulkheadProfiles. Will get to that this weekend.

Edited by zer0Kerbal
Link to comment
Share on other sites

9 hours ago, zer0Kerbal said:

PR for items crossed off above done.

Thanks. Also found Mk2 and Mk3 ore tanks don't have the normal temps for their types either. And the size 0 ore tank has a very good mass ratio out of line with the other ore tanks; I gave it a dry mass of 0.1 in my game.

Link to comment
Share on other sites

  • 2 weeks later...
On 8/10/2019 at 11:05 PM, SuicidalInsanity said:

SME has been updated, and should fix the above issues.
Spacedock | Github

@SuicidalInsanity can you confirm that you reuploaded the 0.99.3 version? CKAN reports a different file size than on indexing.

Edit: sorry @SuicdaISnowman for the false tag...

Edited by DasSkelett
Link to comment
Share on other sites

  • 3 weeks later...

@SuicidalInsanity A small improvement that could be made: the patch adding the modes for LH2 conversion has NEEDS:[KerbalAtomics] but it would be better to point to [CryoTanks] since one may use Cryogenic Engines without Kerbal Atomics, but both share CryoTanks as a soft dependency. Or somehow make it need KA or CE.

Also, the Mk3 converter lacks an LH2 mode.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 2 months later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...