mob/player
Login()
..()
DrawPlanes()
proc
DrawPlanes()
client.screen.Add(screenColor)
client.screen += new/obj/lighting_plane
SetLum(3, "#FFF")
atom/movable
var/image/spotlight
proc/SetLum(Range, Color, list/Params)
if(!spotlight) spotlight = new /image/spotlight
if(Params) for(var/v in Params)
spotlight.vars[v] = Params[v]
spotlight.color = Color
spotlight.transform = matrix()*Range
overlays += spotlight
obj/lighting_plane
screen_loc = "SOUTH,WEST to NORTH,EAST"
plane = 2
blend_mode = BLEND_MULTIPLY
appearance_flags= PLANE_MASTER | NO_CLIENT_COLOR
// mouse_opacity = 0
image/spotlight
plane = 2
blend_mode = BLEND_ADD
icon = 'lighting.dmi'
icon_state = "0"
layer = 1+EFFECTS_LAYER
appearance_flags = RESET_COLOR
mob/player
var/tmp/obj/hud/screenColor/screenColor = new
obj/hud
screenColor
icon_state = "rect"
color ="black"
screen_loc = "SOUTHWEST to NORTHEAST"
plane = 2
// mouse_opacity = 0
alpha = 255
Problem description:
Why this doesn't work when i use
map_format=SIDE_MAP
map_format=SIDE_MAP