Script Tags

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
Ghostwolf
UOX3 Novice
Posts: 73
Joined: Mon Feb 11, 2008 9:41 am
Location: Hanging Around
Has thanked: 0
Been thanked: 0
Contact:

Script Tags

Post by Ghostwolf »

The dfn's are fairly simple to learn but is there a list of tags in the documentation. One tag I'd like to use is racehate for weapons if it exist.

Also I'm creating colored weapons and armor, would the server except tags like basevikingsword or basekatana so to simplify the process?
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 »

I don't think any up-to-date documentation for it exists, no.

To get weapons to do double damage when used against targets of a certain race, just add a RACE=# tag to that weapon.

By using the get=<dfn-id> DFN-tag, you can define a "base" item/npc from which your item/npc will inherit all tags & values from, like this:

Code: Select all

[my_special_cutlass]
{
get=0x1440
name=My Special Cutlass
id=0x1440
lodamage=26
hidamage=48
}
Anything that comes after the get= tag will override any similar tags/values from the base-item/npc defined.
-= Ho Eyo He Hum =-
Ghostwolf
UOX3 Novice
Posts: 73
Joined: Mon Feb 11, 2008 9:41 am
Location: Hanging Around
Has thanked: 0
Been thanked: 0
Contact:

Post by Ghostwolf »

Thanks Xuri
Post Reply