Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 06-09-2004, 05:07 AM   #1 (permalink)
Forum Newbie
 
Join Date: Jan 2004
Posts: 55
Default Custom Golem System

Summary:
Golems made by thinkers based on what ingot used.
May be a littel unbalanced so please, any idees how to make it more balanced is welcome !



Description:
I made this for my shard becouse the tamers where "alone" in their category of players.

Features:
* 9 diffrent types of golems (based on ingot type used)
* Golems now cost 500 ingots to create
* Golems bond and can be resurected using tinkering repair
* Amount of dmg to controllers mana/hp is reduced to resonable level
* Amount hp repaired on golem is based on tingering and blacksmith skills
* The golems take up 2 - 4 controll slots
* Repair timer set to 5 sec instead of 12

Tips:
* A controller still need mana and hp
* This is a beta so if you find it unbalanced post a reply with ide how to make it
better

Changes:
Fixed spelling and gramatic errors after request *;)

Installation:
Selfextractin .exe file, just target your runuo folder.
Added ordinary .zip file as well, chose what you like.

You might whant to backup this files:
Golem.cs
ClockworkAssembly.cs
Repair.cs
Attached Files
File Type: zip CustomGolemSystem.zip (84.1 KB, 652 views)
File Type: zip GolemSystemNoExe.zip (22.7 KB, 484 views)
Hegge is offline   Reply With Quote
Old 06-09-2004, 05:13 PM   #2 (permalink)
Forum Newbie
 
Join Date: Mar 2003
Posts: 57
Thumbs up

Very nice indeed
brianre001 is offline   Reply With Quote
Old 06-10-2004, 03:29 AM   #3 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by Hegge
Summary:
Golems made by thinkers based on what ingot used.
May be a littel unbalanced so please, any idees how to make it more balanced is welcome !



Description:
I made this for my shard becouse the tamers where "alone" in their category of players.

Features:
* 9 diffrent types of golems (based on ingot type used)
* Golems now cost 500 ingots to create
* Golems bond and can be resurected using tinkering repair
* Amount of dmg to controllers mana/hp is reduced to resonable level
* Amount hp repaired on golem is based on tingering and blacksmith skills
* The golems take up 2 - 4 controll slots
* Repair timer set to 5 sec instead of 12

Tips:
* A controller still need mana and hp
* This is a beta so if you find it unbalanced post a reply with ide how to make it better


Installation:
Selfextractin .exe file, just target your runuo folder

You might whant to backup this files:
Golem.cs
ClockworkAssembly.cs
Repair.cs

Excellent I've been trying to tackle this for a while, now I can move on to other projects. Thanks for releasing this!
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 06-13-2004, 09:27 PM   #4 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

has anyone used this to see if it wasn't a virus? I hate exe's

If its cool, then great work, but I can place the files where they need to be on my own, in fact I prefer it as I (and many others) have my own system for sorting custom files and I wont overwrite my default scripts

in light of this, could I trouble you to post the files without the exe?
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 06-13-2004, 09:46 PM   #5 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

ok nevermind, I took a chance and it is indeed a script...

looks good

you might want to fix this tho

line 45 in ClockWorkAssembly.cs

from

from.SendMessage( "What metall do you wish to use for your golem?" );

to

from.SendMessage( "What metal do you wish to use for your golem?" );

In fact, it seems you mispelled the word Metal throughout the script, tho the above line is the only one that matters as the rest will never be seen, was this done intentionally?

and line 105 "requerd"

from

from.SendMessage("You haven't got the requerd skill for that kind of iron");

to

from.SendMessage("You haven't got the required skill for that kind of iron");

Some more cosmetic stuff...

some of the Golems need "an" instead of "a", such as

Name = "an agapite golem";

Please don't think I'm being an ass by pointing these out. Some people take offence at people pointing out errors. I don't do it to be mean, cruel or rude, I do it cause its the best way to improve scripts.

I'd expect nothing less in regards to my scripts.

Aside from the cosmetic errors, this looks like a very good script, I'll use it.
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 06-14-2004, 08:02 AM   #6 (permalink)
Forum Newbie
 
Join Date: Jan 2004
Posts: 55
Default

Hmm.. you can use the exe on any dir (a temp one) then move the files to where ever you whant =)

Spelling : yhe.. im not suprised, my spelling sucks in Swedish so in Enlish it isent exactly better *=

I will change the spellig and i will be hoping for you to find something to change in the balancing of the system, thanks mate !
Hegge is offline   Reply With Quote
Old 06-14-2004, 08:49 AM   #7 (permalink)
Newbie
 
Join Date: Apr 2004
Location: Alabama
Age: 19
Posts: 91
Send a message via ICQ to weaselboy246 Send a message via AIM to weaselboy246
Default

I'll admit it, I dislike misspelled scripts too
Maybe he ment
from.SendMessage( "What metal'll do you wish to use for your golem?" );
as in 'metal will'?
Good script.
weaselboy246 is offline   Reply With Quote
Old 06-14-2004, 11:25 AM   #8 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

Quote:
Originally Posted by Hegge
Hmm.. you can use the exe on any dir (a temp one) then move the files to where ever you whant =)

Spelling : yhe.. im not suprised, my spelling sucks in Swedish so in Enlish it isent exactly better *=

I will change the spellig and i will be hoping for you to find something to change in the balancing of the system, thanks mate !
The spelling is no big deal, its an easy fix. The balance seems ok to me, but I have yet to fully test it. as for the EXE, thats not the point, the point is that noone knows until they double click it if its a virus or not. There is no telling whats in an exe. I took a chance by opeing it in the 1st place and thankfully your not a virii pusher so its all good, but its generally not good to post these in exe form.

Well done script in any case (even with the mispellings) I would suggest though that you get a spell checker, if nothing else, it might help you when you have 10,000 lines of code.
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 06-14-2004, 11:26 AM   #9 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

Quote:
Originally Posted by weaselboy246
I'll admit it, I dislike misspelled scripts too
Maybe he ment
from.SendMessage( "What metal'll do you wish to use for your golem?" );
as in 'metal will'?
Good script.
um, I doubt that, its more likely he just mistyped it one time and copied and pasted it for the rest of the script

Personally I will fix misspellings when I can but I really don't care as long as the players never see it.
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 06-14-2004, 02:13 PM   #10 (permalink)
Forum Newbie
 
Join Date: Jan 2004
Posts: 55
Default

Quote:
Originally Posted by KillerBeeZ
The spelling is no big deal, its an easy fix. The balance seems ok to me, but I have yet to fully test it. as for the EXE, thats not the point, the point is that noone knows until they double click it if its a virus or not. There is no telling whats in an exe. I took a chance by opeing it in the 1st place and thankfully your not a virii pusher so its all good, but its generally not good to post these in exe form.

Well done script in any case (even with the mispellings) I would suggest though that you get a spell checker, if nothing else, it might help you when you have 10,000 lines of code.
Hmm, suppose thats why .exe isent a supported file, still after done some supporting in #runuo irc channel i can be sure when i say that many people need a self extracting exe *;) its terrible but true. Still i added a .zip as well so now there are both.

Hmm spell checker.. naw.. on this script i just used notepad, a bit old school but it wasent that of a big script. Might get an enviroment for c# later.
Hegge is offline   Reply With Quote
Old 06-14-2004, 02:17 PM   #11 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

Quote:
Originally Posted by Hegge
Hmm, suppose thats why .exe isent a supported file, still after done some supporting in #runuo irc channel i can be sure when i say that many people need a self extracting exe * its terrible but true. Still i added a .zip as well so now there are both.

Hmm spell checker.. naw.. on this script i just used notepad, a bit old school but it wasent that of a big script. Might get an enviroment for c# later.
they don't need an exe, they need to learn how to add their scripts, otherwise they have no business running a shard.

I use notepad for all my scripts, it makes you pay more attention, but I also use MS word (or Corel Wordperfect, depending on my mood) just to make sure I didnt make any typos, however I don't write the code in the spell checker.
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 06-14-2004, 08:55 PM   #12 (permalink)
Forum Newbie
 
Join Date: Jan 2004
Posts: 55
Default

Quote:
Originally Posted by KillerBeeZ
they don't need an exe, they need to learn how to add their scripts, otherwise they have no business running a shard.

I use notepad for all my scripts, it makes you pay more attention, but I also use MS word (or Corel Wordperfect, depending on my mood) just to make sure I didnt make any typos, however I don't write the code in the spell checker.
Hehe, well im one of those guys that think anyone would be able to run a shard on their private lan or just for their friends without realy caring to learn anything about it. I dont script becouse i whant other people to learn, I do it couse i like UO so im glad whoever plays it and i do not care how little he know about anything. Realy...

Well, hmm all my programming experience sas that if you EVER whant to make something big, you need an enviroment... but then i havent done any c# just cpp and java but they are kinda alike.
Hegge is offline   Reply With Quote
Old 06-15-2004, 03:37 AM   #13 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

Quote:
Originally Posted by Hegge
Hehe, well im one of those guys that think anyone would be able to run a shard on their private lan or just for their friends without realy caring to learn anything about it. I dont script becouse i whant other people to learn, I do it couse i like UO so im glad whoever plays it and i do not care how little he know about anything. Realy...

and thats a perfectly valid reason, by all means. While I agree that people should be able to run a shard for themselves or family or whatnot without "having" to learn it, its still a good idea to learn it in any case. so I'm the type that will give people all the instructions they need, but in the script itself, and generally I make them scroll down to the areas I think are important to take note of, if for no other reason than to "inspire" them to learn, I'm not saying I'd force anyone to learn, or even try to, just that it doesnt hurt one bit to get a little know how, you never know when it will come in handy.

My scripts, while trying to inspire people to learn, are still newbiefied, thats just common sence, it saves on stupid questions later, so even if they have no C# skills, they can still use it.
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 06-16-2004, 05:10 AM   #14 (permalink)
Forum Newbie
 
Join Date: Jan 2004
Posts: 55
Default

Quote:
Originally Posted by KillerBeeZ
and thats a perfectly valid reason, by all means. While I agree that people should be able to run a shard for themselves or family or whatnot without "having" to learn it, its still a good idea to learn it in any case. so I'm the type that will give people all the instructions they need, but in the script itself, and generally I make them scroll down to the areas I think are important to take note of, if for no other reason than to "inspire" them to learn, I'm not saying I'd force anyone to learn, or even try to, just that it doesnt hurt one bit to get a little know how, you never know when it will come in handy.

My scripts, while trying to inspire people to learn, are still newbiefied, thats just common sence, it saves on stupid questions later, so even if they have no C# skills, they can still use it.
Oki, sounds kinda resonlable. Still if i put a self extracting file here it will probobly save some por guys time trying to explain to someone where to dl winzip, how to use it and where to put the files..
Hegge is offline   Reply With Quote
Old 07-08-2004, 01:57 PM   #15 (permalink)
 
Join Date: Aug 2003
Posts: 344
Default

I imported the three scripts, error-free. How does a tinkerer go about crafting a golem ingame? Im a little confused.
goodmojo is offline   Reply With Quote
Old 07-08-2004, 02:17 PM   #16 (permalink)
 
Join Date: Jul 2004
Location: USA
Age: 23
Posts: 16
Default

Excellent! Thank you and good job!
Melly is offline   Reply With Quote
Old 07-08-2004, 02:30 PM   #17 (permalink)
Forum Expert
 
Join Date: Nov 2003
Location: Buckhannon, WV
Age: 34
Posts: 409
Send a message via ICQ to iZJokersWild Send a message via Yahoo to iZJokersWild
Default

I am guessing that if I wanted to add golems for the cusoms ores (using GD13's) I would have to edit the:
PHP Code:
else if ( met == 0.9 )
                {
                
Name "a valorite golem";
                
SetDamageTypeResistanceType.Physical40 );
                
SetDamageTypeResistanceType.Fire10 );
                
SetDamageTypeResistanceType.Cold20 );
                
SetDamageTypeResistanceType.Poison10 );
                
SetDamageTypeResistanceType.Energy20 );
                
SetResistanceResistanceType.Physical, (int)(24*scalar), (int)(34*scalar) );
                
SetResistanceResistanceType.Fire, (int)(20*scalar), (int)(30*scalar) );
                
SetResistanceResistanceType.Cold, (int)(13*scalar), (int)(33*scalar) );
                
SetResistanceResistanceType.Poison, (int)(13*scalar), (int)(23*scalar) );
                
SetResistanceResistanceType.Energy, (int)(23*scalar), (int)(33*scalar) );
                
ControlSlots 4;
                
Hue 2219;
                } 
But then I saw at the top it is listed as else if ( met == 0.9 ), would the next 1-5 be 1.0, 1.1, and so on?
iZJokersWild is offline   Reply With Quote
Old 07-08-2004, 02:59 PM   #18 (permalink)
God of Pandora
 
KillerBeeZ's Avatar
 
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
Default

Quote:
Originally Posted by iZJokersWild
Nevermind, I guess I got it. I edited it and loaded and got no errors! Yay! Was not changing your script, just adding to it for those that use GD13's Craft system with the custom ores. I added the Blaze, Ice, Toxic, Electrum & Platinum golems. Not really sure I did such a great job with the resist and all, just REAL basic editing since I do not know all that much about them. BUt here they are if you want them.
are you sure it works? did you actually test it and make a new golem?
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
KillerBeeZ is offline   Reply With Quote
Old 07-08-2004, 03:07 PM   #19 (permalink)
Forum Expert
 
Join Date: Nov 2003
Location: Buckhannon, WV
Age: 34
Posts: 409
Send a message via ICQ to iZJokersWild Send a message via Yahoo to iZJokersWild
Default

No. I thought it was all good since i got no errors. Saying I lack the skills required. I went back in and edited the skill req. from Plat (starting that at 99.9) and dropped down 5.0 for each. I think I am missing something somewhere, just not sure where.
iZJokersWild is offline   Reply With Quote
Old 07-08-2004, 04:40 PM   #20 (permalink)
Forum Expert
 
Join Date: Nov 2003
Location: Buckhannon, WV
Age: 34
Posts: 409
Send a message via ICQ to iZJokersWild Send a message via Yahoo to iZJokersWild
Default

Sorry! I forgot to change a few things. If you have GD13's Craft system and want to add the extra golems here are the two scripts to replace. I tested and everything is 100% good! Might want to change the resists and stuff though still.
PHP Code:
using System;
using Server.Items;

namespace Server.Mobiles
{
    [
CorpseName"a golem corpse" )]
    public class 
Golem BaseCreature
    
{
        public 
override bool IsScaredOfScaryThingsget{ return false; } }
        public 
override bool IsScaryToPetsget{ return true; } }

        public 
override bool IsBondableget{ return true; } }

        [
Constructable]
        public 
Golem() : this01.0)
        {
        }

        [
Constructable]
        public 
Golemint summoneddouble scalardouble met ) : baseAIType.AI_MeleeFightMode.Closest1010.40.8 )
        {
            if ( 
summoned == )
                {
                    
Name "a golem";
                    
Body 752;            
                    
SetStr( (int)(251*scalar), (int)(350*scalar) );
                    
SetDex( (int)(76*scalar), (int)(100*scalar) );
                    
SetInt( (int)(101*scalar), (int)(150*scalar) );

                    
SetHits( (int)(151*scalar), (int)(210*scalar) );

                    
SetDamage( (int)(13*scalar), (int)(24*scalar) );

                    
SetDamageTypeResistanceType.Physical100 );

                    
SetResistanceResistanceType.Physical, (int)(35*scalar), (int)(55*scalar) );
                    
SetResistanceResistanceType.Fire, (int)(100*scalar) );
                    
SetResistanceResistanceType.Cold, (int)(10*scalar), (int)(30*scalar) );
                    
SetResistanceResistanceType.Poison, (int)(10*scalar), (int)(25*scalar) );
                    
SetResistanceResistanceType.Energy, (int)(30*scalar), (int)(40*scalar) );

                    
SetSkillSkillName.MagicResist, (150.1*scalar), (190.0*scalar) );
                    
SetSkillSkillName.Tactics, (60.1*scalar), (100.0*scalar) );
                    
SetSkillSkillName.Wrestling, (60.1*scalar), (100.0*scalar) );
                    
Fame 3500;
                    
Karma = -3500;

                    
PackItem( new IronIngotUtility.RandomMinMax1321 ) ) );

                    if ( 
0.1 Utility.RandomDouble() )
                        
PackItem( new PowerCrystal() );

                    if ( 
0.15 Utility.RandomDouble() )
                        
PackItem( new ClockworkAssembly() );

                    if ( 
0.2 Utility.RandomDouble() )
                        
PackItem( new ArcaneGem() );

                    if ( 
0.25 Utility.RandomDouble() )
                        
PackItem( new Gears() );
                    return;
                }
            
            
    
            
            
Body 752;
            

            
Se