ID:155456
 
How would i go about making the user's skill (Basically a blast) Expload upon impact and that cause AoE Damage?
http://www.byond.com/members/ DreamMakers?command=view_post&post=40085

Read that if you want to actually learn the math behind it.

http://www.byond.com/developer/Theodis/Explosions

Use/study that to get a more practical example.
In response to Robertbanks2
Robertbanks2 wrote:
http://www.byond.com/members/ DreamMakers?command=view_post&post=40085

Read that if you want to actually learn the math behind it.

http://www.byond.com/developer/Theodis/Explosions

Use/study that to get a more practical example.

Ok, also how wouldi go about the user beign able to control the projectile in a non-stop path till it hits something with density?
In response to XxLucifersJesterxX
Look around in the resources section for projectile libraries, there are a few good ones.
In response to Robertbanks2
kay
In response to XxLucifersJesterxX
Well, I'm using this snippet I wrote for square-type explosions.

proc/Explosion(var/mob/M,var/radius=0,var/mob/startpoint,var/obj/E,var/strength,var/TIMEBEFOREDAMAGE=0) //TIMEBEFOREDAMAGE var is in tenths of seconds, allows for very fine control in the explosion timing...
if(M && radius && E && startpoint)
var/obj/XYZ = new E(startpoint.loc)
XYZ.Gowner=M
if(M.client)
for(var/mob/X in oview(startpoint,radius))
if(X&&X!=M)
spawn(TIMEBEFOREDAMAGE)
if(strength)
var/explosiondamage=(strength*1000000) - (X.reiatsu/4)
else
var/explosiondamage=(M.reiatsu*3) - (X.reiatsu/3)
X.health-=explosiondamage
X.Death(M)




called during Bump,

if(istype(A,/mob/))
src.owner=M
Explosion(M,3,A,/obj/lanzaderelampago,0,5)
In response to Kenpachi12
This helps for the most part lol :P