Search found 1154 matches

by gfgtdf
March 11th, 2019, 3:49 pm
Forum: Technical Support
Topic: Campaign Modification Bug
Replies: 2
Views: 346

Re: Campaign Modification Bug

Ther first windo shows all intalled addons (campaigns/mp maps/eras/modifications etc) while the second shows only modifications (certain addons that can be used together with other addons)
by gfgtdf
March 8th, 2019, 11:14 pm
Forum: Translations & Internationalization
Topic: Eine Geschichte zweier Brüder - Vertonung und Sprachkunst
Replies: 30
Views: 2194

Re: Eine Geschichte zweier Brüder - Vertonung und Sprachkunst

This is about the german translation of the A tale of two brothers Campaign, there is little point to discussing this with people that don't speak german.
by gfgtdf
March 7th, 2019, 2:13 am
Forum: Lua Labs
Topic: wesnoth.theme_items.unit_alignment
Replies: 12
Views: 2695

Re: wesnoth.theme_items.unit_alignment

I suppose you could pass the WML to wesnoth.create_weapon if you need to run a filter on it though? Still, I don't think special_active would work then. We should try to change it so that these are assigned the actual userdata reference to the weapon instead of just the WML, when possible. And make...
by gfgtdf
March 7th, 2019, 2:02 am
Forum: Lua Labs
Topic: wesnoth.theme_items.unit_alignment
Replies: 12
Views: 2695

Re: wesnoth.theme_items.unit_alignment

Uhh, what does SUF have to do with it? If you want to filter on the weapon you'd be checking wesnoth.current.event_context.weapon for example. I think that would be the active attack's WML, but I'm not sure, it might identify the attack in some other way. Yes it is the currently active weapons wml ...
by gfgtdf
March 6th, 2019, 1:39 pm
Forum: Lua Labs
Topic: wesnoth.theme_items.unit_alignment
Replies: 12
Views: 2695

Re: wesnoth.theme_items.unit_alignment

You don't necessarily need to use on_event in order to write events in Lua. Your attempt at doing so is rather nonsensical as well. (gfgtdf: does on_event even provide a way for you to set filters for the event?) No it doesn't, you have to use things like unit:matches or wesnoth.eval_conditional as...
by gfgtdf
March 5th, 2019, 12:48 pm
Forum: WML Workshop
Topic: ghype's Coding Problems
Replies: 55
Views: 8405

Re: ghype's Coding Problems - Ability Work Only On Hit

the number of strikes is determined when the attack begins, see also issue https://github.com/wesnoth/wesnoth/issues/1362
by gfgtdf
February 24th, 2019, 3:56 pm
Forum: Multiplayer Development
Topic: World Conquest II
Replies: 315
Views: 79417

Re: World Conquest II

No this was intentional that mod just adds bonus points and items dropped by enemies. Giving the player two extra bonusses (=4 in total in each scenario) would just be too unbalanced in longer 'normal' campaigns.
by gfgtdf
February 20th, 2019, 10:13 pm
Forum: Faction & Era Development
Topic: Battle for the Rings Era
Replies: 20
Views: 5066

Re: LotR Era

Im sorry to say this, but note that our addon server does not allow this by rule 2 in viewtopic.php?f=8&t=24320

(this doest not mean that we disallow you drom writing/playing this just that is cannot be uploaded to the official wesnoth addon server)
by gfgtdf
February 20th, 2019, 5:10 am
Forum: Ideas
Topic: [engine] Add filters for attack_ and defense_weight
Replies: 22
Views: 3720

Re: [engine] Add filters for attack_ and defense_weight

I'm not quite sure what you mean, but I'm against allowing attack_weight="(formula here)" - if you want or need that, just use formula="formula here" instead. This is about allowing the already existing [attacks]attack_weight key to accept formula,I don't see how the could be done with the current ...
by gfgtdf
February 19th, 2019, 7:09 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 226
Views: 48844

Re: enclave's Lua thread

Instead of using register_wml_action, you just define a function in the wesnoth.wml_actions table.
by gfgtdf
February 19th, 2019, 1:19 pm
Forum: Ideas
Topic: [engine] Add filters for attack_ and defense_weight
Replies: 22
Views: 3720

Re: [engine] Add filters for attack_ and defense_weight

I think it'd be better to allow formula/Lua expressions in attack_weight. this is not only more flexible, it also avoids problems like "what should we do when multiple of those match"
by gfgtdf
February 15th, 2019, 10:56 pm
Forum: Coder’s Corner
Topic: New feature to allow for easier voice acting
Replies: 37
Views: 8481

Re: New feature to allow for easier voice acting

i wonder what your plan is for messages that are constructed at runtime? Like message= _ "Don't hurt $ogre_name|!" or message= _ "Three days ride to the northeast, in a deserted castle. The passwords to the guards are $first_password_$first_password and $second_password_$second_password|." ?
by gfgtdf
February 12th, 2019, 3:27 am
Forum: Technical Support
Topic: Cant log in wesnoth official server
Replies: 18
Views: 2442

Re: Cant log in wesnoth official server

the added newline at the end of the name is iirc a known issue of the android port.
by gfgtdf
February 2nd, 2019, 10:57 pm
Forum: WML Workshop
Topic: SLF: include_borders=yes doesn't work with [time_area]?
Replies: 3
Views: 975

Re: SLF: include_borders=yes doesn't work with [time_area]?

there is also replace_schedule ( https://wiki.wesnoth.org/DirectActionsW ... chedule.5D ) to change the wholöe maps timescedule.
by gfgtdf
January 20th, 2019, 8:16 pm
Forum: WML Workshop
Topic: Unit XP-bar color-setting with custom AMLA's
Replies: 9
Views: 1659

Re: Unit XP-bar color-setting with custom AMLA's

Setting them all to major_amla=no solves the issue and the bar is purple. I'll add this to the wiki then. your wiki entry is not 100% currect though, it defaults to 'no'. If it ppears to true in the code you pasted above, then it's likeley that you acceindly wrote major_amla=yes somehere before, fo...