Search results

Page title matches

  • reasons. Here, we shall try to explain how to use them with more details than in the reference wiki pages. But the goal is not to replace these pages, and we assume you have at least some
    40 KB (6,054 words) - 14:13, 21 October 2022

Page text matches

  • ...ity functions that are useful for implementing custom Action WML tags. All examples on this page will assume it has been loaded by: local utils = wesnoth.require "wml-utils"
    6 KB (947 words) - 18:05, 18 April 2024
  • instead, they show something to the player. The main interface tags ...ght up with [[CommandMode|the ''':inspect''' command]]), which can be used to inspect the values of WML variables, AI configuration, recall lists, and mo
    46 KB (7,208 words) - 23:30, 16 April 2024
  • ...oves, what '''candidate actions''', '''aspects''' and '''goals''' are, and how they interact. If you do not know these things yet, check out the [[RCA AI ...inning of a scenario with [ai] tags inside the [side] tags. They are used to customize certain aspects of the AI. The [ai] tag, when used for this purp
    35 KB (5,668 words) - 01:32, 25 February 2024
  • ...scribe one modification to a unit. Any number of [effect] tags can be used to describe a complete modification. ...ct]]] with a limited ''duration'' to apply an [effect] will cause the unit to be rebuilt without the effect's effects when the duration expires.
    23 KB (3,461 words) - 00:56, 1 May 2024
  • Map Generator WML is used to create scenarios which are randomly generated. Of course, any scenario may * Wesnoth has several built-in map generators which can be configured with options, and these are much b
    17 KB (2,666 words) - 18:04, 26 July 2022
  • ...t do not directly affect game play (or, at least, are not readily apparent to the player). For example, storing a variable is an internal action. ...riablesWML|variables]]. Creating them, modifying them, capturing game data to them, you name it, these actions are all about the variables.
    37 KB (5,920 words) - 05:49, 27 February 2024
  • A ''filter'' is a special WML block. Filters are used to describe a set of units, hexes, weapons or something else.
    9 KB (1,508 words) - 10:39, 11 November 2023
  • When a unit filter is applied to a map, first it applies to all units on the field, Next it applies to units in the recall list.
    13 KB (1,965 words) - 15:41, 26 April 2024
  • ...subdirectories containing the _server.pbl file will be published. Your add-on must be based entirely on these paths. ...not done so, and [[Distributing_content]] for more on uploading an add-on to the server with this file.
    13 KB (1,973 words) - 08:08, 19 April 2024
  • ...nside the [event] when Konrad moved onto tile 4,8. To do so we had to make use of the variables x,y and description. ...store 'Hello World' in a variable named ''message_to_the_world''. This is how we would do this:
    7 KB (1,140 words) - 08:24, 23 April 2021
  • ...store_locations]. Generally, if the tag [filter_location] is not mentioned to be a possible subtag of the outer tag in question, then don't put it. The following attributes and sub-tags are permitted:
    13 KB (2,092 words) - 14:57, 26 February 2024
  • This page contains basic examples of WML. For more examples, you can look at the data of Wesnoth using a text editor.
    4 KB (448 words) - 18:49, 11 March 2014
  • ...bstitution|<code>$(formula)</code> substitution]] syntax, which allows the use of formulas wherever variables are parsed, but it can also be used in [[Fil ...al meaning in WML. Some locations (for example unit abilities) require you to enclose the formula in parentheses, taking the value as a simple number oth
    48 KB (7,291 words) - 01:30, 30 March 2024
  • If you are such a person, you should feel free to edit this page. .... A coder with better knowledge of the code might give you the green light to add your feature here.
    15 KB (2,460 words) - 07:17, 6 May 2024
  • {| class="wikitable" style="text-align: center;" That applies to both the code and these wiki pages.
    16 KB (2,683 words) - 15:21, 7 April 2023
  • ...ag is a subtag of the [scenario], [unit_type] and [era] tags which is used to describe a set of [[ActionWML|actions]] which trigger at a certain point in ...t in most discussions and the event handlers are therefore simply referred to as "events" in this documentation.''
    44 KB (6,986 words) - 17:13, 24 March 2024
  • ...r list? If that is the case, what project did you select? What do you want to especially concentrate on?''' Description of my proposal on how to tackle this project can be found here: [[Zaroth_Multiplayer_Improvements#Pl
    44 KB (7,542 words) - 19:06, 5 May 2023
  • ...as [[ConditionalActionsWML#.5Blua.5D|ConditionalWML]] It makes it possible to write actions with the [http://www.lua.org Lua 5.4] language. {{DevFeature1.13|?}} It is also possible to put this tag inside a [scenario] [[ScenarioWML]], those tags will be execut
    22 KB (3,191 words) - 02:14, 25 April 2024
  • ...a summary of the available documentation. This page is a reference guide to the Lua AI functions, variables and component syntax. ...ation]] and [[Creating_Custom_AIs#Execution_Function|execution]] functions to code the desired AI behavior.
    22 KB (3,533 words) - 23:27, 9 April 2024
  • Variables in WML are used to store data for later retrieval. Each variable is identified by its name. On ...are case-sensitive. Though technically permitted, it is recommended not to use an underscore as the first character of a variable name.
    21 KB (3,325 words) - 16:25, 24 February 2024
  • ...idea of WML Validator is grammar based validator on C++ generating '''USER-FRIENDLY''' error messages in gcc style. '''E-mail:''' nsytyi[at]gmail.com<br>
    18 KB (2,642 words) - 11:13, 14 October 2013
  • {| class="wikitable" style="text-align: center;" That applies to both the code and these wiki pages.
    17 KB (2,764 words) - 15:22, 7 April 2023
  • .... The down side is that there are now a large number of different methods to do more or less the same thing, which is unnecessary and, quite frankly, co ...more. We recommend not using them any more and, ideally, update old code to the new methods.
    32 KB (5,391 words) - 19:39, 15 July 2020
  • {| class="wikitable" style="text-align: center;" That applies to both the code and these wiki pages.
    12 KB (1,938 words) - 07:56, 19 April 2023
  • ...thout the need for any AI programming. They bring new specialized behavior to Wesnoth that cannot be achieved, at least not easily, by adjusting default ...e, and in the case of [unit][ai], a [filter] tag set to limit the Micro AI to that one unit.
    115 KB (19,006 words) - 17:35, 16 August 2023
  • ...) about the game state, i.e. which units are where, how much HP they have, how much gold each side has, etc. More precisely, OOS is announced when a clien ...ode. This page is about how to write WML that won't cause OOS. If you want to know what you should do if you get OOS in an online game, see [[http://foru
    14 KB (2,373 words) - 08:03, 19 April 2023
  • ...the earlier you notice that it's broken the less code you'll have to read to find the bug. To make the game notice changes to the WML files, either press F5 on the title screen, or start the game from
    17 KB (2,325 words) - 20:35, 29 January 2023
  • reasons. Here, we shall try to explain how to use them with more details than in the reference wiki pages. But the goal is not to replace these pages, and we assume you have at least some
    40 KB (6,054 words) - 14:13, 21 October 2022
  • The sides module is only available in the game. It is not available to plugins or map generators. * {{LuaGameOnly}} '''wesnoth.sides.match_side'''(''side'', ''filter'') &rarr; ''boolean''
    9 KB (1,334 words) - 17:53, 18 April 2024
  • ...elling and gameplay using events, but before that we're going to learn how to make our own macros because that's extremely useful for making various thin ...campaign. To do that, in ''_main.cfg'', in ''#ifdef'' section, we're going to place the following line:
    28 KB (4,415 words) - 16:53, 25 November 2021
  • ...e <tt>host.lua</tt> and <tt>join.lua</tt> scripts which are used during CI to test hosting and joining a game through the multiplayer lobby. The '''context''' object contains various functions which can be called to change or set data (mutators).
    10 KB (1,387 words) - 05:50, 30 September 2022
  • '''''Note: This page is still a work-in-progess and may contain errors.''''' Broadly speaking, there were three ways to use FormulaAI.
    20 KB (2,693 words) - 03:26, 9 April 2023