Animal dead in water

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.
kmarad
Posts: 150
Joined: Mon Jan 06, 2020 7:46 pm

Animal dead in water

Post by kmarad »

Hoy,

I've been sniping boars and badgers from the safety of my boat.
But when they die, I can't get them from shallow waters :

Image

If there is a single animal pixel over the water I can click it and lift them, but when they are entirely under water I can't find a way to pick them up.

I've tried to take them by swimming, and things like that, without success. Are there any tricks ?
User avatar
Audiosmurf
Posts: 2944
Joined: Fri Jul 02, 2010 9:00 pm
Location: Ice Hell

Re: Animal dead in water

Post by Audiosmurf »

You can use Lift on its minimap icon to pick it up. :idea:
jorb wrote:Audiosmurf isisis a fantastic poster/geniusracist and hisa meat/intellect is hugehomosexual
kmarad
Posts: 150
Joined: Mon Jan 06, 2020 7:46 pm

Re: Animal dead in water

Post by kmarad »

Audiosmurf wrote:You can use Lift on its minimap icon to pick it up. :idea:
I love you
User avatar
vatas
Posts: 5255
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Animal dead in water

Post by vatas »

I may be making stuff up, but managing to click parts of the animal above water might also work.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
Actuarius
Posts: 26
Joined: Sat Dec 07, 2019 3:40 am

Re: Animal dead in water

Post by Actuarius »

kmarad wrote:
Audiosmurf wrote:You can use Lift on its minimap icon to pick it up. :idea:
I love you
I love you too.

PS: Animal sniping from boat is such a cheat......
Nerd-Rage: "So, OP signed in WEEK ago, and says all other players who played hard for like a YEAR should be dead, so he can rule this world by his own.
Good job, sir!" --- Enjoyment_2
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Animal dead in water

Post by MagicManICT »

vatas wrote:I may be making stuff up, but managing to click parts of the animal above water might also work.
If you can zoom in close enough and click on something actually above the water, it might. That's picking out pixels that you might not be seeing correctly, though, as far as the picking algorithms go.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
Granger
Posts: 9255
Joined: Mon Mar 22, 2010 2:00 pm

Re: Animal dead in water

Post by Granger »

A shame that loftar was unable to find an hour to make animal corpses float in shallows.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Animal dead in water

Post by MagicManICT »

Granger wrote:A shame that loftar was unable to find an hour to make animal corpses float in shallows.
You mean like it used to be before everyone was complaining about "my suspension of disbelief" when animals walked on water?
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
Granger
Posts: 9255
Joined: Mon Mar 22, 2010 2:00 pm

Re: Animal dead in water

Post by Granger »

No.

Corpses should float in shallows. Simply put in pseudocode

Code: Select all

while (animal dead AND more than 80% of mesh below water surface) {float corpse up a little}
This would make bigger creatures still lie dead on the (below water) ground (which would be no problem as they'll be big enough to stick out) but float any smaller ones so they're clickable.

But yea, you're right... it's better to specify requests as exact as possible to reduce the chance that we end up with yet another braindead band-aid.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Ardennesss
Posts: 1171
Joined: Sun Oct 06, 2013 4:22 pm

Re: Animal dead in water

Post by Ardennesss »

Granger wrote:No.

Corpses should float in shallows. Simply put in pseudocode

Code: Select all

while (animal dead AND more than 80% of mesh below water surface) {float corpse up a little}
This would make bigger creatures still lie dead on the (below water) ground (which would be no problem as they'll be big enough to stick out) but float any smaller ones so they're clickable.

But yea, you're right... it's better to specify requests as exact as possible to reduce the chance that we end up with yet another braindead band-aid.
A couple clients already did this, just check the tile underneath gobs and move their Z axis up 5 units. Wasn't even a hard fix, think it's like 1 line.

Edit: was wrong, it's 4 lines.

Code: Select all

	if(type == Type.ANIMAL || type == Type.DANGANIMAL) {
		    Tiler tl = glob.map.tiler(glob.map.gettile_safe(rc.floor(MCache.tilesz)));
		    if (tl instanceof WaterTile)
			c.z += 5;
		}

Return to “How do I?”