Full Version : Question about TOD and when it get's dark/light.
xmlspawner >>Q&A >>Question about TOD and when it get's dark/light.
<< Prev | Next >>
godfood- 01-23-2006
I'm planning on using the new MULTIADDON feature to have an orc walk out from a hut and "light" a large "bonfire" around dusk. I may even have the firepit smolder for a period of time at dawn. But seeing as I always use nightsight item's, I have no clue when dusk and dawn are .
If anyone could help me out with this information you'd save me a lot of time in trying to figure it out. Additionaly, when/if I get this all workin I will add an example XML file for this so you can all see how I did it.
ArteGordon- 01-23-2006
from clocks.cs
// 00:00 AM - 00:59 AM : Witching hour
// 01:00 AM - 03:59 AM : Middle of night
// 04:00 AM - 07:59 AM : Early morning
// 08:00 AM - 11:59 AM : Late morning
// 12:00 PM - 12:59 PM : Noon
// 01:00 PM - 03:59 PM : Afternoon
// 04:00 PM - 07:59 PM : Early evening
// 08:00 PM - 11:59 AM : Late at night
and lightcycle.cs
/* OSI times:
*
* Midnight -> 3:59 AM : Night
* 4:00 AM -> 11:59 PM : Day
*
* RunUO times:
*
* 10:00 PM -> 11:59 PM : Scale to night
* Midnight -> 3:59 AM : Night
* 4:00 AM -> 5:59 AM : Scale to day
* 6:00 AM -> 9:59 PM : Day
*/
godfood- 01-23-2006
Thanks Arte . I'll work on this tonight right after I test out the Lever Puzzle.