UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 
Firefox/1.0.4 (Debian package 1.0.4-2)
IP: 64.81.113.168
URI: http://wesnoth.slack.it/?UtilWML
 - - - - -
Index: UtilWML
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/UtilWML,v
retrieving revision 1.5
diff -u -r1.5 UtilWML
--- UtilWML     23 Mar 2005 08:14:48 -0000      1.5
+++ UtilWML     14 Jun 2005 19:55:37 -0000
@@ -6,19 +6,34 @@
 
 
 * ||{QUANTITY //KEY// //ON_EASY// //ON_NORMAL// //ON_HARD//}||
-sets //KEY// to one of the values //ON_EASY//, //ON_NORMAL//, or //ON_HARD//,
-depending on the difficulty level.
-This macro is used to define the macros ||GOLD||, ||INCOME||, and ||TURNS||
+is equivalent to an attribute which sets //KEY// to one of the values
+//ON_EASY//, //ON_NORMAL//, or //ON_HARD//, depending on the difficulty level.
+(//ON_EASY// = ||EASY||; //ON_NORMAL// = ||NORMAL||, //ON_HARD// = ||HARD||.
+You must define these in your campaign (see //difficulties//, CampaignWML) in 
order for this macro to work.)
+The macro ||QUANTITY|| is used to define the following macros:
 * ||{//KEY// //ON_EASY// //ON_NORMAL// //ON_HARD//}||
 a shortcut to QUANTITY.
 //KEY// is either
-  * "GOLD" the quantity is "gold". See also SideWML
-  * "INCOME" the quantity is "income"
-  * "TURNS" the quantity is "turns"
+  * "ATTACK_DEPTH" the quantity is "attack_depth"; Goes in [ai] (see AiWML)
+  * "TURNS" the quantity is "turns"; Goes in [scenario] (see ScenarioWML)
+  * "GOLD" the quantity is "gold"; Goes in [side] (see SideWML)
+  * "INCOME" the quantity is "income"; Also goes in [side]
+* ||{NO_SCOUTS}|| prevents a side's AI from recruiting unit types with 
//usage=scout//.
+Goes in [ai] (see AiWML)
 * ||{DOT //X// //Y//}|| puts a dot(||misc/dot.png||) on the pre-scenario map 
at ||(//X//,//Y//)||
-(measured in pixels)
-* ||{CROSS //X// //Y//}|| puts the battle cross(||misc/cross.png||)
-on the pre-scenario mat at ||(//X//,//Y//)||
+(measured in pixels). Goes in [part] (see IntroWML)
+* ||{CROSS //X// //Y//}|| Like ||DOT||, but puts the battle 
cross(||misc/cross.png||) instead of a dot.
+* ||{STARTING_VILLAGES //SIDE// //RADIUS//}||
+makes all villages within //RADIUS// of //SIDE//'s leader's position begin as 
owned by //SIDE//.
+Goes in [scenario]; it triggers a prestart event (see 'prestart', EventWML).
+Useful for making it seem like an army has been encamped in the area for a 
long time
+* ||{MENU_IMG_TXT //IMG// //TXT//||
+A description with image //IMG// and text //TXT//. Goes inside a description 
attribute (see DescriptionWML).
+* ||{MENU_IMG_TXT2 //IMG// //TXT1// //TXT2//||
+Same as ||MENU_IMG_TXT||, but takes two text inputs.
+Useful for difficulty descriptions where the phrases "(easiest)" and 
"(hardest)" should be translated seperately.
+
+The following macros are all used as actions; i.e. inside events and nested 
events. See also EventWML
 * ||{RANDOM //RANGE//}|| sets a WML variable called "random" to a random value 
in the range //range//
 (see also //random//, [set_variable], InternalActionsWML).
 This is useful for creating randomness without clogging up variables.
@@ -40,17 +55,10 @@
 * ||{DEBUG_MSG //MSG//}|| prints the debug message //MESSAGE// as a narrator 
speaking.
 Useful when debugging a scenario: you can put a debug message in a set of 
actions
 to find out when or whether those actions are ever executed.
-* ||{STARTING_VILLAGES //SIDE// //RADIUS//}||
-makes all villages within //RADIUS// of //SIDE//'s leader's position be owned 
by //SIDE//.
-Used outside of [event]; it does this at prestart (See "prestart", EventWML).
-Useful for making it seem like an army has been encamped in the area for a 
long time
 * ||{UNIT //TYPE// //DESCRIPTION// //USER_DESCRIPTION// //SIDE// //X// //Y//}||
-places a unit of a //TYPE//, //DESCRIPTION//, //USER_DESCRIPTION//, and 
//SIDE// at
-location //X// and //Y// with the loyal trait set. Note: the usage for this is:
-{UNIT (Elvish Fighter) (Myname) ( _ "Myname") Side X Y}
+places a loyal unit with given statistics at given location.
 * ||{UNDEAD_UNIT //TYPE// //SIDE// //X// //Y//}||
-places a unit of a //TYPE//, and //SIDE// at location //X// and //Y// with the 
loyal
-and undead traits set.
+places an undead, loyal unit with given statistics at given location.
 * ||{PLACE_IMAGE //IMAGE_FILE// //X// //Y//}||
 places //IMAGE_FILE// at //X// and //Y// as an [item]
 
@@ -60,4 +68,4 @@
 * EventWML
 * ReferenceWML
 
- 
+




_______________________________________________
Wesnoth-wiki-changes mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes

Reply via email to