Forums

by Falacy
Forums
ID:2356841
 
obj/HUD/General/Lighting    //add to client.screen
plane=1
mouse_opacity=0
Darkness
alpha=224
color=rgb(0,0,0) //this inverts the color, since BYOND can only do negative color failmath. This would allow you to change the global/ambient light color, if you wanted
icon='Lights.dmi' //icon for this should be a solid white square
blend_mode=BLEND_ADD
screen_loc="1,1 to 17,17" //adjust the 17,17 with world.view
LightPlane
//this does nothing, but some kind of magical internal rendering
screen_loc="1,1"
blend_mode=BLEND_MULTIPLY
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR

obj/Lights //use however
plane=1
density=0
mouse_opacity=0
icon='Lights.dmi' //also white, but use transparency for blending
blend_mode=BLEND_ADD
Round
icon_state="Round"
FlashLight
pixel_x=-32
pixel_y=-32
icon='LightFlashLight.dmi'
Headlight
pixel_y=-32
icon_state="Headlight"
icon='LightFlashLight.dmi'