Cave terrain

Contribute art for mainline Wesnoth.

Moderator: Forum Moderators

Forum rules
Before posting critique in this forum, you must read the following thread:
User avatar
Alarantalara
Art Contributor
Posts: 786
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Cave terrain

Post by Alarantalara »

Drawing waterfalls has made me a bit obsessed with the underground. While taking breaks from waterfalls, I've been playing with a few other things.
One was realigning all the dwarven castle tiles with the cave wall. They're about 4px off vertically in the game, though you don't tend to notice unless it's against a bright background like grass or water. That's over in another thread.

That made me realize how easy it is to add cave walls to castles, so I've also pasted together this:
cave camp.png
cave camp.png (206.28 KiB) Viewed 5713 times
Any way it can be improved? The extra thick post on one of the diagonals is unavoidable without redrawing the original camp tiles: some of the walls are in different places depending on which way the wall goes in the next tile and the macro doesn't account for tiles that far away.

My current project for when I don't want to draw waterfalls is tracks for mine carts, though I supposed they could be used as a railway for a more modern setting.
rails.png
rails.png (38.59 KiB) Viewed 5713 times
Anyway, the first image is a shaded example, while the second is a layout for the rails and ties. Comments and criticism is more than welcome.

EDIT: Layout example removed pending revision.

2nd Edit: Realized I forgot to post the pngs of the encampment. They're now attached. For those who want to use them, place the unzipped files in "images/terrain/castle" and add the following line to terrain-graphics.cfg or any suitable campaign file.

Code: Select all

{WALL_TRANSITION2     (Ce,Ke)        X*                 (!,Ce,Ke,X*)      castle/encampment-wall}
Attachments
encampment-wall.zip
(111.13 KiB) Downloaded 401 times
Last edited by Alarantalara on May 1st, 2010, 9:01 pm, edited 2 times in total.
Blarumyrran
Art Contributor
Posts: 1700
Joined: December 7th, 2006, 8:08 pm

Re: Cave terrain

Post by Blarumyrran »

Right now the vertical sections seem thinner than the diagonal ones - it should be the other way round because of perspective. Otherwise promising.
User avatar
Alarantalara
Art Contributor
Posts: 786
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Cave terrain

Post by Alarantalara »

Most of that is shading I hope, since I think the vertical rails are actually wider right now. I've attached an example that is unshaded to check if it is only that the shaded one is darker or if it's a real problem.
Attachments
unshaded vertical.png
unshaded vertical.png (54.25 KiB) Viewed 5705 times
Blarumyrran
Art Contributor
Posts: 1700
Joined: December 7th, 2006, 8:08 pm

Re: Cave terrain

Post by Blarumyrran »

The difference is pretty large - but the view of wesnoth terrain is not top-down, it's under an angle (the angle is not really consistent, but it should still never be top-down), so the currently wider section should be thinner than the thin section instead. (or the currently thin section wider than the wide section)
User avatar
Alarantalara
Art Contributor
Posts: 786
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Cave terrain

Post by Alarantalara »

Ah, I see now. I thought you were talking about the individual rails.
Since I probably can't make the n-s one wider without running against the edge of the tile (I'd only make it to 1px wider than the diagonal if I went to the very edge), I'll have to make the diagonals much smaller. Thank you very much.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Cave terrain

Post by zookeeper »

A top-down perspective isn't really going to work. Check out the comments about that in this thread.
User avatar
Alarantalara
Art Contributor
Posts: 786
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Cave terrain

Post by Alarantalara »

Okay, taking everything into consideration and doing some math based on mesilliac's excellent thread, I have a new image for the shape of the diagonal. Did I get everything?
Attachments
Mathematical reshaping of vertical track should get one on left before shading.
Mathematical reshaping of vertical track should get one on left before shading.
rails shape.png (39.13 KiB) Viewed 5663 times
User avatar
Issyl
Posts: 364
Joined: January 23rd, 2010, 9:48 pm
Location: Orlando, Florida, USA

Re: Cave terrain

Post by Issyl »

Looks fairly close to me.

Tracks have more than just wood and steel though. They're laid on something, which is most often a pile of gravel.
User avatar
dipseydoodle
Posts: 879
Joined: September 16th, 2008, 10:26 pm

Re: Cave terrain

Post by dipseydoodle »

Cool. Will you be doing the code soon? I may be able to use that for a campaign. :D
User avatar
artisticdude
Moderator Emeritus
Posts: 2424
Joined: December 15th, 2009, 12:37 pm
Location: Somewhere in the middle of everything

Re: Cave terrain

Post by artisticdude »

This is looking good. I've always wanted more terrain in Wesnoth, and you're really making me happy. :) THe only thing that I see is that the wood might be a bit dark, but that's just my opinion.
dipseydoodle wrote:Will you be doing the code soon?
Why not just do it yourself? Just code it as an overlay; it's not nearly as hard as coding, say, the cave walls or terrain transitions.
"I'm never wrong. One time I thought I was wrong, but I was mistaken."
Sangel
Moderator Emeritus
Posts: 2232
Joined: March 26th, 2004, 10:58 pm
Location: New York, New York

Re: Cave terrain

Post by Sangel »

Once again, this is highly promising work. Assuming they're code-compatible, I see no reason why your cave-camp transitions shouldn't be committed to mainline immediately*. And mining tracks will be useful in adding further visual interest to underground maps, which currently tend towards uniform grey and black.

As a general rule, the Art Workshop is for projects that probably won't go into mainline; artwork for user campaigns and factions being the prime example. The Art Contributions forum is for projects that could well end up in mainline if they go far enough; the prime example is new terrain, though improvements and animations for existing units also apply.

Since the work you're doing here is a strong candidate for mainline inclusion, I'm going to move the thread. In the future, please feel free to create terrain projects in the Art Contributions forum; this way they can attract more attention from skilled artists and developers. While Blarumyrran clearly wanders the Art Workshop with some regularity, many of the key artists don't. ;-)

* I am not an Art Developer, just a Moderator. An experienced artist or coder might spot a problem that needs resolving before the commitment of new tiles.
"Pure logic is the ruin of the spirit." - Antoine de Saint-Exupéry
User avatar
dipseydoodle
Posts: 879
Joined: September 16th, 2008, 10:26 pm

Re: Cave terrain

Post by dipseydoodle »

karo wrote:Ooh... how about a minecar?
Did somebody ask for a mine-car? :lol2:
Attachments
:)
:)
mine-car.png (1.58 KiB) Viewed 5535 times
Last edited by dipseydoodle on January 5th, 2011, 7:43 pm, edited 1 time in total.
User avatar
Alarantalara
Art Contributor
Posts: 786
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Cave terrain

Post by Alarantalara »

dipseydoodle and artistic dude: I write the code to display all the art I'm doing as I create the it. When I post the PNGs, I'll include a WML file that will display them (though if this gets accepted into mainline, the final code may well be different).

Also, I'll post the flat images when they're all done; that way, anyone who wants different looking rails can draw their own over top without having to do all the math I did to make these conform to perspective properly (the inner curve on n-nw bends follows an ellipse with a major axis of 130px and a minor axis of 87px for example).

Sangel, I'm not completely crazy. This, and everything else I've posted, is for a campaign I'm creating. I'd post it in the campaign development forum (there's 6 playable scenarios so far), but it includes some other art that I want to work on more before I'm ready to show it to anyone.

And while I'm answering people: Issyl, you can put the rails over any terrain. If you want gravel, just use cave floor, one of the cobbled roads, or something of your own creation.

Just to show where I am at the moment, here's a current screen shot, on sand for variety.
Attachments
sand rails.png
sand rails.png (81.21 KiB) Viewed 5530 times
User avatar
dipseydoodle
Posts: 879
Joined: September 16th, 2008, 10:26 pm

Re: Cave terrain

Post by dipseydoodle »

If you can use the mine car in anyway, please do. I probably will use it in my campaign(whenever I start it) but I really don't care about that.

EDIT: The sand rails look great. Is there a reason some of it is missing the shading?
User avatar
Issyl
Posts: 364
Joined: January 23rd, 2010, 9:48 pm
Location: Orlando, Florida, USA

Re: Cave terrain

Post by Issyl »

I would say the vertical tracks still look like we are looking at them from above.

I'm not sure how you would fix this though.
Post Reply