Jump to content

K3achas

Members
  • Posts

    102
  • Joined

  • Last visited

Posts posted by K3achas

  1. For smallish amounts of oxygen, we can use electrolysis on the water, which also gives us hydrogen.

    Also, I'd imagine that we would have access to gunpowder, which has saltpeter, which has oxygen. Good luck getting it out.

  2. EXC 09:24:04.932] NullReferenceException: Object reference not set to an instance of an object

    Whenever I launch a part with the following module, procedural parts module, and the procedural shapes module the above error is thrown. Any ideas on how to fix?

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Reflection;
    using UnityEngine;
    using ProceduralParts;

    namespace ProceduralTech
    {
    public class ProceduralCabin : PartModule
    {
    [KSPField(guiActiveEditor=true)]
    float cabinVolume;
    [KSPField(guiActiveEditor=true)]
    int crewSize;
    PartModuleList modules;
    ProceduralPart rootStreach;
    ProceduralAbstractShape rootShape;
    public float CrewDensity;
    public float MassDensity;

    public override void OnStart(StartState state) {
    modules = part.Modules;
    for (int i = 0; i < modules.Count; i++) { //find the procedural part module
    if (modules [i].ClassName == "ProceduralPart") {
    rootStreach = (ProceduralPart)modules [i];
    }
    }
    rootShape = rootStreach.CurrentShape;
    // print ("CD = " + CrewDensity.ToString ());
    // print ("bla = " + bla.ToString());
    }
    public void Update() {
    if (HighLogic.LoadedSceneIsEditor) {
    cabinVolume = rootShape.Volume;
    // print ((cabinVolume / CrewDensity).ToString());
    crewSize = (int)(cabinVolume / CrewDensity);
    part.CrewCapacity = crewSize;
    part.mass = cabinVolume / MassDensity;
    }
    }
    public override void OnLoad(ConfigNode ownNode) {
    CrewDensity = float.Parse (ownNode.GetValue ("CrewDensity"));
    MassDensity = float.Parse (ownNode.GetValue ("MassDensity"));
    // print ("[Debug] CrewDensity = " + CrewDensity.ToString());
    // print ("[Debug] MassDensity = " + MassDensity.ToString());
    }
    }
    }

  3. How about a Super Computer!!!! Just think of the graphics you could run on it! Movie like rendering real-time in KSP...

    Part counts would be able to be massive. Imagine 1,000,000 parts!!!!! AND IT RUNS SMOOTH!!!

    Okay, I know what your saying. SUPER-COMPUTERS ARE WAY TO MUCH $$$$$$$$$

    But just think... as tech improves our everyday computers will improve with everything on them.

    Movie like rendering in KSP is not far away.................

    YargJay9991

    Most modern supercomputers run linux, so a port exists. That being said KSP only realy uses one tread, so the millions of cores won't help.

×
×
  • Create New...