Search found 2315 matches

by Ravana
Today, 1:55 am
Forum: Users’ Forum
Topic: Players are not interested in competitive?
Replies: 27
Views: 1651

Re: Players are not interested in competitive?

3) is the only one where I can see possible solutions. But other ones remain available.

To clarify, 2) does not leave any evidence if it is only used to achieve 1), but it does show up in replay/save if it changes gamestate.
by Ravana
Yesterday, 7:04 pm
Forum: Ideas
Topic: [UMC] Ranged attacks cost gold
Replies: 1
Views: 49

Re: [UMC] Ranged attacks cost gold

attacker_hits and defender_hits events, there is $damage_inflicted available.
by Ravana
February 25th, 2020, 4:30 pm
Forum: WML Workshop
Topic: Help! Failed to load my scenario
Replies: 3
Views: 75

Re: Help! Failed to load my scenario

That should be Efm not Efx.
by Ravana
February 25th, 2020, 3:40 pm
Forum: WML Workshop
Topic: Help! Failed to load my scenario
Replies: 3
Views: 75

Re: Help! Failed to load my scenario

You can replace it with Gg and then look the map if someone should be in that location.
by Ravana
February 19th, 2020, 4:15 pm
Forum: WML Workshop
Topic: help for add-ons
Replies: 30
Views: 1080

Re: help for add-ons

[effect] does nothing inside [attack].
by Ravana
February 16th, 2020, 10:43 pm
Forum: WML Workshop
Topic: Bug with my ability code
Replies: 2
Views: 102

Re: Bug with my ability code

Depending on your setup around this code, you may be running into https://wiki.wesnoth.org/EventWML#A_Trap_for_the_Unwary
by Ravana
February 16th, 2020, 5:16 pm
Forum: WML Workshop
Topic: Filter unit in [have_unit] by abilities
Replies: 3
Views: 95

Re: Filter unit in [have_unit] by abilities

Normal way to filter for ability would be https://github.com/ProditorMagnus/Ageless-for-1-14/blob/3cbd94f5cc2900d650401c8a4a1fa5f31bbbf9a7/data/EoMa_data/healing.cfg#L5 If you really need to use filter_wml, it is https://github.com/ProditorMagnus/Ageless-for-1-14/blob/ed0ad1f188c80083eec417251e79016...
by Ravana
February 16th, 2020, 4:57 pm
Forum: WML Workshop
Topic: Filter unit in [have_unit] by abilities
Replies: 3
Views: 95

Re: Filter unit in [have_unit] by abilities

[filter_wml] checks if unit has key "ability" with value "la_summoned_decay_0". filter_wml can check for ability if you include correct surrounding tags, but there should be key for checking for ability by id.
by Ravana
February 14th, 2020, 6:37 pm
Forum: WML Workshop
Topic: WML Optimizations
Replies: 6
Views: 239

Re: WML Optimizations

Literally thousands, it provided massive benefit for ageless some years ago. Nowadays I do not bother with it, I asked for higher time limit instead. Effect is that wesnoth only needs to read one file instead of thousands - each file access takes time. Preprocessing is expanding macros and files int...
by Ravana
February 13th, 2020, 7:04 pm
Forum: WML Workshop
Topic: Exp carryover for units of different sides.
Replies: 5
Views: 198

Re: Exp carryover for units of different sides.

Then just store them, and in next scenario unstore.
by Ravana
February 13th, 2020, 7:48 am
Forum: WML Workshop
Topic: WML Optimizations
Replies: 6
Views: 239

Re: WML Optimizations

First point is not important until it gets to thousands of files.

You can find wesnoth cache folder, and unpack the files until you find your addon. It is close enough to what you would get by preprocessing it yourself with wesnoth -p.
by Ravana
February 12th, 2020, 7:08 pm
Forum: WML Workshop
Topic: WML Optimizations
Replies: 6
Views: 239

Re: WML Optimizations

It depends on your use case a lot. For first loading time it helps to have single-file addon instead of many files.

It is also useful to review your preprocessed WML and check if there are large duplicated fragments which should not be there.

Usually loops are faster in Lua.
by Ravana
February 11th, 2020, 7:18 am
Forum: Scenario & Campaign Development
Topic: Abandoned Add-ons - Need Maintainers - Open to Anyone
Replies: 429
Views: 155010

Re: Abandoned Add-ons - Need Maintainers - Open to Anyone

If something has been abandoned for more than year, dont spend more than few days waiting for answer.
by Ravana
February 8th, 2020, 9:25 am
Forum: Strategies & Tips
Topic: A New Orocian winning guide
Replies: 3
Views: 3854

Re: A New Orocian winning guide

It does not need much updates at current time.
by Ravana
February 8th, 2020, 9:22 am
Forum: WML Workshop
Topic: unit move on lava
Replies: 11
Views: 377

Re: unit move on lava

No simple way. Options are event to knock back units that move where they shouldnt, or creating new terrain type.