|
||
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Location: Somewhere very cold in the winter...
Age: 30
Posts: 652
|
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 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 ---------------------------------------------------------------------- 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!~
__________________
Lord Chaos of the Chaos Reborn shard. Last edited by Makaar; 10-30-2008 at 02:14 PM. |
|
|
|
|
|
#3 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Location: Somewhere very cold in the winter...
Age: 30
Posts: 652
|
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. |
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
|
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. |
|
|
|
|
|
#5 (permalink) | |
|
Newbie
Join Date: Oct 2008
Posts: 45
|
Quote:
|
|
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Jan 2006
Location: Look behind you....
Age: 45
Posts: 1,927
|
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|