Malovech
July 4th, 2007, 01:38
I need to modify reference_spells.xml so that it properly goes through my client.xml for my spells.mod and lists them out. For the life of me I can't figure out what to change in the scripts for reference_spells.xml.
The first part of the xml file that states my main list categories:
<library>
<true20powers static="true">
<name type="string">True20 Powers</name>
<categoryname type="string">True20 Essentials</categoryname>
<entries>
<styles>
<librarylink type="windowreference">
<class>reference_stylespelllist</class>
<recordname>spelllists.styles@True20 Powers</recordname>
</librarylink>
<name type="string">Sorcery Styles</name>
</styles>
</entries>
</true20powers>
</library>
My individual spells
<spelldesc static="true">
<thetimeisright>
<name type="string">The Time is Right (Basic Cosmic Sorcery)</name>
<style type="string">Cosmic Sorcery</school>
<level type="string">Sor/Wiz 0</level>
<components type="string">V, S, M</components>
<castingtime type="string">2 weeks</castingtime>
<range type="string">Magical Link</range>
<effect type="string">As per sorcery style</effect>
<duration type="string">As per sorcery style</duration>
<fatiguing type="string">No</fatiguing>
<save type="string">As per sorcery style, see below</save>
<prerequisites type="string">10 ranks of Knowledge(arcana), Int 15</prerequisites>
<description type="formattedtext"><p>Yada yada</p></description>
<shortdescription type="string">Spend two weeks to cast a spell, taking 20 on the final Power Check.</shortdescription>
</thetimeisright>
</spelldesc>
For my list of sorcery styles...
<spelllists static="true">
<styles>
<description type="string">Sorcery Styles</description>
<cosmicsorcery>
<description type="string">Cosmic Sorcery</description>
<groups>
<powers>
<thetimeisright>
<link type="windowreference"><class>spelldesc</class><recordname>spelldesc.thetimeisright@True20 Powers</recordname></link>
</thetimeisright>
<thestarsareright>
<link type="windowreference"><class>spelldesc</class><recordname>spelldesc.thestarsareright@True20 Powers</recordname></link>
</thestarsareright>
</powers>
</groups>
</cosmicsorcery>
</styles>
</spelllists>
Are there any folks out there that have gotten into this who can point me in the right direction?
Thanks to anyone for your time and brain power.
The first part of the xml file that states my main list categories:
<library>
<true20powers static="true">
<name type="string">True20 Powers</name>
<categoryname type="string">True20 Essentials</categoryname>
<entries>
<styles>
<librarylink type="windowreference">
<class>reference_stylespelllist</class>
<recordname>spelllists.styles@True20 Powers</recordname>
</librarylink>
<name type="string">Sorcery Styles</name>
</styles>
</entries>
</true20powers>
</library>
My individual spells
<spelldesc static="true">
<thetimeisright>
<name type="string">The Time is Right (Basic Cosmic Sorcery)</name>
<style type="string">Cosmic Sorcery</school>
<level type="string">Sor/Wiz 0</level>
<components type="string">V, S, M</components>
<castingtime type="string">2 weeks</castingtime>
<range type="string">Magical Link</range>
<effect type="string">As per sorcery style</effect>
<duration type="string">As per sorcery style</duration>
<fatiguing type="string">No</fatiguing>
<save type="string">As per sorcery style, see below</save>
<prerequisites type="string">10 ranks of Knowledge(arcana), Int 15</prerequisites>
<description type="formattedtext"><p>Yada yada</p></description>
<shortdescription type="string">Spend two weeks to cast a spell, taking 20 on the final Power Check.</shortdescription>
</thetimeisright>
</spelldesc>
For my list of sorcery styles...
<spelllists static="true">
<styles>
<description type="string">Sorcery Styles</description>
<cosmicsorcery>
<description type="string">Cosmic Sorcery</description>
<groups>
<powers>
<thetimeisright>
<link type="windowreference"><class>spelldesc</class><recordname>spelldesc.thetimeisright@True20 Powers</recordname></link>
</thetimeisright>
<thestarsareright>
<link type="windowreference"><class>spelldesc</class><recordname>spelldesc.thestarsareright@True20 Powers</recordname></link>
</thestarsareright>
</powers>
</groups>
</cosmicsorcery>
</styles>
</spelllists>
Are there any folks out there that have gotten into this who can point me in the right direction?
Thanks to anyone for your time and brain power.