forked from Mirrors/openclonk
Fixed/inserted various hit sounds.
parent
4a40d7782c
commit
38af458e05
|
@ -2,7 +2,7 @@
|
|||
|
||||
protected func Hit()
|
||||
{
|
||||
Sound("SoftHit1");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
public func IsOvenProduct() { return true; }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
func Hit()
|
||||
{
|
||||
Sound("WoodHit?");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
/* Eating */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
protected func Hit()
|
||||
{
|
||||
Sound("SoftHit1");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
public func IsWindmillProduct() { return true; }
|
||||
|
|
|
@ -11,7 +11,7 @@ protected func Hit()
|
|||
{
|
||||
|
||||
CastPXS("Earth", 200, 18);
|
||||
Sound("EarthHit?");
|
||||
Sound("GeneralHit?");
|
||||
RemoveObject();
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
protected func Hit()
|
||||
{
|
||||
Sound("MetalHit?");
|
||||
Sound("GeneralHit?");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ protected func Construction()
|
|||
// Impact sound
|
||||
func Hit()
|
||||
{
|
||||
Sound("WoodHit");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
// Item activation
|
||||
|
|
|
@ -29,7 +29,7 @@ public func ControlUse(object clonk, int x, int y, bool box)
|
|||
|
||||
protected func Hit()
|
||||
{
|
||||
return 1;
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
public func IsMillIngredient() { return true; }
|
||||
|
|
|
@ -9,7 +9,7 @@ protected func Construction()
|
|||
|
||||
protected func Hit()
|
||||
{
|
||||
Sound("CrystalHit?");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
local Collectible = 1;
|
||||
|
|
|
@ -35,6 +35,11 @@ func FxNoDropTimer(object target, effect, int timer)
|
|||
}
|
||||
}
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
local Collectible = 1;
|
||||
local Name = "$Name$";
|
||||
local Description = "$Description$";
|
||||
|
|
|
@ -21,7 +21,7 @@ protected func Initialize()
|
|||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("Clonk");
|
||||
Sound("DullMetalHit?");
|
||||
if (iVolume >= 1)
|
||||
{
|
||||
if (GBackLiquid(0, 7) && GetMaterial(0, 7) != szLiquid)
|
||||
|
|
|
@ -33,7 +33,7 @@ protected func Initialize()
|
|||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("WoodHit");
|
||||
Sound("DullWoodHit?");
|
||||
if (iVolume >= 1)
|
||||
{
|
||||
if (GBackLiquid(0, 3) && GetMaterial(0, 3) != szLiquid)
|
||||
|
|
|
@ -146,7 +146,7 @@ protected func Hit()
|
|||
}
|
||||
//Message("I have hit something",this);
|
||||
if(GetEffect("Flight",this)) DoFireworks();
|
||||
Sound("WoodHit");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
public func OnMount(clonk)
|
||||
|
|
|
@ -57,6 +57,11 @@ protected func Definition(def)
|
|||
public func IsTool() { return true; }
|
||||
public func IsToolProduct() { return true; }
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("DullWoodHit?");
|
||||
}
|
||||
|
||||
local Name = "$Name$";
|
||||
local Collectible = false;
|
||||
local Touchable = 2;
|
|
@ -93,7 +93,7 @@ private func GetWall(angle)
|
|||
return false;
|
||||
}
|
||||
|
||||
protected func Hit() { Sound("WoodHit?"); }
|
||||
protected func Hit() { Sound("GeneralHit?"); }
|
||||
|
||||
protected func Incineration() { Extinguish(); Fuse(); }
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("WoodHit"); //TODO Some metal sond
|
||||
Sound("DullMetalHit?");
|
||||
}
|
||||
|
||||
public func HoldingEnabled() { return true; }
|
||||
|
|
|
@ -20,7 +20,7 @@ public func Initialize()
|
|||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("WoodHit"); //TODO Some metal sond
|
||||
Sound("DullWoodHit?");
|
||||
}
|
||||
|
||||
public func HoldingEnabled() { return true; }
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
A crossbow which is enabled to fire grappling hooks, also has a winching system.
|
||||
*/
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
local fAiming;
|
||||
|
||||
local hook;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
#include Library_Constructor
|
||||
|
||||
private func Hit()
|
||||
private func Hit(x, y)
|
||||
{
|
||||
Sound("RockHit");
|
||||
StonyObjectHit(x, y);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,11 @@ local Amount;
|
|||
local MaxCap;
|
||||
local sound;
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("GlassHit?");
|
||||
}
|
||||
|
||||
public func GetCarryMode(clonk) { return CARRY_BothHands; }
|
||||
public func GetCarryPhase() { return 600; }
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@ protected func Initialize()
|
|||
swingtime=0;
|
||||
}
|
||||
|
||||
private func Hit()
|
||||
private func Hit(x, y)
|
||||
{
|
||||
Sound("RockHit");
|
||||
StonyObjectHit(x, y);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
protected func Hit()
|
||||
{
|
||||
Sound("RockHit?");
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
public func IsToolProduct() { return true; }
|
||||
|
|
|
@ -105,6 +105,11 @@ public func OnProjectileHit()
|
|||
Incinerate();
|
||||
}
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("DullWoodHit?");
|
||||
}
|
||||
|
||||
func IsAlchemyProduct() { return true; }
|
||||
func AlchemyProcessTime() { return 100; }
|
||||
|
||||
|
|
|
@ -246,6 +246,11 @@ func SetLineTransform(obj, int r, int xoff, int yoff, int length, int layer, int
|
|||
);
|
||||
}
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("WoodHit?");
|
||||
}
|
||||
|
||||
local ActMap = {
|
||||
Hanging = {
|
||||
Prototype = Action,
|
||||
|
|
|
@ -449,6 +449,11 @@ public func GetLadderData(index)
|
|||
return [startx, starty, endx, endy, angle];
|
||||
}
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("WoodHit?");
|
||||
}
|
||||
|
||||
local ActMap = {
|
||||
Hanging = {
|
||||
Prototype = Action,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("WoodHit");
|
||||
Sound("WoodHit?");
|
||||
}
|
||||
|
||||
public func GetCarryMode(clonk) { return CARRY_Back; }
|
||||
|
|
|
@ -256,6 +256,11 @@ protected func CancelUse(object clonk)
|
|||
return 1;
|
||||
}
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
func Definition(def) {
|
||||
SetProperty("PictureTransformation",Trans_Rotate(-60,1,0,1),def);
|
||||
}
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
// has extra slot
|
||||
#include Library_HasExtraSlot
|
||||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("WoodHit?");
|
||||
}
|
||||
|
||||
local fAiming;
|
||||
|
||||
local iArrowMesh;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
private func Hit()
|
||||
{
|
||||
Sound("WoodHit");
|
||||
Sound("WoodHit?");
|
||||
}
|
||||
|
||||
public func GetCarryMode() { return CARRY_HandBack; }
|
||||
|
|
|
@ -150,7 +150,7 @@ protected func Hit()
|
|||
Sound("JavelinHitGround");
|
||||
}
|
||||
else
|
||||
Sound("WoodHit");
|
||||
Sound("WoodHit?");
|
||||
}
|
||||
|
||||
protected func Stick()
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
//Uses the extra slot library
|
||||
#include Library_HasExtraSlot
|
||||
|
||||
func Hit()
|
||||
{
|
||||
Sound("GeneralHit?");
|
||||
}
|
||||
|
||||
local fAiming;
|
||||
|
||||
public func GetCarryMode(clonk) { if(fAiming >= 0) return CARRY_Musket; }
|
||||
|
|
|
@ -170,7 +170,7 @@ private func AdjustSolidMaskHelper()
|
|||
|
||||
func Hit()
|
||||
{
|
||||
Sound("WoodHit");
|
||||
Sound("DullMetalHit?");
|
||||
}
|
||||
|
||||
func OnWeaponHitCheckStop()
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
#include Library_MeleeWeapon
|
||||
|
||||
private func Hit()
|
||||
func Hit()
|
||||
{
|
||||
Sound("WoodHit"); //TODO Some metal sond
|
||||
Sound("LightMetalHit?");
|
||||
}
|
||||
|
||||
public func Initialize()
|
||||
|
|
Loading…
Reference in New Issue