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!

[RunUO 2.0 RC1] New player bag

Fr€€man

Sorceror
[RunUO 2.0 RC1] New player bag

New player bag contains:

LeatherCap
LeatherChest
LeatherGorget
LeatherLegs
LeatherArms
LeatherGloves

-------------------------------------
Katana
Kryss
Bow
Crossbow
Gnarled Staff

-------------------------------------
Arrows = 500
Bolts = 500


**INSTALLING**
Download and put somewhere in your scripts folder.

Type: [add newplayerbag
 
question, is it possible without fiddling with test center, to add this to a new player startin option? I have tried to add to Ch..creation.cs, and I did something very wrong.
 

Rosey1

Wanderer
you mean on a regular shard without having test center enabled?

If you want to add an item on a new char, you can add it in the charactercreation.cs towards the top around line 30 ish.

This is what mine looks like:

Code:
		private static void AddBackpack( Mobile m )
		{
			Container pack = m.Backpack;

			if ( pack == null )
			{
				pack = new Backpack();
				pack.Movable = false;

				m.AddItem( pack );
			}


			PackItem( new BankCheck( 5000 ) ); // Starting gold can be customized here
			PackItem( new Dagger() );
			PackItem( new PlayerBankCrystal() );
		}
 
Rosey1 said:
you mean on a regular shard without having test center enabled?

If you want to add an item on a new char, you can add it in the charactercreation.cs towards the top around line 30 ish.

This is what mine looks like:

Code:
		private static void AddBackpack( Mobile m )
		{
			Container pack = m.Backpack;

			if ( pack == null )
			{
				pack = new Backpack();
				pack.Movable = false;

				m.AddItem( pack );
			}


			PackItem( new BankCheck( 5000 ) ); // Starting gold can be customized here
			PackItem( new Dagger() );
			PackItem( new PlayerBankCrystal() );
		}


Thank you so very much
 

Fr€€man

Sorceror
Code:
		private static void AddBackpack( Mobile m )
		{
			Container pack = m.Backpack;

			if ( pack == null )
			{
				pack = new Backpack();
				pack.Movable = false;

				m.AddItem( pack );
			}


			PackItem( new BankCheck( 5000 ) ); // Starting gold can be customized here
			PackItem( new Dagger() );
			PackItem( new [COLOR="Red"]NewPlayerBag[/COLOR]() );
		}
 

flinn

Wanderer
Bag?

Hi thank you it worked, However, how do i change so the leather armor is Exceptional or a bit sturdier. along with weapons, at least gm quality? I Can really use this at player start up, any help to this would betruly appreciated. thx :)I am new to scripting so trying to learn..
 

dxciber

Sorceror
i do the same and receive this error.
Misc/CharacterCreation.cs:
CS0118: Line33:'Server.items.NewPlayerbag' is a 'type' but is used like a ' variable;

any ideas?

thanks
 

Fr€€man

Sorceror
Barbed leather armor in bag? :)
try this
Code:
			DropItem( new LeatherArms( CraftResource.BarbedLeather() );
			DropItem( new LeatherCap( CraftResource.BarbedLeather() );
			DropItem( new LeatherLegs( CraftResource.BarbedLeather() );
			DropItem( new LeatherChest( CraftResource.BarbedLeather() );
			DropItem( new LeatherGorget( CraftResource.BarbedLeather() );
			DropItem( new LeatherGloves( CraftResource.BarbedLeather() );
Code:
For Studded barbed armor.
			DropItem( new StuddedLeatherArms( CraftResource.BarbedLeather() );
			DropItem( new StuddedLeatherCap( CraftResource.BarbedLeather() );
			DropItem( new StuddedLeatherLegs( CraftResource.BarbedLeather() );
			DropItem( new StuddedLeatherChest( CraftResource.BarbedLeather() );
			DropItem( new StuddedLeatherGorget( CraftResource.BarbedLeather() );
			DropItem( new StuddedLeatherGloves( CraftResource.BarbedLeather() );
 
Top