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...
Hey. I'm working on making a modification to A New Land that is going to be called Rise of Empires. If you want to know the details on the project just go to the Rise of Empires topic in the Factions and Eras section. The problem is I'm having a real hard time getting my WML to work and the Wiki...
The first scenario was working just fine, when I added the second one, it started telling this to me. And if I just remove the second scenario and change next_scenario=null it still won't work
I checked every #ifdef I used, and all of them are closed. Also, I...
So, I was thinking, it would be useful to start a topic about what kind of stuff weighs down a game, needlessly boosting the size of files and/or making MP games laggy.
Basically, can anyone offer any tips on streamlining WML?
Ok... So I'm wanting to make some modifications to A New Land and eventually create my own add-on from it. So I made a copy of the entire folder. Then I went in and change the macro import statments to read the right directory and I make my changes that are in the macros... Then I go to the game...
Ok I'm starting to get the hang of the wML, now I have too pretty simple requests.
Question 1:
the AI in my first scenario simply recruits a full fort of troops, than goes capturing villages, than recruits nothing at all. Why could that be?
Ok, i dont know how to program, i had no formal schooling in computers but this WML looked somewhat easy.
So i bravely tried to make simple scenario like walk from point A to point B, kill a guy = WIN!
But it didn't work. It wont even start scenario, says it cant find my file. I tried looking...
How about a new sticky topic, for working wml code? Or one for stable and one for dev. The lack of example uses for every tag in the documentation, could be offset by people being able to see others working code. I know you can look into other campaigns, but having a one stop place for a large...
I want to make a weapon that converts any monster, when hit, onto the player's side. Then on subsequent turns ai turns, I want to run through all the 'tamed' monsters and give them a 50% chance to revert to the ai side.
(I also want the monsters to be only ever tamed once, hence the role=wild -...
I added a temple into A New Land so that units can get their health upgraded too... The problem is that I want each unit to be able to go to the Temple once and the Blacksmith once... But my code doesn't seem to be working... The guy who wrote ANL has some nice code but he has alot of (function...
Hey, whilst making the Minotaur faction i wanted to include a skill for the exectutioner called Killing Blow. What it does is that with every attack there is a 10% chance of doing an extra 50% damage (almost like a critical hit if you will).
I.e.(taken from factions page) An executioner hits with...
When I try to load this era in multiplayer, I get the error message,
Error while playing the game: game_error: unknown unit type 'Warrior Cat', then the game quits to the main menu.
This is the code for the era.
Hi, im a newbie with all of this WML, but i have some proplems with my campaing (i alreday have opened a forum with my problem but no one tells me what is wrong), anyway, i really nedd a helping hand here, my campaing is alreday in the server, so please fell free to check the files, since there are...
Is it possible to set the movement costs to zero for a unit on a specific terrain. I've got a big map where it would be nice to have some sort of supply line for reinforcements. Multiple keeps closer to the front line are problematic because the fighting takes place on all edges of the map...
I would like to give a unit the ability to exploit the vulnerabilities of the units it attacks. I can get the effect that I want with:
However , this applies the effect to all enemy units surrounding the exploiting unit for any attack from any unit. I would prefer to have the effect only apply...
Once they've killed everything in the general vicinity, will they go back to inactivity, or will they act just like normal units?
If, as I suspect, the latter, is there any way to get a unit that isn't the leader to hang around the keep but still fight against enemies when they enter the general...
Hi Everyone!
I have been working on new spell effects to make mages more interesting than the glorified artillery they currently are. I have just finished the WML code for my Hexx spell effect that works kind of like a contagious 24 hour virus/poison. The caster gets one turn to escape before the...
It said, “There are also two new keys listed, village_value and leader_value.†But no further description of the two lines were given. What are they for?
I crafted this unelegant solution to a fancy animation problem that I was having on my campaign, but I was wondering if there are any fancier, more elegant or faster (in terms of engine's CPU usage and WML parsing) solution out there.
I'm posting it in any case if you find a good use for it, but...
It seems to me that the scaling of them (background images in tags) looks really, really bad. Not on all images, mind you (it works great for the default HttT stuff) - but on, for example, maps, it looks rather bad. One of the major problems is that the labels get blurred. Plus it IMO looks rather...
I am having some troubles figuring out where I need to look, to figure out something I do not know the first thing about. Say I have some code...I understand the gist of the above code, but I need to add some more code to it, to make it so that: a) the unit moves to one of the areas identified,...
Hello, I am writing a MP scenario, and I set up some sides. Sides 1-4 are players 1-4 and they're all allied, side 5 is a null side for some peasants that are not controlled by anyone and don't have a leader, side 6 is all ai enemy units, side 7 is the ai king in the game who has some units that...
What I'm trying to do is make text in the shop appear white /normal color if the character has the relevant amount of gold, but if not then it would appear red. I've tried different coding but they don't seem to work, and I can't figure it out. By the way, I'm a WML noob.... Here's what I've tried...
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