Editing XML/Scenario
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | [[XML| | + | [[XML/Commands|Commands]] |
[[Scenarios]] are special types of battles where the creator can modify the game from its regular style, and even add [[Lua]] scripting. | [[Scenarios]] are special types of battles where the creator can modify the game from its regular style, and even add [[Lua]] scripting. | ||
==XML== | ==XML== | ||
+ | {{XML_definition_header}} | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0" standalone="yes" ?> | <?xml version="1.0" standalone="yes" ?> | ||
Line 77: | Line 78: | ||
===players=== | ===players=== | ||
− | This is a list of the players in this game, where each player gets their own <tt><player /></tt> tag. Attributes are control, which is either <tt>human</tt>, <tt>cpu</tt>, or <tt>cpu-ultra</tt> <tt>cpu-easy</tt> and <tt>cpu-mega</tt> | + | This is a list of the players in this game, where each player gets their own <tt><player /></tt> tag. Attributes are control, which is either <tt>human</tt>, <tt>cpu</tt>, or <tt>cpu-ultra</tt> <tt>cpu-easy</tt> and <tt>cpu-mega</tt>. [[MegaGlest]] also adds the option of a <tt>network</tt> player. This asserts who controls that player, and one must be human and one must be some brand of cpu. |
In [[MegaGlest]] you can also edit the <tt>resource_multiplier</tt> for the cpu. | In [[MegaGlest]] you can also edit the <tt>resource_multiplier</tt> for the cpu. | ||