User Tools

Site Tools


modding:xml:xml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
modding:xml:xml [2012/05/27 22:52] – fixing up info about root elements star_weavermodding:xml:xml [2014/12/27 04:40] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +FIXME This is a work in progress.
 +
 +XML elements used in Transcendence are detailed in [[http://xelerus.de/index.php?s=mods&c=Sources|documents available on Xelerus]], but they are not guaranteed to be up to date or all-inclusive.
 +
 +======Root level elements======
 +
 +Note that prefixing any xml file name with _ will disable an extension (see [[modding:tmu|Wolfy's Universal Mod and Utilities Manager]]).
 +
 +  * [[<TranscendenceUniverse>]]
 +
 +Only used in Transcendence.xml from TranscendenceSource. UNID-less, as there can be only one. This contains most other elements used in the core game, as most of those are in module-type files included into Transcendence.xml.
 +
 +  * [[<TranscendenceExtension>]]
 +
 +An extension to modify game play that is automatically included when running the game if placed in an 'extensions' folder in the game folder. 
 +
 +  * [[<TranscendenceAdventure>]]
 +
 +Works like an extension, except that its content is only activated if the adventure is chosen at at the adventure selection screen (appears before ship selection, but only if more than one adventure is available). Only one adventure can be active at one time. Requires an AdventureDesc to provide things like the adventure 'cover' screen.
 +
 +This element can also appear without UNID as a subelement of TranscendenceAdventure, as it does in Transcendence.xml. In this capacity it also defines modules that should only be loaded with the (default) adventure, such as Huari.xml, distinct from modules that load for all adventures which are also defined in Transcendence.xml.
 +
 +//(Someone want to test if you can slave this under a <TranscendenceExtension> to create a multi-mode extension file? ---Weaver)//
 +
 +  * [[<TranscendenceModule>]]
 +
 +A UNID-less continuation container that must be included by a file using one of the above types to be recognized by the game. Used for large-project organization.
 +
 +======Design Types======
 +A [[designtype]] is an XML element that defines a class of object in the game. All design types share certain things in common. For example, they are all uniquely identified by a 32-bit number (called an [[UNID]]). The properties and sub-elements common to all design types are listed in the [[designtype]] article.