Iron Bomb tweaks and fixes

Charles Spurrill 2011-10-06 06:34:32 -07:00
parent edc56decbb
commit 6cf62360b1
1 changed files with 8 additions and 4 deletions

View File

@ -30,7 +30,7 @@ func FxFuseBurnTimer(object bomb, int num, int timer)
var i = 3;
var x = +Sin(GetR(), i);
var y = -Cos(GetR(), i);
CreateParticle("EngineSmoke", x, y, x, y, RandomX(30,60), RGB(100,100,100));
CreateParticle("EngineSmoke", x, y, x, y, RandomX(20,50), RGB(100,100,100));
if(timer == 1) Sound("FuseLoop",nil,nil,nil,+1);
if(timer >= 90)
@ -52,11 +52,15 @@ func DoExplode()
CreateObject(BulletTrail)->Set(2,30,shrapnel);
i--;
}
Sound("BlastMetal.ogg");
Explode(25);
if(GBackLiquid())
Sound("BlastLiquid2.ogg");
else
Sound("BlastMetal.ogg");
CreateParticle("ExploSmoke", 0,0,0,0,390,RGBa(255,255,255,165));
Explode(14);
}
protected func Hit() { Sound("WoodHit*"); }
protected func Hit() { Sound("RockHit*"); }
protected func Incineration() { Extinguish(); Fuse(); }