Villages which only serve as terrain

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

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
User avatar
Horus2
Posts: 407
Joined: September 26th, 2010, 1:05 pm

Villages which only serve as terrain

Post by Horus2 » January 24th, 2018, 11:29 am

So, in the editor, we have the village overlay feature to effortlessly convert any terrain into a village with different defense values. And that is neat.
Can this be done in the other direction? What is the most conventional way to make a single multiplayer map where certain villages cannot be captured, and only exist for their defense boni?

User avatar
zookeeper
WML Wizard
Posts: 9739
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Villages which only serve as terrain

Post by zookeeper » January 24th, 2018, 11:38 am

Can't be done without making a special terrain for it. But frankly, it sounds like a bad idea in the first place. If you have a village then it should function as a village, or else you have to put a big label on it saying "This isn't a normal village even though I made it look exactly like a village", or something similar.

However, don't almost all units have the same defense on village and castle? Perhaps you could use the castle overlay instead, and just use [item] or [terrain_graphics] to put a village image on it. But even so it should obviously have some other visual cue that it's actually not what it looks like.

User avatar
Bitron
Moderator
Posts: 441
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: Villages which only serve as terrain

Post by Bitron » January 25th, 2018, 10:38 am

I guess the ruined villages would be a good choice for that. In ruins you can still defense well, but there is no one that could give you gold.

User avatar
Horus2
Posts: 407
Joined: September 26th, 2010, 1:05 pm

Re: Villages which only serve as terrain

Post by Horus2 » January 25th, 2018, 11:28 am

Yes, the basic idea was a ruined city, where only the intact buildings can be flagged. I was also thinking of recolouring their roof to make them stand out more (which, as far as multiplayer maps go, is an unexploited concept).

Sadly, the castle overlay cannot supersede one for villages. All dwarves, saurians, bats, ogres, plus the heavy infantryman, wolf rider and elvish rider have different defenses in castles and villages, which would sure cause confusion.

I am not terribly attached to the idea, rather was just interested in the possibilities. Thanks for the quick answer.

User avatar
Celtic_Minstrel
Developer
Posts: 1275
Joined: August 3rd, 2012, 11:26 pm
Contact:

Re: Villages which only serve as terrain

Post by Celtic_Minstrel » February 18th, 2018, 5:26 pm

For the record, I think the fact that a flag doesn't appear when you land on it would be a pretty good clue that it's not a village? Admittedly it's one that doesn't take effect until you land on it, but since it's not a village that means you can still undo the move if you want to.
Author of The Black Cross of Aleron campaign and Default++ era.
Maintainer of Steelhive.

Post Reply