Jump to content

Tompete Kerman

Members
  • Posts

    30
  • Joined

  • Last visited

Reputation

4 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  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?
  12. Good news: Managed to figure out how to into EVA Bad news: Turns out my sending range is the ~2km load range. So I guess now what I need is a way to load a target area, then send my kerbal there, ala Hyperedit?
  13. I'm making a transporter mod, and I've hit a hiccup in trying to spawn a vessel from nothingness. Now, I've looked a bit into how things like VesselMover and ExtraplanetaryLaunchpads do this, but both of those rely on building from a saved craft in the VAB/SPH. What I'm trying to do is spawn a single-part vessel (currently I'm trying to use the mk1LanderPod as a placeholder) at a given location, so that I can then EVA the kerbal and delete the vessel. The thing is, I've no real clue how to go about this, I'm guessing I need to make a ShipConstruct for my destination-ship, a ConfigNode to use as it's spawning-root, use ".add(Part p)" to add the lander pod to the empty construct, then send the craft to where I want it to be. Problem is, I've no clue how to point .addPart(Part p) towards a part that's not actively on my vessel already. Does anyone out there have the expertise to help me break the laws of conservation of mass and energy?
  14. I actually contacted AndyMt, and consulted with him about how his GravityTurn mod is able to access Mechjeb in order to circularize, and while I think that's managed to get me the mechjebcore I need, I cant seem to access it's variables. Neither GetField or GetValue seem to be working for me.
  15. I'm working on a transporter room mod, and while I can beam someone from the world into my modified Mk1 Lander Can testing pod, their portrait won't register until I switch off the vessel and back. I've tried setting the Kerbal in question's state to Alive, turning their SetVisibleInPortrait to true, using the SpawnPortrait, StartReset, Awake, and Update functions of KerbalPortraitGallery, all to no avail. I have a listener KSPField for whoever's occupying the pod, and it'll register the Kerbal as in the pod, so I know that the Kerbal has made it into the part.protoModuleCrew[0] slot, for what it's worth. I know that *something* must be happening when the vessel switches back and forth that causes the KerbalPortraitGallery to repopulate, but for the life of me I can't seem to figure out what it is, or how to activate/call it after a teleportation. Does anyone with a better knowledge of how the KerbalPortraitGallery operates, or what all occurs on switching to a vessel, be willing to explain to me where I need to do what and how to make this "do"?
×
×
  • Create New...