|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#2 (permalink) |
|
Account Terminated
|
[code:1]using System;
using System.Collections; using Server; using Server.Mobiles; using Server.Spells; namespace Server.Regions { public class TrammelTown : GuardedRegion { public static new void Initialize() { Region.AddRegion( new TrammelTown( "Cove" ) ); Region.AddRegion( new TrammelTown( "Britain" ) ); Region.AddRegion( new TrammelTown( "Jhelom" ) ); Region.AddRegion( new TrammelTown( "Minoc" ) ); Region.AddRegion( new TrammelTown( "Haven" ) ); Region.AddRegion( new TrammelTown( "Trinsic" ) ); Region.AddRegion( new TrammelTown( "Vesper" ) ); Region.AddRegion( new TrammelTown( "Yew" ) ); Region.AddRegion( new TrammelTown( "Wind" ) ); Region.AddRegion( new TrammelTown( "Serpent's Hold" ) ); Region.AddRegion( new TrammelTown( "Skara Brae" ) ); Region.AddRegion( new TrammelTown( "Nujel'm" ) ); Region.AddRegion( new TrammelTown( "Moonglow" ) ); Region.AddRegion( new TrammelTown( "Magincia" ) ); Region.AddRegion( new TrammelTown( "Delucia" ) ); Region.AddRegion( new TrammelTown( "Papua" ) ); Region.AddRegion( GuardedRegion.Disable( new TrammelTown( "Buccaneer's Den" ) ) ); } public TrammelTown( string name ) : this( name, typeof( WarriorGuard ) ) { } public TrammelTown( string name, Type guardType ) : base( "the town of", name, Map.Trammel, guardType ) { } } }[/code:1] Just an example: [code:1]Region.AddRegion( new TrammelTown( "Cove" ) );[/code:1] [code:1]<region priority="50" name="Cove"> <rect x1="2203" y1="1166" x2="2256" y2="1245" /> <rect x1="2284" y1="1219" x2="2292" y2="1235" /> <rect x1="2256" y1="1181" x2="2284" y2="1245" /> <rect x1="2256" y1="1166" x2="2260" y2="1181" /> <rect x1="2203" y1="1108" x2="2243" y2="1166" /> <go location="(2275,1210,0)" /> <music name="Cove" /> </region>[/code:1] Please remember to do a search for your questions :-) its very helpful. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|