Search found 1098 matches
- September 4th, 2026, 5:36 pm
- Forum: Scenario & Campaign Development
- Topic: The Fellowship of the Clay [1.18+]
- Replies: 36
- Views: 769
Re: The Fellowship of the Clay [1.18+]
Well, his lab is named Kal Alamos, and he seems to have an interest in light sources (radiation).
- September 4th, 2026, 3:51 am
- Forum: Scenario & Campaign Development
- Topic: The Fellowship of the Clay [1.18+]
- Replies: 36
- Views: 769
Re: The Fellowship of the Clay [1.18+]
Huhhh, I should fix Feyndwarf dying. I wonder why that doesn't trigger. Does hp reduction damage not count as death or something???
It might have something to do with the [kill] tag using fire_event s =yes but the documentation says it should be fire_event=yes.
I find it funny that they just ...
- September 3rd, 2026, 4:49 pm
- Forum: Lua Labs
- Topic: Feasibility of customising return guardian micro ai
- Replies: 16
- Views: 215
Re: Feasibility of customising return guardian micro ai
Only other minor query: I've not been able to find the internal structure of loc so guessed at how to assign return_loc_uv the relevant x,y values - is there a better way than what I did (line 6 of code below)? Just curious. :)
local function get_guardian_uv_xy(cfg, guardian_uv)
local return ...
- September 2nd, 2026, 7:39 pm
- Forum: Lua Labs
- Topic: Feasibility of customising return guardian micro ai
- Replies: 16
- Views: 215
Re: Feasibility of customising return guardian micro ai
However the thought occurs that a simpler method would be to simply reassign return_loc in get_guardian_uv if valid (on map) locations are specified in the current guardian_uv .
This would be passed back as a return value to overwrite the value specified in the definition.
As these are local ...
- September 1st, 2026, 12:57 pm
- Forum: Lua Labs
- Topic: Feasibility of customising return guardian micro ai
- Replies: 16
- Views: 215
Re: Feasibility of customising return guardian micro ai
Test unt variables, if either is null/undefined fallback to default/global values.
Presumably these values would be visible in lua as guardian.return_guardian.return_x and guardian.return_guardian.return_y ?
Custom unit variables should be in guardian.variables :
https://wiki.wesnoth.org ...
- August 31st, 2026, 9:27 pm
- Forum: Scenario & Campaign Development
- Topic: The Fellowship of the Clay [1.18+]
- Replies: 36
- Views: 769
Re: The Fellowship of the Clay [1.18+]
Harriett's teleporting ability includes this code:
#define HARRIETT_TELEPORTING
[event]
name=start
[set_menu_item]
id=harriett_tele_unitchoose
description= _ "Teleport this unit"
[filter_location]
[filter]
[filter_adjacent]
id=Harriett Porter
[filter_wml]
moves=6
[/filter_wml ...
#define HARRIETT_TELEPORTING
[event]
name=start
[set_menu_item]
id=harriett_tele_unitchoose
description= _ "Teleport this unit"
[filter_location]
[filter]
[filter_adjacent]
id=Harriett Porter
[filter_wml]
moves=6
[/filter_wml ...
- August 31st, 2026, 3:17 pm
- Forum: Lua Labs
- Topic: Feasibility of customising return guardian micro ai
- Replies: 16
- Views: 215
Re: Feasibility of customising return guardian micro ai
However I'm not sure the additional effort is worth it given I can employ other implementations that would be a lot easier/simpler if also less close to what I envisage. :?
It wouldn't be much additional effort since you would just copy the entire ca_return_guardian.lua file to your add-on ...
- August 31st, 2026, 2:27 pm
- Forum: Scenario & Campaign Development
- Topic: The Fellowship of the Clay [1.18+]
- Replies: 36
- Views: 769
Re: The Fellowship of the Clay [1.18+]
Also in "Bad News" is this code:
But the image filename is named "Cscroll.jpg" so the image does not display.
Code: Select all
[story]
[part]
background="data/add-ons/The_Fellowship_of_the_Clay/images/Story/CScroll.jpg"
fade_in=yes
fade_out=yes
[/part]
[/story]
- August 31st, 2026, 6:41 am
- Forum: Scenario & Campaign Development
- Topic: The Fellowship of the Clay [1.18+]
- Replies: 36
- Views: 769
Re: The Fellowship of the Clay [1.18+]
This is the code in the scenario "Bad News":
[store_unit]
[filter]
x=14
y=10
[/filter]
variable=stored_outpost
kill=yes
[/store_unit]
...
[unstore_unit]
variable=stored_outpost
find_vacant=yes
[/unstore_unit]
Isn't that code going to generate an error if there's no unit at x=14 y ...
[store_unit]
[filter]
x=14
y=10
[/filter]
variable=stored_outpost
kill=yes
[/store_unit]
...
[unstore_unit]
variable=stored_outpost
find_vacant=yes
[/unstore_unit]
Isn't that code going to generate an error if there's no unit at x=14 y ...
- August 30th, 2026, 7:08 pm
- Forum: Lua Labs
- Topic: Feasibility of customising return guardian micro ai
- Replies: 16
- Views: 215
Re: Feasibility of customising return guardian micro ai
And, maybe, tweak the behaviour (not sure until I playtest which is a long way off :( ).
You'll probably need to create your own AI eventually anyway then?
The Micro AIs are really just some pre-defined behaviors with a limited number of tweakable parameters... I think if you really want to ...
- August 27th, 2026, 2:43 pm
- Forum: WML Workshop
- Topic: From [store_unit] to [recall]
- Replies: 6
- Views: 84
Re: From [store_unit] to [recall]
Maybe you want [put_to_recall_list]?
- August 27th, 2026, 1:19 am
- Forum: Scenario & Campaign Development
- Topic: The Fellowship of the Clay [1.18+]
- Replies: 36
- Views: 769
Re: The Fellowship of the Clay [1.18+]
Your campaign has rank=0 but rank values 0-400 are typically reserved for mainline so you should move it to beyond 400.
Ah, I did not know that. I've come across a couple other campaigns you may wish to poke. And 'typically' - what are the exceptions this rule?
Regardless, thank you I'll ...
- August 25th, 2026, 12:46 am
- Forum: Scenario & Campaign Development
- Topic: Aria of the Dragon-Slayer (SP Campaign for 1.11)
- Replies: 216
- Views: 97935
Re: Aria of the Dragon-Slayer (SP Campaign for 1.11)
Yes, i have a screenshot but i can't find how to post it there, it says precisely " [unstore_unit]: variable "tallin_store" doesn't exist ",
Just after the precise line of dialogue "What makes you think she's alone, Sky Dragon?"
I use 1.18 version. Savefile is... Well i have it but i don't find ...
- August 23rd, 2026, 4:37 pm
- Forum: Technical Support
- Topic: Reproducible crash on v1.19.27
- Replies: 12
- Views: 273
Re: Reproducible crash on v1.19.27
Thanks again for the post - never used discord (prefer this forum because - I imagine - time zones don't matter so much). :)
I also prefer this forum to Discord, but I'll just note that Discord allows you to reply to other people's messages, and the Discord user interface makes it pretty clear ...
- August 22nd, 2026, 3:11 pm
- Forum: Technical Support
- Topic: Reproducible crash on v1.19.27
- Replies: 12
- Views: 273
Re: Reproducible crash on v1.19.27
If said feedback was requested than I, for one, missed it completely...
There was some discussion of it on Discord/IRC:
https://irclogs.wesnoth.org/2026/06/%23wesnoth-dev.2026-06-19.log
https://irclogs.wesnoth.org/2026/06/%23wesnoth-dev.2026-06-20.log
https://irclogs.wesnoth.org/2026/06 ...