Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 12-10-2007, 02:48 PM   #1 (permalink)
Forum Novice
 
Join Date: Oct 2003
Location: England
Age: 47
Posts: 188
Question Location of map rules

Does anyone know where map rules are defined?
didymus is offline   Reply With Quote
Old 12-10-2007, 06:22 PM   #2 (permalink)
Newbie
 
Join Date: Dec 2004
Age: 23
Posts: 51
Default

Misc Folder/MapDefinitions.cs

Code:
RegisterMap( 0, 0, 0, 7168, 4096, 4, "Felucca",		MapRules.FeluccaRules );
			RegisterMap( 1, 1, 0, 7168, 4096, 0, "Trammel",		MapRules.TrammelRules );
			RegisterMap( 2, 2, 2, 2304, 1600, 1, "Ilshenar",	MapRules.TrammelRules );
			RegisterMap( 3, 3, 3, 2560, 2048, 1, "Malas",		MapRules.TrammelRules );
			RegisterMap( 4, 4, 4, 1448, 1448, 1, "Tokuno",		MapRules.TrammelRules );
Muginn is offline   Reply With Quote
Old 12-10-2007, 06:25 PM   #3 (permalink)
Newbie
 
Nagozi's Avatar
 
Join Date: Jan 2006
Posts: 99
Default Thats awesome information but...

what do all those numbers mean?

what if i want all maps have felucca set rules but still spawn leaves on trees? how would i edit that using this information?
Nagozi is offline   Reply With Quote
Old 12-10-2007, 06:27 PM   #4 (permalink)
Newbie
 
Join Date: Dec 2004
Age: 23
Posts: 51
Default

Quote:
Originally Posted by Nagozi View Post
what do all those numbers mean?

what if i want all maps have felucca set rules but still spawn leaves on trees? how would i edit that using this information?
change:

Code:
RegisterMap( 0, 0, 0, 7168, 4096, 4, "Felucca",		MapRules.FeluccaRules );
			RegisterMap( 1, 1, 0, 7168, 4096, 0, "Trammel",		MapRules.TrammelRules );
			RegisterMap( 2, 2, 2, 2304, 1600, 1, "Ilshenar",	MapRules.TrammelRules );
			RegisterMap( 3, 3, 3, 2560, 2048, 1, "Malas",		MapRules.TrammelRules );
			RegisterMap( 4, 4, 4, 1448, 1448, 1, "Tokuno",		MapRules.TrammelRules );
for

Code:
RegisterMap( 0, 0, 0, 7168, 4096, 4, "Felucca",		MapRules.FeluccaRules );
			RegisterMap( 1, 1, 0, 7168, 4096, 0, "Trammel",		MapRules.FeluccaRules );
			RegisterMap( 2, 2, 2, 2304, 1600, 1, "Ilshenar",	MapRules.FeluccaRules );
			RegisterMap( 3, 3, 3, 2560, 2048, 1, "Malas",		MapRules.FeluccaRules );
			RegisterMap( 4, 4, 4, 1448, 1448, 1, "Tokuno",		MapRules.FeluccaRules );

so you will have the rules of fel in all your shard
Muginn is offline   Reply With Quote
Old 12-10-2007, 06:30 PM   #5 (permalink)
Forum Novice
 
Join Date: Mar 2007
Age: 20
Posts: 210
Default

Or just change the "Season" number to 0, just like Trammel has:P but still use FellucaRules:P
DarkViper2006 is offline   Reply With Quote
Old 12-10-2007, 10:40 PM   #6 (permalink)
Forum Novice
 
Join Date: Oct 2003
Location: England
Age: 47
Posts: 188
Default

To answer my own question: I believe they are to be found in the server core file Map.cs.
didymus is offline   Reply With Quote
Old 12-11-2007, 12:11 AM   #7 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 16
Posts: 1,162
Send a message via MSN to Alex21
Default

i think your question was vague.
__________________
Advertise Your Server On JoinUO!
JoinUO @ - joinuo.com
Alex21 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