ialdabaoth
Members-
Posts
549 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by ialdabaoth
-
Update: I thought I had a really clever way of handling G-force damage, but unfortunately there is no stable way to get G-force on a vessel. vessel.geeForce_Immediate works 99% of the time, but every once in awhile it'll arbitrarily spit out a huge number for no good reason (most often when going into / coming out of warp), and then everything explodes.
-
[0.20] ModuleManager 1.3 - for all your stock-modding needs
ialdabaoth replied to ialdabaoth's topic in KSP1 Mod Releases
Talked with various mod authors in IRC; we agreed that having spaces in the names is Bad and Wrong. Keep in mind that the Unity GameObject name is derived from the name= key - so while spaces somehow magically works, it really REALLY shouldn't, and who knows what it might make blow up in the future. -
[0.20] ModuleManager 1.3 - for all your stock-modding needs
ialdabaoth replied to ialdabaoth's topic in KSP1 Mod Releases
Wow, yeah. Heh. I'm starting to wonder if I can find someone to volunteer to maintain my cfg files for me, so I can focus on the C# coding? This is getting overwhelming. -
I try to do: new EventReport (FlightEvents.CUSTOM, part, part.partInfo.title, "g-force", 0, " exceeded g-force tolerance.")); but instead, it just says "<Part> crashed into g-force". If I don't include the second string, it just says "<Part> crashed into unknown object." How do I add a custom line to the event log that says "<Part> exceeded g-force tolerance."?
-
NICE! Can I request two more parts in this series? It would be amazing to have 90-degree arc and 45-degree arc corridors, that could combine together with these parts to make station rings. Also, with your beautiful little strut tabs, it should be possible to just strut the last connection in place.
-
Awesome! As it turns out, the fx is 90 degrees rotated from that, so the actual code is: velocity = (part.Rigidbody.GetPointVelocity(part.transform.po sition) + Krakensbane.GetFrameVelocityV3f() - Krakensbane.GetLastCorrection() * TimeWarp.fixedDeltaTime); fx.transform.LookAt (part.transform.position + velocity); fx.transform.Rotate (90, 0, 0); Whew. Two more questions (hopefully): 1. I try to do: new EventReport (FlightEvents.CUSTOM, part, part.partInfo.title, "g-force", 0, " exceeded g-force tolerance.")); but instead, it just says "<Part> crashed into g-force". If I don't include the second string, it just says "<Part> crashed into unknown object." How do I add a custom line to the event log that says "<Part> exceeded g-force tolerance."? 2. I need to know whether a parachute is deployed or packed, or whether a shielded docking clamp is open or closed. How do I determine this from the ModuleAnimateGeneric or ModuleParachute?
-
actually, here's what happens: At a shallow angle, you tear through the atmosphere at speeds of several km/s. Final temperature is dependent entirely on speed, although how quickly you reach that temperature is dependent on density. At a steep angle, you slow down VERY quickly, so while you're lower in the atmosphere and hence heating up faster, the temperature you're heating up TO is lower, because you've just experienced 18+ G's of acceleration.
-
Note that this mod's primary concern is heat, not G-forces. Worrying about what G-forces are survivable would be a nightmare, because of other mods doing the same thing (most notable FAR). Although at some point, DeadlyReentry and FerramAerospace should probably be merged somehow, at which point G-force considerations would be easy.
-
1.3 was way, way more harsh than it should be. In 1.3 and earlier, the effective temperature of the shockwave was infinite - so you could explode at almost any speed if you didn't decelerate fast enough. In 2.0, the temperature is capped by the velocity, so as long as you are going under 2 km/s you'll get a lot of pretty lights but nothing will explode. here's how the logic is working in 2.0: A) all parts have their maxTemp halved, so your capsule will have a maxTemp of around 1700 According to the oracle, the temperature of the shockwave in Kelvins is approximately equal to the speed in m/s. Since the game uses Celsius, your shockwave temp is somewhere around your velocity - 275. C) The temperature at which any object begins emitting visible black body radiation (aka "glowing red") is 525 C. Therefore, at 800 m/s (525C ~= 800K) your contrail begins glowing. D) Each part that is not shielded by another part gains heat from the shockwave until it reaches thermal equilibrium with it. The rate of heat increase depends on the difference between the temperatures and the density of the air - so you'll gain heat about 2.7 times as fast at 30 km altitude as you would at 35km altitude. This is fiddly - I might need to adjust the density exponent here. E) if your part has a heat shield, that shield has three components: an angle, a reflective factor, and an ablative factor. The reflective factor ranges from 0 to 100%; it's the amount of heat increase that's flat-out ignored if you're coming in at the correct angle, no matter what. The ablative factor represents how much ablative resource gets blasted off your ship as a function of temperature, and how much temperature gets wicked away per chunk of tile that gets melted off.