Commit Graph

18 Commits

Author SHA1 Message Date
Pieter-Jan Briers ccea85136b
Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +01:00
deathride58 52d4e2fe92
Blindness hotfix (content side) (#23465)
* fixes major blindness issues like blindness not scaling with render res

* HEY. get outta there

(cherry picked from commit 6901e930b52d4a2535fa0ffdabaae3b5510b5811)
2024-01-26 21:29:54 +01:00
deathride58 6af522df55
Blindness rework - damaged eyes are now a stylized simulation of legal blindness (#23212)
* blindness rework - damaged eyes now simulate legal blindness

* hEY THATS FOR DEMONSTRATION PURPOSES ONLY AAA

* attributions

* makes eyeclosecomponent adminbus compatible

* useshader(null)

(cherry picked from commit aa6645c8e956be6abfffb58b43e67f479c45f962)
2024-01-26 21:27:55 +01:00
Tomás Alves cdd86a8619
Fix: Blindness radius when zooming (#23130)
* Fix Zoom while Blind

* Fix Zoom while Blind (ContentEyeComponent->EyeComponent)

(cherry picked from commit 345b0e6305c8deca327893cbe37b29576e6dcac8)
2024-01-22 19:01:05 +01:00
Nairod da901e84cd Welder Blindness Effect Increase (#22304) 2023-12-16 19:39:25 +01:00
Leon Friedrich 29584576e7 Merge `ActorSystem` and `IPlayerManager` (#21314) 2023-11-12 20:53:33 +01:00
Leon Friedrich e66c0b5035 Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
metalgearsloth 98cf505f9f Remove SharedEye (but content) (#19481) 2023-09-27 21:59:12 +02:00
Leon Friedrich 818f23352e
Make blurry vision darken the screen (#15926) 2023-04-30 11:44:01 +10:00
Leon Friedrich 84299cae63
Blindness refactor (#15705)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-04-29 15:32:14 +10:00
Leon Friedrich 2cf79bde8f
Fix overlay bugs (#11406) 2022-09-19 16:49:02 -07:00
Nemanja 512e96eed4
new eye damage effect (#10728) 2022-08-20 15:17:58 -05:00
Rane 572a4f7fb3
Eye damage (#10262) 2022-08-13 22:59:14 -07:00
metalgearsloth 87c05f2949
Cleanup overlay shaders when done (#10432) 2022-08-13 10:58:53 +10:00
Rane 037feb3ad0
Fix blindfold round cleanup bug (#9821)
* Blindness public api

* fix blinding round cleanup bug
2022-07-19 17:10:08 +10:00
Rane 83c03b60a1
[2 lines] fix blinding (#9690)
* Adds blinding + blindfolds (#8688)

* Adds blinding + blindfolds

* Don't break examining lol

* moment

* fix toggle lights behavior

* move checks around

* Sloth review

* Added a salvage funny

* review

* woops

* Switch circle shader

Co-authored-by: wrexbe <wrexbe@protonmail.com>

* resolve merge conflict

Co-authored-by: wrexbe <wrexbe@protonmail.com>
2022-07-14 06:58:24 -05:00
Moony a655891a8d
Revert "Adds blinding + blindfolds (#8688)" (#9689)
This reverts commit 7a7ab5e8c1.
2022-07-13 16:50:35 -05:00
Rane 7a7ab5e8c1
Adds blinding + blindfolds (#8688)
* Adds blinding + blindfolds

* Don't break examining lol

* moment

* fix toggle lights behavior

* move checks around

* Sloth review

* Added a salvage funny

* review

* woops

* Switch circle shader

Co-authored-by: wrexbe <wrexbe@protonmail.com>
2022-07-11 22:55:04 -07:00