Spell Modding Tutorial
Page Index
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.
3.0 The Spell Item
3.1 Example Spell Item - Scorch
This is pretty straight forward, but unless you already have experience making items don't deviate from the template. Pay particular attention to the names.
<TYPE>:SPELL
<NAME>:Scorch Spell
<RARITY>:860
<MODEL>:ITEMS/spellscroll.mdl
<COLLIDEABLE>:0
<ICON>:ICONS/scrollscorch.png:ICONS/spellscrolla.png
<VALUE>: 6789
<TAKEABLE>:1
<DROP_SOUND>:SOUNDS/ITEMS/fall.wav
<TAKE_SOUND>:SOUNDS/ITEMS/leatherget.wav
<LAND_SOUND>:SOUNDS/ITEMS/leatherdrop.wav
<USE_SOUND>:SOUNDS/UI/levelup.wav
<USEABLE>:1
<USES>:1
<TARGET>:USER
<DESCRIPTION>:Write to Spellbook
[EFFECT] <NAME>:SCORCH
<ACTIVATION>:USAGE
<TYPE>:WRITESPELL
<DURATION>:INSTANT
<VALUE>:0
[/EFFECT]
<REQUIRES>:MAGIC:21
[/ITEM]
3.1 Spell Item Template
Here you'll find a Cut-and-Paste template and tag descriptions that you can use to make your own spell scroll items. These are the items that allow the character to learn one of your new spells. You do want your spell in the game, don’t you?
Important: Make sure you replace any text that is high-lighted and enclosed in *asterisks* with proper values!
<TYPE>:SPELL
<NAME>: *your spell name here* Spell
<RARITY>:*
<MODEL>:ITEMS/spellscroll.mdl
<COLLIDEABLE>:0
<ICON>:ICONS/scrollscorch.png:ICONS/spellscrolla.png
<VALUE>:*
<TAKEABLE>:1
<DROP_SOUND>:SOUNDS/ITEMS/fall.wav
<TAKE_SOUND>:SOUNDS/ITEMS/leatherget.wav
<LAND_SOUND>:SOUNDS/ITEMS/leatherdrop.wav
<USE_SOUND>:SOUNDS/UI/levelup.wav
<USEABLE>:1
<USES>:1
<TARGET>:USER
<DESCRIPTION>:Write to Spellbook
[EFFECT]
<NAME>:*your spell name here in ALL CAPS*
<ACTIVATION>:USAGE
<TYPE>:WRITESPELL
<DURATION>:INSTANT
<VALUE>:0
[/EFFECT]
<REQUIRES>:MAGIC:*
[/ITEM]