ManTrelk
Members-
Posts
37 -
Joined
-
Last visited
Reputation
12 GoodProfile Information
-
About me
Rocketeer
-
Congrats to the team at Squad! There was frankly a lot of doubt about this release in the community, but you pulled it off without a hitch. Spectacular!
-
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
Okay. Well, I won't waste your time with that. I might post in the mod support forum later. I'm guessing the problem involved kOS in some way though, because it's only started appearing since I've installed the mod. Any advice on the "Tried to push infinity to stack" error? It doesn't seem to affect anything, it's just annoying. -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
Hmm, okay. Thanks for the advice. I don't think that's the issue though, because I put ROUND in there to try and fix it. The error was occurring before ROUND was in the code. Will this update add support for user defined functions? Because I cannot WAIT for that. Now that I've done a bit more testing. I'm not sure that the line I pointed to was actually the problem - it's hard to say. The error only occurs *most* of the time I run this script, so I'm not sure if it's just coincidence that it disappears when I remove that line. There's also the fact that when the error *doesn't* appear, reverting my ship seems to break KSP. I get a screen with no ship visible, only the skybox, and no velocity. And I can't revert. I'm 90% sure it's related to kOS. Maybe it's a problem elsewhere in my script which is only manifesting itself when it gets to that trigger? I could post my whole script if someone wants to spend their time and hunt for the bug (It's my first script though, so I'd rather not embarrass myself ). -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
Small question, why does result in the error "Tried to push infinity to the stack?" The problem line is SET stagetime TO ROUND(TIME:SECONDS). -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
:| Oh? I wasn't expecting that answer. That does sound like my problem though. Why isn't this a bigger deal? I'd have thought pretty much everyone would be using that command. It happens with any design I make. A Mk1 command pod as root, kOS core, a 1m tank and an LV-909. Or one of my heavy lifters. Any craft that locks steering as it accelerates off the launchpad (or just above the launchpad, or on the launchpad) has this problem. -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
Since I didn't get a clear answer last time: if I use a command to to change compass heading like LOCK STEERING TO HEADING(90,pitch) should my vessel tilt off axis when changing its compass heading to 90? Or should it roll smoothly along its longitudinal axis? Right now in my game giving any basic direction commands using LOCK causes the vehicle to pretty much lose control a few meters above the launchpad, making kOS unusable. Is it a bug on my end, or with kOS? -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
Thanks for the reply. I don't really mind changing the roll if the ship does it smoothly without deviating off its roll axis. Just to clarify, is that an artefact of UnityEngine or were you referring to the 360 degree roll I experience? That first bit of code you posted keeps the roll steady, but locks the ship to UP. Is there a way to get one without the other? Also, is gt0 an undefined variable in the until loop? -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
I'm so confused... New to kOS here. The command LOCK STEERING TO R(0,0,0) should keep the ship pointing in whatever direction it's currently facing, right? No rotation about its axis or anything as a result of that command? The command LOCK STEERING TO HEADING (SHIP:FACING:ROLL,90) should also result in no change to roll, right? Why does it make my ship do a 360 degree roll? How can I avoid this and lock steering without changing my ship's roll?? More to the point though, is something wrong with how kOS handles changes to a ship's roll value? My vessels seem to shift on other axes when I give it a command to change its roll (which is why I'm trying get it to maintain its current roll...). -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
ManTrelk replied to erendrake's topic in KSP1 Mod Releases
I'm having the same problem as Evi - LOCK STEERING causes the craft to oscillate around the target orientation. I don't have mechjeb installed, though.