feat(skadi): rework dragon flight - longer stasis, stamina sprint, reverse thrust, water take-off
The hover window that holds a form level after you stop powering goes from 2 seconds to 5, so gliding is a choice rather than something that happens to you the moment you let go. Shift while holding W spends 15 stamina a second for 22 m/s instead of 12. It is the only part of flight that costs anything - base flight stays free, because the drake arrives at The Elder, long before a player has the pool to pay for simply staying airborne - and running dry drops you back to the free boost rather than out of the sky. S beats backwards along the aim, pitch included: look down and press it and you rise away from what you are watching. Reverse thrust alone would have spun the dragon round to fly nose-first away from the camera, putting its tail where its breath comes out, so the form claims AlwaysRotateCamera for exactly those frames and keeps facing what it is retreating from. Water is no longer a trap. Character.UpdateMotion asks IsSwimming before it ever looks at m_flying, so a dragon that touched the sea was handed to UpdateSwimming every frame: the flight patch never ran and there was no way back up short of finding land. The Aswid's bat escapes this only because debug-fly is checked at the very top of UpdateMotion, before water is considered at all - which is exactly why it can take off from the water and Moder could not. Those frames now go back to UpdateFlying, and while in swim depth the form climbs regardless of where the camera points, so the surface is something you break out of rather than something you sit in. Nothing that merely asks IsSwimming - the Wet status, the animator, stamina - is touched. All five speeds now run through m_flySlowSpeed instead of the m_run/m_flyFastSpeed pair, which only ever picked between two of them.
This commit is contained in:
parent
24e681c8dd
commit
5cfd8cfab8
3 changed files with 170 additions and 27 deletions
|
|
@ -257,7 +257,7 @@ namespace RacesOfValheim
|
|||
if (state >= 3)
|
||||
{
|
||||
sb.AppendLine("[The Elder Unlock] Drake Form ('G' Key):");
|
||||
sb.AppendLine("Take the shape of a frost drake. Right Mouse lifts you into flight: you glide wherever you aim, hold W to climb and gather speed, and release to hold level a moment before settling into a slow descent. In this shape you cannot yet strike.\n");
|
||||
sb.AppendLine("Take the shape of a frost drake. Right Mouse lifts you into flight: you glide wherever you aim, hold W to climb and gather speed, hold Shift with it to spend stamina on a burst of speed, and press S to beat backwards along your aim while your gaze stays where it was. Release everything and you hold level for five seconds before settling into a slow descent. Water cannot hold you - your wings drag you free of the sea as readily as they lift you from the shore. In this shape you cannot yet strike.\n");
|
||||
}
|
||||
|
||||
if (state >= 4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue