What is the easiest way to set defence value on specific tile?

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
BajMic
Posts: 45
Joined: January 24th, 2023, 1:22 am

What is the easiest way to set defence value on specific tile?

Post by BajMic »

Hello,

I am using [terrain_graphics] to obtain specific sprites of villages, as opposed to the random ones. If I use the Village Overlay and paste a house graphic on top of it, it does not provide defence values of a Village.

What is the easiest way to correct that, so that the tile functions like a proper Village, but looks the way I want it to look?

Thanks,
User avatar
Celtic_Minstrel
Developer
Posts: 2255
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: What is the easiest way to set defence value on specific tile?

Post by Celtic_Minstrel »

Probably the easiest way is to make a custom version of the village overlay that sets the defense how you want it to be set.
Author of The Black Cross of Aleron campaign and Default++ era.
Former maintainer of Steelhive.
Dalas120
Developer
Posts: 50
Joined: July 5th, 2020, 6:51 pm

Re: What is the easiest way to set defence value on specific tile?

Post by Dalas120 »

Alternatively, put a real village on the tile and use PLACE_IMAGE to cover it up with your desired variation
Post Reply