Page 1 of 1

Script Tags

Posted: Tue Mar 10, 2009 1:26 am
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?

Posted: Tue Mar 10, 2009 8:40 pm
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.

Posted: Tue Mar 10, 2009 10:38 pm
by Ghostwolf
Thanks Xuri