Repaired several effects. (#21711)

Fully fixes #21686, as well as other assorted issues caused by #21458.


![dreamseeker_ACcsHOw9m3](https://github.com/user-attachments/assets/cceb66b8-a067-4aba-aa41-5bfd4784a37a)

![dreamseeker_ihjvvcZmzH](https://github.com/user-attachments/assets/abaecb2e-d156-47af-8482-c7ad85a49cf4)
This commit is contained in:
Cody Brittain
2026-01-14 01:57:47 -05:00
committed by GitHub
parent 7e917d73ec
commit e300cf9bbf
9 changed files with 180 additions and 6 deletions
+36
View File
@@ -175,11 +175,47 @@
/atom/movable/screen/plane_master/displacement
name = "displacement plane"
blend_mode = BLEND_ADD
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
plane = DISPLACEMENT_PLATE_RENDER_LAYER
render_target = DISPLACEMENT_PLATE_RENDER_TARGET
render_relay_plane = null
/atom/movable/screen/plane_master/warp
name = "warp plane"
blend_mode = BLEND_ADD
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
plane = WARP_EFFECT_PLANE
render_target = WARP_EFFECT_PLATE_RENDER_TARGET
render_relay_plane = null
/atom/movable/screen/plane_master/heat
name = "heat haze plane"
blend_mode = BLEND_ADD
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
plane = HEAT_EFFECT_PLANE
render_target = HEAT_EFFECT_COMPOSITE_RENDER_TARGET
render_relay_plane = null
var/gas_heat_object
//Not actually handled in this plane, we just use this to spawn the particle emitter so byond's rendering system will source it.
var/gas_cold_object
/atom/movable/screen/plane_master/heat/Initialize()
. = ..()
setup()
/atom/movable/screen/plane_master/heat/proc/setup()
//TODO: Add graphical options. If players don't like heat haze, replace particles with icons
if (gas_heat_object)
remove_vis_contents(gas_heat_object)
if (gas_cold_object)
remove_vis_contents(gas_cold_object)
gas_heat_object = new /obj/particle_emitter/heat/high
gas_cold_object = new /obj/particle_emitter/mist/gas
add_vis_contents(gas_heat_object)
add_vis_contents(gas_cold_object)
/atom/movable/screen/plane_master/open_space
name = "open space plane"
plane = OPEN_SPACE_PLANE_END //aurora snowflake: our openspace system works bottom up, not top down like CM's
+2
View File
@@ -42,6 +42,8 @@
/atom/movable/screen/plane_master/rendering_plate/game_world/Initialize(mapload, datum/hud/hud_owner)
. = ..()
add_filter("displacer", 1, displacement_map_filter(render_source = DISPLACEMENT_PLATE_RENDER_TARGET, size = 10))
add_filter("warp", 1, displacement_map_filter(render_source = WARP_EFFECT_PLATE_RENDER_TARGET, size = 5))
add_filter("heat_haze", 1, displacement_map_filter(render_source = HEAT_EFFECT_COMPOSITE_RENDER_TARGET, size = 2.5))
///render plate for OOC stuff like ghosts, hud-screen effects, etc
/atom/movable/screen/plane_master/rendering_plate/non_game