Several of our mainline campaigns are in the works for upgrades at the moment, which includes adding characters and enhancing existing scenarios. We are looking for more artwork to supplement these upgrades, including the following:
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...
This lists removed WML functionality and helpful hints for avoiding pitfalls.
A similar thread for changes before 1.18 can be found here .
Compatibility breaking (requires updates to work)
now reduces target unit hitpoints to 0 before triggering last_breath, die events. This affects mentioned...
Here you can find configuration files to enable WML syntax highlighting for various text editors :
Gedit (and other Gnome based editors): Has full WML support and partial inline lua support.
wml.lang goes in /usr/share/gtksourceview-3.0/language-specs .
cobalt-wml.xml goes in...
The purpose of this thread is to provide links to particularly useful information and code examples of WML and Lua on the wiki, without cluttering up this forum with more and more stickies. As such, the wiki pages linked here should be kept working and up to date - if an unmodified piece of example...
Does you campaign produce obscure WML errors on startup and you don't know what line in your 2000 lines of WML causes it? Instead of going through everything line by line and try to spot the mistake you've made, or before posting your entire campaign on the forums in the hopes that someone wants to...
People often use WML attribute or tag names that are misspelled or just plain fictitious when trying to debug WML — or even tag structures that (to the trained eye) are logical to the writer but have no basis in reality. You should always look up the proper format first, and we have a dedicated...
Hi everyone! Got a question about how the preprocessor works.
Let's say I have the following code
I expected that {TEST} will be macrosubstituted and I'll get an event with name Test my event , instead I got an error during the preprocessing stage saying Unexpected characters after variable...
I am reading wiki on it, and I would like to ask for directions to find some comprehensive examples. Ctrl+F on forum gives a lot of results but not what I am looking for.
I need to define locations as empty hex that belongs to the location A and has adjacent unit on e,ne orse, but no...
When Fog of War is active, the opponents stats are hidden in the status table. Is it possible to change that somehow (I suppose it is not possible), but I have a single-player-map with Fog of War active, and I would like to enable the player to see the stats of the opponent in the status table....
I need to ask, because wiki is a little too concise on the matter. Is it possible to fire an event if a specific unit, e.g., race=dwarf, fires a ranged attack and hits?
What I want to achieve is to trigger an event after a Dwarf Thundered line unit fires its musket (and hits, thereby...
Hi!
The aim I'd like to achieve is to have a castle on the map with an adjacent keep, but not to allow recruiting at that location. (Only at that location).
In previous versions of Wesnoth, I could do this by simply placing a Castle Overlay on the Keep tile. That way, the keep tile was in fact...
I'm playtesting a scenario and am, for the first time, using the goto micro_ai on a subset of the units in an side.
I've used this before with no problems but now I'm getting an onscreen error that I can't even work out what I need to do to try and fix it.
Walking corpses and soulless have many variations for different races, is it possible to add a variation to a recruit list/faction? What would be the id of the unit, when I put soulless I only get the standard variant.
I seem to misunderstand the application of vision in my example Unit Type. I’m trying to make a static structure with vision range 11 (modified by in its movement_type). What am I doing wrong?
The movement_type should dictate a static unit with a maximum vision range of 11 hexes. It can’t even...
Hi. I need to ask this, because testing might be a little obtuse:
Is it possible to implement conditional tags into tags? The intent is for the next level intro to differ depending on player's decisions from the previous scenario.
Hi,
I was changing working code (as you I do) and managed to generate a WFL error when the macro containing the WFL is called (i.e. the error appears on screen during gameplay).
Hello! I want to talk about tag. I have no idea how it works! But I noticed that even when I use different types of images, the result is the same. (I'll put the images at the end)
With these graphics, any of the images are displayed normally (unless I'm going blind and didn't realize). Are...
Hi all, thanks for any help! Years ago I began building my own campaign, which, incredibly, actually functioned despite my lack of knowledge or experience. I have tried boiling the project down to the first scenario's basics, but it still refuses to run.
I believe I last worked on this project...
Hi,
I'm working on custom abilities...
How to set value in to a value based on the properties of the weapon used in attack by self?
For example, I'd like to add accuracy equal to $(damage of the weapon unit uses * 5).
How to do so?
(Sry for ping, but it's hard to contact you)
You told me on...
ok, I give up
some months ago i posted a wrongfully named question about abilities that i named traits
in which i tried to understand how does it work and why it doesn't work on me
good people here helped me, thanks a lot, but then i tried to copy an ability from one campaign to the main game
I...
Hi,
Just posting to check I've not missed an elegant solution to my problem.
I want to identify units adjacent to an array of stored locations (that vary every turn).
My code works fine most cases.
However this array includes border hexes and it is possible for a unit to be adjacent to only border...
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