|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#3 (permalink) |
|
Forum Novice
Join Date: Feb 2004
Age: 37
Posts: 342
|
what you are looking for will be in the scripts folder, probably in the Misc folder. it's a file called CharacterCreation.cs
double click on it, and have it open with Notepad. If it doesn't open in notepad. close it, then click it once to highlight it. hold down the shift key and right click it. in the drop menu, pick Open With. then from the list, pick notepad. Ok, your scripts may be somewhat different than mine, since I am running a MUCH older version of the server. But what you are looking for in charactercreation.cs is something like this- Code:
//CityInfo city = args.City;
CityInfo city = new CityInfo( "Britain", "Sweet Dreams Inn", 1496, 1628, 10 );
newChar.MoveToWorld( city.Location, Map.Felucca );
Console.WriteLine( "Login: {0}: New character being created (account={1})", args.State, ((Account)args.Account).Username );
Console.WriteLine( " - Character: {0} (serial={1})", newChar.Name, newChar.Serial );
Console.WriteLine( " - Started: {0} {1}", city.City,
Ok, the line that I put in bold is the one that you are gonna have to modify first. you will have to set it for the city, and location. after that, the numbers are coordinates. X, Y, and Z. If you've got those coordinates wrong, you'll show up someplace else. For me, the easiest way to get those, is to go in game, and then mark a rune. type in [props and target the marked rune. once you get the properties window, you'll see Target (1018, 185, -12) or whatever. thats just what the rune that I did this on said. but those are the coordinates (from Your rune you mark) that you will want to add to the script. Also, right below that line where you change the coordinates, you will have to add which facet the teleport is to. without that, it wont do it. you have to type out the full name of the facet, just "Tram" or "Fel" won't work. If you need help with the spelling, right below target on that rune props screen is Target Map. that will have the full name of the facet that the area is on. |
|
|
|
|
|
#4 (permalink) | |
|
Newbie
Join Date: Nov 2006
Age: 16
Posts: 14
|
Quote:
|
|
|
|
|
|
|
#5 (permalink) |
|
Forum Novice
Join Date: Feb 2004
Age: 37
Posts: 342
|
LOL yeah, sorry if that got long. habit I got from being a computer tech a few years back. I guess I just dont like for somebody to get into the middle of something, and then have to stop because of a question, and then have to wait for a long while to get an answer, when the info shoulda been given before they started.
anyways, good luck on getting that set to where you want it. Like I said before, your script may look different, as what I quoted was from the old beta36 version of the server. |
|
|
|
|
|
#6 (permalink) |
|
Newbie
Join Date: Nov 2006
Age: 16
Posts: 14
|
lol.
anyway, i have a couple of new questions. when i enter the [add menu, i cant seem to find spawners for vendors/monsters and such. is there a way to add spawns in game or do i have to do that in code? also, i need help with a skill stone script. =P I want it to give 1 skill a 100%, 1 skill a 75%, and 1 skill a 50%. help would be appreciated. oh, and i was wondering where can i edit max stats? and how can i edit my current stats in game? i tried [stats and [attributes, but i cant seem to find the command. theres one for skills, so i would think there would be 1 for stats. thx for all your help =) |
|
|
|
|
|
#7 (permalink) |
|
Forum Novice
Join Date: Feb 2004
Age: 37
Posts: 342
|
ok, if you are talking about a general spawn, to populate the towns with the vendors that are supposed to be in there, its a command. type in [vendorgen
otherwise, there's not a specific spawner for each type of creature. you have to add each spawner, and then set it specifically with the spawn details that you want. If you are talking about a worldspawn for monsters, you would prolly be better off doing it with Nerun's Distro. http://forums.runuo.com/showthread.p...ighlight=spawn for runuo 2.0 http://forums.runuo.com/showthread.p...ghlight=distro afraid that I cant help you out with the skill stones. ![]() max stats would be in the charactercreation.cs file, in the scripts/misc folder. a line something like this- m.StatCap = 250; (remember I'm on an older version, your's may be slightly similar. 250 being the number you want to change to up or lower the statcap. (I used notepad and had it do a search for the term "statcap". Thats IF you want to do that for ALL players. If you are just wanting to do it for yourself, type in [props and then target yourself. then flip thru the properties menus until you find the stat max. I know there's a command for editing stats directly in game, tho I never go the hang of it. I personally do it thru the properties menu. |
|
|
|
|
|
#8 (permalink) |
|
Newbie
Join Date: Nov 2006
Age: 16
Posts: 14
|
whoa. sweet. thx for the info =P
now my graveyard is full of ghosts and ghouls =) also, when they spawn, i want them to spawn right on top of the tile with the spawner, but when i went into the menu, it didnt have anything to edit that. |
|
|
|
|
|
#10 (permalink) | |
|
Forum Novice
Join Date: Feb 2004
Age: 37
Posts: 342
|
Great! I'm glad to hear that you've got spawn now
![]() Quote:
so you'd wanna set the spawnrange for 1, and then the homerange for however far that you want them to wander around. ![]() |
|
|
|
|
|
|
#11 (permalink) |
|
Newbie
Join Date: Nov 2006
Age: 16
Posts: 14
|
great. thx guys. 1 step closer to a running world =P
alright 1 more tincy tiny thing... how can i edit statgain? ive already made skillgain faster, but i also want to make statgain faster. thx for the help in advance =P |
|
|
|
|
|
#12 (permalink) |
|
Forum Master
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,260
|
"Scripts/Misc/SkillCheck.cs":
Code:
private static TimeSpan m_StatGainDelay = TimeSpan.FromMinutes( 15.0 );
public static void GainStat( Mobile from, Stat stat )
{
switch( stat )
{
case Stat.Str:
{
if( (from.LastStrGain + m_StatGainDelay) >= DateTime.Now )
return;
from.LastStrGain = DateTime.Now;
break;
}
case Stat.Dex:
{
if( (from.LastDexGain + m_StatGainDelay) >= DateTime.Now )
return;
from.LastDexGain = DateTime.Now;
break;
}
case Stat.Int:
{
if( (from.LastIntGain + m_StatGainDelay) >= DateTime.Now )
return;
from.LastIntGain = DateTime.Now;
break;
}
}
bool atrophy = ( (from.RawStatTotal / (double)from.StatCap) >= Utility.RandomDouble() );
IncreaseStat( from, stat, atrophy );
}
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|