Go Back   RunUO - Ultima Online Emulation > RunUO > FAQ Forum

FAQ Forum A place to find answers to the most frequently asked questions, and a place to post said answers. Do NOT use this forum to ask questions.

Reply
 
Thread Tools Display Modes
Old 02-14-2006, 09:20 PM   #1 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,353
Default Change new character starting location

In Scripts\Misc\CharacterCreation.cs, look for the line that starts "CityInfo city" (At or around line 655)

There should be two lines at that location, which should look something like this:

Code:
CityInfo city = GetStartLocation( args, young );
//CityInfo city = new CityInfo( "Britain", "Sweet Dreams Inn", 1496, 1628, 10, Map.Felucca );
Place comment marks ( // ) in front of the short line, and remove them from the beginning of the longer line. Edit the marked values of the second line to suit your needs.

Code:
//CityInfo city = GetStartLocation( args, young );
CityInfo city = new CityInfo( "Britain", "Sweet Dreams Inn", 1496, 1628, 10, Map.Felucca );
The text fields can say whatever you like.

The numbers are X coordinate, Y coordinate, and Z coordinate, in that order. To get the coordinates of a location, go to the spot you want new characters to start, type '[get location', and click yourself - that will give you the coordinates.

The Map.whatever is which map to start the character on. Ex: Map.Felucca, Map.Trammel, Map.Ilshenar, Map.Malas, or Map.Tokuno.

Example:

Code:
//CityInfo city = GetStartLocation( args, young );
CityInfo city = new CityInfo( "NewbieLand", "New Character Starting Area", 5230, 393, 22, Map.Trammel );
This modification changes the starting location for all characters, whether young or not, and regardless of class.


If you want to change the starting location just for specific classes, scroll down to around line 681, at that location you should find something called GetStartLocation. There you can edit starting locations for specific character types. The format works the same way as the one listed above, with the same fields.


Good luck! ^.^

Last edited by Alari; 02-14-2006 at 09:26 PM.
Alari 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