This lists removed WML functionality and helpful hints for avoiding pitfalls.
A similar thread for changes before 1.16 can be found here .
Compatibility breaking (requires updates to work)
no longer sets the heal_amount variable, instead supporting the variable attribute. This variable will be...
We are happy to announce that Wesnoth is now able to accept donations on Liberapay . While Wesnoth does rely on the work of dedicated volunteers, no project can function completely cost-free. Revenue from the Apple App Store and from donations goes towards maintaining our servers,...
There have been numerous important forum posts and wiki articles written by users and developers. We reference these pages a lot, and decided to put them together in a convenient list.
Write clearly, be nice to others, and be very careful when posting anything related to politics or religion. When asking for help, remember that everyone here is a volunteer. Prefer editing your previous post over double posting. No animated avatars or graphical signatures. Don’t plagiarize other’s...
I hope use add a use 14 gold build village on map any and have build village ,but WML is not work
use village WML in build.cfg and ANL.cfg(use ANL define)
edit:
and i hope player can any time(only need in player turn) give other player village,but I have absolutely no idea how to do...
What I'm trying to do is making an array out of multiple variables, though for some reason using a variable as the name for the value in the array doesn't work and the game just saves the array as empty.
What I did and which isn't working:
$leaderdeadsidevillages .x and y are just iterating over...
Hi,
Is there any easy way (without events) to choose defence animation based on weapon used? As I have unit with two alternative melee attack and would like to show same weapon in defence animation, as unit use in attack.
Not sure what I'm missing here. I have the first Scenario running just fine. Everything works. Been referencing various other custom campaigns as well as the core ones in the game and cannot figure out what I'm doing wrong.
When I reach the second Scenario of my campaign, my leader resets, and...
who: for whoever knows where the different wesnoth code pages are
am looking for a page that has all of these 'logic' keywords
so there are alot of 'event' codewords and keywords ('keys'), alot more than i ever wouldve imagine. am going to call them codewords or keywords since they make more...
Hi,
I'm balancing a scenario (v1.16.10 on Windows 11) and would like to tweak the AI recruitment but can't get the exact behaviour I'd like.
I have an AI that has a fairly extensive recuit list but I really want 2 types to be favoured (i.e. have more of them being recruited).
Hello, I am a total beginner in programming, only ever done Scratch, but now I wanted to make a campaign, well firstly a scenario, in Wesnoth. I have some errors in my code that I know of (Like using a variable for the recruit= key), but there is something I don't know why it happens: When I load...
WML development feedback loop is quite slow - you need to use F5, build new cache, start scenario again. When only looking to test one specific event or tag there is faster way.
Many WML tags are implemented in Lua now, and because of that Lua has all the tools needed to read and run WML. Note...
Let's say that I have a unit with a list of custom variables inside modifications.
Now, I need to filter the list of modifications to check if it had a match.
The result will turn false if it had this variables value and true if it hadn't.
If I use tag, the process will be repeated.
For example:...
I am trying to implement some big pieces into my terrain graphics, but the matter is particularly confusing to me. Could you please take a look if there is anything obvious that I am doing wrong?
Some time ago, for my UMC Campaign, I created a Unitmarker system, which lets you label your units, to make it easier to keep track of important ones, that you don't want to lose. (because of a special trait combination, or an item that was given to it for example)
Then I saw, that Admant14...
Ok, so maybe the title doesn't really explain perfectly, but I'd like an event where if your unit moves to a cave at 74,28, the unit sees a text like 'gold gold goooold' or something like that.
Then you can choose the give 1 gold, then 2 gold, then 3 gold etc. till 10. As long as you have the gold....
unit's defense depends on terrain it stands on
how to use terrain other than the one unit is currently standing on?
the idea is to use enemy's terrain for determining attacker's defense for close combat encounters, implying that attacking unit has to enter opponent's tile to perform melee attack...
Hi,
Edit: I was doing something stupid; seems I had another instance of BfW running at the same time... :doh:
New PC, very different interface, same dozy user. :augh:
Cheers!
-- Spannerbag
hi everyone! :)
im working on a campaign where i want a couple single units with amlas to change unit type at a certain point of the story regardless of their xp, the changes made from one unit type to another would be minor and wouldnt interfere with amlas.
is this posible? if so how could i do...
I guess this is my first time to get serious with WML and Wesnoth, after all of these years. I tend to make assumptions based upon other languages I've programmed in and that's biting me in the back side! I've searched and read a lot and cannot find a working solution.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum