Search found 162 matches

by lea
October 31st, 2016, 9:33 am
Forum: WML Workshop
Topic: How to change strikes count during attack? (or fake it)
Replies: 25
Views: 5298

Re: How to change strikes count during attack? (or fake it)

I settled for setting 0% to hit for now and it works but in case you think attack count can be changed during combat encounter (as I initially wanted) here it is: #define ATTACK_SPECIAL_CIRCULAR_SINGLE # definition to be included in a [specials] clause. [chance_to_hit] id=circular(single) name= _ ""...
by lea
October 31st, 2016, 6:08 am
Forum: WML Workshop
Topic: How to change strikes count during attack? (or fake it)
Replies: 25
Views: 5298

Re: How to change strikes count during attack? (or fake it)

Yeah thats a complicated one... I remember someone has created a weapon special that added a strike for every hit but I would have to look into that. do you remember where did you find that? it is exactly what I am looking for except I add extra strike on different event. IMHO message does not make...
by lea
October 30th, 2016, 7:04 pm
Forum: WML Workshop
Topic: How to change strikes count during attack? (or fake it)
Replies: 25
Views: 5298

Re: How to change strikes count during attack? (or fake it)

The_Gnat wrote:- if proper events happen then decrease the weapon damage to 0 so it no longer matters if he hits
that's what I did so far. it works but extra animated strikes that never hit are misleading - I want them to not happen visually in addition to giving them 0% hit chance
by lea
October 30th, 2016, 1:18 pm
Forum: WML Workshop
Topic: How to change strikes count during attack? (or fake it)
Replies: 25
Views: 5298

Re: How to change strikes count during attack? (or fake it)

You can stop combat entirely like https://github.com/ProditorMagnus/Ageless-for-1-11/blob/master/data/IE_data/abilities/interrupt.cfg I want second unit to be able to go on with its remaining strikes when the first one stops attacking because of my weapon special so this script will not help me... ...
by lea
October 27th, 2016, 2:00 pm
Forum: WML Workshop
Topic: How to change strikes count during attack? (or fake it)
Replies: 25
Views: 5298

How to change strikes count during attack? (or fake it)

I want to make a weapon special that can prevent last few swings from taking place depending on results of previous swings. But number of strikes seems to be "carved in stone" while attack is in progress. Is it possible to change/reduce number of strikes? Or change attack's animation while attack is...
by lea
October 19th, 2016, 11:00 am
Forum: WML Workshop
Topic: index of selected weapon in attack event?
Replies: 4
Views: 1020

Re: index of selected weapon in attack event?

Yes it's possible, but I don't see why it would be necessary, unless you intend to modify the attack. modifying attack is exactly what I (may) want to do You can already filter the weapon, for example by it's name: https://wiki.wesnoth.org/EventWML#.5Bfilter_attack.5D this does not allow to get a r...
by lea
October 16th, 2016, 5:27 pm
Forum: WML Workshop
Topic: index of selected weapon in attack event?
Replies: 4
Views: 1020

Re: index of selected weapon in attack event?

Thanks, ForestDragon, it works. Now I wonder why I did not come up with such a straightforward solution myself...

The question remains: IMHO finding out what attack was used before any strikes took place may be useful to apply less standardized effects.
by lea
October 16th, 2016, 2:19 pm
Forum: WML Workshop
Topic: index of selected weapon in attack event?
Replies: 4
Views: 1020

index of selected weapon in attack event?

Is it possible to get an index of weapon that was selected for current attack in "attack" and "attack end" events? Or otherwise find out what attack was chosen? I want to make "laststrike" weapon special (using a weapon with this special will give firststrike to enemy) Currently I only managed to gi...
by lea
October 7th, 2016, 9:39 am
Forum: Users’ Forum
Topic: Wesnoth2, Wesnoth, Inc, and other things
Replies: 93
Views: 22250

Re: Wesnoth2, Wesnoth, Inc, and other things

- I don't think Wesnoth is "more famous" than it was eight years ago or so. Quite the opposite in fact. Google trends shows interest in Wesnoth way down from heights in 2006-2008: https://www.google.com/trends/explore?date=all&q=wesnoth ... website visitors are down too. Is there some metric that m...
by lea
October 6th, 2016, 3:43 pm
Forum: Multiplayer Development
Topic: Squad-Scale Units Modpack
Replies: 6
Views: 2214

Re: Squad-Scale Units Modpack

I wrote "undo healing on advance" mod for my own era/ruleset but it suffered from a bug: when both units advance simultaneously (rare but possible) one of them does not get to choose its advancement path and fully heals. Your "No Heal on Advance Mod" does not have this bug so I fixed my code with pa...
by lea
October 4th, 2016, 6:56 am
Forum: WML Workshop
Topic: how to add help sections/topics with [help] tag?
Replies: 20
Views: 5822

Re: how to add help sections/topics with [help] tag?

Ravana wrote:Oh. I didnt know ageless had this.
it is in text/help.cfg file in Ageless Era for Wesnoth 1.10.x, includes topic for "obedient" trait and nothing else.
Ravana wrote:And yes, moved.
Thanks
by lea
October 3rd, 2016, 2:06 pm
Forum: WML Workshop
Topic: how to add help sections/topics with [help] tag?
Replies: 20
Views: 5822

how to add help sections/topics with [help] tag?

Hello, tried adding help topics with this code in _main.cfg (at top level, not nested in other tags): [+help] [toplevel] sections=Traits altered [/toplevel] [section] id=Traits altered topics=tough [/section] [topic] id=tough title=Tough text="Units with trait Tough get 20% more hitpoints." [/topic]...