Anonymous Login
2017-09-20 11:15 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001889OpenClonkObjectspublic2017-08-14 04:53
ReporterClonkonaut 
Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version10
Product Version 
Target Version8.0Fixed in Version 
Summary0001889: Visual feedback when using loam
DescriptionWhen using loam, there is no indication the clonk's actually doing something. Since it takes a second or so for anything to appear, new players might get confused how loam actually works.
Additional InformationAs seen in bug 0001887
TagsNo tags attached.
Attached Files
  • diff file icon playdig.diff (1,899 bytes) 2017-08-14 04:53 -
    diff --git a/planet/Objects.ocd/Clonk.ocd/Animations.ocd/Script.c b/planet/Objects.ocd/Clonk.ocd/Animations.ocd/Script.c
    index 29703daa5..5bbeaafec 100644
    --- a/planet/Objects.ocd/Clonk.ocd/Animations.ocd/Script.c
    +++ b/planet/Objects.ocd/Clonk.ocd/Animations.ocd/Script.c
    @@ -1291,11 +1291,15 @@ public func GetDiggingAnimation()
     	return;
     }
     
    +protected func PlayDiggingAnimation() {
    +	return PlayAnimation("Dig", CLONK_ANIM_SLOT_Movement, Anim_Linear(0, 0, GetAnimationLength("Dig"), 36, ANIM_Loop), Anim_Linear(0, 0, 1000, 5, ANIM_Remove));
    +}
    +
     public func FxIntDigStart(object target, effect fx, int temp)
     {
     	if (temp)
     		return FX_OK;
    -	fx.animation = PlayAnimation("Dig", CLONK_ANIM_SLOT_Movement, Anim_Linear(0, 0, GetAnimationLength("Dig"), 36, ANIM_Loop), Anim_Linear(0, 0, 1000, 5, ANIM_Remove));
    +	fx.animation = PlayDiggingAnimation();
     
     	// Update carried items
     	UpdateAttach();
    diff --git a/planet/Objects.ocd/Clonk.ocd/Script.c b/planet/Objects.ocd/Clonk.ocd/Script.c
    index 1e413615c..5bfd29c32 100644
    --- a/planet/Objects.ocd/Clonk.ocd/Script.c
    +++ b/planet/Objects.ocd/Clonk.ocd/Script.c
    @@ -1041,7 +1041,7 @@ BridgeStand = {
     	Wdt = 8,
     	Hgt = 20,
     	NextAction = "BridgeStand",
    -	StartCall = "StartStand",
    +	StartCall = "PlayDiggingAnimation",
     	InLiquidAction = "Swim",
     },
     BridgeScale = {
    diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Loam.ocd/Script.c b/planet/Objects.ocd/Items.ocd/Resources.ocd/Loam.ocd/Script.c
    index fc59d7297..fe7c52716 100644
    --- a/planet/Objects.ocd/Items.ocd/Resources.ocd/Loam.ocd/Script.c
    +++ b/planet/Objects.ocd/Items.ocd/Resources.ocd/Loam.ocd/Script.c
    @@ -68,6 +68,7 @@ func FxIntBridgeStart(object clonk, effect fx, int temp, int x, int y)
     
     func FxIntBridgeTimer(object clonk, effect fx, int time)
     {
    +	clonk->Message(clonk->GetAction());
     	// something happened - don't try to dig anymore
     	if (!(clonk->~IsBridging()))
     	{
    
    diff file icon playdig.diff (1,899 bytes) 2017-08-14 04:53 +

-Relationships
+Relationships

-Notes

~0005727

Caesar (developer)

What about just playing the digging animation with empty hands? It looks a bit silly, but it's very easy to do…
+Notes

-Issue History
Date Modified Username Field Change
2017-01-24 10:11 Clonkonaut New Issue
2017-01-24 10:12 Clonkonaut Severity text => tweak
2017-01-24 10:12 Clonkonaut Reproducibility have not tried => N/A
2017-01-24 10:12 Clonkonaut Category Scenarios => Objects
2017-08-05 15:58 Maikel Target Version => 8.0
2017-08-14 04:53 Caesar File Added: playdig.diff
2017-08-14 04:53 Caesar Note Added: 0005727
+Issue History