mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 16:37:19 +01:00
Repaired several effects. (#21711)
Fully fixes #21686, as well as other assorted issues caused by #21458.  
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user