It's a shore thing!

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
Mindless Automaton
UOX3 Apprentice
Posts: 189
Joined: Wed May 10, 2006 3:48 am
Has thanked: 0
Been thanked: 1 time
Contact:

It's a shore thing!

Post by Mindless Automaton »

To add a wave splash sound effect when walking by the water, would one:

1. add a script to the associated areas in tiles.dfn?

2. create regions along the coasts and add a script to those regions? (gacK!)


Thansk!
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
ormlyr1987
UOX3 Newbie
Posts: 9
Joined: Tue Dec 11, 2007 5:17 am
Has thanked: 0
Been thanked: 0

Post by ormlyr1987 »

bump.

Any ideas?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

1. Add a random item in your backpack, and set it to type 88 using 'SET TYPE 88. Then apply the following to said item:
2. 'SET MOREX 0x#### where 0x#### is the hex-ID of the sound (taken from InsideUO, for instance).
3. 'SET MOREY r where "r" is the radius in tiles which the sound object will trigger for.
4. 'SET MOREZ % where % is the probability in percent of the sound being played.
5. 'SET VISIBLE 3 to make the item invisible to anyone but a GM
6. 'DUPE x to create x amount of duplicate items with the same properties
7. Start laying them down at regular intervals along the coastline.

:/
-= Ho Eyo He Hum =-
Post Reply