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...
I'm building a preferences menu. Preferences can take multiple forms, such as the simple bool for which I am using a checkbox/button. I use a table to hold preferences, along with things like their default value, range, etc. These will be displayed in a tree_view, with the node type depending on...
Hi,
I'd like to create a message which would like
WML and Lua gui.show_narration,
except with custom(my own) background instead of that blue box with golden sides.
How to do so?
Shows a 1) text and background, text has that golden bar/line above
----------- 2) when no background is given it shows a text on black background WITHOUT THAT GOLDEN BAR/LINE!!!
An I'd like to display text WITH background, but WITHOUT golden bar/line . . .
How to do so?
How to show a...
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...
I've asked this question already... but got no answer.
Is there way for add-on to register when key is pressed on keyboard while gui.show_dialog is active?
I'd like to dialog:close() when >space< is pressed, just like in
Hi,
I've finally bitten the bullet and decided to make a coherent attempt at learning lua.
It's slow, but I'm making progress.
I have some very basic lua that works, I'd just like to sanity check my approach.
All I wanted the code to do initially was confirm the value of some lua variables in a -...
some assistance with lua is welcome here.
an auction between human side and 3 ai.
the unexpected behavior is that:
1. at the label draw, there is still one unit with more than one bet (they are supposed to be merged)
2. the sum of bets of the AI side is still superior to 1 while they are supposed...
I'm trying to create an example of using a spinner, since I can't find one. I had a hard time figuring out how to get the value out of it, and while it works, I'm not really happy what I did. So, what is the right way to do this? It seems like there should be a spinner.text, not...
Hi,
I need to understand the difference between and
I have two functions here:
I get two arrays, one from to , the other from to .
I will use wml.fire but I want to understand why gave different result?
also, any comment on the code itself is welcome ofc
Is there a widget that provides text search, and maybe some docs/examples?
I'm looking at data/gui/window/unit_recruit.cfg. It has a text_box, with that promising FILTER_TEXT_BOX_HINT. But I can't find the stuff that actually acts on said text.
I'd like to change some variables stored in units (namely attack.specials.dummy.name)
How to read and rewrite these variables stored in units stored in lua?
I have a table of preferences. For some preferences, I only want them to be visible if certain game events have occurred. So I'm looking to store my test condition as a string in the table for later execution. For example, the discovered field for the blood_rain item:
I uploaded a new addon some days ago.
The add-on contains multiple GUIs, some of them are related to events in the test scenario, some not.
The add-on offer a way facilite using and learning GUI development for beginners in wesnoth community. Although many comments are disorganized, the user will...
Hi,
I've got a silly idea, how to change golds description in counter (now it says Gold the amount of gold currently avaible to recruit and maintain your army and I'd like to change it to something funny(idk what exactly)...)
Any ideas how to do so?
Hi,
How to get the code of the wesnoth.interface.game_display.income function?
Or how to modify the string coming into text and tooltip?
...
I want to modify the function, NOT entirely replace it(if I don't know the exact code).
So I have this ordered list of units which I present in a tree_view along with buttons which will eventually enable the user to move a unit up or down in the list. Currently, I'm trying to use a button with a callback. My problem is I can't figure out how to pass arguments to a callback. This is...
I have a multi_page object, where one page is a unit description (same page for any selected unit, not one page per unit). I've found that when I change units I need to clear out the old data (if unit A has 5 abilities, and unit B has 4 abilities, when I switch from A to B I see B's abilities...
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