Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to publish them under the GPL licensing terms. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 10-30-2008, 05:06 AM   #1 (permalink)
Forum Novice
 
Makaar's Avatar
 
Join Date: Jun 2006
Location: Somewhere very cold in the winter...
Age: 30
Posts: 652
Default [RunUO 2.0 RC1-2] Advanced Golem Crafting

ADVANCED GOLEM CRAFTING

Information: One of the many things about UO I found over the years that seemed like an unfinished idea was the Golems. A neat concept, but it seemed like it got abandoned when it didn't catch on...although I liked them I never saw one of my friends or guild mates use them, and after a while, I found myself even not using them as content became upgraded and golems got left in the dust. With this system, I opened them up to crafters using the tinkering menu, and even made a different golem for each ore type. I even did my best to adapt each golem to their specific ore's attributes (resistances, damage types, etc.) so they should be fairly accurate as far as stats are concerned. Some of the tougher golems may be a bit tougher than some shards would want, but you're welcome to adapt this, change, modify, gut, whatever you want to suit your needs.

----------------------------------------------------------------------

Thanks: Normally I borrow help from someone, but this time I actually did most of the work myself. The only real thing I borrowed was the music box gears mod in each golem which was released by Varchild below.

----------------------------------------------------------------------

Installation:

Step 1: The golems, themselves, are drag and drop for the most part. If you want the dawn's music box gears to drop on them like they are supposed to, you will need to install this script if you haven't already: [RunUO 2.0 SVN][OSI]Dawn's Music Box

Step 2: This step is optional, but if you want to open them up to crafters more, you can do this too. You will need to open up Deftinkering.cs, then scroll down the section that looks like this:

Code:
#region Multi-Component Items
			index = AddCraft( typeof( AxleGears ), 1044051, 1024177, 0.0, 0.0, typeof( Axle ), 1044169, 1, 1044253 );
			AddRes( index, typeof( Gears ), 1044254, 1, 1044253 );

			index = AddCraft( typeof( ClockParts ), 1044051, 1024175, 0.0, 0.0, typeof( AxleGears ), 1044170, 1, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 1, 1044253 );

			index = AddCraft( typeof( SextantParts ), 1044051, 1024185, 0.0, 0.0, typeof( AxleGears ), 1044170, 1, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 1, 1044253 );

			index = AddCraft( typeof( ClockRight ), 1044051, 1044257, 0.0, 0.0, typeof( ClockFrame ), 1044174, 1, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 1, 1044253 );

			index = AddCraft( typeof( ClockLeft ), 1044051, 1044256, 0.0, 0.0, typeof( ClockFrame ), 1044174, 1, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 1, 1044253 );

			AddCraft( typeof( Sextant ), 1044051, 1024183, 0.0, 0.0, typeof( SextantParts ), 1044175, 1, 1044253 );

			index = AddCraft( typeof( Bola ), 1044051, 1046441, 60.0, 80.0, typeof( BolaBall ), 1046440, 4, 1042613 );
			AddRes( index, typeof( Leather ), 1044462, 3, 1044463 );

			index = AddCraft( typeof( PotionKeg ), 1044051, 1044258, 75.0, 100.0, typeof( Keg ), 1044255, 1, 1044253 );
			AddRes( index, typeof( Bottle ), 1044250, 10, 1044253 );
			AddRes( index, typeof( BarrelLid ), 1044251, 1, 1044253 );
			AddRes( index, typeof( BarrelTap ), 1044252, 1, 1044253 );
			#endregion
And add the red section I marked below:

Code:
			#region Multi-Component Items
			index = AddCraft( typeof( AxleGears ), 1044051, 1024177, 0.0, 0.0, typeof( Axle ), 1044169, 1, 1044253 );
			AddRes( index, typeof( Gears ), 1044254, 1, 1044253 );

			index = AddCraft( typeof( ClockParts ), 1044051, 1024175, 0.0, 0.0, typeof( AxleGears ), 1044170, 1, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 1, 1044253 );

			index = AddCraft( typeof( SextantParts ), 1044051, 1024185, 0.0, 0.0, typeof( AxleGears ), 1044170, 1, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 1, 1044253 );

			index = AddCraft( typeof( ClockRight ), 1044051, 1044257, 0.0, 0.0, typeof( ClockFrame ), 1044174, 1, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 1, 1044253 );

			index = AddCraft( typeof( ClockLeft ), 1044051, 1044256, 0.0, 0.0, typeof( ClockFrame ), 1044174, 1, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 1, 1044253 );

			AddCraft( typeof( Sextant ), 1044051, 1024183, 0.0, 0.0, typeof( SextantParts ), 1044175, 1, 1044253 );

			index = AddCraft( typeof( Bola ), 1044051, 1046441, 60.0, 80.0, typeof( BolaBall ), 1046440, 4, 1042613 );
			AddRes( index, typeof( Leather ), 1044462, 3, 1044463 );

			index = AddCraft( typeof( PotionKeg ), 1044051, 1044258, 75.0, 100.0, typeof( Keg ), 1044255, 1, 1044253 );
			AddRes( index, typeof( Bottle ), 1044250, 10, 1044253 );
			AddRes( index, typeof( BarrelLid ), 1044251, 1, 1044253 );
			AddRes( index, typeof( BarrelTap ), 1044252, 1, 1044253 );
//clockwork assemblies
			index = AddCraft( typeof( ClockworkAssembly ), 1044051, "clockwork assembly", 60.0, 122.5, typeof( IronIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyDullCopper ), 1044051, "dull copper clockwork assembly", 65.0, 122.5, typeof( DullCopperIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyShadow ), 1044051, "shadow iron clockwork assembly", 70.0, 122.5, typeof( ShadowIronIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyCopper ), 1044051, "copper clockwork assembly", 75.0, 122.5, typeof( CopperIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyBronze ), 1044051, "bronze clockwork assembly", 80.0, 122.5, typeof( BronzeIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyGold ), 1044051, "golden clockwork assembly", 85.0, 122.5, typeof( GoldIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyAgapite ), 1044051, "agapite clockwork assembly", 90.0, 122.5, typeof( AgapiteIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyVerite ), 1044051, "verite clockwork assembly", 95.0, 122.5, typeof( VeriteIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

			index = AddCraft( typeof( ClockworkAssemblyValorite ), 1044051, "valorite clockwork assembly", 100.0, 122.5, typeof( ValoriteIngot ), 1044036, 5, 1044037 );
			AddRes( index, typeof( Gears ), 1044254, 5, 1044253 );
			AddRes( index, typeof( Springs ), 1044171, 2, 1044253 );
			AddRes( index, typeof( Hinge ), 1044172, 3, 1044253 );
			AddRes( index, typeof( ClockParts ), 1044173, 5, 1044253 );

//clockwork assemblies
			
			#endregion
When you add the above red, that is the end of it. As stated its totally optional.

----------------------------------------------------------------------

Other than that, I believe that's all. Any questions or problems, please post in the script support section. Any improvements or interesting additions, you can post them below on this post. Hope someone enjoys this system. Enjoy!~
Attached Images
File Type: jpg golems.jpg (78.3 KB, 317 views)
Attached Files
File Type: rar Golems.rar (15.9 KB, 107 views)
File Type: rar Clockwork Assemblies.rar (9.4 KB, 101 views)
__________________
Lord Chaos of the Chaos Reborn shard.

Last edited by Makaar; 10-30-2008 at 02:14 PM.
Makaar is offline   Reply With Quote
Old 10-30-2008, 09:22 AM   #2 (permalink)
Account Terminated
 
Join Date: Jun 2008
Age: 28
Posts: 176
Default

Can I just add the red line or do I have to change the black part? Sorry not a big fan or overwritting the orginal script. If so Can we get a edit log or did you include one?
oldschool-3038 is offline   Reply With Quote
Old 10-30-2008, 02:11 PM   #3 (permalink)
Forum Novice
 
Makaar's Avatar
 
Join Date: Jun 2006
Location: Somewhere very cold in the winter...
Age: 30
Posts: 652
Default

I stated above to just add the red snippet. Its marked even. And to be honest its totally optional...you don't even have to add it to tinkering if you do not wish, you can come up with any method to distribute these that you feel is appropriate. Just the above opens them up to crafters more instead of making them a find-only item.

I changed my first post to make the change more obvious to people who are new to scripting. Hope that helps.
__________________
Lord Chaos of the Chaos Reborn shard.

Last edited by Makaar; 10-30-2008 at 02:14 PM.
Makaar is offline   Reply With Quote
Old 11-07-2008, 01:51 PM   #4 (permalink)
Forum Novice
 
Join Date: Dec 2006
Location: Southern Utah
Age: 30
Posts: 968
Send a message via Yahoo to greywolf79
Default

Took a little effort to get them to work in my shard, but got them to compile (a few spots needed edits to get rid of the music box thing like you said)... I have not actually put any into the shard yet but they look cool in the scripts. Thanks for the package.

GreyWolf.
greywolf79 is offline   Reply With Quote
Old 02-25-2010, 06:17 PM   #5 (permalink)
Newbie
 
Join Date: Oct 2008
Posts: 45
Default

Quote:
Originally Posted by greywolf79 View Post
Took a little effort to get them to work in my shard, but got them to compile (a few spots needed edits to get rid of the music box thing like you said)... I have not actually put any into the shard yet but they look cool in the scripts. Thanks for the package.

GreyWolf.
What parts did you take out to remove the music box?
shar.pak is offline   Reply With Quote
Old 02-25-2010, 07:15 PM   #6 (permalink)
Forum Expert
 
Hammerhand's Avatar
 
Join Date: Jan 2006
Location: Look behind you....
Age: 45
Posts: 1,927
Default

Quote:
Originally Posted by shar.pak View Post
What parts did you take out to remove the music box?
That would probably be this section..
Code:
#region mod by Dies Irae  << Look for this region in all the golem scripts
		public override void OnDeath( Container c )
		{
			base.OnDeath( c );		
			
			if( !Summoned && Utility.RandomDouble() < 0.05 )
			{
				if( IsParagon )
					c.DropItem( MusicBoxGears.RandomMusixBoxGears( TrackRarity.Rare ) );
				else
				{
					if( Utility.RandomBool() )
						c.DropItem( MusicBoxGears.RandomMusixBoxGears( TrackRarity.Common ) );
					else
						c.DropItem( MusicBoxGears.RandomMusixBoxGears( TrackRarity.UnCommon ) );
				}
			}
		}
		#endregion
__________________
May you have the strength of eagles' wings,
the faith and courage to fly to new heights,
and the wisdom of the universe to carry you there.
Hammerhand is offline   Reply With Quote
Old 02-28-2010, 04:31 PM   #7 (permalink)
Newbie
 
Join Date: Jan 2010
Age: 34
Posts: 85
Default Very nice........

Great system, very nice job! Implemented a modified version on our shard today (credits on homepage given of course ^^). Thanks for sharing!
Bryan Fury 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 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5