1. We've removed some functionality from SMD in preparation for a migration to new forum software.

    [My Logic-blocks v2 r1.1] : Different Block-Block Interactions

    Discussion in 'Suggestions' started by NeonSturm, Sep 29, 2014.

    1. NeonSturm

      NeonSturm StormMaker

      Joined:
      Dec 31, 2013
      Messages:
      5,111
      My other suggestions related to Logic:

      [My Logic-blocks v2 r1.2] : Change function, keep data
      http://starmadedock.net/threads/my-logic-blocks-v2-r1-2-change-function-keep-data.3361/
      ↑↑ If you see a wall of text, it's just because I wrote it in more than one way to make everybody happy ↑↑​



      Did you ever want to just connect all area triggers without selecting each one? Or have a ship-wide synchronized clock?

      I found a possible solution:

      A Comparision-Block
      It can link ANY other block.

      If itself gets a true, it re-reads the number of those blocks active (only these which are not connected to something else).
      If itself gets a false, it re-reads the number of those blocks alive.
      (I guess these numbers are already calculated for mass and other stuff like blueprint cost. Correct me if I'm wrong)​
      [last read <= current read] => true|on|1, else false|off|0​
      It is as simple as counting [mass in <block type>] or having all not otherwise (output)connected LogicBlocks connected to this one.​

      This can also be used for easier damage detection.
       
      #1 NeonSturm, Sep 29, 2014
      Last edited: Oct 2, 2014
    Loading...