RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

light level question

light level question

I am currently making a new area which is supposed to be underground. I'm building it way off on the side of the map in the dark areas where the other dungeons etc are. How do I make it so that it is dark when the players come into this area? Basicly like the other dungeons and caves.
 

wialco

Sorceror
You must make a region for that and to add:

public override void AlterLightLevel ( Mobile m, ref int global, ref int personal )
{
global = 0;
}

Changes the value of global for the light.
 
hmm I tried editing regions.xml and adding a new region there but it caused my server to crash during bootup. currently seeking aid in server support forum.
 
Top