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...
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...
Actually, I think it already exists somewhere, but I can't find it. I would like to play the Two Brothers campaign. But red is always the enemy colour. This as my own colour is absolutely terrible. How change it? :x
I decided to create a wesnoth era and campaign based on my children dnd games. When we were children, we used to imagine a lot and me and my friends created quite nice and original ideas for fantasy world that i recently discovered in form of notebooks. Since it made me very happy to...
I tried to make an ability that inhibits opponents' attacks based on how succeptible they are to arcane damage.
I tried both
and
and neither of them does anything. I tested the rest of the ability by putting a constant instead (-35) and that worked, so I am pretty sure it is because of the value...
Hi,
first off could I ask where's the best place to seach for know/reported bugs?
I have an issue here that I don't think is a real bug, but rather something I'm strugging to pin down.
That said it'd be handy to know for sure.
Edit: long post deleted, I'd used parameters instead of ones because I...
I noticed that there is a list of names for villages in the name's generator. Is there a way to give villages names automatically (like we do with units)?
well, one of my persistent problems is droppable items so I appreciate any help here.
i want to create an items where any dying can leave behind an item so create this code (for testing so rand=1, one item with simple name...)
the problem with that code is that the item is always dropped on the...
Hi,
I'm testing custom amlas (again!) and have a cosmetic issue.
The images below are for 2 very similar units when they amla.
Zig's panel is normal but Magnus' info is scrunched into a scrollable window at the bottom.
I'm guessing that as Magnus' unittype has a slightly longer name that's the...
did or has_attack support many weapons names as value?
If no, what is the best way to filter units based on a weapon names macro?
I tried both and has_attack, booth with and without id= but the units passed the filter as it is always true
I finally started to dwell into the WML stuff and successfully created a _main.cfg and a first scenario file which worked fine for some time until I tried to make an moveto event which killed my file. Now I can´t find where to locate the is missing name or id field.
It worked before, but it seems I...
Hello. So I'm having difficulty transitioning between scenarios of a campaign. After the first scenario is won, the second scenario starts, the map loads, the prestart event works (summoning all units on listed in an array from the first scenario), but then the scenario immediately ends in victory,...
Hey all, I've been playing around with a custom teleportation ability for a campaign I'm working on. The campaign is big on stealth tactics, and moving units around to different parts of the map via teleportation. Most non-teleporting units move fast enough to not be a hindrance to the play style,...
I am trying to make an leadership ability where the damage bonus only applies to adjacent mages of a lower level. However, it doesn’t work; no unit gets a damage bonus, regardless of whether that unit is a mage or not. Would anyone be able to help?
Hi,
I'm playtesting various custom AMLAs and while they all work fine I have a question.
The setup
A player AMLAs a unit so they get +1 damage to a ranged attack (AMLA #1).
Later the player gains the opportunity to AMLA to a new ranged attack (AMLA #2).
You can make lava have its own movement cost in your addon. You need to make a custom lava archetype terrain, which will show up in the help but never be used on a map, and a custom version of the lava terrain that is an alias of the lava archetype instead of the unwalkable archetype. Then you need...
I'm working on multiplayer modifications for 1.12, and I need to code an AI detector into the mod's code so I can use it for vs-AI games and survivals. The mods have to know whether the current side is controlled by an AI or a human player, to trigger events, for example, on recruiting a...
EDIT: I found the solution to this problem in case anyone is looking for it. In the _main.cfg file, you have to load the macros defining abilities before you use them in your unit type definition.
Hi everyone,
I am trying to create a L3 advancement to the Saurian Soothsayer called the Saurian...
If you use an addon, era or campaign with units with levels above 9, in the GUI they are seen in almost all languages with ellipsis points. And you have to hover your mouse over to know the number.
Sin título.png
I found two easy ways to do it. One of them is to modify in the file...
Hello, I've been trying to get a custom scenario working, whenever I try to run it though I get an error of Failed to Load Scenario . I mostly copied the code from the addon WML Guide but mine doesn't work.
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