userBill Bcancel
branchrust_reboot/main/NewWoundingcancel

103 Commits over 0 Days - ∞cph!

3 Years Ago
Merge Main->NewWounding
3 Years Ago
Merge Main->NewWounding
3 Years Ago
Adding a future option to cancel any pending health when entering wounded state. Currently unused.
3 Years Ago
Added crawlingminhealth and crawlingmaxhealth convars
3 Years Ago
Fixed ducking while crawling affecting the player's view position
3 Years Ago
More eye fixes, crawling looking good from first-person at all angles now
3 Years Ago
Remove debug print
3 Years Ago
Fixed eye position not handling view offsets with a z offset (keep old handling for mountables where we want to cancel the x/z - see #22833)
3 Years Ago
Get the view height right for first-person crawling. Change crawling cam to FirstPersonWithArms. Fix BodyLeanOffset not handling view offsets that aren't y-axis only.
3 Years Ago
Various changes to accommodate crawling into eye and view code
3 Years Ago
Add crawling position to the IsPlayerVisible checks
3 Years Ago
Reduced eight IsPlayerVisible check methods to one.
3 Years Ago
Fix the slow animation always playing on the world space player. All correct syringe animations now play
3 Years Ago
Adjust use_other_wounded viewmodel animation event position and overall speed so that the event fires right at 5.25s
3 Years Ago
Setting up world model alt animation for wounded player syringe use. Set modelState.aiming = true for the duration.
3 Years Ago
Merge Main->NewWounding
3 Years Ago
Re-enable syringe revives with longer, 5.25 second animation. Need viewmodel animation replacement - using a slowed-down version for now. World model update not done yet.
3 Years Ago
Reorder recovery code. Check needs to be done before the flags reset
3 Years Ago
Remove 20HP revive cap, reverting behaviour to how it is on release so that players can heal while wounded and keep it all when revived. Add special handling for crawling state, so player can have more health while crawling, yet revive from crawling to having a weak amount of health, and also still take into account healing gained while in crawling state.
3 Years Ago
Revert syringes to not revive players, at least until/unless we get a longer animation variant done
3 Years Ago
Syringe use on a wounded player now revives them again (was disabled intentionally in #15918, Aug 2016)
3 Years Ago
Cap health to 20HP when revived
3 Years Ago
Recover properly
3 Years Ago
Change to large medkit recovery. Only use up the large medkit to recover if the player fails their recovery check and was going to die. So if they get lucky and would have recovered for free anyway, the medkit is not used up.
3 Years Ago
Increase woundedmaxfoodandwaterbonus from 20% to 25%
3 Years Ago
Fix inverse lerp that should have been a lerp.
3 Years Ago
Minor syntax edit
3 Years Ago
Is player has a large medkit in their belt when becoming wounded, their chance to recover when time runs out is locked at 100%. Recovering then uses up the medkit but doesn't provide any bonus health.
3 Years Ago
Food and water levels now affect recovery chance from wounded state. Added convar woundedmaxfoodandwaterbonus that sets the maximum percent chance increase
3 Years Ago
Minor spelling edit
3 Years Ago
Editor-only convars for dev. WoundedFreeCamera and WoundedNeverEnds. Also in the Rust Editor window.
3 Years Ago
Change crawl speed to 0.6m/s to correctly match the animation speed
3 Years Ago
Recover chance difference for crawling vs. incapacitated. Added convars for each.
3 Years Ago
Reset wounded timer if player goes from crawling to incapacitated. Some refactoring.
3 Years Ago
Set speed thresholds in the crawling blendtree to 0.5 instead of 1.0, since we only crawl at 0.75 (currently)
3 Years Ago
Animation: Give look look direction a 0 weight while crawling.
3 Years Ago
Don't show health while wounded
3 Years Ago
Fix TimeSince
3 Years Ago
More progress
3 Years Ago
Splitting up the wounded states into separate methods
3 Years Ago
Allow for forced death after wounded timeout
3 Years Ago
Continuing setup for the two levels of wounding, crawling and incapacitated
3 Years Ago
Merge Main->NewWounding
3 Years Ago
Set up correct crawl speed
3 Years Ago
Fix incapicated gesture, make CurrentGesture nonserialized
3 Years Ago
More crawling code, getting to grips with the whole player model system
3 Years Ago
Move modelstate initial params to one place, in the constructor. Set up crawling state
3 Years Ago
WIP PlayerModel code, some renaming
3 Years Ago
Hook up a new BeingLooted flag for players
3 Years Ago
Reintroduce ServerFall for incapacitated players. Still WIP