wesnoth-wiki-changes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-wiki-changes] MultiHexTutorial


From: wiki
Subject: [Wesnoth-wiki-changes] MultiHexTutorial
Date: Mon, 13 Dec 2004 22:04 +0100

UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618
IP: 83.113.231.153
URI: http://wesnoth.slack.it/?MultiHexTutorial
 - - - - -
Index: MultiHexTutorial
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/MultiHexTutorial,v
retrieving revision 1.4
diff -u -r1.4 MultiHexTutorial
--- MultiHexTutorial    18 May 2004 21:07:39 -0000      1.4
+++ MultiHexTutorial    13 Dec 2004 21:04:29 -0000
@@ -14,7 +14,7 @@
 
 We will use the following three rules to fill the mountains.
 
- [building_rule]
+ [terrain_graphics]
          map="
  .   1
    .
@@ -33,9 +33,9 @@
          set_flag="built-m"
 
          image_background="tile5"
- [/building_rule]
+ [/terrain_graphics]
 
- [building_rule]
+ [terrain_graphics]
          map="
  .
    1
@@ -50,9 +50,9 @@
          set_flag="built-m"
 
          image_background="tile2"
- [/building_rule]
+ [/terrain_graphics]
 
- [building_rule]
+ [terrain_graphics]
          [tile]
                  x=0
                  y=0
@@ -62,7 +62,7 @@
          no_flag="built-m"
          set_flag="built-m"
          image_background="tile1"
- [/building_rule]
+ [/terrain_graphics]
 
 The first rule, regarding the biggest mountains, will apply first. It will 
include, with 30% probability, the big
 5-tile mountain range. This will make, for example, something like this.
@@ -80,6 +80,24 @@
 
 http://www.anathas.org/ayin/wesnoth/tutorial/tutorial4.png
 
+||Village with a tower||
+
+To add a building with a tower that spans over 2 hexes, you may use the 
following rule (T being the character
+representing the building hex)
+
+ [terrain_graphics]
+      map="
+ *
+
+ T"
+      [image]
+          name=tower.png # a 36x72 image
+          position=vertical
+          base=36,108
+      [/image]
+
+ [/terrain_graphics]
+
 ||See Also||
 
-* BuildingRuleWML     
+* BuildingRuleWML






reply via email to

[Prev in Thread] Current Thread [Next in Thread]