Info.xml
From Serious Sam's Bogus Detour
Revision as of 13:38, 20 June 2017 by Scratch (talk | contribs) (Created page with "This XML file describes a scenario. All tags listed below must be within an <code><info></info></code> block. == Tags == * <code>name</code> The name of the scenario that wil...")
This XML file describes a scenario. All tags listed below must be within an <info></info> block.
Tags
-
nameThe name of the scenario that will show up in the scenario list. -
descriptionThe full description of the scenario that will show up when selecting the scenario in the scenario list. -
tagA short tagline description of the scenario, which is shown above the description. -
multiplayerWhether the scenario is multiplayer-only or not. Eithertrueorfalse. (Default:false) -
savingThe save mode to use. Eithernonewhere there are no saves at all,currentwhere the current level is saved, orallwhich is like Hammerwatch, where you can go back to older levels without their progress getting reset. (Default:current) -
playersmin="X" max="X"The amount of players allowed to play in multiplayer. (Default: unlimited) -
modifiers
*modifierforced="X" id="X" name="X" tooltip="X" locked-by="X" default-on="X" radio="X" multiplayer="X"*separatormultiplayer="X"*headertext="X" tooltip="X" multiplayer="X"
-
start
* level
-
classmaps
*behaviorfrom="X" to="X"*scriptfrom="X" to="X"*gamemodefrom="X" to="X"
-
disable-include -
includes
*includemodifiers="X" levels="X" classmaps="X" final="X"
Example
Below is the info.xml file for the Payload gamemode on the Workshop:
<info>
<name>Payload</name>
<description>Bring the payload to the other side.</description>
<multiplayer>true</multiplayer>
<players min="2" max="12" />
<start>
<level name="Over the Mountain" lvl="levels/payload01.lvl" />
<level name="That belongs in a Museum" lvl="levels/payload02.lvl" />
</start>
<modifiers>
<modifier forced="true" id="VERSUS" />
<modifier forced="true" id="PICKUP_RESPAWN" />
</modifiers>
</info>