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, I need to double check something with you. I am just writing a Lurker Micro AI that takes around 70 lines and my brain starts tripping.
If I want to say only approach this unit if it is alone, i.e., has no buddies in the radius of 5 , would that be correct? Or would it catch the approached...
Hi all, I have searched the forums and the web but cannot find anything related to this.
In my first scenario you are cornered and killed by another character, this automatically displays the victory tab before moving to the next one.
Is there a way to avoid this and WML a jump to the next scenario...
I am working on some hand-tailored AI scripts and I am currently trying to figure out how to sort a series of values. Let's say that I have 6 units and I want to have an array of their hp values sorted from max to min. How can I do this?
Hi,
I tried to create a hides ability.
The ability shows up ingame, but it's set to inactive.
Maybe it's a problem with my code, but I couldn't find the problem.
Other abilities (but which are copied from the base game and not changed, like Heal or Leadership) work fine
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...
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