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|Back to XML Overview ]]
+
[[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>&lt;player /&gt;</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>. If it is <tt>closed</tt> the slot is closed and not used no matter which other settings follow. [[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.
+
This is a list of the players in this game, where each player gets their own <tt>&lt;player /&gt;</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.
  

Please note that all contributions to MegaGlest are considered to be released under the Creative Commons Attribution Share Alike (see MegaGlest:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: