Commit Graph

2 Commits

Author SHA1 Message Date
BarryNorfolk 63b2eadada
[K9] Rework Grappling (#5337)
* Remove unused ProtoId

* Remove unused variable

* Move the entire of grappling into shared

* Move grappler to Secdog base to enable all secdogs to grapple

* Fix prediction on grappling from move to shared

* Also block any StandUpAttempt events

* Remove secdog hand disabling and up cooldown to 15 seconds

* Add grapple activation modes

* Implement new activation mode handling

* Allow damage accumlated to release grapples

* Add initial damage to activation mode

* Immediately refresh modifiers on releasing of grapple

* Check accumulated damage constantly, clear damage via timer

* Only emit popups from server side

* Update Laika's grappler component to use new activation mode

* Add event for entering stamina crit

* Release grapple when victim enters crit

* Minor rewording of grapple starting

* Typo

* Rely solely on the shared system for grappling now

* Change activation mode from class to interface
2026-04-11 17:35:25 +02:00
BarryNorfolk 70d7712a35
Add Grappling for Laika (#4157)
* Create grappling system

* Add grappling to Laika and other sec dogs

* Allow grapplers to also throw themselves prone

* Apply prone on grapple to laika

* Add layingdown component to laika

* Ensure grapplers entering crit release their grapples

* Ensure IPCs can be grappled

* Fix typo

* Remove system suffix for fields

* Simplifiy returns for CanGrapple

* Use magic dotnet syntax

* Fix usages of ViewVariables over DataFields

* Swap to using marker component over tags

* Remove errant new lines

* Remove redundant brackets
2025-10-16 15:52:34 +11:00