Jump to content

Hooligan Labs

Members
  • Posts

    481
  • Joined

  • Last visited

Posts posted by Hooligan Labs

  1. Will you be able to build your own ships?

    Or is it just procedural generation?

    Took a while for me to get this post up, but I got a lot to say about making ships. The answer is a little bit of both. To start with, here is something about upgrading the propulsion system to 300,000 nuclear bombs.

    efd922_e9abdaa57c024b3b9fc2974913667971.png_srz_p_630_487_75_22_0.50_1.20_0.00_png_srz

    Click to read!

  2. I'm sure this isn't enough info, but if anyone had some basic design tips I would love the help.

    Thanks

    The easiest would likely be to hang it from the top, like you first attempted. Try rotating it with WASD to find an attachment point. You can also use a Cirrus or the like, which is an animated envelope with an attachment point on the bottom.

  3. Right now i have heard nothing from Squad about adding this to stock but I am very glad that you enjoy it so much! I will be adding some actual probe sized parts soon so keep an eye out here!

    Yep, I'm not even working on the project anymore. Jewel has been keeping it running since I left to devote more time to my new Interstellar game. I would love to see Squad add airships and submarines in the future, somehow! I think this shows it could work! :)

  4. Thank you all for your interest! I put up a post about procedurally generating big spaceships. Feel free to leave a comment on the site!

    efd922_1b9b300819b44cedbd8b9336cce47625.png_srz_p_630_298_75_22_0.50_1.20_0.00_png_srz

    Click here!

    I also added a mailing list on the website, so please sign up! The more people who get involved, the more real this game gets!

  5. Hello, I'm Nate Johnson and I loved doing a whole bunch of mods for Kerbal Space Program! I loved learning about space physics, Unity3d and programming C#. Also, the KSP community is the best I've ever been a part of.

    After a while I wanted to make my own game. It would be about what happens between the spaceship launch and landing. How do those people live? How would you handle disasters during the trip?

    So I'm working on a game I call Interstellar: Voyage Between Stars.

    efd922_4f1e8c419bd348fa8f43950c6376878e.png_srz_p_630_297_75_22_0.50_1.20_0.00_png_srz

    Click here for more!

    My KSP mods were 90% driven by feedback from players. Please check out the website, share and leave comments!

    Latest update:

    4 Ways to Save Everyone from Dying in Space on Your Interstellar Generation Ship

    efd922_0330714883b8453ea352b7101640a761.gif_srz_p_432_312_75_22_0.50_1.20_0.00_gif_srz

    Includes new pictures of gameplay, including the upcoming resource system and 3D GUI.

    efd922_60291af11e474742b94d0c219b178979.png_srz_p_630_548_75_22_0.50_1.20_0.00_png_srz

    Click to sign up for alpha testing!

  6. The unfortunate thing about the Airship mod is that it is how I taught myself object oriented programming AND Unity. My apologies to all, a lot of what you are looking at is something made by a complete scripting amateur. :)

    I'm taking a look at the references to lead envelope in the source code and it looks like it doesn't really do anything other than control if the GUI is displayed or not. What was the specific question?

    If it was a lead (led) instead of lead (leed) envelope... ;) Mythbusters made a helium balloon out of lead and IIRC someone back in the 1970's also did it. Very fragile and completely impractical, but it works if made large enough so the volume of the gas can overcome the weight of the metal.

    Yeah that was a great episode, and they brag about it incessantly now. :)

    Which makes me think of another crazy technology I'd love to see in this mod. Vacuum airship parts. What weighs less than hydrogen, the lightest element? Nothing, that is a vacuum, consisting of nothing at all, weighs less than hydrogen.

    When I last did the buoyancy to weight calculations, all the envelopes were assumed to be sealed vacuums. If you can find my old thread I did a giant post on it.

  7. I write this without having kept up with the latest changes to my mod, by those keeping it up to date. :)

    Having any sort of Hooligan Labs sub tech in a Kerbal universe seems to make all the Kerbals ocean-floor-walkable.

    Yes, the custom script affects nearby EVA Kerbals and makes them sink like they had ballast tanks.

    So I guess in my quest to be Kerbal James Cameron, and send a Kerbal down to the deepest part of the ocean (1391 meters deep), I'm going to have to stick with the non-Hooligan Labs tech, in a saved game where no vehicle with HL-sub-tech has been used.

    KSP has a real problem with objects at an altitude of -600 meters or less. While it might seem like it works at first, if you open a debug window you would find it constantly spewing errors.

    The biggest problem is how it handles loading back in a vessel that is below 600m underwater. It will place the vessel partway underground, causing the vessel to explode into pieces. Same for EVAs.

    Perhaps there could be an option to allow vessels to go deeper, but also consider this... Under 600 meters of water, the pressure is something like that of 30 Mainsail rockets firing full power. Per square inch. Could almost anything survive that?

    I think I just found mod, that will allow me to land 300 ton rockets on water :D

    Firesplitters seaparts are just too weak for it.

    I don't think it's too weak so much as a difference in design. If it is still like how it was when I based the submarine parts off of the Firespitter parts, then the Firespitter parts only change how their own colliders interact with water. Thus, a pontoon might do fine in water but for any other part it is like hitting solid earth. The submarine ballast tanks make it so the entire vessel has its parts' colliders replaced with ones that treat water as water and not as solid ground. So yes, your whole rocket not splashes rather than crashes! Though it probably doesn't float anymore. :)

  8. Wow, my mods are (completely thanks to JS) on Curse! :cool:

    It was parachute-like inflatable balloons that inspired my original animated envelope designs. I think I wrote up some posts on how to make animated shape-changing parts in KSP on my old thread. I used Blender. If you can't find it there, I could probably put something together... And I bet I still have all the old Blender files to act as a template too.

  9. In a way... When you research mass drivers the inventors often propose doing it in steps. It usually begins with something that we could just about build now, basically a very tall monorail, and then they add in things like monopole magnets as they are made reliable and cheap enough.

  10. I want one. Now. Please.

    I want to build a Jeb Cannon.

    This does work with KerbTown. I've tested it.

    BTW, I noticed the comment about making this a part. Sorry if this has already been suggested, but one idea might be to make a little "Mass Driver Comlink" part or something. It would be a normal visible part, but hidden in the file would be the mass driver model with everything except the mesh renderer and collider turned on. Maybe then use the normal right click menu on the comlink to place it. Something like...


    namespace MassDriverCode
    {
    public class MassDriverComLinkPartModule : PartModule
    {
    public GameObject MD_Template; // Set in Unity Editor or find at start
    [KSPAction("Order Mass Driver Construction")]
    public void MDC_Action(KSPActionParam param)
    {
    MDC_Event();
    }
    [KSPEvent(guiActive = true, guiActiveUnfocused = true, unfocusedRange = 2000, guiName = "Order Mass Driver Construction")]
    public void MDC_Event()
    {
    GameObject MD_Clone = Instantiate(MD_Template, transform.position + new Vector3(0, 2000f, 0f, Quaterion.identity) as Transform; // Plops a copy of the Mass Driver 2 km ahead with the same orientation as the part. Obviously could be done better, but a start.
    MD_Clone.transform.parent = null;
    MD_Clone.renderer.enabled = true;
    MD_Clone.collider.enabled = true;
    }
    }
    }

    Maybe that would be a good challenge for Northstar?

  11. It works! Hahaahahahahaahhaaaa

    No thanks to whoever made the old particle system in Unity! Expose your stuff to coders, jeeze!

    That looks great! I never got the particle effects working just the way I wanted for the SQUID, so I know how hard this is to make it look that good.

    Is it possible to direct the ray cast diagonally at the ground so that it's projecting out/ahead a short distance?

    That was kind of what I was proposing with the code I put there. By raycasting and adding force in the direction of the part's local "down", you represent the force of the air coming out from the skirt. The part's down may be in any direction in the real world, so hopefully it would act just like a normal hovercraft.

    If Snjo instead wanted to place transforms in the Unity editor and then reference them in his script, that could work just as well.

  12. Yes, probably better to write something like this...


    // Width and length of the air cushion skirt
    public float skirtWidth = 2f, skirtLength = 4f, spaceBetweenForces = 0.5f;
    public float forceMax = 1f;

    void FixedUpdate() {

    // Check in all spots under the skirt
    for (float wide = -1 * skirtWidth / 2; i <= skirtWidth / 2; wide += spaceBetweenForces) {
    for (float long = -1 * skirtLength / 2; i <= skirtLength / 2; long += spaceBetweenForces) {

    Vector3 downVector = transform.TransformDirection(Vector3.down); // Force out the bottom of the skirt
    Vector3 worldForcePosition = transform.TransformPoint(new Vector3(long, 0, wide); // Where we are checking on the skirt
    Vector3 pointGravity = FlightGlobals.getGeeForceAtPosition(worldForcePosition).normalized;
    float airForce = 0;

    // First check for water
    if (vessel.mainBody.GetAltitude(worldForcePosition) < downVector.magnitude) airForce = Mathf.Clamp(Vector3.Dot(downVector, pointGravity) * forceMax, 0f, forceMax);
    // If not, check for objects under the hovercraft, should work for everything but water
    else if (Physics.Raycast(worldForcePosition , downVector, out hit)) airForce = forceMax - forceMax * hit.distance / downVector.magnitude;

    rigidbody.AddForceAtPosition(downVector * airForce, worldForcePosition ); // Apply force at this point on the skirt away from the thing below

    }
    }

    }

    Details coming soon!

    Edited in some more quick thoughts on the calculation

  13. Cool! My thought was to use invisible spheres underneath on spring joints. Unfortunately, spring joints can only be made between separate rigidbodies. I'm going to guess that KSP does not support importing a Unity file with multiple rigidbodies, so it would have to be added later by scripting.

    BTW, don't know when I could work on this... Trying to release my first game on Google Play soon.

  14. The only bug I've noticed is if I pause the game with the squids on, when I unpause the wheels usually pop/explode.

    I did a quick check through my old code and it doesn't seem that anything special should happen during a pause or unpause. My guess is that Unity has an issue with suddenly recalculating the forces involved. It seems you've found a solution, otherwise maybe some kind of force ramp function following a change in the physics time scale would help.

    Can't wait to install airships on impacting asteroids that land them safely!

    Nothing terrifying about tons of rocks from space being suspended overhead! :D

    That is part of my plan honestly. That way people can retrofit their ships and designs without having to know how to edit .craft files

    Good idea. People always will request to have the old parts back anyway, and you want to stay backwards compatible to not break what other people are doing.

  15. Hello! I wanted to say that I got a question on my channel asking if my mods were still available, and I was able to point them to Jewel's work. I haven't tested them myself, I'm working on a space game of my own, but I am very happy to see the new development. Actual airship nose cones, so long requested, finally exist. :D

    Keep it up! I'll check back every now and then to see how things are going and check messages.

    P.S. You could be putting your own logo on all this, with your own work. :)

  16. Rover does science in space!

    F6EEFBB92AC1A0800B20ABEC57C8B7CE72DC771E

    A6154B944349CB74B0870DC0462CC254A794CEE8

    I do love alternate ways of traveling to space and have experience with Unity, the Kraken, KerbTown KSP mods. I have some ideas on how to make your mod work, any way I can help?

    ... Okay, I'm just going to write my ideas down before you answer that. Maybe the Kraken code is almost working! If so, please forgive me. :)

    Create a box-like object and port it in with Unity. This will be the superconducting element that lifts and pulls the spacecraft along the track. The element can be attached to the bottom of the spacecraft. When it is activated between the two rails of the launcher use Lerp (straight track, should be fairly easy to program) or Slerp (arc shaped track, much more difficult) to have the superconductor travel the path from start to finish. To properly reflect acceleration, have the T increments increase at a steady rate. When the end is reached, use the decouple script command to have the spacecraft break away. If there are issues with KSP not having it launch properly, I think you can painlessly set the velocity vector using SetWorldVelocity.

    I would strongly recommend having zero drag on the vessel to represent it traveling through a vacuum tube. You probably don't need to model the tube, just assume that it is closed by an invisible plasma barrier with walls made out of transparent ultrastrong graphene. :) To zero drag, upon entering the tracks make a list of every part, it's drag (a simple Unity value that does just what it says) and node sizes (I think this is what Ferram uses to calculate drag). Set these values to 0. Upon leaving the launcher or breaking away from the vessel, set these back to their original values.

    As a final note, it would be most realistic to have the launchers climb the slopes of Kerbin's mountains. Launch pads accessible by KerbTown would make access easy.

    That's all I can say for now! Lots of the ideas came from the wiki article on the StarTram.

×
×
  • Create New...