Terrain - cave path, castle overlay, lit

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
white_haired_uncle
Posts: 1226
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Terrain - cave path, castle overlay, lit

Post by white_haired_uncle »

I can do a cave path+lit or a cave path+castle overlay in the map editor (which I'm very weak with). But can I do a cave path + castle overlay + lit?
Speak softly, and carry Doombringer.
User avatar
beetlenaut
Developer
Posts: 2827
Joined: December 8th, 2007, 3:21 am
Location: Washington State
Contact:

Re: Terrain - cave path, castle overlay, lit

Post by beetlenaut »

Terrains only support one base and one overlay, so you can't put an lit overlay and a castle overlay on the same hex. To do this, you would have to make your own lit-castle terrain. You could combine the graphics for the two overlays in any decent image editor, but you would also need to define the terrain and its graphics in your add-on. (Several mainline campaigns do this. SotA is one of them.)
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Duke_Anax
Posts: 35
Joined: March 29th, 2024, 10:50 pm

Re: Terrain - cave path, castle overlay, lit

Post by Duke_Anax »

I'm not entirely sure what you are trying to do, and there is no default way to get a lit cave path castle, but you could use lit on any other existing castle.
Here is an example with a troll encampment with troll keep and an orcish castle with an encampment keep, the caverns use dirt floors.
Map-Screenshot_002.jpg
Last edited by Duke_Anax on April 21st, 2024, 9:17 pm, edited 1 time in total.
User avatar
Celtic_Minstrel
Developer
Posts: 2241
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: Terrain - cave path, castle overlay, lit

Post by Celtic_Minstrel »

beetlenaut wrote: April 16th, 2024, 6:54 pm You could combine the graphics for the two overlays in any decent image editor,
…why would you do this? Just use both sets of graphics for your custom terrain.

But in this specific case it's even easier, because one of the sets of graphics is nothing (except for the editor overlay), so you can pretty much just make a copy of the castle overlay terrain, add the lit attribute, then make a copy of the lit overlay graphics, and modify the latter to point at your new lit+castle overlay terrain.
Author of The Black Cross of Aleron campaign and Default++ era.
Former maintainer of Steelhive.
Post Reply