Guest User

Untitled

a guest
Jan 26th, 2013
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_globalstep(function(dtime)
  2. local player = minetest.env:get_player_by_name("singleplayer")
  3. if not player then return end
  4. local p = player:getpos()
  5. local np = {x=p.x, y=p.y + 15, z=p.z}
  6. local vel = {x=0, y=-20, z=0}
  7. local acc = {x=0, y=-10, z=0}
  8. minetest.add_particlespawner(25, 1,
  9. {x=np.x-25, y=np.y , z=np.z-25},
  10. {x=np.x+25, y=np.y+2, z=np.z+25},
  11. vel, vel, acc, acc, 0.8, 1, 50, 60, false, "test_rain.png", "singleplayer")
  12. end)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×