Files

> > CS2D > Lua Scripts > Random disasters script v1.2
Files overviewCS2D overviewLua Scripts overview

English Random disasters script v1.2 >

22 comments3 kb, 474 Downloads

old Random disasters script v1.2

Kostyan1996
User Off Offline

Hello all! I made my first script, hope you enjoy it!

> Description:
This script made by me for fun and enlivening game process on some servers. Script is about different disasters, which will happening in some time.

> Now here are 5 disasters:
∗ ZOMBOPOCALYPSE: some zombies and soldiers NPCs spawns on map in random coordinates.
∗ ALIEN INVADE: some other NPCs (headcrabs, snarks and vortigaunts) spawns on the map the same way.
∗ EXPLODE MASSACRE: explodes on map duration of 5 seconds.
∗ BUILDING CONSPIRACY: some buildings spawns on the mape the same way, as NPCs.
∗ NUTHOUSE OF TELEPORTING: all players will teleported on random position (not on deathtiles, obstacles or walls!).
∗ More to come!

° Features:
• Example, turrets will spawn a lot less than barricade, and vortigaunts will spawn a lot less than headcrabs, etc.
• Smart system of preventing spawning on tile 0, walls, obstacles and death tiles (if your map size is about 100x100, but free only one tile, all stuff will spawn on this tile).
• Many configurable options.
• And many others!

> Updates:
Spoiler >


> Some options, which you can config, can be found in script.

> Thanks to JeT, ketamire, Alistaire, Pwnisher, EngiN33R and Blairstring for helping in first-steps scripting!
edited 8×, last 01.07.12 04:33:48 pm
Approved by GeoB99

Download Download

3 kb, 474 Downloads

Comments

22 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

xSkyLordx
User Off Offline

i played on roblox
I like it!

old

Infinite Rain
Reviewer Off Offline

Nice! I like it! :DD
I like it!

old

lucaSWAT
User Off Offline

"ZOMBOPOCALYPSE" LOOOL , A LIKE !
I like it!

old

Kostyan1996
User Off Offline

Heh, cool idea, maybe I make it too, but it will optional feature, because first goal of this mod is randomize the server, not give stuff.

old

Jela331
User Off Offline

@user Kostyan1996:
I have an idea, you get points after surviving disasters, if you die you don't get points. By points you can buy some useful stuff like wrench, tactical shield and few weapons and you could use your points to choose the next disaster by yourself.
I like it!

old Update!

Kostyan1996
User Off Offline

Update! Small, but useful!
~~~
∗ v1.2 ∗
• Added admin menu:
      • You can change your USGN (default - my USGN ) and key, which call menu (F2, F3 or F4, default - F2);
      • You can stop and launch time;
      • You can call RANDOM DISASTER immediately;
      • You can launch from 1 to 5 random disasters.
~~~
---
Jela331, maybe I make some of this. My favorite of yours disasters is random lasers. It can be in next update.

old

Jela331
User Off Offline

Kosytan, Roblox is an online block-style game. In which you can build whatever you want and has many games, which includes "Survive the disasters!". Okay, so I'm gonna suggest you few disasters which have been used there(some are funny):

• Coke spill = Coke spawns in the map and brown liquid starts to spread, which can kill the players.
• Earthquake = It will start shaking and few black tiles will appear(cracks). If player steps in them, he's dead.
• Random lasers = Random lasers, 'nuff said.
• Giant wave = A wave will appear in some side of the map, which will go to the opposite side, but it wont be able to reach it. Whoever gets found on the side of tsunami he get's killed.
• Lighting = Random lighting will appear, which creates an explosion and kills players around it.
I like it!

old

Kostyan1996
User Off Offline

Hmm, and to what you said this?
Also, do you like my script?

old

SkullzOrig
User Off Offline

I been working on some scripts of my own, and I am working on a weather script. Having problems with wind, earthquake is done, and flood is done also. Made a meteor storm(work in progress)

old Update!

Kostyan1996
User Off Offline

Update!
~~~
∗ v1.1 ∗
• Added new disaster: NUTHOUSE OF TELEPORTING!
• Now you can choose, will stuff spawn on tile 0, walls, obstacles and death tiles, or not.
• Added smart system of preventing spawning on tile 0, walls, obstacles and death tiles (if your map size is about 100x100, but free only one tile, all stuff will spawn on this tile).
• Now you mustn't choose size of your map, it will be choosed automatically.
• Now you can choose time, during which will happening random disaster.
• Now you can choose amount off stuff, which will spawn on map.
~~~
---
Blairstring, thanks! Fixed it!

ketamire, TheTrollHammer, what is roblox? I don't know, what is it.

Trauma Tizer, can you tell me more about this?
edited 2×, last 30.06.12 09:48:45 am

old

Happy Killer
BANNED Off Offline

Thats a goood idea, I give a like for u.
I like it!

old

TheTrollHammer
BANNED Off Offline

Someone's been playing a lot of Roblox.

old

BcY
Reviewer Off Offline

what a great idea
I like it!

old

3RROR
User Off Offline

Make a connexion disaster.
I like it!

old

Jela331
User Off Offline

I luv these kinds of games. It would be nice if there was more, like earthquakes and random explosions.
I like it!

old

EP
User Off Offline

Good script, you can improve it by taking the map's info. Like this:
1
2
size_xx = 100		-- size of your map (in tiles) on horizontal.
size_yy = 100		-- size of your map (in tiles) on vertical.
may be changed to:
1
2
size_xx = map("xsize")
size_yy = map("ysize")
Also you can make a function to check if the positions are walls, obstacles or death tiles to not have problems on spawning. As @user Alistaire: said.
I like it!

old

Apache uwu
User Off Offline

Cool script! Did you get random disasters from roblox? Would be cool to see more types of disasters.
I like it!

old

Kostyan1996
User Off Offline

So far, yes, but later will be not. I haven't many knowledges yet... So, I have idea, tomorrow will be update.

old

Alistaire
User Off Offline

Would it not spawn stuff on tile 0, walls, obstacles or death tiles?

old

Kostyan1996
User Off Offline

Thanks all! So, give me some ideas, and I can add those ideas into script!
To the start Previous 1 2 Next To the start