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:
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...
This code gets called whenever attack starts (to turn on) and ends (to turn off):
The problem: During the attck, unit will still use their normal accuracy, meaning they miss attacks, AND after the attack it says on their weapon -100% , so they can not hit anything.
The intention is that the code...
I noticed that effect apply_to= attack increase_accuracy=1000 and also set_accuracy=100 both get overwritten by marksman/etc. So they have 60% chance instead of 100%. Is there, a solution?
What is there out there?
At this point, I simply detest trying to get anything to line up nicely in a gui. After countless hours of error and trial, I've come no closer to having even a theory about how this stuff works.
I have two lists of units. In the right column, a header and a list of units on the recall list. It's...
hi,
I am trying to iterate over the modifications of a unit to get a specific modifications (trait) but I got an error except a lua or wml table but get unit .
how to fix that? and if someone can tell why is it wrong?
hi. I am trying to convert my droppable potions system from wml to lua. I used on_event context. I noticed that the items (image + table to store locations) are persistent between turns but disappear when I use reload turn. did someone have a clue about that?
I am surrounding. can someone provide me with a function to check if a unit can advance to another unit or to null?
I tried many different methods but I am stock.
Hi,
In tag I can access current unit and current weapon using WFL, which is great
...
BUT I don't know how to compare those two variables, because weapon object is only accessible in ,
which is the only place where unit object is hidden (overwritten with weapon object)...
Hi,
I'd like to simulate upcoming combat in the attack event.
And the wesnoth.simulate_combat requires attacker_weapon_index.
Any idea how to get it from weapon?
Thanks!
Hi,
I'm trying to make a version of that can accept a list of unit id s to simplify (remove) WML to winnow down choices.
The first unit in the list that exists on the map issues the message then the routine quits.
If no unit is found it does nothing (like normal ).
Hi,
I'd like to give a unit new weapon and the documentation says I need a weapon proxy for that.
However, it doesn't tell how to create a new weapon proxy...
So... do you know, how to create a new weapon proxy?
Hi,
I'm working on ability, that gives unit chance to retreat from combat, instead of receiving lethal damage.
How do I fire an event just before my unit should receive a deathblow?
Why does in start event gamemap_size == screen_size ?
How to repair it so gamemap_size == actual_gamemap_size ?
The green area is on x=0. y=0, w = (gamemap_width) , h = (gamemap_height) (so it should be only above the gamemap)
In start event: (doesn't work) Screenshot_20240516_092501.png
In other...
It looks like wesnoth.units.get(id) will only find units on the map, correct? If this is the intended behaviour I'll add a comment to the wiki.
So I switched to using wesnoth.units.find because I want to look at map and recall. Now when I'm done messing with the unit and I want to put it back , I...
(from line 8 all the way to line 131)
Do you have an idea how that image size editing macro works(what it does, looks like an absolute mess to me)?
When I have an image how to get image_original_height and image_original_width from it?
How could I convert those WML macros to Lua functions?...
(Version 1.15.0 and later only) All weapon specials except for , , and can be placed in the tag. These weapon specials as abilities will give that weapon special to all attacks the unit has if matches with .
Cool, but how? I'm guessing that the wiki omitted mentioning the tag, and I want...
When the status field in the right panel contains too much to fit on the screen, an ellipsis (...) is created and you can hover the mouse over the area to get a full list of the tooltips. At least, it does so when something like slowed or poisoned (presumedly statuses which are built-in) is added....
Hi
For S03 of my campaign, I'm planning some heavy time lifts and changes...
...
I already know how to alter the reality when starting the game (global variables, and map changes for example)
That's useful for me but it's not good enough for all of my ideas.
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