How to change an element to other matter

  • Cocoa_Bits
    28th May 2014 Member 0 Permalink

    How to change an element into another matter by just using the console.

    Like this: STNE is a gas, Solid ACID, Liquid DMND and BHOL as a gas!!

     

    It's crazy if you change the property of the elements.. :)

  • h4zardz1
    28th May 2014 Member 1 Permalink
    @Cocoa_Bits (View Post)
    Vaporized stone, and BHOL can only be made if VAPR is here.
    however, you can make things become like ICE(ACID) or LAVA(DMND).
    the other way is by using the console and type this.
    tpt.el.(element).state=st_gasses/st_liquids/st.powders/st.solids (choose one)
    tpt.el.(element).diffusion=0.2/0.001/0 (gas/liquid/solid and powder)
    tpt.el.(element)gravity=0.00001/0.763/0 (gas/liquid and powder/solid)
  • Cocoa_Bits
    28th May 2014 Member 0 Permalink

    O.o I created a solid fire and solid plasma, But it's moving because FIRE/PLSM is creating a small amounts of pressure.

     

    @h4zardz1 (View Post)

     tpt.el.(element).state= command is confusing.. I don't know how to use that command.

    What is VAPR?? Is that a scrapped element or tools?

  • h4zardz1
    28th May 2014 Member 0 Permalink
    @Cocoa_Bits (View Post)
    a element. VAPR is vapor.
  • Cocoa_Bits
    28th May 2014 Member 0 Permalink

    @h4zardz1 (View Post)

     VAPR not to be confused withwater vapor?? 

  • h4zardz1
    28th May 2014 Member 0 Permalink
    @Cocoa_Bits (View Post)
    WTRV must be removed before this.
  • Protcom
    28th May 2014 Member 0 Permalink

    @h4zardz1 (View Post)

    Make sure you edit

    h4zardz1:

    tpt.el.(element)gravity=0.00001/0.763/0 (gas/liquid and powder/solid)

     

    you didn't put full stop after (element)

     

    @Cocoa_Bits (View Post)

    All what @h4zardz1 (View Post) did is just he is changing the property of the element you want to target

    for example

     

    State : What state is this element? Options are ST_NONE, ST_SOLID, ST_LIQUID, ST_GAS. Powders use solid, energy particles and some other random things use none

     

    Diffusion : How much the particle "wiggles" around (think GAS or HYGN). Set at 0, except for gasses, which is a positive number. Up to 3 (or higher) for a large amount of wiggle, GAS is 0.75f, HYGN is 3.00f

     

    Gravity : How fast the particle falls. A negative number means it floats. Generally very small, most gasses are negative, everything else is usually less than 0.04f

     

    if you look at the code lets say for example water

     

    State = ST_LIQUID;

    Diffusion = 0.00f;

    Gravity = 0.1f;

     

    use this in the console

    tpt.el.what element do you want to edit.what property do you want to edit=what do you want to change it to

    for example

    tpt.el.watr.diffusion=0.2


    for more information

    more properties and how to code

    Source code for elements (note not all elements named the same for example LOXY named LO2)

    Edited 2 times by Protcom. Last: 28th May 2014
  • Cocoa_Bits
    28th May 2014 Member 0 Permalink

    @Protcom (View Post)

     Seems I need to learn Lua first... (T_T")

  • Protcom
    28th May 2014 Member 0 Permalink

    @Cocoa_Bits (View Post)

    Good luck with that

  • boxmein
    28th May 2014 Former Staff 1 Permalink
    @Cocoa_Bits (View Post)
    Well not really. The part you're on is mostly just tpt.el.* commands, which are fairly simple.
    See a list here: http://boxmein.x10.mx/tptelements/lua-reference.html#tpt.el
    ...and how you'd use them is simple:
    tpt.el.inst.falldown = 0
    tpt.el.inst.diffusion = 5
    tpt.el.inst.gravity = -2