rhoark
Members-
Posts
526 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by rhoark
-
[1.12.x] Near Future Technologies (September 6)
rhoark replied to Nertea's topic in KSP1 Mod Releases
Does anyone have an example pic of an antenna/reflector arrangement? -
[1.9.x, 1.10.x, 1.11.x, 1.12.x] Mk-X Spaceplane Parts
rhoark replied to linuxgurugamer's topic in KSP1 Mod Releases
My only wish would be hollow versions of the nose and fuel tank to put small parts inside -
Just simulating n-body orbits at one-tick-per-tick would be way less demanding of the computer than Unity physics of a single rover on the ground. The hard part is drawing the future orbit paths.
- 217 replies
-
Is there a way to still see stock science text blurbs with Kerbalism?
- 2,505 replies
-
- life support
- overhaul
-
(and 1 more)
Tagged with:
-
Just do it. Expending mental effort on optimizing a craft for stock non-physics is just pearls before swine. I highly recommend procedural wings, since the shape of wings will matter.
-
Official API Documentation KSP 1.12.0
rhoark replied to JPLRepo's topic in KSP1 C# Plugin Development Help and Support
By stock editor I mean Squad-supplied, with the DLC. My understanding is the created missions are run by choosing "Scenarios" at the main menu. I am wondering if a plugin could load a saved mission into career mode. -
Official API Documentation KSP 1.12.0
rhoark replied to JPLRepo's topic in KSP1 C# Plugin Development Help and Support
Does anyone know specifically where the new scenario functionality resides? In particular, I'm wondering if it's possible to design a mission using the stock editor, then programmatically activate that mission in a sandbox/career context. -
Information about this seems to be in bits and scraps, and it would be really nice to have the options spelled out. I don't see any core temperature variable documented on Part, so is it up to a PartModule to store that state? Is there an internal counterpart to AddThermalFlux(..)? Or do I set part.thermalInternalFlux directly? Is part.thermalInternalFluxPrevious a way to read the influence of the environment on the core? Or do those interactions simply not happen outside PartModule logic?
-
1.0 heat dissipation?
rhoark replied to NecroBones's topic in KSP1 C# Plugin Development Help and Support
You'd want a low absorption shield connected to a radiator in its shadow. -
The longer I take implementing my mod, the more of it people will do for me.
-
Dirty Reverse Engineering and Relicensing, where do we stand
rhoark replied to Fel's topic in KSP1 Mods Discussions
A patent protects an idea; a copyright only protects the particular expression of an idea. This boundary has not been fully mapped in court. -
[1.12.*] Deadly Reentry v7.9.0 The Barbie Edition, Aug 5th, 2021
rhoark replied to Starwaster's topic in KSP1 Mod Releases
Thanks Starwaster (et al). What would you think about supporting multiple skins on a part (eg, dorsal/ventral)? I figure this could be done with multiple instances of ModuleAeroReentry on a part. It would just need each instance to carry a vector and maximum deflection to check against in _GetBodyArea and _GetSunArea and a new _GetAirstreamArea in similar fashion. Also scale part.exposedArea and part.radiativeArea by maxDeflection/360.- 5,919 replies
-
- reentry
- omgitsonfire
-
(and 1 more)
Tagged with:
-
Spawning from a ProtoCrewMember
rhoark replied to rhoark's topic in KSP1 C# Plugin Development Help and Support
Getting closer - I now have a landed kerbal. However, it doesn't seem to actually initialize gender, trait, or personality from the provided ProtoCrewMember. Here's what I'm doing: uint LetThereBeKerbal(ProtoCrewMember protocrew) { var body = vessel.mainBody; var flight = ShipConstruction.GetUniqueFlightID(HighLogic.CurrentGame.flightState); var crew = new ProtoCrewMember[1]; crew[0] = protocrew; var parts = new ConfigNode[1]; parts[0] = ProtoVessel.CreatePartNode("kerbalEVA", flight, crew); var extra = new ConfigNode[0]; var orbit = Orbit.CreateRandomOrbitAround(body); var vesselConfig = ProtoVessel.CreateVesselNode(protocrew.name, VesselType.EVA, orbit, 0, parts, extra); var position = part.transform.position; position += (position-body.position).normalized * 5.0; vesselConfig.SetValue("sit", Vessel.Situations.LANDED.ToString()); vesselConfig.SetValue("landed", true.ToString()); vesselConfig.SetValue("lat", (body.GetLatitude(position)).ToString()); vesselConfig.SetValue("lon", (body.GetLongitude(position)).ToString()); vesselConfig.SetValue("alt", (body.GetAltitude(position)).ToString()); var protoVessel = HighLogic.CurrentGame.AddVessel(vesselConfig); return flight; } -
Spawning from a ProtoCrewMember
rhoark replied to rhoark's topic in KSP1 C# Plugin Development Help and Support
Spawning in a random orbit like DarkMultiplayer does seems to go fine. I need a landed kerbal, though. -
Spawning from a ProtoCrewMember
rhoark posted a topic in KSP1 C# Plugin Development Help and Support
I'm trying to put a kerbal in the world given a ProtoCrewMember. Doing some cargo cult programming looking at what ContractConfigurator does, I came up with this: ProtoCrewMember protocrew = [etc...] var flight = ShipConstruction.GetUniqueFlightID(HighLogic.CurrentGame.flightState); var crew = new ProtoCrewMember[1]; crew[0] = protocrew; var parts = new ConfigNode[1]; parts[0] = ProtoVessel.CreatePartNode("kerbalEVA", flight, crew); var nothing = new ConfigNode[0]; var orbit = new Orbit(0,0,0,0,0,0,0,vessel.mainBody); var position = vessel.GetWorldPos3D(); orbit.UpdateFromStateVectors(position, vessel.mainBody.getRFrmVel(position), vessel.mainBody, Planetarium.GetUniversalTime()); var vesselConfig = ProtoVessel.CreateVesselNode(protocrew.name, VesselType.EVA, orbit, 0, parts, nothing); var protoVessel = HighLogic.CurrentGame.AddVessel(vesselConfig); Trying this from the launchpad, the result is always a message in the log "Vessel Jebediah Kerman crashed through terrain on Kerbin". I'm guessing that means something is wrong with the orbit I'm providing, or the position it is based on, but I don't see how that could be since they're constructed based on a vessel not crashing through terrain. -
Small but important update fixes an issue that could prevent vessels from being recovered. Also a few minor tweaks to the tech tree.
-
[1.3] kOS Scriptable Autopilot System v1.1.3.0
rhoark replied to erendrake's topic in KSP1 Mod Releases
After some discussion on the subreddit I decided to make some new sensor modules that introduce small errors. There's no direct dependency or special interface to kOS, but the purpose is to enable the use of kOS to experiment with tools for guidance from uncertain readings (such as least-squares, Kalman filtering, and Byzantine fault tolerance.) Here's a beta/preview/proof-of-concept: https://www.dropbox.com/s/11tov1wvslpdwsp/ErrorBars-0.zip What's done so far: External air temperature thermometer with hysteresis and influence from the part's temperature. (Part temperature influence is higher when the thermometer is aerodynamically shielded.) Added as a PartModule on the 2HOT. Linear accelerometer and rate gyro with white noise and red noise. Added to the seismometer, any command part with SAS, and any reaction wheel without command. (Reaction wheels have the highest accuracy.) Barometer with small white noise and a strict 2 Pa - 200kPa range. More accurate when aerodynamically shielded. Added to the Pres-Mat. Pitot tube with a 10 kPa - 1MPa range, dampened readings under 25 m/s, and large fluctuations above Mach .7 - must not be aerodynamically shielded. New part in the control tab, using the "Small Hardpoint" model. Still to come: Radar altimeter Radio time-of-flight transponder Fluctuations in actual state rather than just measurements (wind gusts, micrometeorites) -
My rebalance just sets it at half, no plans for a slider. Here's the code to do that much: http://forum.kerbalspaceprogram.com/threads/118026-WIP-tech-tree-rearrangement?p=1913619&viewfull=1#post1913619