Jump to content

Off world Factory. (AKA 3d printing)


Lordmaddog

Recommended Posts

OK so I love IPL and simple construction mods but they both require kerbals lots of them.

In my vision of the future everything will be done robotically and thus my desire to make a new mod add on for them thats adds 3d printing  all the way up to massive robotic factories.

 

Sadly I have no clue how to do any of this. SO here I am asking for help.

 

This is what I want the mod to have a new tech tree called Off World Production (compatible with community tech tree). Four levels. The first costing 300 sciences, the next 600 then 1200 and finale level 4000.

Each level will unlock a new part. 

 

Lvl 1

3D printer!

The 3D printer is capable of taking simple metal and reshaping into complex rockets parts and then assembling those rocket parts into useable space craft.

 Stats

2.5 mm

-----------------

Productivity booster

When active.

Cost 150 e/c a sec and increases productivity of the vessel by 1

-------------------

ModuleResourceConverter

When active

Converts metal into rocket parts at the cost of .25 metal 30 e/c for an output of 0.25 rocket parts a sec.

------------------

Basic concept art https://www.turbosquid.com/3d-models/photoreal-delta-robot-printer-obj/1019591

 

Lvl 2

Larger 3D printer

The large 3D printer is just a larger more efficient version of the 2.5 mm printer, capable of taking simple metal and reshaping into complex rockets parts and then assembling those rocket parts into useable space craft.

Stats

-----------------

Productivity booster

When active.

Cost 350 e/c a sec and increases productivity of the vessel by 4

-------------------

ModuleResourceConverter

When active

Converts metal into rocket parts at the cost of 1 metal 50 e/c for an output of 1 rocket parts a sec.

------------------

Basic concept art https://www.turbosquid.com/3d-models/photoreal-delta-robot-printer-obj/1019591

Lvl 3

Robotic assembly.

 The robotic assembly is not capable of converting metal to rocket parts however it excels at assembling rocket parts into useable craft.

Stats

-----------------

Productivity booster

When active.

Cost 1000 e/c a sec and increases productivity of the vessel by 14

-------------------

Basic concept art https://www.turbosquid.com/3d-models/da-vinci-surgical-xi-model-1218404

Lvl 4

Robotic Factory

The Robotic factory is the ultimate in off world production capable of mining ore converting it to metal and anything else you want to refine it into. It then can take that metal, make it into rocket parts and with those parts quickly assemble massive craft in hours instead of days.  The Robotic factory weighs over fifty ton and is designed to be constructed off world. (Note The Robotic factory come with a self-contained cooling system and thus needs no radiators to function)

 Stats

-----------------

Productivity booster

When active.

Cost 10000 e/c a sec and increases productivity of the vessel by 100

Mines ore at a rate of 10

Holds 10000 ore 10k metal and 20k rocket parts

-------------------

ModuleResourceConverter

Converts a host of resources at a time with a cost of 30, e/c per unit at a rate of 10 at standard conversion ratios.

------------------

 

 

That is the gist of the plans for the mod.

However I need help with a few things (models and animations) and one line of code.

For the 3d printer the code will look something like this (this is the SP sciences lab code) which Is close to what I want)

 

  MODULE

    {

        name = ModuleResourceConverter

        ConverterName = RocketParts

        StartActionName = Start Printing RocketParts

        StopActionName = Stop Printing RocketParts

        AutoShutdown = false

        UseSpecialistBonus = true

        SpecialistEfficiencyFactor = 0.2

        SpecialistBonusBase = 0.05

        Specialty = Engineer

        EfficiencyBonus = 1

 

        INPUT_RESOURCE

        {

            ResourceName = Metal

            Ratio = 0.25

            FlowMode = STAGE_PRIORITY_FLOW

        }

       

        INPUT_RESOURCE

        {

            ResourceName = ElectricCharge

            Ratio = 30

        }

       

        OUTPUT_RESOURCE

        {

            ResourceName = RocketParts

            Ratio = 0.25

            DumpExcess = false

            FlowMode = STAGE_PRIORITY_FLOW

        }

    }

 

    MODULE

    {

        name = ModuleResourceConverter

        ConverterName = ExWorkshop

        StartActionName = Boost productivity

        StopActionName = Stop productivity

        AutoShutdown = false

        UseSpecialistBonus = true

        SpecialistEfficiencyFactor = 0.2

        SpecialistBonusBase = 0.05

        Specialty = Engineer

        EfficiencyBonus = 1

    }

        INPUT_RESOURCE

        {

            ResourceName = ElectricCharge

            Ratio = 150

        }

        OUTPUT_RESOURCE

        {

           ProductivityFactor = 1  //  this is what I want to happen but ProductivityFactor is not a resource so how do I make this work?

        }

    }

 

}

Edited by Lordmaddog
Link to comment
Share on other sites

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...