Difference between revisions of "Editing Castles"
m (→See Also: should've previewed...) |
(→Editing the Existing Castles) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
It will show you how to edit the existing castle tiles while making sure they continue to line up properly in game. The same technique can be used for any tiles which work on the same principle (such as Eleazar's new canyons, or Scott's indoor walls). | It will show you how to edit the existing castle tiles while making sure they continue to line up properly in game. The same technique can be used for any tiles which work on the same principle (such as Eleazar's new canyons, or Scott's indoor walls). | ||
− | You will need to download both [http://www.wesnoth.org/forum/download.php?id=5197 this overlay template], and [http://www.wesnoth.org/forum/download.php?id=5196 this gimp-python script]. ''Extract the python script to your GIMP "plug-ins" directory'', and you're ready to go. | + | '''You will need to download both [http://www.wesnoth.org/forum/download.php?id=5197 this overlay template], and [http://www.wesnoth.org/forum/download.php?id=5196 this gimp-python script]. ''Extract the python script to your GIMP "plug-ins" directory'', and you're ready to go.''' |
== Editing the Existing Castles == | == Editing the Existing Castles == | ||
Line 11: | Line 11: | ||
Open the overlay template in The GIMP. | Open the overlay template in The GIMP. | ||
− | http:// | + | http://wesnoth.org/wiki-images/exong-backup/shot1_568.jpg |
Find the castle tiles you want to modify and drag them onto your image. This should add each castle image as a separate layer. In this case I'm modifying the "castle-convex" parts of pekka's castles. | Find the castle tiles you want to modify and drag them onto your image. This should add each castle image as a separate layer. In this case I'm modifying the "castle-convex" parts of pekka's castles. | ||
Press 'M' and move the layers around so that the images line up around the central white hex. The layers should snap to the guides in the overlay template, so this should be easy to get exactly right. | Press 'M' and move the layers around so that the images line up around the central white hex. The layers should snap to the guides in the overlay template, so this should be easy to get exactly right. | ||
− | http:// | + | http://wesnoth.org/wiki-images/exong-backup/shot2_531.jpg |
You can hide the guides (as I've done here) by pressing shift-control-T, or deselecting "show guides" in the "View" menu. | You can hide the guides (as I've done here) by pressing shift-control-T, or deselecting "show guides" in the "View" menu. | ||
Line 24: | Line 24: | ||
Edit the castle to your heart's content. Here I'm just going to put some annoying little flags on top. Make sure you edit one corner at a time, and that you keep each corner on a separate layer. It's useful to turn "Snap to Guides" off (in the "View" menu) if you're doing any freehand drawing. | Edit the castle to your heart's content. Here I'm just going to put some annoying little flags on top. Make sure you edit one corner at a time, and that you keep each corner on a separate layer. It's useful to turn "Snap to Guides" off (in the "View" menu) if you're doing any freehand drawing. | ||
− | http:// | + | http://wesnoth.org/wiki-images/exong-backup/shot3_178.jpg |
=== Step 3: Save === | === Step 3: Save === | ||
Line 30: | Line 30: | ||
Now to save the edited castle. First, make everything except for one corner invisible. | Now to save the edited castle. First, make everything except for one corner invisible. | ||
− | http:// | + | http://wesnoth.org/wiki-images/exong-backup/shot4_494.jpg |
− | Then run the "WesCutter" script. If you've extracted the plugin to the right place, it should be found | + | Then run the "WesCutter" script. If you've extracted the plugin to the right place, it should be found under "Wesnoth" in the Gimp "Python-Fu" menu. You'll be doing this again, so click the dotted line to detach the Wesnoth menu and save yourself a few clicks. |
The script lets you choose a directory to save the file in (I'm saving to my desktop), the base filename (in this case, "castle"), whether it's a concave or convex image (added to the filename) and which corner it is (in this case, NW). | The script lets you choose a directory to save the file in (I'm saving to my desktop), the base filename (in this case, "castle"), whether it's a concave or convex image (added to the filename) and which corner it is (in this case, NW). | ||
− | http:// | + | http://wesnoth.org/wiki-images/exong-backup/shot5_193.jpg |
After clicking on "OK", I have a shiny new image called "castle-convex-nw.png" on my desktop, just the right size to work in Wesnoth. After doing this with all 6 corners, you can put them in the "images/terrain" subdirectory of your userdata directory (see [[EditingWesnoth]]). If you've put them in the right place, your new castles will automatically replace the old ones next time you run wesnoth http://www.wesnoth.org/forum/images/smiles/icon_smile.gif. | After clicking on "OK", I have a shiny new image called "castle-convex-nw.png" on my desktop, just the right size to work in Wesnoth. After doing this with all 6 corners, you can put them in the "images/terrain" subdirectory of your userdata directory (see [[EditingWesnoth]]). If you've put them in the right place, your new castles will automatically replace the old ones next time you run wesnoth http://www.wesnoth.org/forum/images/smiles/icon_smile.gif. | ||
− | http:// | + | http://wesnoth.org/wiki-images/exong-backup/shot6_273.jpg |
hooray! | hooray! | ||
== Making other Corner-Based Terrains == | == Making other Corner-Based Terrains == | ||
+ | |||
+ | The same technique can also be used to make other corner-based terrains (for examples of other corner-based terrains, see [http://www.wesnoth.org/forum/viewtopic.php?t=7936 Eleazar's Canyons] and [http://www.wesnoth.org/forum/viewtopic.php?t=8274 Scott's Indoor Walls]). | ||
== See Also == | == See Also == | ||
Line 52: | Line 54: | ||
* [[CastleTutorial]] | * [[CastleTutorial]] | ||
* [[EditingWesnoth]] | * [[EditingWesnoth]] | ||
+ | |||
+ | [[Category: Art Tutorials]] |
Latest revision as of 13:17, 1 April 2014
This tutorial is based on a gimp-python script, and as such is aimed squarely at users of The GIMP.
It will show you how to edit the existing castle tiles while making sure they continue to line up properly in game. The same technique can be used for any tiles which work on the same principle (such as Eleazar's new canyons, or Scott's indoor walls).
You will need to download both this overlay template, and this gimp-python script. Extract the python script to your GIMP "plug-ins" directory, and you're ready to go.
Contents
Editing the Existing Castles
Step 1: Open
Open the overlay template in The GIMP.
Find the castle tiles you want to modify and drag them onto your image. This should add each castle image as a separate layer. In this case I'm modifying the "castle-convex" parts of pekka's castles. Press 'M' and move the layers around so that the images line up around the central white hex. The layers should snap to the guides in the overlay template, so this should be easy to get exactly right.
You can hide the guides (as I've done here) by pressing shift-control-T, or deselecting "show guides" in the "View" menu.
Step 2: Edit
Edit the castle to your heart's content. Here I'm just going to put some annoying little flags on top. Make sure you edit one corner at a time, and that you keep each corner on a separate layer. It's useful to turn "Snap to Guides" off (in the "View" menu) if you're doing any freehand drawing.
Step 3: Save
Now to save the edited castle. First, make everything except for one corner invisible.
Then run the "WesCutter" script. If you've extracted the plugin to the right place, it should be found under "Wesnoth" in the Gimp "Python-Fu" menu. You'll be doing this again, so click the dotted line to detach the Wesnoth menu and save yourself a few clicks.
The script lets you choose a directory to save the file in (I'm saving to my desktop), the base filename (in this case, "castle"), whether it's a concave or convex image (added to the filename) and which corner it is (in this case, NW).
After clicking on "OK", I have a shiny new image called "castle-convex-nw.png" on my desktop, just the right size to work in Wesnoth. After doing this with all 6 corners, you can put them in the "images/terrain" subdirectory of your userdata directory (see EditingWesnoth). If you've put them in the right place, your new castles will automatically replace the old ones next time you run wesnoth .
hooray!
Making other Corner-Based Terrains
The same technique can also be used to make other corner-based terrains (for examples of other corner-based terrains, see Eleazar's Canyons and Scott's Indoor Walls).