Search found 53 matches
- May 6th, 2019, 4:17 pm
- Forum: WML Workshop
- Topic: EarthCake's problems
- Replies: 95
- Views: 14673
Re: EarthCake's problems
It's not map_data, but just map (or map_file).
- July 3rd, 2018, 8:54 pm
- Forum: WML Workshop
- Topic: Way to limit number of players per faction
- Replies: 3
- Views: 1522
Way to limit number of players per faction
Is there way to set limit of one player per faction i multiplayer scenario, so there can't be two Loyalists or two Northerners players?
- July 1st, 2018, 10:55 am
- Forum: WML Workshop
- Topic: Sudipta's WML questions
- Replies: 24
- Views: 12356
Re: Sudipta's WML questions
store_unit
with kill
, then unstore_unit
is the most elegant way.- January 15th, 2018, 11:51 am
- Forum: Lua Labs
- Topic: [show_dialog] tag idea (wip)
- Replies: 4
- Views: 5505
[show_dialog] tag idea (wip)
This topic is about new WML tag I work on. [show_dialog] tag shows dialogs that use GUI 2, similar to https://wiki.wesnoth.org/LuaWML/Display#wesnoth.show_dialog . My implementation introduces two new features. First of all choices are synchronized so tag should work fine in multiplayer games. Addit...
- August 7th, 2017, 7:55 am
- Forum: WML Workshop
- Topic: Simple Core example?
- Replies: 3
- Views: 1612
Simple Core example?
I'm trying to make simple core addon, but whatever i try my core can't load. Error loading core data. Details: Core ID: music Error loading the core with named id. Falling back to the default core. I tried many differnt values for "path" without success. [core] id=music name= _ "Music...
- May 12th, 2017, 12:45 pm
- Forum: Lua Labs
- Topic: Editing userdata
- Replies: 2
- Views: 2736
Re: Editing userdata
Tried this today. Works perfectly, thanks. I'm a big step further in creation of the most complex wml tag ever.
- May 12th, 2017, 1:00 am
- Forum: Lua Labs
- Topic: Conditional Actions in custom WML tag
- Replies: 3
- Views: 2723
Re: Conditional Actions in custom WML tag
As I want to run conditionals for my own subtags, not wml actions, the last solution will be my solution.
- May 12th, 2017, 12:10 am
- Forum: WML Workshop
- Topic: Filter selected unit?
- Replies: 9
- Views: 3460
Re: Filter selected unit?
it sounds like the right-click menu will need to be activated on a unit Nope. Lets sey, I have unit "commander" with special ability = "orbital strike". It can be used (from right clikck menu) on terrain max 2 moves from "commander" position. Additionaly this menu opti...
- May 11th, 2017, 11:28 pm
- Forum: WML Workshop
- Topic: Filter selected unit?
- Replies: 9
- Views: 3460
Re: Filter selected unit?
I want to give unit ability (used with [set_menu_item]'s item) that have X hex range. I wanted to filter unit selected by current player and from that unit position filter in X range filter positions where this ability can be used and modify this unit later. It is for multiplayer btw. I think I coul...
- May 11th, 2017, 5:23 pm
- Forum: WML Workshop
- Topic: Filter selected unit?
- Replies: 9
- Views: 3460
Filter selected unit?
How can i filter unit with is actually selected by player?
- May 11th, 2017, 12:26 pm
- Forum: Lua Labs
- Topic: Editing userdata
- Replies: 2
- Views: 2736
Editing userdata
I want to delete some attributes from wml tag config object aka vconfig aka userdata aka WML object, but it is protected from editing. I tried to make table copy of it using ipairs(), but this way i only get subtags and i can't get attibutes.
- May 10th, 2017, 7:44 am
- Forum: Lua Labs
- Topic: Conditional Actions in custom WML tag
- Replies: 3
- Views: 2723
Conditional Actions in custom WML tag
How can I allow using conditional actions like if, for, command inside my custom wml tag and it subtags?
- May 3rd, 2017, 11:23 pm
- Forum: WML Workshop
- Topic: WML Expansion
- Replies: 4
- Views: 2397
Re: WML Expansion
That's what it does. I pointed it here:Celtic_Minstrel wrote:Just for the record, in[store_unit_defense]
, you should probably use the unit's location if neitherloc_x,loc_y
orterrain
are specified.
.If terrain is not specified, the terrain on which the units currently stands is used.
- May 3rd, 2017, 7:45 pm
- Forum: WML Workshop
- Topic: WML Expansion
- Replies: 4
- Views: 2397
WML Expansion
WML Expansion is addon for Wesnoth 1.13.7, that provides new WML tags. The idea is to extend existing WML functionalities and add new ones, that community is asking for, however for some reasons they are not avible in mainline. Current version (1.0.0) contains following tags: [experience_unit] Modif...
- April 25th, 2017, 2:36 pm
- Forum: WML Workshop
- Topic: Wesnoth Can't Find My Map
- Replies: 10
- Views: 3056
Re: Wesnoth Can't Find My Map
As I said, you have typo in map name. By the way, next time pack your addon to zip with all folders. The way you did,i cant check if you have correct folder structue and corectly named folders.