Commit Graph

2243 Commits

Author SHA1 Message Date
wrexbe
31489abdd1 Format redial wait time (#8767) 2022-06-12 12:40:27 +10:00
Acruid
4f9be42f40 Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10:00
Leon Friedrich
846321cebb Remove uses of PrototypeLayerData.New() (#8676) 2022-06-11 18:38:40 -07:00
Vera Aguilera Puerto
0c337d6235 Round end sound now respects lobby music option toggle. (#8699)
Now it only plays when the round restarts *after* a regular roundend.
Meaning that if you spam the "restartroundnow" command, it won't play even if you have roundend sounds enabled in the options.
2022-06-12 11:23:28 +10:00
Julian Giebel
f4be8b5793 Device network DeviceLists and the NetworkConfigurator (Makes air alarms usable) (#7697)
* Implement DeviceList
Implement NetworkConfigurator
I sould really get into the habit of making smaller commits

* Remove ApcNetworkComponent from vents, scrubbers anf firelocks

* Change BeforeBroadcastAttemptEvent#Recepients to readonly IReadonlySet and add a ModifiedRecepients field

* Address revievs in NetworkConfigurationSystem

* Fix red and green button styles

* Change NetworkConfiguratorSystem#UpdateState to remove saved entites that don't exist anymore

* Add AtmosDevices device net id

* Add const strings for style classes
Fix wrong margin for NetworkConfiguratorConfigurationMenu

* Hello? Github?

* Add access check before opening the configuration ui

* Address reviews

* Fix call to access reader

* You shall not live again IgnoreComponent

* Fix interaction verb check

* Fix configuration window not closing when target gets deleted / out of range

* Change device is already saved message to say 'network device: ... is already saves'

* Apply suggestions from code review

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>

* Fix applied suggestion

Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
2022-06-09 18:28:24 -07:00
wrexbe
0fc8c0ef5e Update some nugets (#8738) 2022-06-09 18:25:59 -07:00
Leon Friedrich
2d38d35aa2 Fix character ui crash (#8717) 2022-06-09 12:40:48 +10:00
Pieter-Jan Briers
a323ba8223 Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Pieter-Jan Briers
cecf87997b Revert "Fix some friend access violations by allowing others access. (#8594) (#8703) 2022-06-07 13:44:31 +02:00
Vera Aguilera Puerto
c5f7c61041 Fix some friend access violations by allowing others access. (#8594)
Rename Friend attribute to Access attribute.
Updates submodule to v0.21.0.0 as well.
2022-06-07 11:30:27 +02:00
Leon Friedrich
22aaf801be use matrix CreateTransform (#8687) 2022-06-07 12:14:22 +10:00
Leon Friedrich
ff9d8f96e0 Add editor copy keybinding (#8369) 2022-06-06 08:58:20 +10:00
metalgearsloth
68a58aa0d1 Refactor magvisualizer (#8568) 2022-06-04 17:36:40 +10:00
Leon Friedrich
ca7960382b Missing nullables (#8634) 2022-06-04 17:17:48 +10:00
metalgearsloth
e06cabecbb Gun spread overlay (#8588) 2022-06-04 14:19:14 +10:00
Veritius
237cb3d0b4 Communications Console: The ECSining (#8374)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-03 21:37:35 +10:00
Leon Friedrich
763b79bbf9 Remove (some?) pop-up error spam. (#8538) 2022-06-03 03:42:59 -07:00
metalgearsloth
b29ed6e03a Prune most yml ambientsound entries (#8573) 2022-06-03 03:42:35 -07:00
Pieter-Jan Briers
0681bb1e00 Fix invalid XAML markup cases
Rider EAP is highlighting these now
2022-06-02 21:50:48 +02:00
ike709
5ae56c67e1 Adds the ability to not play admin sounds (#8242)
Co-authored-by: ike709 <ike709@github.com>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2022-06-02 15:41:19 +02:00
metalgearsloth
c021cadd46 Gun sound fixes (#8592) 2022-06-02 19:13:13 +10:00
metalgearsloth
fb943a61dc Gun refactor (#8301)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
Co-authored-by: T-Stalker <le0nel_1van@hotmail.com>
Co-authored-by: T-Stalker <43253663+DogZeroX@users.noreply.github.com>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-06-01 19:59:58 +10:00
Flipp Syder
74c7aa9510 Alert level reloads (#8530)
* adds prototype reload for AlertLevelSystem, reorganizes selectable alerts a bit

* makes alert levels not necessarily require localization

* oops

* sus

* does the same for announcements as well

* oh, that's not how that works at all

* ok, NOW it works

* fixes localization, adds event for when alerts are reloaded

* addresses review
2022-06-01 17:40:11 +10:00
Leon Friedrich
01a991ebad Update emergency light animation. (#8531) 2022-06-01 13:16:01 +10:00
Flipp Syder
d4697c000c Surveillance cameras (#8246)
* cameras but i didn't feel like git stashing them

* Adds more functionality server-side for surveillance cameras

* rider moment

* Adds skeleton for SurveillanceCameraMonitorBoundUi on client

* whoops

* makes surveillance camera monitor UI more defined

* removes tree from SurveillanceCameraMonitorWindow

* surveillance camera active flag, other routing things

* actually sets how SurveillanceCameraMonitorSystem sends camera info to clients

* adds entity yaml, changes field

* adds the camera/monitor entities, makes the UI open

* SurveillanceCameraRouters (not implemented fully)

* subnets for cameras, server-side

* it works!

* fixes rotation in cameras

* whoops

restores surveillance cameras to ignored components
makes it so that switching cameras now lerps the other camera

* makes the UI work

* makes it so that cameras actually refresh now

* cleanup

* adds camera.rsi

* cleans up prototypes a bit

* adds camera subnet frequencies, cameras in subnets

* adds surveillance camera router subnets

* might fix testing errors

* adds the circuit board to the surveillance camera monitor

* fixes up the camera monitor (the detective will get his tv soon)

* adds heartbeat, ensures subnet data is passed into cameras to send

* fixes up a few things

* whoops

* changes to UI internals

* fixes subnet selection issue

* localized strings for UI

* changes 'test' id to 'camera' for cameras

* whoops

* missing s

* camera static!

* adds a delay to camera switching

* adjusts a few things in camera timing

* adds setup for cameras/routers, localization for frequency names

* adds setup ui for routers, makes subnet names in monitor window follow frequency name in prototype

* localization, some cleanup

* ui adjustments

* adds surveillance camera visuals

* fixes a bug when closing the UI for monitors

* adds disconnect message to UI

* adds construction graph to cameras

* adds the camera to the construction menu

* fixes network selection for setup, tweak to assembly

* adds surveillance camera router construction, fixes up surveillance camera wire cutting

* adds disconnect button to monitor UI

* switches around the status text

* tweaks monitor UI

* makes the address actually show

* might make tests pass

* UI adjustments, hard name limit

* ok, that didn't work

* adds wireless cameras

* makes the television work/look nicer

* adds tripod cameras in addition to mobile cameras

* makes wireless cameras constructable

* fixes up those prototypes

* reorganization in C#, small cleanup

* ensures that power changes deactivate some devices

* adds a component to the television, comments out a function

* actually, never mind, i forgot that wireless cameras existed/are creatable for a second

* tweaks to router construction, removes SubnetTest from prototypes

* removes it from frequencies too

* Apply suggestions from code review

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* type serializers into components

* setup window opens centered, enum is now byte

* replaces active monitor list with ActiveSurveillanceCameraMonitorComponent

* adds paused/deleted entity checks, changes how verbs are given

* removes EntitySystem.Get<T>() references

* fixes bug related to selecting network from setup, alphabet-orders network listing in setup

* rider moment

* adds minwidth to surveillance camera setup window

* addresses reviews

* should fix the issue with camera visuals not updating properly

* addresses some reviews

* addresses further review

* addresses reviews related to RSIs

* never needed a key there anyways

* changes a few things with routers to ensure that they're active

* whoops

* ensurecomp over addcomp

* whoops

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-05-31 18:44:57 +10:00
wrexbe
1e0babbd50 Make AdminLogsSystem an IoC manager (#8492)
* Make log not entity system

* Fixes
2022-05-28 23:41:17 -07:00
wrexbe
9cd323e519 Remove IgnoreComponents on the client (#8308) 2022-05-28 10:38:59 -07:00
Pieter-Jan Briers
cb95d2ae8d Bump engine to 0.19.0.0 (#8417) 2022-05-28 16:29:12 +02:00
metalgearsloth
01763bd897 Play sound and request window on cloning (#8323)
ECS TBD. Fish did a pr but it was doing a lot at once.
2022-05-27 18:32:07 -07:00
Pieter-Jan Briers
4c1b0b87fb Fix rules popup (#8485)
* CVar to show rules popup for localhost.

For testing purposes.

* Fix rules popup being broken and throwing.

😐
2022-05-27 14:50:11 -07:00
Moony
130302a262 Adds twenty-one new smites, moves the explosion smite to the verb category. (#8456)
* Adds seven new smites, moves the explosion smite to the verb category.

* adds even more smites.

* Even more smites, some messages for specific smites.

* Adds even more smites.

* Removes some junk, adds a smite that angers the pointing arrows.

* get rid of dumb component.

* Remove mistake from verb menu presentation.

* How did that happen?

* whoops

* c

* e

* fuck

* Loading...

* removes the BoM go away

* adds the funny kill sign. Fixes ghost smite.

* Move systems around.

* Adjust organ vomit.

* Adds a smite that turns people into an instrument, and one that removes their gravity.

* oops

* typo

Co-authored-by: Veritius <veritiusgaming@gmail.com>
2022-05-27 00:41:18 -07:00
Pieter-Jan Briers
c5982e0b10 Engine UI FrameUpdate compat, Speech bubble first frame fix (#8472)
* Compat fix for engine UI FrameUpdate order change.

Engine is getting FrameUpdate changed to run BEFORE style & layout. This is needed to avoid exploding.

* Fix speech bubble layout on first frame.
2022-05-26 20:34:25 -07:00
Leon Friedrich
962a2f269f Fix inaccessible ready button in lobby (#8465)
* Fix inaccesible ready button in lobby

* a

* vote popups

* splitz
2022-05-26 19:33:12 -07:00
Leon Friedrich
f55c4c6825 Fix action icons (#8436) 2022-05-26 01:47:03 -07:00
Moony
93665528e0 webedit fix moment. Fixes right click menu separation. 2022-05-25 20:14:27 -05:00
Leon Friedrich
71a9ddc5f4 Verb icon tiling (#8457) 2022-05-25 19:41:03 -05:00
Kara
4811124786 Kill unarmed combat comp (#8420) 2022-05-25 14:48:41 -07:00
Flipp Syder
a8f1ffd435 Mousetraps (#8440)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-05-25 13:16:34 -07:00
metalgearsloth
495a65bc6d Mime cleanup (#8433) 2022-05-25 00:43:48 -07:00
Leon Friedrich
1954e0c3de Fix cursor popups (#8401)
* Fix cursor popups

* RemoveSwap
2022-05-25 12:33:48 +10:00
ike709
7e90f12285 Muting lobby music now mutes round-end music (#8418)
Co-authored-by: ike709 <ike709@github.com>
2022-05-24 14:45:17 -07:00
Flipp Syder
2b45894879 Markings tweaks (#8394)
* fixes issue with indexing into colors on multi-sprite markings

* should rebuild the dummy upon character profile switch in client

* markings, when selected, should now default to the current character's skin color

* whoops, missed one

* adds a type serializer into marking points

* that has to be a list serializer, oops
2022-05-24 11:55:43 +10:00
ike709
0b15db1120 Adds a cvar for server rules (#8365)
Co-authored-by: Veritius <veritiusgaming@gmail.com>
Co-authored-by: ike709 <ike709@github.com>
2022-05-23 12:43:09 -07:00
metalgearsloth
0084ca721b More robust bullet impact sounds (#8325) 2022-05-22 18:23:37 +10:00
metalgearsloth
6e94d08b17 Gun tweaks (#8320) 2022-05-22 12:31:46 +10:00
20kdc
98c2b34512 Redial Button II - Now with magic! (#8237)
* Redial Button II - Now with magic!

* 15-second timer before redial is allowed
2022-05-21 18:56:18 -07:00
metalgearsloth
4e2b94199e Bullet flyby sounds (#8317) 2022-05-21 01:04:47 -07:00
metalgearsloth
f066ac2551 Store what access levels are available on the IDCard console (#8259)
Might be better as an accessgroup instead? LMK
2022-05-21 14:19:02 +10:00
Kara
a3decccd35 Immovable rod (#8306) 2022-05-20 19:43:26 -07:00
Leon Friedrich
8e0df3298a Fix storage interaction (#8290) 2022-05-20 13:56:43 +10:00