Help with explosive script.

  • blockmancam
    13th May 2014 Member 0 Permalink

    What would be a good script/ command to make something have A lot more pressure when it explodes. I don't want tons of heat but a lot of pressure. Any ideas.

  • MirrorrorriM
    13th May 2014 Member 0 Permalink

    Well, there are two properties called AirDrag and Advection, try changing their values.

  • boxmein
    13th May 2014 Former Staff 2 Permalink
    @MirrorrorriM (View Post)
    Both of those do nothing about creating pressure.

    You can try using the simulation.pressure function by figuring out where the particle lies in wall coordinates when it explodes, and then setting that pressure extremely high.

    function update_explosive (index, x, y, surround_space, notype)
    if something_is_true then
    sim.pressure(x/4, y/4, 255)
    end
    end
  • FeynmanLogomaker
    13th May 2014 Member 1 Permalink
    Strap your computer to a stick of TNT and run your script again.