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...
how do I make changes to my cfg file ,whenever I open it and make changes with the text editor, I'm unable to save the file, it says couldn't save document as abilities.cfg in folder data
WHOEVER READS THIS, PLEASE GIVE A REPLY :cry:
I'm using mac os x.please tell me the correct procedure of...
I'm unable to open a cfg file, whenever I try to open it, it says you have dragged a file onto battle for wesnoth.Do you want to install it as a user campaign?If you choose to install it, it will be copied into the data folder and a backup made in the wesnoth preference folder so if you guys know...
(drumroll please)
***TEXT HIGHLIGHTER***
Here is my first real contribution to BfW.
I have made a text-highlighting feature for Wesnoth WML. This may or may not be helpful; however, I have found in using it that: 1)It helps me to remember to close my tags. 2)I can scroll through my WML files...
[quote= In another thread, I ]Is there any way to put a theme into a separate folder? Although this theme works, it only modifies what images are in the images\misc folder. I know that the default themes share the folders, but I do not want to have to have to gather my theme from the four corners...
Okay, for some reason, this isn't working. I'm trying to start this campaign, but it refuses to acknowledge my custom pictures, no matter what I do. Am I missing something here?
I'm on 1.3.9, Windows. All the images in there are in the images folder in the campaign folder, but aren't showing up....
I have a unit that if he is killed, explodes. I'd like to model this as a final attack against the killer with the usual chances of success, resistances etc. Is it possible to launch an attack via WML this way? If not, what's the alternative?
Just a quick and easy question which i can't seem to find the answer on the wiki, every line of code works except for the hitpoints and moves , on the start of the scenario, the grunt gets 200/46 hp and when it gets to my turn the grunt's hp gets decreased to 46/46. And the moves=10 don't make the...
I had been testing using a saved game at a certain point and tweaking my abilities code, but now I'm wondering if part of the reason it wasn't behaving as expected was that it had saved the old code.
I had this problem when i was trying out new ways to use WML, in an event, i want the AI's units to move to a specific location, say x,y=20,20, and after it moved there, it would trigger the event which makes defeats the enemy. I know all the events and filter tags, but as far as i searched on the...
I was just wondering if a macro already exists to save a unit or group of units as a variable (i.e. boarding a ship) and then returning a unit to the map nearby the ship. I think this has been done before, and if there isn't one I'll just program it myself, but I was wondering if someone else had...
I'm thinking about writing a php script that let's you upload a saved game (after it has been won/lost) so I can let it retrieve some data from the game. I want to use it for the ladder.subversiva.org
Now, to my questions. If you're kind enough to help me out, please answer using numbers before...
The idea behind the Battle Tutor Ability is that any unit who fights (either as an attacker or a defender) and is adjacent to a friendly Battle Tutor will gain an additional 1 XP from the fight.
Instead, what happens is, every time there's a fight everyone (regardless of side or location) gets a...
As you know, my era has an ability that gives XP every turn. This works now (thanks Pauxlo!).
The problem I'm having now is that units advance off-screen and you're asked to pick an advancement without knowing which unit is advancing! I came up with the below code to scroll to a unit. The wiki...
I have no working knowledge of WML but i'd like to know if it was possible to merge two units together.Could this be done as an ablilty, or would it have to be a macro?Can it even be done?
I am wondering if someone has already attempted this or not, but I'm working on a part of a scenario or a macro that would allow a player to open a menu and change their team durring a battle. Is this possible? And if so, Has anyone else already done it? I've done some looking under the wiki, the...
I think it would be very useful to be able to in WML say Unit X attack Unit Y with Weapon Z and would like to propose it as an idea in the Ideas forum.
I thought it best to check here first that it's not already possible though.
Background
Im creating a faction for spacenoth, and need some help coding some parts of it, mind you when it comes to coding i can only just make a faction work, so im no expert, so when you provide me with help try and keep it in the simplest terms.
hello. I need help with doing my new ability wave of plague (I don´t have better idea for name) which do -8 damage on begin your turn to all opponent´s units next to it. so I tried:
#define ABILITY_WAVEOFPLAGUE
# Canned definition of the waveofplague ability to be included
# in an clause.....
I'm trying to understand how WML works. Hopefully an example can make the question clearer.
I have a custom ability Contemplative that increases XP by 2 per turn for the unit with this ability. Contemplative is defined as a macro in unitdata/abilities.cfg which WML knows how to find because it's...
I'm trying to make a scenario, but I'm running into some trouble. The error I get when I start up the game is Missing closing tag for tag side and it references line four of this file (BifThog1.cfg}:
I'm modelling my WML structure off Windsong. I notice that they have a type field in the and my code doesn't work without it, but what purpose does it serve?
It's not described on the wiki page for and its purpose in - to state what type of unit the leader is - makes little sense in MP where the...
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