Making Custom SPRK with life of 2 Frames

  • OmegaSupreme
    27th Jun 2014 Member 0 Permalink

    I was wondering if someone could help me with making a Lua Sprk element. After sparking a conductive metal, it will make that metal have a life of just 2 frames (0 & 1) and then it would be non-conductive for 1 frame before being conductive again.

    I also want to make duplicates of the following elements, but have them be named different, that way I can test how much faster electronics could be, as well as use them alongside their original counterparts for even cooler creations.

    Name: SPKX
    Description: Duplicate of SPRK but lasts only 2 frames instead of 4.

    The Dupicates I want to make [My Version (Original Version)]
    PSCX (PSCN), NSCX (NSCN), SWCX (SWCH), METX (METL), INSX (INST), PTCX (PTCT), NTCX (NTCT), INWX (INWR), BRMX (BRMT) and BRAX (BRAY/ White BRAY, Last 10 Frames / Brown BRAY, Lasts 1 Frame).

    I would do it myself, but I'm horrible at lua and I couldn't duplicate these elements if my life depended on it.
    NOTE: I want to make duplicates of them, not rename using " 'tpt.el.pscn.name' = 'PSCX' ", exc.

  • jacob2
    27th Jun 2014 Member 0 Permalink
    I made that WIFI clone because I thought it was fun, but I don't think anyone is going to replicate all these elements for you. I could help with any problems if you already had a base you were working on. SPRX would be the hardest thing, if you have that most of the rest would be easy.
  • OmegaSupreme
    27th Jun 2014 Member 0 Permalink

    I was thinking the same thing. I saw in the code once that SPRK controlled how long it keeps an element sparked, and I can just base the code for the others off the code you did for the custom wifi. Thanks!

    BTW: Why a different profile now?

  • jacob2
    27th Jun 2014 Member 1 Permalink
    I use this one on my phone (when I don't have my computer). You may see a bit more jacob2 this summer :)