Something that really annoys me
Moderator: Forum Moderators
Something that really annoys me
Something that really annoys me playing BfW 1.11 is this line:And I don't understand the reason.
Why should descriptions not include the name as the first line?
What is the problem here?
And for what stands (2) ?
Code: Select all
Descriptions should no longer include the name as the first line. (2)
Why should descriptions not include the name as the first line?
What is the problem here?
And for what stands (2) ?
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Something that really annoys me
I suppose the (2) means there were 2 messages of this kind.
It did not only annoy you: https://gna.org/bugs/index.php?20716
1.11.5 will be out soon.
It did not only annoy you: https://gna.org/bugs/index.php?20716
1.11.5 will be out soon.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: Something that really annoys me
The problem is abilities/weapon specials with their name as the first line of the description. This used to be the correct way to do it, but it has been changed in 1.11.Adamant14 wrote:Something that really annoys me playing BfW 1.11 is this line:And I don't understand the reason.Code: Select all
Descriptions should no longer include the name as the first line. (2)
Why should descriptions not include the name as the first line?
What is the problem here?
And for what stands (2) ?
I personally haven't run into it lately, but it is very annoying, especially since it doesn't mean anything the first time you see it.
Formerly known as the creator of Era of Chaos and maintainer of The Aragwaithi and the Era of Myths.
Re: Something that really annoys me
Yeah, I had to search through the source code to locate this, because the changelog didn't mention this. And still, it really annoys that it does not specify where is the incorrect ability description, or even what is its name.
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Something that really annoys me
The former isn't possible, the latter is in 1.11.5.Dugi wrote:And still, it really annoys that it does not specify where is the incorrect ability description, or even what is its name.
Most of the cases in my addon (all but one) were located in my utils/abilities.cfg . Grepping through the addon for the abilities' names should reveal them all.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: Something that really annoys me
Good idea. But there is no common key unique to abilities, and there are like 10 possible names for abilities... still, it is a way to do it.Grepping through the addon for the abilities' names should reveal them all.
Re: Something that really annoys me
The problem is that extracting the ability/special name from the description (in order to give the name pretty formatting) relies on UMC authors to do things a certain way. Better is to get the name from the name attribute, which has the nice side effect of reducing the contents of the description attribute to just the description.Adamant14 wrote:What is the problem here?
If you insist on keeping the name in the description, nothing too bad will happen. It's just that in 1.13/14 your descriptions will get displayed in-game as:
[b]<name>:[/b]
<name>:
<description>
Sorry. It gets better in 1.11.5. (Should have been made better in 1.11.4, based on when someone informed me they found the message too terse, but I've been busy.)bumbadadabum wrote:especially since it doesn't mean anything the first time you see it.
For something like this, "Compatibility-breaking WML and Lua syntax changes" might be a better resource than the changelog, since that topic lists only those changes that break compatibility.Dugi wrote:Yeah, I had to search through the source code to locate this, because the changelog didn't mention this.
At face value,Dugi wrote:Good idea. But there is no common key unique to abilities, and there are like 10 possible names for abilities... still, it is a way to do it.Anonymissimus wrote:Grepping through the addon for the abilities' names should reveal them all.
Code: Select all
grep -r "--exclude-dir=.*" -e "description *=[^:]*:$" data/*
Hmm... it also picks out some things I missed in trunk. Better fix those up.
Re: Something that really annoys me
Whoa, never seen this before. The change in the way events are fired when advancing is not mentioned, though. It caused me a lot of pain."Compatibility-breaking WML and Lua syntax changes
Yeah, does the trick. I guess I should learn to use regular expressions once.grep -r "--exclude-dir=.*" -e "description *=[^:]*:$" data/*
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Something that really annoys me
Clicking on the elvish champion in the test scenario emits some stuff. I suppose those are added by an [object].JaMiT wrote:Hmm... it also picks out some things I missed in trunk. Better fix those up.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign