Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 06-17-2006, 10:08 PM   #1 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default [2.0] Guard Spawner

Guard Spawner
RunUO 2.0 Script

Summary:
Spawns a creature with a special key in it's pack. The key unlocks certain doors or chests that you designate.

Description:
There are 3 scripts; GuardKey.cs, GuardSpawner.cs, and GuardSpawnerGump.cs. The spawner works just like a regular spawner with a few exceptions. First, it will only spawn a BaseCreature which is not a BaseVendor or a BaseMount. Meaning, it will spawn nearly any critter that could possibly have loot. Next, it will add to that critter's pack a GuardKey. The GuardKey will open a nearby door or chest, but after only a few uses the key will break.

A GuardKey is a key that has a given KeyValue set in the GuardSpawner props gump. In the GuardSpawner gump you may also set how many times the GuardKey will work (default 5), and the time delay until the door or chest is locked again (default 20 seconds.) Finally, the GuardSpawner's props gump will allow you to "ReKey" any lockable door(s) or chest(s)--meaning it will set that locks KeyValue to match the GuardKey which the spawner spawns.

I like to set a noble or two in a locked room with a bunch of orcs outside. One or two orcs will have a key to the doors. It is entirely possible, even likely, that some players will get locked behind the doors. I consider that an opportunity for role-play, but you may want to allow an emergency exit.

2.0 Update Notes:
This only required correcting the spelling of a BaseCreature Property that was misspelled in 1.0. Otherwise it is the same set of scripts.

Installation:
Copy into your Scripts/Custom folder and restart the server. Ingame [Add GuardSpawner and double-click the spawner item. Various settings are available with the [Props command. Don't forget to ReKey the doors you want the key to open using the GuardSpawner Props gump.
Attached Files
File Type: zip GuardSpawner.zip (7.4 KB, 133 views)
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2

Last edited by David; 04-01-2008 at 01:41 PM.
David is offline  
Old 06-17-2006, 11:15 PM   #2 (permalink)
Newbie
 
Join Date: Apr 2006
Location: Barcelona, Spain
Age: 22
Posts: 50
Default

Your scripts are like picassos in the RunUO museum.
Alain Delocke is offline  
Old 06-18-2006, 12:14 AM   #3 (permalink)
Twisted Intel
 
silverwolfe's Avatar
 
Join Date: Feb 2003
Location: Fort Smith, AR
Age: 39
Posts: 1,081
Send a message via ICQ to silverwolfe Send a message via MSN to silverwolfe
Default

Quote:
Originally Posted by Alain Delocke
Your scripts are like picassos in the RunUO museum.
I could not agree more. Thank you for the wonderful scripts and for the unbelievable sense of reality you bring to the game....
__________________
Two roads diverged in a wood, and I-
I took the one less traveled by,
And that has made all the difference. - Robert Frost

Yes I am a damn Trammie! - Silver Wolfe

If You do not have anything good to say, say nothing at all. - Unknown
_______________________________
Quote:
Originally Posted by WarAngel
I would have to agree that Rhexis is very pretty. I will personally never disagree with her in a thread.
silverwolfe is offline  
Old 06-18-2006, 12:26 AM   #4 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

lol! I have never been told that before. Thanks, I am glad you enjoy the scripts.
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline  
 

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