RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Change new character starting location

Alari

Wanderer
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:
[COLOR=red]//[/COLOR]CityInfo city = GetStartLocation( args, young );
CityInfo city = new CityInfo( "[COLOR=Blue]Britain[/COLOR]", "[COLOR=Blue]Sweet Dreams Inn[/COLOR]", [COLOR=Purple]1496[/COLOR], [COLOR=Purple]1628[/COLOR], [COLOR=Purple]10[/COLOR], Map.[COLOR=Green]Felucca [/COLOR]);

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! ^.^
 
on mine which im usin the neruns its privite statis readonly CityInfo m_NewHavenInfo = new CityInfo( "
should i change the NewHavenInfo to something else ?? cause ive tryed the part up top there with the CityInfo city = new CityInfo( "Newstartarea" x, y, z, Map.Trammel ); and gotten errors but figured out the line used is like i said above but curious if the NewHavenInfo part will mess with it at all ?
 
Top