Search found 53 matches

by stegyre
September 20th, 2017, 10:57 pm
Forum: WML Workshop
Topic: Filtering Question (on AMLA) (new title)
Replies: 6
Views: 1380

Re: Filtering Question (on AMLA) (new title)

That is not valid use of [effect] https://wiki.wesnoth.org/EffectWML As you see from that, effect cannot change unit level. You need to use event to for that. I see. In the past, I've worked around this by implementing the change through a unit variation or unit type. I will try that route here. Fo...
by stegyre
September 20th, 2017, 10:19 pm
Forum: WML Workshop
Topic: Filtering Question (on AMLA) (new title)
Replies: 6
Views: 1380

Re: Filtering Question (on AMLA) (new title)

My latest question (updated the thread title for this) I am (unsuccessfully) trying to use filtering on a custom AMLA advancement, but my complete failure convinces me that I don’t understand filtering at all. I could use some input. What I’m specifically trying to do: My units are 0-level units, an...
by stegyre
September 4th, 2017, 7:21 pm
Forum: WML Workshop
Topic: Filtering Question (on AMLA) (new title)
Replies: 6
Views: 1380

Re: Cannot change unit variation

Huzzah!

Thank you both, kindly. I have now successfully implemented a variation type, and I can continue my experiments to see what else I can do with this functionality. :D
by stegyre
September 4th, 2017, 4:40 pm
Forum: WML Workshop
Topic: Filtering Question (on AMLA) (new title)
Replies: 6
Views: 1380

Filtering Question (on AMLA) (new title)

I would like to change a unit to one of its variations as an AMLA advancement. I have successfully implemented a number of other AMLA advancements (Yay, me!), but this one is giving me troubles, and I cannot understand why. The base unit I'm using is essentially a modified Ruffian. That unit has bee...
by stegyre
December 28th, 2016, 2:48 am
Forum: Users’ Forum
Topic: Cannot Modify Core Units.cfg
Replies: 4
Views: 1169

Re: Cannot Modify Core Units.cfg

Yes!

It took a little poking around: my account already has admin privileges, so that wasn't it. Choosing to run WordPad as administrator, however, solved the problem.

Thanks for the assist. :)
by stegyre
December 28th, 2016, 2:20 am
Forum: Users’ Forum
Topic: Cannot Modify Core Units.cfg
Replies: 4
Views: 1169

Cannot Modify Core Units.cfg

I'm stymied. In the past, on other BfW installations on other computers, I've been able to modify core files to customize my BfW . This time, this computer, "denied"! BfW version is 1.12.5 Microsoft Windows 10 OS (should be fully up-to-date – I think it updates automatically these days) Specific fil...
by stegyre
November 22nd, 2016, 8:06 pm
Forum: WML Workshop
Topic: "Macro/file . . . is missing"
Replies: 15
Views: 2871

Re: "Macro/file . . . is missing"

Sooooooo , want to hear a funny story? Turns out, when they say, "Unit IDs must be unique," they really, really mean it. Turns out the problem was all of my own making, in a way that no one (without access to my own BfW files) would be able figure out. On the plus side, I have learned from the resp...
by stegyre
November 22nd, 2016, 6:25 pm
Forum: WML Workshop
Topic: "Macro/file . . . is missing"
Replies: 15
Views: 2871

Re: "Macro/file . . . is missing"

Still working on this. Thanks for the comments. Doesn't sound possible; even if you don't have a [binary_path] (the kind every add-on with custom images/sounds/music needs) to help the game find your version of the image, then image="icons/boots_elven.png" is still the correct path to the core versi...
by stegyre
November 22nd, 2016, 5:44 am
Forum: WML Workshop
Topic: "Macro/file . . . is missing"
Replies: 15
Views: 2871

Re: "Macro/file . . . is missing"

New problem: I'm creating a series of AMLA choices, and I cannot get the images to display. Everything else about the advancements appears to be working properly. This is purely a cosmetic issue, but it highlights my lack of understanding. The icons I am using have been copied over from core into my...
by stegyre
November 22nd, 2016, 3:20 am
Forum: WML Workshop
Topic: "Macro/file . . . is missing"
Replies: 15
Views: 2871

Re: "Macro/file . . . is missing"

My issue with Notepad is that it does not display line breaks and indentations. I'd open a file in Notepad and find it impossible to read. I was delighted to find WordPad fixed this.
by stegyre
November 22nd, 2016, 1:50 am
Forum: WML Workshop
Topic: "Macro/file . . . is missing"
Replies: 15
Views: 2871

Re: "Macro/file . . . is missing"

Thanks for the tip. For the record, I appreciate all feedback. I think my WordPad file may have been corrupted. By copying my working _main.cfg (from SANLEra) and then copy-pasting everything from my original _main.cfg (Sif_Era) into that one and making it the new Sif_Era _main.cfg, I eliminated tha...
by stegyre
November 21st, 2016, 11:20 pm
Forum: WML Workshop
Topic: "Macro/file . . . is missing"
Replies: 15
Views: 2871

"Macro/file . . . is missing"

Me again. I expect I've messed up something very basic, but I'm flummoxed. I am trying to create a very simple era. I slavishly copied and then cut down from another era I have, which itself is a slavish copy-and-edit of "A New Land Era." (That one works.) Each time I try to load, I get the followin...
by stegyre
October 22nd, 2016, 11:42 pm
Forum: WML Workshop
Topic: Giving units a random number of traits?
Replies: 6
Views: 1486

Re: Giving units a random number of traits?

primary_unit is not valid key of unit filter. Besides, you should not filter units by name. See https://wiki.wesnoth.org/StandardUnitFilter for what you can use. I was going off of the recruit event, which seemed to require filters for both primary_ and secondary_unit. That probably means I'm just ...
by stegyre
October 22nd, 2016, 9:42 pm
Forum: WML Workshop
Topic: Giving units a random number of traits?
Replies: 6
Views: 1486

Re: Giving units a random number of traits?

Thanks for the advice. I am trying to implement it; so far, unsuccessfully. Here is my [event] code, which I have put in the [unit_type] cfg for the unit I want to affect: [event] name=recruit first_time_only=no [filter] primary_unit=Ruffian [/filter] [set_variable] name=trait_number rand=0..3 [/set...
by stegyre
October 21st, 2016, 10:30 pm
Forum: WML Workshop
Topic: Giving units a random number of traits?
Replies: 6
Views: 1486

Giving units a random number of traits?

(BfW version 1.12.5) I've tried a number of different methods, without success, to give a unit a random number of traits when it is recruited (0 to 3, if it matters). I'm beginning to wonder if this is maybe just not possible. I note the statement from the SyntaxWML page that "Variable substitution ...