Files
wwdpublic/Content.Shared
Fahasor a764a4eb3b Whistle for security (second try) (#23945)
* Move Exclamation entity

* Add Whistle Component and Whistle System

* Add BaseWhistle prototype

* Add sound to BaseWhistle

* Add SecurityWhistle prototype

* Add Sprite and Icon to SecurityWhistle

* Add whistleExclamation prototype

* Fix SecurityWhistle prototype

Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>

* Add whistles to sec vendingMachine

* Revert "Add sound to BaseWhistle"

This reverts commit 0c2eeab1286fb778ed7a845e59c642f667582a4a.

* Add sounds for BaseWhistle

* Make atributions compact

* Remove unnecessary spaces

* Make WhistleSystem class sealed

* Remove possibility to exclamate one person from WhistleComponent

* Remove delay from WhistleSystem

Increase delay

* Remove unnecessary HashSet

* Try replace Resolve

* Refactor sound emmiting

* Rework spawn of exclamation

* Move WhistleComponent from Server to Shared

* Edit WhistleComponent because of moving

* Move WhistleSystem from Server to Client

* Edit WhistleSystem because of moving

* Add new event

* Add server part of WhistleSystem

* Modify system for prediction

* Add documentation to WhistleComponent

* Revert "Modify system for prediction"

This reverts commit 89abb290571ff47deb5491b0f720f6bde079110b.

* Revert "Add server part of WhistleSystem"

This reverts commit ca52ca081f30fb164f401c1818d08531f02af284.

* Revert "Add new event"

This reverts commit 5ca9694757c94c03ca72d5b2f56f5f23503a3263.

* Move system from client to shared

* Modify whistle system because of moving

* Separate checks and action

* Organize file folders according to conventions

* Make component Networked

* Change trigger component for WhistleSystem

* Put indents betwen methods

* Rework WhistleExclamation prototype

* Change variable name

* Add serializer to WhistleComponent

* Rename one variable

* add predict possibility to Shared

* add Client part of prediction

* Add Server part of prediction

* Increase whistle distance

* Prevent spawn for invisible entities

* WhistleComponent now use file-scoped namespace

* Delete unnecessary part from MakeLoudWhistle

* Add Resolve check

* Delete Server and Client part for prediction

* Make system prediction properly

* Change prediction behaviour

* Fix unexpected error occured

* Avoid using obsolete methods

* Add comments

* Update DataField to make it shorter

* Update size for new size system

* Prevent ping for invisible entities for real now

* Avoid triggering unnecessary debug asserts

---------

Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>
(cherry picked from commit fa3da1ab825c2140c8119e723028f292a7b772c3)
2024-01-26 22:33:18 +01:00
..
2024-01-22 18:38:03 +01:00
2023-12-16 19:48:34 +01:00
2024-01-22 18:47:55 +01:00
2024-01-26 21:30:40 +01:00
2024-01-26 21:48:02 +01:00
2023-12-02 20:16:36 +01:00
2024-01-22 18:38:03 +01:00
2024-01-26 21:48:02 +01:00
2024-01-23 22:53:53 +01:00
2024-01-15 00:48:30 +01:00
2024-01-22 18:47:55 +01:00
2024-01-26 22:04:22 +01:00
2024-01-26 21:48:02 +01:00
2023-11-19 22:09:46 +01:00
2024-01-26 21:48:02 +01:00
2024-01-26 21:37:33 +01:00
2024-01-21 19:58:28 +01:00
2024-01-26 21:48:02 +01:00
2024-01-22 18:56:57 +01:00
2023-12-02 20:16:36 +01:00
2024-01-26 21:50:20 +01:00
2023-12-06 16:58:00 +01:00
2024-01-26 22:33:17 +01:00
2024-01-22 18:47:55 +01:00
2024-01-26 22:17:10 +01:00
2024-01-22 18:44:31 +01:00
2023-11-12 20:43:48 +01:00
2024-01-22 21:07:36 +01:00
2024-01-26 21:35:22 +01:00
2024-01-26 21:37:36 +01:00
2023-11-12 20:38:42 +01:00
2024-01-22 18:56:57 +01:00
2024-01-26 21:35:22 +01:00
2024-01-26 22:05:08 +01:00
2024-01-22 18:36:56 +01:00
2024-01-22 18:47:55 +01:00
2023-12-22 23:12:06 +01:00
2023-12-02 20:19:30 +01:00
2024-01-22 18:56:57 +01:00
2023-12-02 20:16:36 +01:00
2023-12-16 19:13:50 +01:00
2024-01-21 19:58:28 +01:00
2023-12-02 20:16:36 +01:00
2023-12-16 19:27:09 +01:00
2024-01-26 22:22:41 +01:00
2023-12-22 23:00:29 +01:00
2024-01-22 18:30:44 +01:00
2024-01-26 21:47:37 +01:00
2023-12-02 20:16:36 +01:00
2023-11-12 20:38:07 +01:00
2024-01-26 22:16:34 +01:00
2023-12-02 20:25:44 +01:00
2024-01-26 21:48:02 +01:00