Skip to content

Commit

Permalink
[Port] EFN Noise filter (#604)
Browse files Browse the repository at this point in the history
## About The Pull Request

This pr ports a extremely subtle noise filter from EFN.
Extremely minor change if you ask me but its gonna add a little more
soul and thats what we love.
Jokes aside this will add to the atmosphere of the server being aboard a
run down ship in deep space.

Watch testing videos in full screen to see the difference the best, or
load up this branch to see it yourself.

Credit goes to EFN for the idea:
- https://gitgud.io/the-itobe-denomination/escape-from-nevado

## How Does This Help ***Gameplay***?
More soul is always nice, Noise filter has no impact on the visual
clarity with how subtle it is.

## How Does This Help ***Roleplay***?
Minimal impact on RP.

## Proof of Testing
<details>
<summary>Screenshots/Videos</summary> <!-- Leave the line after this one
empty. Embeds like breaking if you don't -->

## Without noise filter


https://github.com/user-attachments/assets/64c1407b-2b5f-4f90-bbe7-b0e6c60feb45

## With noise filter. (Watch in fullscreen, its that subtle!)


https://github.com/user-attachments/assets/dbc995a9-6b65-4fd6-9e91-d06822f4daa1

</details>

## Changelog
:cl:
add: Added a subtle noise filter for soul purposes.
/:cl:
  • Loading branch information
QuacksQ authored Oct 5, 2024
1 parent ecfa215 commit ee79470
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions code/_onclick/hud/fullscreen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,24 @@
plane = LIGHTING_PLANE
blend_mode = BLEND_ADD
show_when_dead = TRUE

//Noise holder
/atom/movable/screen/fullscreen/noise
icon = 'icons/hud/noise.dmi'
icon_state = "blank"
screen_loc = "WEST,SOUTH to EAST,NORTH"
plane = FULLSCREEN_PLANE
layer = FULLSCREEN_LAYER
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
show_when_dead = TRUE
var/poggers = 1
var/loggers = "k"

/atom/movable/screen/fullscreen/noise/update_for_view(client_view)
screen_loc = "WEST,SOUTH to EAST,NORTH"
poggers = rand(1,9)
update_appearance()

/atom/movable/screen/fullscreen/noise/update_icon_state()
. = ..()
icon_state = "[poggers][loggers]"
1 change: 1 addition & 0 deletions code/_onclick/hud/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
plane_master_controllers[controller_instance.name] = controller_instance

owner.overlay_fullscreen("see_through_darkness", /atom/movable/screen/fullscreen/see_through_darkness)
owner.overlay_fullscreen("noise", /atom/movable/screen/fullscreen/noise)

AddComponent(/datum/component/zparallax, owner.client)

Expand Down
Binary file added icons/hud/noise.dmi
Binary file not shown.

0 comments on commit ee79470

Please sign in to comment.