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

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 09-11-2004, 12:09 AM   #1 (permalink)
Soul of Darkness
 
Draxus's Avatar
 
Join Date: Feb 2004
Location: In The Shadow of your mind!
Age: 22
Posts: 201
Send a message via AIM to Draxus Send a message via MSN to Draxus
Arrow First Script I am Submitting

My first Script submitted... I wrote a script I think SOME people might appriciate...

It does however require GD13's Necro AI script for it to work.... (Thx GD13 its an awsome script)

Its a Necro AI Which Walks around hidden, only reveals itself when it is in Combat mode with a target. It has 3 Random weapons it uses... none of which players can loot so no worries. The players on my shard enjoy its suprising attacks... and very few complain except when it kills em heh.

Most of its Hues are set to my own Custom hues file... so you might want to change the ones that appear as Pure Black.


Some of you more advance scripters will prob notice this line right away...
Code:
if (Utility.RandomDouble() <= 0.30) // A .30 chance to drop the Arty
            {
                PackItem(new BreathOfTheDead()); // This can be changed to any Arty, you could probably make it a switch as well...
            }
I put that mainly because I am not sure of any other way to have it so it will have a random Artifact drop...

Other than that its a pretty cool AI to have wandering around to attack unsuspecting players

Please Tell me what you think of it... And if your gonna flame me
hehe flame away I don't care, I posted this for people who would want it... not for the "flamers" out there
Attached Files
File Type: cs ChaosLord.cs (7.4 KB, 27 views)
Draxus is offline   Reply With Quote
Old 09-12-2004, 07:21 PM   #2 (permalink)
Forum Novice
 
Join Date: Aug 2004
Age: 19
Posts: 149
Default

Nice script.
Bobert is offline   Reply With Quote
Old 09-12-2004, 07:33 PM   #3 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

if you want it to do a random arty drop, just do your if(Utility.RandomDouble()..)
then immediately after do a switch statement like
Code:
switch( Utility.Random( 3 ) )
{
    case 0:
    {
        PackItem( <Arty#1....> );
        break;
    }
    case 1-2
    ......
}
Sep102 is offline   Reply With Quote
Old 09-12-2004, 08:02 PM   #4 (permalink)
Soul of Darkness
 
Draxus's Avatar
 
Join Date: Feb 2004
Location: In The Shadow of your mind!
Age: 22
Posts: 201
Send a message via AIM to Draxus Send a message via MSN to Draxus
Default

Quote:
Originally Posted by Sep102
if you want it to do a random arty drop, just do your if(Utility.RandomDouble()..)
then immediately after do a switch statement like
Code:
switch( Utility.Random( 3 ) )
{
    case 0:
    {
        PackItem( <Arty#1....> );
        break;
    }
    case 1-2
    ......
}
Thx for the suggestion, it works much better now...

For those who want it.. I updated the file.. so if you downloaded it redownload the update version

It nows has a random drop of 3 artis... which you can change to your peference
Draxus is offline   Reply With Quote
Old 10-09-2004, 03:44 AM   #5 (permalink)
 
Join Date: Jul 2004
Age: 41
Posts: 34
Default Nice!!

Cool Script!

Great work
amherst 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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5