PDA

View Full Version : [Lua] Random Rocks Fall



LJ Sonic
April 29th, 2014, 14:50
This is just a simple spawner that makes "meteors" randomly falling from the sky:
6783

You can protect yourself by standing under a platform:
6784

If you think there're too many (or not enough...) meteors, you can easily change that by setting a console variable called "intensity", which is an integer value between 1 and 255.
You can enable / disable meteors fall by setting "meteors" On / Off.
Additionally you can set how far from the player the rocks will spawn, with "distance" (default is 4096).