Jump to content

Ice should properly trap boats


Recommended Posts

This is what I mean:

Before:

a98dde78-2738-46ec-882d-f0ac21635f02.png.1433789b4c55239db4b359a106b9c856.png

After (ignore my crappy editing skills):

c8ef043f-3299-4669-ac21-013f90ea286a.png.85e68891b8c0c1129a94c8fbe7905c50.png

Some things to note:

-Players would still hop on and off the boat, as it is at a raised level to the ice.

-The ice platforms directly around the boat would not melt into ice circles to prevent weird hitboxes.

-This would make the fight feel more immersive and would be cool if ice sheets were added as a new seasonal event on the ocean.

Also, add crab guard pet please klei

This would be cool, but is the hop on/off animation really required? That just seems like a pain in the backside if trying to fight Crab Kings Crab Minions…

A frozen boat should become just iced over (you can see it under the blanket of ice)

then when the island starts breaking, you can stand over the area where your boats frozen in ice at.

Really neat idea!

On 6/23/2024 at 12:29 PM, dst_lover said:

i think it will be hard for them to add it like this but it will be very cool 

Thinking about it, it *maybe* isn't. This'll get a bit technical.

WalkablePlatform.SetEntitiesOnPlatform has what dictates that boats should break when on land, so that's easy enough to solve.

-- WalkablePlatform.SetEntitiesOnPlatform @L153-160

local shouldbreak = TheWorld.Map:IsVisualGroundAtPoint(x, y, z) -- Health break not brake to stop.
if self.inst.components.boatphysics then
    shouldhalt = shouldhalt or shouldbreak
    self.inst.components.boatphysics:SetHalting(shouldhalt or shouldbreak) -- Safe to call repeatedly.
end
if shouldbreak and self.inst.components.health and not self.inst.components.health:IsDead() then
    self.inst.components.health:Kill()
end


What they'd need to solve is being able to move the boat, which also isn't too hard, BoatPhysics.GetBoatDrag could apply a large amount of drag to the boat if it's intersecting ice. It definetly is plausible to deal witht the hop on/off states too, but I don't know how off the top of my head.
I'm also unsure how it'd handle land-water boundries, but it'd *probably* be fine, otherwise, could just make the ice fully encase the boat.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...