forked from Mirrors/openclonk
add blast sound variations by K-Pone
parent
be96d62868
commit
1ae5e601e4
|
@ -8,7 +8,7 @@
|
|||
|
||||
public func ControlUse(object pClonk)
|
||||
{
|
||||
Sound("Fire::Blast3");
|
||||
Sound("Fire::Blast3*");
|
||||
Exit(0,-GetY());
|
||||
AddEffect("ThunderStrike",nil,100,1,nil,this->GetID(),pClonk->GetOwner(),this->GetX()-5);
|
||||
RemoveObject();
|
||||
|
|
|
@ -13,11 +13,12 @@ global func ExplosionEffect(int level, int x, int y, int smoothness, bool silent
|
|||
|
||||
if(!silent) //Does object use it's own explosion sound effect?
|
||||
{
|
||||
// Select sound according to level: from 1 to 3, add the * to allow alternatives.
|
||||
var grade = BoundBy(level / 10 - 1, 1, 3);
|
||||
if(GBackLiquid(x, y))
|
||||
SoundAt(Format("Fire::BlastLiquid%d",grade), x, y);
|
||||
SoundAt(Format("Fire::BlastLiquid%d*",grade), x, y);
|
||||
else
|
||||
SoundAt(Format("Fire::Blast%d", grade), x, y);
|
||||
SoundAt(Format("Fire::Blast%d*", grade), x, y);
|
||||
}
|
||||
|
||||
// possibly init particle definitions?
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -19,7 +19,7 @@ ala - Fire/Spark1&2&3, Objects/Weapons/Musket/Click1&2&3, Clonk/Acti
|
|||
Chirp, Flutter1&2&3, Noise1&2&3
|
||||
Animals/Mooq:
|
||||
Die1-5, DieFat, Hurt1-2, Munch1-4, Snort1-3, Snorting1-2, Spit1-2
|
||||
K-Pone - Objects/Pickaxe/ClangHard1
|
||||
K-Pone - Objects/Pickaxe/ClangHard1 Fire/Blast3alt Fire/BlastLiquid3alt
|
||||
Ringwaul - Monster/Growl1-3, Monster/Die, Wipf/Snuff1-2, Wipf/Aroof, Wipf/Whine, Chest/Open, Chest/Close
|
||||
Winbag/Charge, Winbag/ChargeStop, Winbag/Gust, Pickaxe/Clang1-3
|
||||
|
||||
|
|
Loading…
Reference in New Issue