How would I make this element...

  • PizzaPlatypus
    24th Mar 2011 Member 0 Permalink
    Stop sparking when the element it's sparking is cooler than it, here's the code:
    http://pastebin.com/0AyhhZq4
    EDIT: C'mon! This element currently sparks anything that's hotter than it, how do I stop it once the element it's sparking is cooler than it?
  • PizzaPlatypus
    24th Mar 2011 Member 0 Permalink
    bump can someone help me?
  • randalserrano
    24th Mar 2011 Member 0 Permalink
    isnt there something in tpt like that? one of the electronic elements?
  • code1949
    24th Mar 2011 Member 0 Permalink
    @randalserrano
    No, PTCT and NTCT conduct based on their own temperature, not the input materials temperature.
  • randalserrano
    24th Mar 2011 Member 0 Permalink
    ahh ok, never mind.
  • tian110796
    24th Mar 2011 Member 0 Permalink
    in sprk.c add to the conditions after this:
    // ct = spark from material, rt = spark to material. Make conduct_sprk = 0 if conduction not allowed
  • PizzaPlatypus
    24th Mar 2011 Member 0 Permalink
    @tian110796
    Oh sorry I forgot to say, I use v45.2 code and that code was in powder.c, thanks for the idea though.
  • cctvdude99
    24th Mar 2011 Member 0 Permalink
    @PizzaPlatypus
    UPDATE YOUR DAMN CODE MAN!

    You keep saying how 'you forgot to say that you use v45.2 code' and it's getting annoying.

    You've said it twice now. I'll keep count from now on.
  • PizzaPlatypus
    24th Mar 2011 Member 0 Permalink
    @cctvdude99
    OK but updating the code is a lot harde than you think, as, now each element has a file I'd have to rewrite the code for every element I made also there are only three or four new elements in the latest code so I won't gain much.
  • cctvdude99
    24th Mar 2011 Member 0 Permalink
    @PizzaPlatypus
    Python console, wind tool, updated QRTZ (soon, I think). See? Plenty of reasons.
    And I have no idea how the frick you would code an element without those element files, as I started coding from the code soon after v46.4