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...
I'm trying to figure out a way to make a teleport ability that allows the unit to go anywhere from anywhere. I based it on the original teleport ability but haven't found a way to get the desired results. It currently looks like this:
I'm tweaking an item in my UMC and decided it'd be great for game balancing if it did a different damage type (arcane rather than impact) against certain unittypes (mudcrawler variants to be precise). It already has additional effects against these unittypes but I cannot see any any (easy) way to...
Hi everyone,
here is what I am trying to do.
I want to have one object on the map that when picked up allows the side to recruit a new unit type.
Here is what I would like to do:
Here is what I am currently doing (not tested)
Do you have anything more simple that what I am currently doing?...
Im trying to add a dependency for my add-on but when i download it from the server i get an error saying that the add-on cant be found.
These are what I've tried so far:
Hi folks, I've decided to allow users to play for only part of heroes in my remake MP campaign. But the problem is that I forgot which setting makes it locked, so right now each side must be played, I want that players could assign nobody and play with sides they want, not with all five.
Maybe these are more design questions than WML questions, but I feel like I'm missing something, so I'll ask anyway. Is there an easy way to set a side's current gold to a specific value, instead of adding to it? I seem to have figured out how to do it below, but I'm surprised there isn't a more...
First my add-on was working then I changed the containing folder names to match the add-on better which broke the add-on, at which point i changed just the folder name and it started again. So are there any rules for naming the folder.
For the records the names were Advancment_Test then...
I've been working on making damage events where if someone is standing in a particular place at a particular time, they become liable targets to said damage. I have come over a couple of road bumps though. Firstly, I do not see a way to randomly hit one unit and not another in the defined...
Hello again, I'm having problems understanding variable even after reading the wiki.
My objective is to store the turn at the certain moveto event and three turns later it should fire a new event but I really can't figure this one out so any help is appreciated.
I am working on terrain-related add-ons and I've found code in a water-macro from the dev-team:
And the interesting part is:
is_water isn't documented on the TerrainGraphicsWML , so my question is, what exactly does it do and how does it function? Are there any other key words I can put in into...
Hello everyone, i'm trying to write dialogue and i want any unit from the given side to speak EXCEPT for the leaders.
The scenario has 2 player controlled sides so i want units from both side 1 and side 2 to be able to trigger the dialogue. However i don't want the leaders to speak, for exemple :...
Hey, it's me again. I tried new things and well... At least the scenario starts ? lol.
More seriously, i don't really know why this happens (as i have no error message at all) but at the beginning of my third scenario my 2 player controlles sides do not spawn their leaders (nor the 2 units i want...
Hello everyone, i tried before and here i am trying gain with 0 computer experience whatsoever. I want to make my own campaign.
Looke dup the guide and everything and managed to do my first scenario without any trouble. So naturally i go forward and try to make a second one. Code looks good...
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...
Hello. I want to create custom economy for my add-on. There should be gold coins, silver coins, magic ore and many more. Is there any way to export these custom variables into ThemeWML or I have to change game's source code?
Here you can give me, Pipapopinguin, feedback about my add-on Breeze/Wind Modfication. I know that it currently just works on normal grass tiles. You can also give suggestions on where to bring this add-on next, but keep mind that I'll hve to programm and paint that stuff myself.
Hi,
I don't know if this is on topic or off topic.
if it isn't, I , really sorry
So, is there a way to update maps (and scenarios if ever possible) between different releases of wesnoth?
I mean instead of redesigning them hex by hex and line by line :cry:
After adding a fair chunk of new code I decided to playtest from the start again (new campaign).
I had not changed scenarios 1 or 2, made minor changes to scenario 3, added lots of macro code and done stuff in the later...
I am trying to create a custom race for an era that I am making. The main purpose is to have a names list separate from wesnoth core, that might be found in another nation. However, units that I assign this race to always show up in miscellaneous.
Is there a way to see the value of this variable during the gaming process? Something like 'print()' in python.
Or there is no way to do it, and I should use a Lua method instead (and how)
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