Page 1 of 1

Seasons

Posted: Thu May 03, 2012 3:28 pm
by Calix
Yay or Nay? I know the tree canopies are an issue for some people for PvP reasons - but they're welcome to use either stump-hack or turn off 'tree canopies' in their own UO directory. I quite like the idea of rotating between the 4-5 options. It doesn't require the players to change anything, or to patch. Simple change in a script.

Following the advice of left-handed eater men, I looked for the description/definitions of the random numbers in the file(in this case mapdefinitions.cs)

Here's the description:

Code: Select all

Map newMap = new Map( mapID, mapIndex, fileIndex, width, height, season, name, rules );
Which relates to

Code: Select all

RegisterMap( 0, 0, 0, 7168, 4096, 4, "Felucca",		MapRules.FeluccaRules );
So the 4 before the "Felucca" = season. A quick bit of experimentation found that 0 = spring, 1 = summer, 2 = autumn, 3 = winter, 4 = Desolation(normal Felucca)

Spring
Image

Summer
Image

Autumn
Image

Winter
Image

Desolation
Image

Re: Seasons

Posted: Thu May 03, 2012 4:39 pm
by Mercury
yes

Re: Seasons

Posted: Fri May 04, 2012 8:47 pm
by Angus
Yes.

Re: Seasons

Posted: Fri May 04, 2012 8:53 pm
by Fatalist
SNOW FALLS IN SQUARES

Re: Seasons

Posted: Sat May 05, 2012 1:12 am
by Belgarion
If you would like to be even more creative, create zones which are affected differently.
"mid strip" to have constant spring/summer, beyond that, lots of spring/summer, bit of winter, and beyond that again, even more winter.

A bitch to code, maybe, but innovative?

Re: Seasons

Posted: Sat May 05, 2012 1:17 am
by Calix
It kinda works like that anyway - areas that shouldn't get autumn/winter (fire isle, trin-jungle) don't.