AzureusPT
New Member
- Joined
- Sep 25, 2012
- Messages
- 439
- Reaction score
- 1
I've created an XML Schema with the Item Rules XML syntax to make it easier to create or modify item rule's xml files.
With this you will enable validation and/or autocomplete in the rules xml file, making it easier to edit.
Visual Studio
Notepad++
How to use:
1) Download the file and unzip it in the same folder you will be creating/editing your loot rules.
2) Add the attributes xmlns="http://tempuri.org/ItemRuleSchema.xsd" xmlns:xsi="http://tempuri.org/ItemRuleSchema.xsd" to the ItemRules tag of the file your editing, like this:
3-1) If you're using Visual Studio or Visual Express, add the schema to your project.
3-2) If you're using Notepad++, you need to download the plugin XML Tools, then you can use the schema to validate your xml file.
Changelog
19/11: Updated types. Changed xmlns declaration.
14/11: Updated priority values. Added all missing stat types.
With this you will enable validation and/or autocomplete in the rules xml file, making it easier to edit.
Visual Studio

Notepad++

How to use:
1) Download the file and unzip it in the same folder you will be creating/editing your loot rules.
2) Add the attributes xmlns="http://tempuri.org/ItemRuleSchema.xsd" xmlns:xsi="http://tempuri.org/ItemRuleSchema.xsd" to the ItemRules tag of the file your editing, like this:
PHP:
<ItemRules name="..." useRoundedValues="true" xmlns="http://tempuri.org/ItemRuleSchema.xsd" xmlns:xsi="http://tempuri.org/ItemRuleSchema.xsd">
3-2) If you're using Notepad++, you need to download the plugin XML Tools, then you can use the schema to validate your xml file.
Changelog
19/11: Updated types. Changed xmlns declaration.
14/11: Updated priority values. Added all missing stat types.
Last edited: