Info.xml
From Serious Sam's Bogus Detour
Revision as of 12: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
-
name
The name of the scenario that will show up in the scenario list. -
description
The full description of the scenario that will show up when selecting the scenario in the scenario list. -
tag
A short tagline description of the scenario, which is shown above the description. -
multiplayer
Whether the scenario is multiplayer-only or not. Eithertrue
orfalse
. (Default:false
) -
saving
The save mode to use. Eithernone
where there are no saves at all,current
where the current level is saved, orall
which is like Hammerwatch, where you can go back to older levels without their progress getting reset. (Default:current
) -
players
min="X" max="X"
The amount of players allowed to play in multiplayer. (Default: unlimited) -
modifiers
*modifier
forced="X" id="X" name="X" tooltip="X" locked-by="X" default-on="X" radio="X" multiplayer="X"
*separator
multiplayer="X"
*header
text="X" tooltip="X" multiplayer="X"
-
start
* level
-
classmaps
*behavior
from="X" to="X"
*script
from="X" to="X"
*gamemode
from="X" to="X"
-
disable-include
-
includes
*include
modifiers="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>