Debug in HUD

  • polkiuhj
    17th Aug 2018 Member 0 Permalink

    Well,I've just got bored about playing TPT in Android with no Debug mode and decorations always on.

    So I open powder.pref , try to get them switched,and this really interested me:

     

    "HUD": {

    "normal": [0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 2, 0, 2, 1, 2, 0, 0, 0, 2, 0, 2, 0, 2, 0, 1, 0, 0, 0, 0, 2, 0, 2, 1, 0, 0, 1, 1, 0, 0, 0],

    "debug": [0, 0, 1, 2, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 4, 1, 1, 1, 0, 4, 0, 4, 1, 4, 1, 1, 1, 4, 0, 4, 0, 4, 0, 1, 0, 0, 0, 0, 4, 0, 4, 1, 0, 0, 1, 1, 1, 0, 0]}

     

    I know it's about how the HUD works,and when I replaced some of them ,The HUD started showing Gravity intensity and Cell generations,etc.which I've never seen before.XD

     

    Could anyone tell me How does It works?I want to have a HUD with more functions.

     

    Thanks.

  • Cracker1000
    17th Aug 2018 Member 1 Permalink

    @polkiuhj (View Post)

     Use jacob1 mod or mark2222 mod.These mods give far more options in hud then vanilla tpt.Try attaching a usb keyboard to android if you want.

    Also not sure why you can't turn decorations off.There is a button in top right corner to switch deco on/off.

    Lastly try using debug modes through console like 0x1 0x2 0x4 and 0x8 etc to change debug modes.

    Edited 2 times by cracker1000. Last: 17th Aug 2018
  • jacob1
    17th Aug 2018 Developer 1 Permalink
    What you should actually do is hold the "open console" button (right edge) until the on screen keyboard comes up. Then type d, this will send a "d" keypress and turn on the debug hud.
    Those settings control the debug hud, it is how my mod works. My mod lets you fully customize the normal and debug huds, and add some things that aren't usually there in vanilla TPT. You don't need to mess with that.

    Also cracker1000 is right about there already being a deco toggle. If you have newtonian gravity enabled, the toggle will be for that instead. There is no good way to toggle deco when newtonian gravity is enabled, sorry ):

    @cracker1000 (View Post)
    tpt.setdebug should not be used, that has nothing to do with the debug hud