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...
Hello, in my quest to patch up 1.15 World Conquest, I have stumbled upon these two deprecation warnings (the last 2 left).
I have checked the wiki but I have found no documentation related to these things and the warning messages don't really seem helpful.
On the topic of map:get_tiles_radius -->...
Getting the following lua error, I believe when enemy units are supposed to drop an item (although I have seen item drops work, at least with 2 players):
Seems simple enough, it identifies the file and the problem (assuming I'm reading it correctly); z_index is being used without being defined....
The call to wesnoth.find_path is causing segmentation fault.
Any help would be appreciated.
Thanks
Edit:
Passing a unit as the first parameter won't crash find_path.
I need to use find_path without having a unit defined. How can I do that?
How can I call the map generation version of...
So after uploading my add-on 'Ageless World Conquest' in 1.14 by Duuuude there is an issue that the standard (Default factions) World Conquest 2 is getting Ageless enemy leaders/commanders recruited. Although it is a different add-on, WC2 is reaching into AEWC2 and choosing ageless leaders for...
Hi everyone,
I'm currently developing a campaign that an item management system written in lua from another add-on (LotI).
I am trying to overload a function to modify which unit can use what.
I have already succeeded for function that does not take an input parameter, but I cannot find how to do...
I have much programmed in Lua long ago, but my very bad memory cannot remmember anything of the details. Below a few issues I find myself unable to deal with alone:
* I have searched long, also much on the lua users wiki, but there definitely seems to be nothing about directories,...
I am making a new tag-block and would like to allow users to indicate the units by WML var names.
How is it at all possible since a SUF does not have a variable= key? (or I did not find it)
I know about the sub-tag but it first converts potential units into a WML var (and complicates, and also...
I just had a Lua error, think (and hope) it may be a stupid bug by me, but who know?
attempt to call a nil value (field 'move_full') in ai_helper.lua at line 218 (if/else block below). This is in function 'checked_move_core':
'checked_move_core' is itself called by 'checked_move_full'...
The way the path finder presently works is pretty weird in my view. I take it for granted that the one we access via wesnoth.findpath is the same as the one in the player interface; in any case, they show identical defaults (for my uses). If it is not the case, the reflexion remains valid --if it...
Maybe it's just an issue of funny naming:Wwhy is cfg called that way? Why not input or params ? Can I safely assume that it is always, and only, params/input stored in a table? (or userdata)
What is __cfg?
What is, clearly and factually, __literal? And...
I'm an engineering student and I have a project of creating an AI for Wesnoth using Reinforcement Learning. Since python is generally the best when it comes to ML, we wan't to create the brain of our AI using python and use the LuaAPI to communicate with the game.
Initially, I wanted to use...
Hi I'm showing an ability on a unit and want this to display under the unit icon for the player who owns that unit only, i.e. I want enemies to be unable to see that ability on the unit's map icon, the ability is added/removed over the course of the game... I've tried filtering of various sorts but...
For a while now I've been working on an element -themed multiplayer era for Wesnoth 1.13. It seemed like I knew how to use the LUA script up until now, when I noticed a problem that I can't figure out how to solve. There are four LUA scripts being used:
Is it possible to synchronize the game all and have all players have the same info as one side in particular, at the end of a set menu item event? :hmm:
I made a custom dialog with a listbox. As the list gets bigger, the dialog grows until it hits the edge of the screen. I can't figure out how to make it stop growing at a more reasonable size. (It has a scrollbar.)
Hallo. Does API for addons allows to read some random tags? Hmm, wat i'm trying to say... For example, may i create some custom file with proper tag structure but using totally unknown (new) tag names and then read it from script? Thanks.
What is Lua used for exactly? I was under the impression that WML was the sole scripting language of wesnoth. Is the language an alternative to WML? How do the two relate exactly?
Lua is a very interesting and powerful language; ever since starting with wesnoth UMC development, it has always intrigued me, and I've always wanted to participate in the discussion on the Lua Labs forum... And I don't believe it; I'm here!
So I went into the LuaWML page, learned some basic...
I started writing a campai(g)n longer ago than I care to think on v1.12.
With 24 scenarios completed and playable I decided that I'd upgrade to 1.14.4 as I needed to check everything worked on the latest release.
My PC runs Windows 7 Home Premium Service Pack 1 and has Intel i3 so it's not...
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