Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1852

Scenario & Campaign Development • Re: Multihex+overlay terrain guidance please!

$
0
0
Hello!
I know this post is a few years old, but multihex terrain is pain, so I will try to make a nice tutorial with images. It will surely be helpful to somebody.

Quick answers:
1. Yes, using image overflow and a healing overlay. I will explain this one.
2. I do not know what you are referring to exactly.
3. Yes - Oasis overlay has this. In fact any amount of heals will also cures.
4. As far as I understand, you can make up any flag you want and it will only check for one if you ask it.



First of all, I will explain your mountain map.
., *, .
, *, *
*, 1, *
, 1, 1
*, 1, *
, *, *
., *, .
, ., ."

The "1" are hexes that have the correct terrain type. the "*" are overflow hexes. The "." are unaffected hexes (these are used to line up the others correctly). "," divides the hexes.
Like this:
1-mountain-label.png
Now, I assume you want to create an overlay something like this:
2-house-want.png
You said you have separated tiles. However, if they always go together, I suggest glueing them together into one image. This will make life simpler. I will use this method.

Step 1: Create image at the correct size.
Step 2: Determine which hexes are overflow.
Now, you don't want your southern tile to have the overlay, because you want to add a heals+8 overlay after. So it will be an overflow hex.
Like so:
3-house-layout-1.png
In fact, you can make all but one hex overflow if you want:
4-house-layout-2.png
Step 3: Crop image
Now this is important: The game will line up the top-left corner of your image with the top-left corner of a square that contains all affected hexes. So if you make a square that exactly surrounds your hexes, you won't have to worry about "centre= x,y" or anything like that.
In this example, the image is cropped to size 234x216 (3 1/4 hexes wide, 3 hexes tall).
5-crop-suggestion.png
house-overlay.png
(continued)

Statistics: Posted by tsunami_ — Today, 6:24 am



Viewing all articles
Browse latest Browse all 1852

Trending Articles