Search found 26 matches

by KanoFromMK
April 13th, 2025, 5:23 pm
Forum: WML Workshop
Topic: naming a new unique character
Replies: 5
Views: 1893

Re: naming a new unique character

thank you for your answer, this cleared things up for me
by KanoFromMK
April 12th, 2025, 4:23 pm
Forum: WML Workshop
Topic: naming a new unique character
Replies: 5
Views: 1893

Re: naming a new unique character

Ravana wrote: April 12th, 2025, 4:14 pm You should use [unit] for such use case.
How? And where?
by KanoFromMK
April 12th, 2025, 4:04 pm
Forum: WML Workshop
Topic: naming a new unique character
Replies: 5
Views: 1893

naming a new unique character

Good day to you ladies and gents. So basically i made a character that is unique (in a sense that he is an important character for me at least) so it should have a name and one name only. But he is of race human. So every time i create it with (DEBUG -> create unit) or any other way really (like rec...
by KanoFromMK
July 8th, 2024, 12:00 pm
Forum: WML Workshop
Topic: abilities, events, and other black magic [SOLVED]
Replies: 12
Views: 2264

Re: abilities, events, and other black magic

oh thanks, i will
by KanoFromMK
July 6th, 2024, 10:04 pm
Forum: WML Workshop
Topic: abilities, events, and other black magic [SOLVED]
Replies: 12
Views: 2264

Re: abilities, events, and other black magic

Oh My God it was so simple thanks man you're F-ing hero yes indeed, adding movement_used=0 into [attack][/attack] solved the problem i dont understand how events work its still black magic to me, but its not that hard either to add this movement_used=0 to every unit in undead, certainly easier than ...
by KanoFromMK
July 2nd, 2024, 10:49 pm
Forum: WML Workshop
Topic: abilities, events, and other black magic [SOLVED]
Replies: 12
Views: 2264

Re: abilities, events, and other black magic

Ravana wrote: July 2nd, 2024, 8:43 pm I will not. I am not good at explaining. I might answer if you ask something specific.
Can I write you in private to not litter the forum?
by KanoFromMK
July 2nd, 2024, 8:36 pm
Forum: WML Workshop
Topic: abilities, events, and other black magic [SOLVED]
Replies: 12
Views: 2264

Re: abilities, events, and other black magic

Main solutions are 1) have event in [era] or [campaign], that is probably what UTBS does 2) use +tag syntax to include copy of the event in each unit that has such ability, example https://github.com/ProditorMagnus/Ageless-for-1-14/blob/f3009ab5167052c9b10590949cb85db1d534a4b7/data/ME_data/abilitie...
by KanoFromMK
July 2nd, 2024, 8:34 pm
Forum: WML Workshop
Topic: abilities, events, and other black magic [SOLVED]
Replies: 12
Views: 2264

Re: abilities, events, and other black magic

white_haired_uncle: the missing piece is every attack of every unit with that ability has [attack]movement_used=0 . KanoFromMK: that's an old version of the WML, because of the Tailwind ability it now needs to check for formula = "self.moves<self.max_moves" instead. Thanks for your time. ...
by KanoFromMK
July 1st, 2024, 1:44 pm
Forum: WML Workshop
Topic: abilities, events, and other black magic [SOLVED]
Replies: 12
Views: 2264

abilities, events, and other black magic [SOLVED]

ok, I give up some months ago i posted a wrongfully named question about abilities that i named traits in which i tried to understand how does it work and why it doesn't work on me good people here helped me, thanks a lot, but then i tried to copy an ability from one campaign to the main game I fail...
by KanoFromMK
April 17th, 2024, 12:37 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 1302

Re: traits

white_haired_uncle wrote: April 17th, 2024, 12:23 pm https://wiki.wesnoth.org/EventWML
oh hey, thanks, ill return someday with the results, thanks again
by KanoFromMK
April 17th, 2024, 11:59 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 1302

Re: traits

All abilities that are "somehow linked" rely on [event] or their Lua equivalent. You need to locate where they are, and bring them over to your addon. Search by ability id help to find them. we have this #define ABILITY_DISENGAGE [dummy] id=disengage name= _ "disengage" female_n...
by KanoFromMK
April 16th, 2024, 5:06 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 1302

Re: traits

UPD2: btw, if this disengage ability is tied to every scenario in UTBS campaign, is it possible to create an analog ability with the same effect to add it to undead units? if yes can you help me please with it? I mean sure. If you can describe what you want the ability to do, I am sure me or some o...
by KanoFromMK
April 16th, 2024, 4:59 pm
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 1302

Re: traits

From code review, unit should be hidden during night on specific terrain. You did not say what situations you tested. that's true, my bad, i've tested on village OR at night OR in the forest, but not anything combined sorry about that btw a good Knight here helped me with it so no more questions ab...
by KanoFromMK
April 16th, 2024, 11:18 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 1302

Re: traits

You should clarify what you mean by doesnt work. it meant exactly that, didn't clarify because i didn't know what else to add and/or what is relevant i know its dumb to come to people and ask for help not specifying what the problem is in the first place but i really didn't know what else to add th...
by KanoFromMK
April 16th, 2024, 10:56 am
Forum: WML Workshop
Topic: traits
Replies: 15
Views: 1302

Re: traits

What you mean by traits are "abilities" (submerge/skirmisher). Disengage is not the ability definition itself, rather has a global event which is used in every scenario of that campaign (UtbS) to make it work. Also, ability Ninja might now work since you have two "[filter_location]&q...