[1.0-2.0] Item that plays ambient noises
Summary:
Compatible with RunUO 1.0 and 2.0
This script adds a device which I called a Sounder (and related gump) that will play sounds from a list of sounds when Player movement is detected. There may be up to 10 sounds in the list which may be edited by double-clicking on the Sounder. The associated gump also allows the GM to preview the sound without others nearby hearing it.
Description:
Sounds are affected by distance, at 20 tiles the sound is barely audible. Triggering the sound may be linked to the presense of any creature with the option of having the creature as the source point of the sound.
In the [Props gump you may set the following options;
Active - an on/off switch (note defaults to false, and resets to false if an empty play list is saved.)
Chance - the odds that a sound will play if all other conditions are met.
Creature - an optional name of a type of Mobile which must be nearby for sound to play.
CreatureRange - if a Creature is specified, it must be within this range (0-20).
CreaturePlaysSnd - if a Creature is specified, the sound originates at the Creatures location instead of the Sounders location.
Description - text string, no effect on operation.
MaxPause - sets the maximum delay between played sounds in seconds.
MinPause - sets the minimum delay between played sounds in seconds.
PlayerRange - Player movement within this range may trigger sound (0-20).
Random - if true, sounds are chosen at random, if false they are played in the order listed in the gump.
Suggestions:
Place a Sounder in a chair in the library. Set the Creature to 'scribe' the CreatureRange to zero and a single sound entry of 585; add a Spawner next to the chair which spawns a scribe with a HomeRange of 1 or 2. The Sounder will only play when the scribe is currently sitting in the chair.
Make water drip in caves, ghostly moans in dungeons, or have a little fun by adding random human noises in an otherwise empty room.
2.0 Notes:
This script works without modification in RunUO 2.0.
Installation:
Add to your Scripts\Custom directory and restart the server.
Summary:
Compatible with RunUO 1.0 and 2.0
This script adds a device which I called a Sounder (and related gump) that will play sounds from a list of sounds when Player movement is detected. There may be up to 10 sounds in the list which may be edited by double-clicking on the Sounder. The associated gump also allows the GM to preview the sound without others nearby hearing it.
Description:
Sounds are affected by distance, at 20 tiles the sound is barely audible. Triggering the sound may be linked to the presense of any creature with the option of having the creature as the source point of the sound.
In the [Props gump you may set the following options;
Active - an on/off switch (note defaults to false, and resets to false if an empty play list is saved.)
Chance - the odds that a sound will play if all other conditions are met.
Creature - an optional name of a type of Mobile which must be nearby for sound to play.
CreatureRange - if a Creature is specified, it must be within this range (0-20).
CreaturePlaysSnd - if a Creature is specified, the sound originates at the Creatures location instead of the Sounders location.
Description - text string, no effect on operation.
MaxPause - sets the maximum delay between played sounds in seconds.
MinPause - sets the minimum delay between played sounds in seconds.
PlayerRange - Player movement within this range may trigger sound (0-20).
Random - if true, sounds are chosen at random, if false they are played in the order listed in the gump.
Suggestions:
Place a Sounder in a chair in the library. Set the Creature to 'scribe' the CreatureRange to zero and a single sound entry of 585; add a Spawner next to the chair which spawns a scribe with a HomeRange of 1 or 2. The Sounder will only play when the scribe is currently sitting in the chair.
Make water drip in caves, ghostly moans in dungeons, or have a little fun by adding random human noises in an otherwise empty room.
2.0 Notes:
This script works without modification in RunUO 2.0.
Installation:
Add to your Scripts\Custom directory and restart the server.