Profile image

Debug logging? Is it possible in console?

13.8k vonhubert  3.8 years ago

Hi! I'm trying to make a funky trees autopilot code and currently need to estimate the amount of correction needed when an aircraft is accelerating or decelerating (with current code it starts deviating from current altitude in those cases). i'm currently monitoring some variables via console debugger (ex. DebugExpression "rate(IAS)" ) Does anybody know, if there is a command to make a game log several variables into a text file?

  • Log in to leave a comment
  • Profile image
    13.8k vonhubert

    @Brayden1981 Yup) im here, listening

    +1 2.6 years ago
  • Profile image

    @vonhubert

    2.6 years ago
  • Profile image

    @vonhubert

    2.6 years ago
  • Profile image

    @vonhubert

    2.6 years ago
  • Profile image

    @vonhubert

    2.6 years ago
  • Profile image

    Hi there are you still around

    2.6 years ago
  • Profile image

    @vonhubert I think you have to do them all individual

    3.8 years ago
  • Profile image
    13.8k vonhubert

    @asteroidbook345 i know) thats what i do right now. Any idea how to write it into a file? Instead of repetedly writing down 5 variables from screen by hand?

    3.8 years ago
  • Profile image

    @vonhubert Any expression you make can be put into the DebugExpression command, and the output will be either true or false, or a number value.

    3.8 years ago
  • Profile image
    13.8k vonhubert

    @asteroidbook345 thats exactly what i need. Any info?

    3.8 years ago
  • Profile image
    13.8k vonhubert

    @WarHawk95 well, i know the debug command. I'm currently just testing it that way, pause the game in right moment (when aircraft is stabilized by me manually) and write down all the data to excel. That's like 25 data points in more than an hour. Do you know, is there a command so it not only shows the debugged parameter on display but also writes to a file? Or may be you know some kind of appropriate external program? i've tried ArtMoney, was able to find the required addresses in memory, but this old program is bugged and do not seem to have a logging option

    3.8 years ago
  • Profile image
    16.5k edensk

    nope, you can only see it in the game in real time, unfortunately

    3.8 years ago
  • Profile image
    34.9k WarHawk95

    You can, by typing in the console :
    DebugExpression [the expression you need to debug]
    Ex :
    DebugExpression TargetDistance

    3.8 years ago
  • Profile image

    I'm not sure, but you can log multiple expressions and attributes about the plane at once, like roll rate, acceleration, Gs, etc.

    3.8 years ago