Spell Modding Tutorial
Page Index
This tutorial is part of the “A Blank Mod” project which can be downloaded in it’s entirety here:
This tutorial contains a great deal of information, and is, therefore, spread over several pages. Please use the index below to navigate the tutorial. The current page will be in large red letters in the index.
1.0 Tag Explanations
1.1: Understanding the Spell Block.
1.1.1: The opening and closing tags:
The Spell block:
[spell][/spell]
- Tells the game where a specific spell begins and ends.
- Contains all other tags and data necessary to define the spell.
The Effect stanzas:
[effect][/effect]
- Tells the game where the effect data begins and ends within a specific spell.
- Contains all the tags and data to define what happens when the spell is cast: the Effect.
[payloadeffect][/payloadeffect]
- Same as the [effect] stanza with one important difference:
- The [effect] stanza is implemented when the spell is cast.
- The [payloadeffect] stanza is not implemented until the spell strikes a target.
1.1.2: The Tag structure:
- 1. Tags have a 2 part structure: <selector>:value.
- 2. The "selector" is a variable that needs to be defined
- 3. The "value" provides the needed definition.
- 4. Each selector has a distinct set of possible values.
- 4.1. Some are very large sets:
<name> can use any unique alpha-numeric string. - 4.2. While others have only a few, or even one, possible choice:
<sphere> has only 3 possible values.
- 4.1. Some are very large sets:
1.2: Practical Example: breakdown of a spell.
Example: Lightning Strike
1.2.1: The [spell] tag.
1.2.1: The <sphere> tag.
1.2.3: The <name> tag.
1.2.4: The <target_alignment> tag.
1.2.5 The <target> tag.
1.2.6 The <cast_time> tag.
1.2.7: The <mana> tag.
1.2.8: The <icon> tag.
1.2.9: The <description> tag.
The [effect] stanza
The "Comment Line."
1.2.10: The <sfx> tag.
1.2.11: The <sound>: tag.
1.1.12: The <cast_particle> tag
1.1.13: The <requires>: tag.
1.1.14: The [/spell] tag.