Files

> > CS2D > Lua Scripts > |FX|-01-|Shockwave|
Files overviewCS2D overviewLua Scripts overview

English |FX|-01-|Shockwave| >

11 comments2 kb, 424 Downloads

old |FX|-01-|Shockwave|

Pseudon
User Off Offline

I've decided to make this script while working on @user EngiN33R: 's Custom Weapons script, custom explosions being one of the features I planned to create. I've come upon a problem that stopped me from advancing but still I've got no patience to wait until the script is done so I decided to create a stand-alone shockwave FX.
Credits would go to @user EngiN33R: and @user Rainoth: for code samples and help.
Info:
• This scripts adds 2 functions that create:
> A shockwave.
startshock(x,y,radius)

> An explosion with shockwave.
xplo(name,radius,dmg,attackerid,x,y)

No images could be possibly added, but a video should do.
Approved by Seekay

Download Download

2 kb, 424 Downloads

Comments

11 comments
To the start Previous 1 Next To the start

Log in!

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

old

SANTER
User Off Offline

good contribution
I like it!

old

nvdie
User Off Offline

nice one
I like it!

old

_oops
User Off Offline

If this doesnt cause lag, then I'm going to use it on my maps. Nice work buddy
I like it!

old

Gaios
Reviewer Off Offline

Reallly awesome effect! I will use it to mod my cs2d's adventures .
I like it!

old

Avo
User Off Offline

Neat <insert 60s' Spiderman meme>
I like it!

old

GeoB99
Moderator Off Offline

Sounds interesting. Not gonna using it right now, but I'll leave a like nevertheless.
I like it!

old

Rainoth
Moderator Off Offline

It's okay.
I like it!

old

THEMUD
User Off Offline

Impressive! Good job!
I like it!

old

Seekay
Reviewer Off Offline

Looks very neat, indeed. Good job.
I like it!

old

VADemon
User Off Offline

That looks AWESOME!

UPD: You should optimize startshock() to not iterate through the whole map but to start at the top left corner of the radius square.
1
startx, starty = posx - radius, posy - radius -- I think
I like it!
edited 1×, last 07.12.15 03:33:15 am

old

_Yank
User Off Offline

how did you do that shockwave effect
what the fudge
edit: oh I saw the code, nice
does it lag? i would like to run dat fx when I first spawn on da mapz. playrs would be liek "An horrible cheell gos dawn thru ur spine"
I like it!
To the start Previous 1 Next To the start