Editing XML/Unit

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 140: Line 140:
  
 
===fields===
 
===fields===
Fields are the area that units can traverse. Currently this is limited to <tt>land</tt> and <tt>air</tt>. Land units can only walk on walkable parts of the land and shallow water, while air units can fly and traverse everywhere.
+
Fields are the area that units can traverse. In Glest and MegaGlest, this is limited to <tt>land</tt> and <tt>air</tt>. Land units can only walk on walkable parts of the land and shallow water, while air units can fly and traverse everywhere. In GAE, the additional fields of <tt>any_water</tt> (deep or shallow water), <tt>deep_water</tt> (only the deep areas that land units cannot enter), or <tt>amphibious</tt> (the unit can traverse both land and water (of any depth) but are still limited by unwalkable terrain).
  
 
===properties===
 
===properties===
Line 198: Line 198:
  
 
===image-cancel===
 
===image-cancel===
Path to the cancel icon that will be used by the image, which will be displayed at the bottom of the unit box on the HUD, for canceling their current action (upgrades specify their own cancel icon in the [[Upgrade XML]]). Images can be BMP, TGA, JPG, or PNG.
+
Path to the cancel icon that will be used by the image, which will be displayed at the bottom of the unit box on the HUD, for canceling their current action (upgrades specify their own cancel icon in the [[Upgrade XML]]). In Glest, images can be either BMP or TGA. In MegaGlest and GAE, they can be BMP, TGA, JPG, or PNG.
  
 
===meeting-point===
 
===meeting-point===
If true, a meeting point will be used, which is a selectable location that produced units will be sent to. Generally only given to buildings because otherwise the right click "hotkey" is used for move. The path is the icon that can be used to choose the meeting point location.
+
If true, a meeting point will be used, which is a selectable location that produced units will be sent to. Generally only given to buildings because otherwise the right click "hotkey" is used for move. The path is the icon that can be used to choose the meeting point location. In Glest, images can be either BMP or TGA. In MegaGlest and GAE, they can be BMP, TGA, JPG, or PNG.
  
 
===selection-sounds===
 
===selection-sounds===
Line 226: Line 226:
 
==See also==
 
==See also==
 
*[[XMLs]]
 
*[[XMLs]]
*[[XML/Commands|Commands]]
+
<!-- Place links to skills and commands here, once they are created -->
 
[[Category:XMLs]]
 
[[Category:XMLs]]

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: