Search found 367 matches

by lhybrideur
Today, 7:18 am
Forum: Ideas
Topic: Two-flag system in one team
Replies: 3
Views: 93

Re: Two-flag system in one team

On Discord, Refumee posted the following code that is supposed to do that.

Code: Select all

        [object]
            [effect]
                apply_to=image_mod
                add=RC(magenta>red)
            [/effect]
        [/object]
by lhybrideur
Today, 6:12 am
Forum: WML Workshop
Topic: Let the gold rain down!
Replies: 13
Views: 306

Re: Let the gold rain down!

Same as Spannerbag, I learned something today.

BTW, if you want to counter the -101+100 problem, you can do

Code: Select all

		[modify_side]
			side=2 
			gold=100
		[/modify_side]
		
by lhybrideur
Today, 6:10 am
Forum: Users’ Forum
Topic: Legend of the Invincibles
Replies: 4
Views: 156

Re: Legend of the Invincibles

The beta version exists on the 1.17 server. You can download it from http://addons.wesnoth.org/1.17/
However, as it is the beta version is might be a bit buggier that the stable that will at one point be published on 1.18
by lhybrideur
Yesterday, 6:39 am
Forum: WML Workshop
Topic: Ability damage %HP owner help needed
Replies: 10
Views: 1434

Re: Ability damage %HP owner help needed

Checking VariableWML, I discover that [filter] fills in this_unit. That is a valuable piece of info.
by lhybrideur
Yesterday, 6:36 am
Forum: WML Workshop
Topic: Next question: how to trigger a "sighted" event.
Replies: 5
Views: 152

Re: Next question: how to trigger a "sighted" event.

Just swap side=1 and side=2 then.
by lhybrideur
Yesterday, 6:34 am
Forum: WML Workshop
Topic: Let the gold rain down!
Replies: 13
Views: 306

Re: Let the gold rain down!

@uncle: actually not a safe assumption, as I have only been fooling with this game for about three days. But maybe I worked it out, the scenario doesn't warn me anything is wrong: [event] name=side_2_turn_20 [gold] side=2 amount=100 [/gold] [/event] -- Mal The name= is wrong https://wiki.wesnoth.or...
by lhybrideur
Yesterday, 6:22 am
Forum: WML Workshop
Topic: Setting multiple objectives
Replies: 5
Views: 116

Re: Setting multiple objectives

You can also use a variable and increment it each time one of the objective is completed or one for each objective, and check the value of the variable(s) to trigger [end_level]
by lhybrideur
April 12th, 2024, 8:45 am
Forum: WML Workshop
Topic: Ability damage %HP owner help needed
Replies: 10
Views: 1434

Re: Ability damage %HP owner help needed

Just trying to understand here. What would be filling in the unit variable? Harm_unit filter?
by lhybrideur
April 12th, 2024, 8:38 am
Forum: WML Workshop
Topic: [AI] performance cost of mutliple CAs
Replies: 1
Views: 93

Re: [AI] performance cost of mutliple CAs

I now nothing about ai, but could this work with a role?
like role="hates-Efraim"
Then you would give this role to all the units you want to hate Efraim
by lhybrideur
April 11th, 2024, 8:34 am
Forum: Technical Support
Topic: Sort-of bug report - inadvertent offensive content
Replies: 18
Views: 5822

Re: Sort-of bug report - inadvertent offensive content

How do you check that a name is valid?
by lhybrideur
April 11th, 2024, 8:17 am
Forum: WML Workshop
Topic: Ability damage %HP owner help needed
Replies: 10
Views: 1434

Re: Ability damage %HP owner help needed

What you would need would be to use a store_unit instead of the harm_unit with the same filter, then do a foreach on the store_unit variable with a harm_unit id=$this_item.id in it. This would let you access to the unit hitpoints with $this_item.hitpoints.
Please someone correct me if I am wrong.
by lhybrideur
April 4th, 2024, 11:19 am
Forum: Writers’ Forum
Topic: Reconciling Scale in Wesnoth
Replies: 8
Views: 6021

Re: Reconciling Scale in Wesnoth

Could be the hero and its bataillon.
by lhybrideur
March 27th, 2024, 7:44 am
Forum: Multiplayer Development
Topic: Naga Myrmidon defenses does not match
Replies: 2
Views: 1164

Re: Naga Myrmidon defenses does not match

It is because they have 50% on flat and 40% on forest? The best defense and the worst movement is used when a terrain has two types.
LVL2 has both 40% and LVL1 has 30% and 40%
by lhybrideur
March 27th, 2024, 7:42 am
Forum: WML Workshop
Topic: heals event?
Replies: 6
Views: 1251

Re: heals event?

Healing experience exists in some mods, such as Hyperactive Novice Healers.
You could check them to see how it is implemented.
by lhybrideur
March 14th, 2024, 7:46 am
Forum: Art Workshop
Topic: Maks' art
Replies: 111
Views: 61534

Re: My images ;)

Probably Discord