Generating Bubbles

  • bimmo_devices
    20th Jan 2014 Member 1 Permalink

    I was wondering whether it is possible to hack SOAP and make particlesof it connect into a bubble. I have analysed bubbles and have noticed the use of tmp and tmp2 properties reference the next and previous bubble particle. A connection would be between a particle with tmp = 3124 and another particle with tmp2 = 3124. However, manually setting the properties do not generate the bubble visual appearance. So I m asking, is it possible to generate bubbles in tpt other than the '!bubble 200,200' command? I have seen some wonderful soap-based saves.

     

    I have since noticed the need for ctype=gun. Are the bubbles controlled with internal properties?

    Edited once by bimmo_devices. Last: 20th Jan 2014
  • KydonShadow
    20th Jan 2014 Member 0 Permalink

    I have been wondering some of the same stuff, actually. I really wwant to see the answer for this one.

  • xetalim
    20th Jan 2014 Member 0 Permalink

    Buubles are magic.

    Let me explain me.
    As you can read in the [REDACTED], the [REDACTED] are made in the [REDACTED] code.

    Now, in the [REDACTED] code, line [REDACTED] shows that the [REDACTED] is made in the [REDACTED] function.

    This is all very complicated and you should not try to uncover the secrets of [REDACTED] as I just did.

     

    [REDACTED]

  • Iridium616
    20th Jan 2014 Member 0 Permalink

    Seeking for the answer too

  • bimmo_devices
    20th Jan 2014 Member 0 Permalink

    I am pretty sure that xetalim is right. Bubbles are magic. At least to those who don't understand the code behind them. Because bubbles don't stamp or save that well, I believe that they are governed by internal properties - properties unattainable and unchangable in the powder toy.

  • h4zardz1
    21st Jan 2014 Member 0 Permalink

    set x soap 10

    set y soap 10

    maybe.

  • h4zardz1
    22nd Jan 2014 Member 0 Permalink

    virus are same too; virus, if hit by a soap then stamped immediatly, will not infect anything AND cannot be cured.

  • nucular
    22nd Jan 2014 Member 0 Permalink
    @bimmo_devices
    Nah, they are totally accessible.
    It's basically this:
    The ID of the first partner particle is stored inside tmp and the ID of the next partner particle (thus the particle it is connected to) is stored inside tmp2. Some stuff is stored inside the ctype too (haven't figured that out yet), but for simple connecting just set it to 6. Then, to avoid your bubble of popping at every collision you should set the life of the particles to the maximal value.

    Oh, and you can also create a bubble at position x,y by typing "!bubble x y" into the console, if you don't know already...

    I'm going to research further on this aspect of TPT too and post here if I find out how the ctype is handled :P

    @h4zardz1
    This actually is right because VIRS and derivatives are using a special, hidden property called "pavg" that is normally used to calculate pressure differences (e.g GLAS breaks also when the pressure changes between high and low quite fast) to store their mode (like "infecting stuff" or "being cured"). This one isn't stored inside stamps and saves (as is pressure :/).
  • bimmo_devices
    23rd Jan 2014 Member 0 Permalink

    Very helpful, nucular. I can't make bubbles connect by setting the tmp(2)'s and ctype's. Maybe bubbles also use hidden properties to store stuff, like rotation or bouncy-ness. A list of all hidden properties would be nice. I don't suppose you would know any others...

  • h4zardz1
    24th Jan 2014 Member 0 Permalink

    @bimmo_devices (View Post)

     the second Template (Tmp) and ctype just to calculate movement, like Glow to calculate color.