mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 21:11:57 +00:00
[MIRROR] Change default render relay plane to game relay [MDB IGNORE] (#11337)
* Change default render relay plane to game relay (#64567) * Change default render relay plane to game plane * fix typo Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com> * Change default render relay plane to game relay Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com> Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
//--rendering relay vars--
|
//--rendering relay vars--
|
||||||
///integer: what plane we will relay this planes render to
|
///integer: what plane we will relay this planes render to
|
||||||
var/render_relay_plane = RENDER_PLANE_MASTER
|
var/render_relay_plane = RENDER_PLANE_GAME
|
||||||
///bool: Whether this plane should get a render target automatically generated
|
///bool: Whether this plane should get a render target automatically generated
|
||||||
var/generate_render_target = TRUE
|
var/generate_render_target = TRUE
|
||||||
///integer: blend mode to apply to the render relay in case you dont want to use the plane_masters blend_mode
|
///integer: blend mode to apply to the render relay in case you dont want to use the plane_masters blend_mode
|
||||||
@@ -36,13 +36,11 @@
|
|||||||
appearance_flags = PLANE_MASTER
|
appearance_flags = PLANE_MASTER
|
||||||
blend_mode = BLEND_MULTIPLY
|
blend_mode = BLEND_MULTIPLY
|
||||||
alpha = 255
|
alpha = 255
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/openspace
|
/atom/movable/screen/plane_master/openspace
|
||||||
name = "open space plane master"
|
name = "open space plane master"
|
||||||
plane = OPENSPACE_PLANE
|
plane = OPENSPACE_PLANE
|
||||||
appearance_flags = PLANE_MASTER
|
appearance_flags = PLANE_MASTER
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/openspace/Initialize(mapload)
|
/atom/movable/screen/plane_master/openspace/Initialize(mapload)
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -55,7 +53,6 @@
|
|||||||
name = "transparent plane master"
|
name = "transparent plane master"
|
||||||
plane = TRANSPARENT_FLOOR_PLANE
|
plane = TRANSPARENT_FLOOR_PLANE
|
||||||
appearance_flags = PLANE_MASTER
|
appearance_flags = PLANE_MASTER
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
///Contains just the floor
|
///Contains just the floor
|
||||||
/atom/movable/screen/plane_master/floor
|
/atom/movable/screen/plane_master/floor
|
||||||
@@ -63,7 +60,6 @@
|
|||||||
plane = FLOOR_PLANE
|
plane = FLOOR_PLANE
|
||||||
appearance_flags = PLANE_MASTER
|
appearance_flags = PLANE_MASTER
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
///Contains most things in the game world
|
///Contains most things in the game world
|
||||||
/atom/movable/screen/plane_master/game_world
|
/atom/movable/screen/plane_master/game_world
|
||||||
@@ -71,7 +67,6 @@
|
|||||||
plane = GAME_PLANE
|
plane = GAME_PLANE
|
||||||
appearance_flags = PLANE_MASTER //should use client color
|
appearance_flags = PLANE_MASTER //should use client color
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/game_world/backdrop(mob/mymob)
|
/atom/movable/screen/plane_master/game_world/backdrop(mob/mymob)
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -102,7 +97,6 @@
|
|||||||
plane = MASSIVE_OBJ_PLANE
|
plane = MASSIVE_OBJ_PLANE
|
||||||
appearance_flags = PLANE_MASTER //should use client color
|
appearance_flags = PLANE_MASTER //should use client color
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/ghost
|
/atom/movable/screen/plane_master/ghost
|
||||||
name = "ghost plane master"
|
name = "ghost plane master"
|
||||||
@@ -116,7 +110,6 @@
|
|||||||
plane = POINT_PLANE
|
plane = POINT_PLANE
|
||||||
appearance_flags = PLANE_MASTER //should use client color
|
appearance_flags = PLANE_MASTER //should use client color
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plane master handling byond internal blackness
|
* Plane master handling byond internal blackness
|
||||||
@@ -131,7 +124,6 @@
|
|||||||
blend_mode = BLEND_MULTIPLY
|
blend_mode = BLEND_MULTIPLY
|
||||||
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR | PIXEL_SCALE
|
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR | PIXEL_SCALE
|
||||||
//byond internal end
|
//byond internal end
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
///Contains all lighting objects
|
///Contains all lighting objects
|
||||||
/atom/movable/screen/plane_master/lighting
|
/atom/movable/screen/plane_master/lighting
|
||||||
@@ -139,7 +131,7 @@
|
|||||||
plane = LIGHTING_PLANE
|
plane = LIGHTING_PLANE
|
||||||
blend_mode_override = BLEND_MULTIPLY
|
blend_mode_override = BLEND_MULTIPLY
|
||||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/lighting/backdrop(mob/mymob)
|
/atom/movable/screen/plane_master/lighting/backdrop(mob/mymob)
|
||||||
. = ..()
|
. = ..()
|
||||||
@@ -181,7 +173,6 @@
|
|||||||
plane = ABOVE_LIGHTING_PLANE
|
plane = ABOVE_LIGHTING_PLANE
|
||||||
appearance_flags = PLANE_MASTER //should use client color
|
appearance_flags = PLANE_MASTER //should use client color
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
///Contains space parallax
|
///Contains space parallax
|
||||||
/atom/movable/screen/plane_master/parallax
|
/atom/movable/screen/plane_master/parallax
|
||||||
@@ -189,26 +180,22 @@
|
|||||||
plane = PLANE_SPACE_PARALLAX
|
plane = PLANE_SPACE_PARALLAX
|
||||||
blend_mode = BLEND_MULTIPLY
|
blend_mode = BLEND_MULTIPLY
|
||||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/parallax_white
|
/atom/movable/screen/plane_master/parallax_white
|
||||||
name = "parallax whitifier plane master"
|
name = "parallax whitifier plane master"
|
||||||
plane = PLANE_SPACE
|
plane = PLANE_SPACE
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/camera_static
|
/atom/movable/screen/plane_master/camera_static
|
||||||
name = "camera static plane master"
|
name = "camera static plane master"
|
||||||
plane = CAMERA_STATIC_PLANE
|
plane = CAMERA_STATIC_PLANE
|
||||||
appearance_flags = PLANE_MASTER
|
appearance_flags = PLANE_MASTER
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/excited_turfs
|
/atom/movable/screen/plane_master/excited_turfs
|
||||||
name = "atmos excited turfs"
|
name = "atmos excited turfs"
|
||||||
plane = ATMOS_GROUP_PLANE
|
plane = ATMOS_GROUP_PLANE
|
||||||
appearance_flags = PLANE_MASTER
|
appearance_flags = PLANE_MASTER
|
||||||
blend_mode = BLEND_OVERLAY
|
blend_mode = BLEND_OVERLAY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
alpha = 0
|
alpha = 0
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/o_light_visual
|
/atom/movable/screen/plane_master/o_light_visual
|
||||||
@@ -218,7 +205,6 @@
|
|||||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||||
blend_mode = BLEND_MULTIPLY
|
blend_mode = BLEND_MULTIPLY
|
||||||
blend_mode_override = BLEND_MULTIPLY
|
blend_mode_override = BLEND_MULTIPLY
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/runechat
|
/atom/movable/screen/plane_master/runechat
|
||||||
name = "runechat plane master"
|
name = "runechat plane master"
|
||||||
@@ -243,7 +229,6 @@
|
|||||||
/atom/movable/screen/plane_master/area
|
/atom/movable/screen/plane_master/area
|
||||||
name = "area plane"
|
name = "area plane"
|
||||||
plane = AREA_PLANE
|
plane = AREA_PLANE
|
||||||
render_relay_plane = RENDER_PLANE_GAME
|
|
||||||
|
|
||||||
/atom/movable/screen/plane_master/radtext
|
/atom/movable/screen/plane_master/radtext
|
||||||
name = "radtext plane"
|
name = "radtext plane"
|
||||||
@@ -266,3 +251,4 @@
|
|||||||
plane = FIELD_OF_VISION_BLOCKER_PLANE
|
plane = FIELD_OF_VISION_BLOCKER_PLANE
|
||||||
render_target = FIELD_OF_VISION_BLOCKER_RENDER_TARGET
|
render_target = FIELD_OF_VISION_BLOCKER_RENDER_TARGET
|
||||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||||
|
render_relay_plane = null
|
||||||
|
|||||||
Reference in New Issue
Block a user