Files
crystall-punk-14/Content.Shared
Fahasor fa3da1ab82 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>
2024-01-12 01:05:28 -07:00
..
2023-12-27 02:55:48 -07:00
2023-12-11 21:26:55 +11:00
2023-12-28 01:30:03 -04:00
2024-01-03 17:34:47 -07:00
2024-01-06 17:53:13 +11:00
2023-11-27 22:12:34 +11:00
2023-12-27 02:55:48 -07:00
2023-01-15 00:01:47 -04:00
2024-01-06 17:53:13 +11:00
2024-01-02 17:24:01 +11:00
2023-09-11 18:42:38 -07:00
2023-05-11 23:19:08 +10:00
2023-12-28 01:30:03 -04:00
2024-01-06 17:30:21 -08:00
2022-11-15 22:30:59 +11:00
2023-10-10 16:41:11 -07:00
2023-09-09 23:37:56 -04:00
2024-01-06 17:53:13 +11:00
2023-09-01 12:30:40 +10:00
2023-11-14 19:23:40 -07:00
2024-01-06 17:53:13 +11:00
2024-01-04 05:38:02 -07:00
2024-01-06 17:53:13 +11:00
2023-09-11 21:20:46 +10:00
2023-12-28 13:11:50 +00:00
2023-11-27 22:12:34 +11:00
2024-01-06 20:19:45 +11:00
2024-01-12 01:04:55 -07:00
2023-12-28 01:30:03 -04:00
2024-01-09 01:02:38 -07:00
2023-12-28 10:57:48 +11:00
2023-11-05 19:36:08 -07:00
2023-12-30 18:15:02 -05:00
2024-01-04 14:25:32 +11:00
2024-01-04 05:56:14 -07:00
2023-11-05 16:49:59 -07:00
2023-09-22 15:01:05 -05:00
2023-12-28 13:11:50 +00:00
2024-01-04 14:25:32 +11:00
2024-01-07 14:23:25 +11:00
2023-12-25 00:33:32 -07:00
2023-12-28 01:30:03 -04:00
2023-12-20 21:19:50 -07:00
2022-09-15 03:30:56 +10:00
2023-11-27 14:39:29 -07:00
2023-09-11 19:18:06 +10:00
2023-12-28 13:11:50 +00:00
2023-11-27 22:12:34 +11:00
2023-12-04 17:32:17 +11:00
2022-10-16 08:49:22 -07:00
2023-09-23 18:49:39 +10:00
2023-11-27 22:12:34 +11:00
2023-12-06 20:25:57 -05:00
2024-01-10 02:07:35 -07:00
2023-12-20 09:30:29 +11:00
2023-12-24 02:58:28 -07:00
2024-01-06 13:38:37 +11:00
2023-11-27 22:12:34 +11:00
2023-05-02 00:25:33 +10:00
2023-11-05 02:58:26 +11:00
2023-02-17 01:29:44 +01:00
2024-01-09 00:25:07 -07:00
2023-11-28 23:35:38 +11:00
2024-01-06 17:53:13 +11:00