Glow anomaly

  • PsvyXloneAeon
    5th Jul 2011 Member 0 Permalink
    It's kind of hard to search through the discussions for something this specific so I'm making a new thread. My apologies to any thread monsters who get upset at the fact that there is/might be/was already a thread concerning this.

    Well I was just wondering what is happening when lots of pressure and heat is applied to GLOW (I've achieved the effect with photons in the mix as well). If you turn on the extended display (or whatever you call it when you push 'd') and hover the mouse over a pixel of glow, you can see a gradient of sub-elements in the parentheses, as if it cycles through all of the possible elements in TPT. It's almost the same if you place some concrete, metal, quartz, and any other meltable element and turn it all into lava, it tells you what the original element was. Except this cycles through all of them. I've seen DEUT, VENT, URAN, WTRV, LN2, etc. Pretty much all of them. I was just curious as to what was going on. Thanks for your time.
  • code1949
    5th Jul 2011 Member 0 Permalink
    @PsvyXloneAeon (View Post)
    By the looks of it, GLOW uses ctype to determine its appearance and effects.

    Also, I do not think anyone asked this question before.
  • jacksonmj
    5th Jul 2011 Developer 0 Permalink
    A variable called ctype is used to store the green component of glow colour, which varies according to pressure.

    In some elements (like lava), ctype corresponds to an element, so ctype is usually converted to an element name and displayed.

    For glow, ctype doesn't correspond to an element, but it still gets displayed as one.
    Edited by jacksonmj, 2011-07-04 11:09:24
  • cctvdude99
    5th Jul 2011 Member 0 Permalink

    PsvyXloneAeon:

    (or whatever you call it when you push 'd')


    It's called debug.

    Also, why post this in 'Creations'? Creations is for creations. You see what they did with the name there? Clever isn't it.

    Also, it's not an anomaly. It's just how the colour is set.
  • PsvyXloneAeon
    5th Jul 2011 Member 0 Permalink
    Ahhh, you showed up just in time. I was wondering why it took so long for someone to complain.
    As far as everyone else goes, thanks for the answers!
    Edited by PsvyXloneAeon, 2011-07-04 16:26:37
  • Anmol444
    5th Jul 2011 Member 0 Permalink
    @code1949 (View Post)
    Actually it was asked before.

    @PsvyXloneAeon (View Post)
    It uses ctype to determine the appearance.
  • OmegaSupreme
    5th Jul 2011 Member 0 Permalink
    I also noticed that if you set the TMP of Pipe to any number from 0 to 148 it will fill up the pipe with that element. I also tried -10, which created an element with no name. I could tell it was there because it was falling down the pipe and it was black. Anyone knows why this happenes?
  • BloodLust
    5th Jul 2011 Member 0 Permalink
    (o.o) i did that with pipe and TPT is incapable of havin the cursor over it in debug mode.........wth IS it i wonder........i mena i think we may have just created an element that did exist and CANT exist according to tpt ......
  • jacksonmj
    5th Jul 2011 Developer 0 Permalink
    Yes, tmp stores the element contained by pipe. Element numbers go from 1 (dust) to 152 (merc) in the current version (0 means no element).

    I don't worry too much about negative numbers, unless there is some way of making them without the console, because they don't survive being saved. But I shall go and fix the crash when hovering the mouse over it.
    Edited by jacksonmj, 2011-07-06 10:00:07