CSNS (Color SeNSor)

  • 12Me21
    13th Jul 2015 Member 2 Permalink

    When there is a nearby particle with a similar color to CSNS's deco color, it creates a spark.

     

    The detection radius is determined by .tmp2 (like other sensors).

    CSNS will not detect other CSNS particles.

    Precision is set by .temp (defaults to 10 C). Each RGB channel must differ by no more than the .temp (Celcius) for it to count as "similar"

    If temperature is negative, detection is inverted: Each RGB channel must differ by AT LEAST -.temp.

    CSNS checks the final deco color of itself and other particles (which includes alpha blending), unless .tmp is set to 1, when it will ignore the deco color on other particles.

     

    Properties will be the same as TSNS, except for the color (green maybe?)

    Edited once by 12Me21. Last: 9th Jun 2017
  • Jokersona
    13th Jul 2015 Member 0 Permalink

    This would actually be pretty cool assuming it takes deco into account.

  • jacob1
    13th Jul 2015 Developer 0 Permalink
    Yeah, I imagine that if we had this it would take deco into account (it already has to for the element itself). This could actually have lots of uses, like detecting a specific particle that you set the deco on.
    Edited once by jacob1. Last: 13th Jul 2015
  • boxmein
    13th Jul 2015 Former Staff 0 Permalink
    With BIZR setting decoration colors, this could actually be interesting :O
  • 12Me21
    14th Jul 2015 Member 0 Permalink

    Maybe if the TMP is 0, it would detect deco, and otherwise it doesn't (like FRME).

     

    Anyway, I think this would be cool because currently, there is no way to check the color of stuff like QRTZ and CLST.

     

    Also, there should be some way of setting the tolerance, so if the color is "pretty close" it will still count. maybe it could be set using temp.

     

    This would be really useful for things like sorting stuff like qrtz, which is currently impossible

    Edited once by 12Me21. Last: 30th Sep 2015