Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Other

Other Cant find a category above, use this one! Core mods not listed above go here!

Reply
 
Thread Tools Display Modes
Old 06-21-2006, 04:10 AM   #1 (permalink)
Newbie
 
Join Date: Sep 2004
Age: 33
Posts: 28
Default 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.
Simon_Templar96 is offline   Reply With Quote
Old 06-21-2006, 05:52 AM   #2 (permalink)
 
Join Date: Jun 2003
Posts: 10
Default

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.
wialco is offline   Reply With Quote
Old 06-21-2006, 12:40 PM   #3 (permalink)
Newbie
 
Join Date: Sep 2004
Age: 33
Posts: 28
Default

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.

Last edited by Simon_Templar96; 06-21-2006 at 01:31 PM.
Simon_Templar96 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5