PipeHUD Script

  • JonaHungary
    23rd June Member 2 Permalink

     For questions or bug reports, ping @jona23 on discord.

     

    How to use SPDE (Pipe Property and Direction Editor):

     
    Note:
    you can shift-click on the SDPE element itself in the menu to toggle HUD rendering


    Hold LMB to set direction or draw pipes:

     

     

    Hold Shift + LMB to draw a straight section of pipes. Hint: hold ALT too to snap to 8 directions.


    Use the Scroll Wheel whilst SPDE is selected to set mode, then hold CTRL + LMB to apply special operations.

    Modes:
    0 - Erase direction (removes the previous and next pipe's direction)
    1 - Set/Place Color: Red (sets pipe filter to red, or places new pipe)

    2 - Set/Place Color: Green (sets pipe filter to green, or places new pipe)

    3 - Set/Place Color: Blue (sets pipe filter to blue, or places new pipe)
    4 - Set Heat Transfer: True (makes the pipe transfer heat to its sorroundings)
    5 - Set Heat Transfer: False (makes the pipe not transfer heat to its sorroundings)

    Examples:

     

    Pipe Crossing Example:



    Pipe distributor Example: If a pipe has no next direction, it will pick a random pipe to push it's particle to from the 8 neighbouring pipes


    Here are the meanings of the zoom window marks:

     

    : Previous pipe's direction

     

    : Next pipe's direction


    : Heat transfer pipe


     : Not a single pixel pipe, directions are ignored

    : Paused (For PPIP)


    : Particle's future path at the mouse position


    : Particle's past path, or future path when PPIP is reversed via. INST

    : Everything combined

    Edited 7 times by JonaHungary. Last: 25th June
  • AerospaceFan
    23rd June Member 0 Permalink

    can you add ui buttons for these so it can be used on mobile?

  • linfuciuscont
    24th June Member 0 Permalink

    To get started on a blank PIPE or PPIP (paused before BRCK generation):

    1. Set the tmp of the PIPE or PPIP to 256 using PROP or the console.
    2. Scroll to the minimum brush size.
    3. Select the SPDE tool.
    4. Scroll to choose red, green, or blue, then control click to select the PIPE or PPIP.
    5. Route pipes as shown in the first post of this thread.
    6. Unpause, and it should be ready once the life counts to 0.
    Edited once by linfuciuscont. Last: 24th June
  • JonaHungary
    25th June Member 0 Permalink

    @linfuciuscont (View Post)

     i'll add a function to PPIP to make place already generated pipe

  • jansuki
    26th June Member 0 Permalink

    best script along with subframe chipmaker

  • linfuciuscont
    26th June Member 0 Permalink

    @JonaHungary (View Post)

     Right now, the pipes placed by control-click show up as "Not a single pixel pipe," making the direction setting feature useless without manually modifying the tmp value. Also, the update broke the color set feature, so now it can only place colored PIPE and not set colors of PIPE.

    Edited once by linfuciuscont. Last: 26th June