New Element Suggestion: SPRT

  • belugawhale
    30th Dec 2014 Member 5 Permalink

    Full Name: Support

    Description: Allows all particles, but moveable with PSTN.

    State: Solid

    Category: Force

    Colour: Transparent Dark Green (0x7F0C3C00)

    This element allows all elements not being pushed by pstn to go through it, similar to invs under pressure. It also does not allow frme or pstn to go through it.

    Uses: Factories, Machines, Animations, etc.

     

    Note: This is almost exactly INVS under pressure, but does not need pressure to allow particles.

  • NF
    30th Dec 2014 Member 0 Permalink

    Good suggestion.

  • greymatter
    31st Dec 2014 Member 0 Permalink
    @belugawhale (View Post)
    Well, you can make the PSTN go a limited distance before it stops by using DLAY and switch...
  • Sandwichlizard
    31st Dec 2014 Member 0 Permalink

    You can make PSTN go a limited distance by setting its Tmp2 value to the max extension length you want.  or if you set the Tmp value you can limit how many linear pixels of material it will push, so if there is one more it will stop.

  • belugawhale
    31st Dec 2014 Member 0 Permalink

    The main reason I suggested this element, though, was as a spacer between particles for pushing things such as life.

  • Lord_Bowserinator
    1st Jan 2015 Member 0 Permalink

    This has been suggested before, and jacob1 made a lua script but it was never added, so it's in my mod under the name FILL

  • Klus
    1st Jan 2015 Member 1 Permalink

    Or when you're making, lets say a cannon and you want to deco it but you can't deco empty space in the barrel so you just fill the barrel with SPRT and done. Although it would be transparent, that's the problem.

  • Lord_Bowserinator
    1st Jan 2015 Member 0 Permalink

    I'm pretty sure elements can't be transparent unless they fake it or have unique graphics code, as I know all elements' colors must start with 0x so that pretty much rules out transparency. Also deco on a transparent element should be non-transparent

  • jacksonmj
    1st Jan 2015 Developer 2 Permalink

    @Lord_Bowserinator (View Post)

    The only thing that's needed is a graphics function. FILT is transparent (in Element_FILT::graphics function, *cola = 127)

     

    However, the transparent element won't necessarily be rendered on top of other particles, it might be hidden by particles with higher IDs on top of it. Particles with lower IDs in the same position will be visible through the transparent element though.

     

     

    This suggestion sounds tricky with the current implementation of pmap. Moving stacked particles with PSTN (e.g. SPRT with something passing through it) will only move the topmost particle.

    Edited once by jacksonmj. Last: 1st Jan 2015
  • belugawhale
    3rd Jan 2015 Member 0 Permalink

    @jacksonmj (View Post)

     Just to be curious, how does piston interact with elements inside pressurized INVS?