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:
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...
I really liked the tag.
I think it is very useful.
What about the idea of developing a similar tag applied to villages?
The idea is a tag that returns true if the village is owned by the player.
The attributes of that tag could be the x,y coordinates of the village and the side of the owner.
Hiho!
I could need a helping hand to properly define the prison gate terrain for Two Brothers, 3rd mission. I did replace the magic wobbeling thing with the iron gate image. Here is how the code currently looks:
I was not able to directly define the scenery part directly as terrain so I had to...
This is what I want to do: When a unit moves into a certain area, i want to check if that unit has learnt the 'tracking' skill. If so, it triggers a message telling you stuff.
There are 4 units, each of whom may or may not have the skill. Since there are numerous...
I've got this little campaign where I'd like to have some persistence to the enemy. So far I've been able to provide the same enemy leader (unit and xp) with the same recruit list for different scenarios, but can't get AI to recall.
zookeeper suggested I check to see if AI can recall by providing...
I did have this working yesterday, but after some changes it stopped working, and my most recent backup of the scenario didn't help me fix it. I get the error Unknown unit type '_lv_' whenever it executes.
First, what it is supposed to do. SIDE is a numeric value 1-4, NUM a numeric value 1-3...
Is there a reference that has the AI algorithm in some kind of pseudo-code that doesn't require specific knowledge of C++ or Python? I've been having a hard time predicting what the AI will do in certain situations where I want it to behave in certain ways. (example, getting an AI to recuit and...
I tried using it in a map recently, and other players would get OOS whenever the event fired, and also would not see the results of that event. Is there any workaround I can use to have an event fire only when the AI is in control of a unit without causing OOS in multiplayer?
I am working on a scenario where I would like to have the following situation occur:
After a certain turn, one of the AI sides decides to retreat. What I want to have happen, is that all the units of the side try to run to the easternmost side of the map, and if they reach it, they escape (Removed...
First, what this code is supposed to do (as part of DotG, Defense of the Goblin, where each player side controls only 1 unit). When it is side N's turn, if missile_damage_{N}>0, that means that player's unit has the ability to shoot a missile that deals missile_damage_{N} damage to a target of that...
Is there a way to trigger an animation within an event?
For instance, when something happens I want lightning to strike a unit. How can I use delfador's weapon animation and set it to occur on a hex of my choice?
Also, say a white mage drinks a potion. Can i make the unit do its healing animation...
I have a proposal to the discussion page of the VariablesWML reference page in the WIKI. I would greatly appreciate it if some of the seasoned contributors, both here and in the WIKI, would take a look before I wind anyone up by making a modification.
I have been trying to debug this event for ages. The idea is that when units die they are sent back to start location and turned to stone for 5 turns. This event checks all 'stoned' units every turn to see if they're due to 'unstone'.
Note: I've written a macro to quickly unstore units
What I'm trying to have happen is for certain units in a scenario of mine to have the heal + 30 ability. (Even heal+4 or heal+8 is better than nothing but I can't seem to assign those either) I've tried several ways to get this to work, but unless I want their sprites to all be Elvish Shamans/White...
I want to remove the fog of war from a side partway through a scenario, but I can't seem to find anything that will allow me to do this - I've looked at almost every page of the wiki, and I can't see another campaign that does it.
Also, I want a unit to be (temporarily) invincible - any unit...
I am making progress on my first scenario, thanks for everyone who has helped so far.. its not playable past the first turn yet, but it loads just fine
I would like to get it so i can get past the first turn, but i cant seem to get even the the simple defeat enemy leader to work so far..
Hullo. In my scenario there's an objective to find and retrieve an item. I have an item placed on a map(let's say at 1,1) and I want it so, that any unit from side=1 can fetch it an return it to home(let's say to 2,2). The problem is that I need to get a handle to that certain unit, to check if it...
I have a created unit (timed event) that shall be able to recruit other units - let's call him leader2.
Now I figured a strange problem: sometimes the original leader cant' recruit. It seems to depend on the position of leader2, and even the position of leader1. I have two recruiting spots, and...
Hello. I'm relatively new on WML an started to write a scenario. I had some trouble, but managed to proceed by learning from the wiki, this forum and already existing scenarios. Now i have a problem. I created a unit (timed event), and i want this unit to have certain traits and abilities etc. I...
I currently use a pretty awkward way to animate movement: hide_unit, move_unit_fake, teleport unit, unhide_unit. The problem is that at the end of the movement, the fake image disappears and it takes a short time before the real unit shows up in the same hex. This is very noticeable. Is there a...
Is it possible to instantly center on a hex? The scenario I created seems to scroll from 0,0 to the location of my leader at the start. I'd like to have my leader centered instantly.
Question 1. Are all WML variables global? There seems to be something going on with variables declared in events, or across nested macros, but I don't quite see what it is. Could someone provide a clear explanation of variable scope in WML? At the moment, I can't tell if the behaviours I'm seeing...
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