Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 07-23-2003, 02:43 PM   #1 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default How do I change the world face? (Tram and Fel)

My UO world doesn't have Trammel lands, only felucca.

how can I make felluca looks like Trammel ?
I don't want dead trees at felucca... How does it work?

thank you.
Gorefiend is offline   Reply With Quote
Old 07-23-2003, 02:55 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Change the Season for the Felucca Map.
Phantom is offline   Reply With Quote
Old 07-23-2003, 03:05 PM   #3 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default

How do I make it ?
Gorefiend is offline   Reply With Quote
Old 07-23-2003, 03:36 PM   #4 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

<sigh>

I guess your new to scripting...I will show you how this time, but please do a search next time there are so many questions everday enough to make somebody go mad

Put this in any region file this is just an example and its not the whole method but not posted because its not important for this problem:

[code:1]public class TrammelTown : GuardedRegion
{
public static new void Initialize()
{
Map.Trammel.Season = Map.Felucca.Season;[/code:1]
Phantom is offline   Reply With Quote
Old 07-23-2003, 04:59 PM   #5 (permalink)
Forum Expert
 
Mortis's Avatar
 
Join Date: Oct 2002
Location: In My Cold Cell
Age: 44
Posts: 1,848
Default

Use this in your "Custom" folder( if you ever created such a folder. other wise just put it in the Scripts folder. Make any facet map season/rules you would like.
[code:1]using System;
using Server;

namespace Server.Regions
{
public class CustomSeasonChanges
{
public static void Initialize()
{
// Seasons are based on 5 different themes
// 0 = Spring
// 1 = Summer
// 2 = Fall
// 3 = Winter
// 4 = Desolation

//Map.Felucca.Season = 4; //Commented out due to I want the defualt for this map
//Map.Trammel.Season = 1; //Commented out due to I want the defualt for this map
Map.Ilshenar.Season = 2;
Map.Malas.Season = 4;
}
}
}
namespace Server.Regions
{
public class CustomMapRules
{
public static void Initialize()
{
// MapRules are based on 2 different themes
// = MapRules.FeluccaRules
// = MapRules.TrammelRules


//Map.Fellucca.Rules = MapRules.FeluccaRules;//Commented out due to I want the defualt for this map
//Map.Trammel.Rules = MapRules.FeluccaRules; //Commented out due to I want the defualt for this map
//Map.Ilshenar.Rules = MapRules.FeluccaRules; //Commented out due to I want the defualt for this map
//Map.Malas.Rules = MapRules.FeluccaRules;
}
}
}[/code:1]
Mortis is offline   Reply With Quote
Old 07-24-2003, 12:54 PM   #6 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default

thanks
the only script I know is Pascal and I dont know it helps much... lol

I understood part of the script, thanks...

but now, I'm not sure of what region file script I do all this changes.

thanks again
Gorefiend is offline   Reply With Quote
Old 07-24-2003, 01:08 PM   #7 (permalink)
Forum Expert
 
Join Date: Dec 2002
Posts: 895
Send a message via ICQ to Wolverana
Default

just copy and paste the text from Mortis's post and save it as SeasonsRules.cs (or whatever.cs) and put it in a folder inside the scripts folder named Custom (make a folder in your runuo\scripts folder and name it custom that is). Then in that script you can tell each facet what seasons to look like and what rules to follow. Works pretty stick.
Wolverana is offline   Reply With Quote
Old 07-24-2003, 03:18 PM   #8 (permalink)
 
Join Date: Jul 2003
Posts: 17
Default

There's no Seasonsrules.cs
or seasons.cs, neither rules.cs (

I have RunUO 33
Gorefiend is offline   Reply With Quote
Old 07-24-2003, 03:36 PM   #9 (permalink)
psz
UO Gamers: Demise Administrator
 
psz's Avatar
 
Join Date: Oct 2002
Location: Swamp
Age: 29
Posts: 10,819
Default

CREATE a sesonrules.cs
psz is offline   Reply With Quote
Old 07-24-2003, 04:01 PM   #10 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by Gorefiend
There's no Seasonsrules.cs
or seasons.cs, neither rules.cs

I have RunUO 33
Quote:
just copy and paste the text from Mortis's post and save it as SeasonsRules.cs (or whatever.cs)
Please read directions
Phantom 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