Element Affecting Command Bug

  • Fusionftw
    5th Apr 2020 Member 0 Permalink

    Element affecting console commands, like "tpt.el.wood.falldown=1" do not work.

    I'm not sure if you cannot change element properties in this fashion, or this is actually a bug. There is no console feedback, either.

     

    Steps to Reproduce:


    1. Open TPT, and draw some PSCN.

    2. Press ` to go to the console, and type "tpt.el.pscn.falldown=1" (without the quotations).

    3. Press enter.

    4. Notice how the command is run with no feedback (like console1: Invalid Property).

    5. Notice how the PSCN is not affected by the command (the PSCN should act like a powder and fall).

    Edited 2 times by Fusionftw. Last: 5th Apr 2020
  • LBPHacker
    5th Apr 2020 Developer 1 Permalink
    No, it should not act like a powder and fall. PSCN is not a powder and doesn't become one just because you set its Falldown to 1. Changing properties works fine, try Description (description in the legacy API's case).
  • jacob1
    5th Apr 2020 Developer 1 Permalink
    You need to change many more properties than this to make it act like a powder.

    There's .gravity, .advection, .airloss, .airdrag, and .loss

    I suggest copying these from an existing powder you want to mimic.
  • Fusionftw
    6th Apr 2020 Member 0 Permalink

    Oh! I saw someone say in the comments of a save that you could turn elements into powders like that. Welp, I guess I should read up on TPT's LUA commands.

  • Laminat09
    19th Jun 2020 Member 0 Permalink

    @jacob1 (View Post)

     had a similar problem, solids behave like gravity is off, even if i copy all the properties