Jump to content

Tompete Kerman

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by Tompete Kerman

  1. I was working on one, gonna pick it up again sometime soon and try to get more community help on it. I was looking into using some code ideas from Deep Freeze to delete/transfer the crew member, but I ran into sort of a The Prestige problem where all I was really able to do was imperfectly clone crew members to two ships
  2. So I've made a fairly simple Bell-style small helicopter replica, and while I can get it up in the air by manually setting the torque limit to 10, the tail rotor limit to the same, and using throttle to control the blade deploy pitch, I'm somewhat at a loss on how to make the main and tail rotors synchronize or rotate/pitch at the proper relative speed/angle to keep it level and straight mid flight. Does anyone have a succinct tutorial on this subject? Example craft to show? EDIT: Good news, got the main rotor all but figured out, bad news: still cant get the tail rotor to correct rotation. Can anyone help with that?
  3. I'm wondering if anyone has any experience or ideas on how one would go about adding air/ether to the interplanetary zones of the Kerbol system? Would it be best handled by altering the "atmosphere" of Kerbol? I know this wont effect the celestial mechanics of the planets, I merely want to modify my game in order to try some spelljammer-type shenanigans. EDIT: I had a thought, about placing an empty pseudoplanet inside Kerbol using Kopernicus, and giving IT an atmosphere that extends out beyond the furthest planets. Anyone with experience in that mod know if that's a viable option?
  4. I'm trying to get my new Saitek/Logitech 3-throttle device to work properly, but when I'm trying to use it to control thrust or brake limits, I'm having an issue where the throttle will accurately display 0-25, jump to 50, then jump to 75 and proceed normally through to 100. I've tried poking around in the Logitech Driver software that comes with the Quadrant, and I've tried messing with the settings in KSP, all to no avail. I've also double checked in the USB Controller Configuration thing in Windows, and all throttles smoothly display 0-100. Has anyone encountered similar, or have any advice?
  5. I suppose that would make sense, I'll have to finagle with it a bit when I'm back at my workstation. In the meantime, any more insight from anyone is greatly encouraged.
  6. That would explain a lot of my confusion and frustration. As for the variables you mentioned, I can logically suss out what GetObtVelocity() would get me, but velocityD isn't as well described. Can you help pre-enlighten me as to what it is before I experiment with it?
  7. Turns out the solution was to actually run everything in FixedUpdate in stead of overriding onFixedUpdate, and to drop any reference to rigidbody, like so: p.AddForce(-gee * p.mass)
  8. So, I'm trying to develop a sci-fi inspired "Inertial Brake" mod, that will ideally find the current vessels prograde vector, and it's speed, and then "magically" apply a PID-controlled counterforce/resistance to the craft to slow it to a set speed. My issue is figuring out exactly which of the vaguely defined variables in the vessel API is what I'm looking for. So far the most likely candidates are srf_Velocity, srfRelRotation, and srfSpeed. If anyone has any insight/experience with these, or has an idea on how to find these variables, I'd greatly appreciate the guidance.
  9. I'm trying to canabalize flywlyx's GN Drive Mod to re-create an Anti-Grav mod I made a few years ago, but I think there's been a Unity update since then that's messed with what works. The issue I'm having it with it is related to this code: foreach (Part p in this.vessel.parts) { if ((p.physicalSignificance == Part.PhysicalSignificance.FULL) && (p.rigidbody != null)) { p.rigidbody.AddForce(-gee * p.rigidbody.mass); } } It's telling me that there is no lowercase "rigidbody" in Parts, but trying uppercase Rigidbody, RigidBodyPart, or rb all don't have the desired effect. I even tried downloading the original GN drive mod to see if that's broken, but that works fine. Can anyone sleuth out what I'm doing wrong? I'm running Visual Studio 2017, Framework set to 3.5, and the class I'm building has inherited from PartModule.
  10. So if I'm trying to get the gravitational acceleration pulling me downwards, I'd need to get the vector3 of that and isolate the proper axis?
  11. I'm attempting to find a way to read the surface gravity of the body I'm orbiting. The API reference says that the GeeASL of Kerbin should be 9.81, but when I read it at the launchpad or in orbit around Kerbin, it reads as "1.00034160493135" Should I just multiply the result by ~9.8, or is there a more accurate method of getting the number I need?
×
×
  • Create New...