Search found 657 matches

by WhiteWolf
October 19th, 2020, 11:41 am
Forum: Technical Support
Topic: How to create a .pbl file?
Replies: 4
Views: 93

Re: How to create a .pbl file?

Pbl files can be written in the same plain text editor as cfg files, nothing fancy needed. Here is the documentation for what keys need to go into it. There's also an example at the bottom of the page.
by WhiteWolf
October 18th, 2020, 1:38 pm
Forum: WML Workshop
Topic: A healer who can only heal 20 hit points, total
Replies: 7
Views: 207

Re: A healer who can only heal 20 hit points, total

Well, I'm still writing this from memory without testing anything. I'm sure this could be simplified and further optimized, but it should serve as a draft. Also, please excuse me for using the deprecated format of foreach, that's the one I've got in my pinky, feel free to switch it for the more robu...
by WhiteWolf
October 17th, 2020, 9:41 pm
Forum: WML Workshop
Topic: A healer who can only heal 20 hit points, total
Replies: 7
Views: 207

Re: A healer who can only heal 20 hit points, total

I see, I stand corrected :)
by WhiteWolf
October 17th, 2020, 7:46 pm
Forum: WML Workshop
Topic: A healer who can only heal 20 hit points, total
Replies: 7
Views: 207

Re: A healer who can only heal 20 hit points, total

Interesting, I really like this concept. Maybe when the 0-healing happens for the first time, it's useful to see that "oh right he's out of ammo, needs resupplying", but... if there are no means to do that within a few turns, it might get repetitive and annoying, having to see that floating 0 at sta...
by WhiteWolf
October 16th, 2020, 11:16 pm
Forum: WML Workshop
Topic: Modifying a unit after it moves
Replies: 2
Views: 150

Re: Modifying a unit after it moves

Probably: [event] name=exit hex [filter] id=Megdar x,y=21,3 [/filter] [event] name=turn end [modify_unit] [filter] id=Megdar [/filter] max_moves=$original [/modify_unit] [/event] [/event] Restoring the moves right after exiting the hex could mean that the AI will move the unit again, still within th...
by WhiteWolf
October 16th, 2020, 2:49 pm
Forum: WML Workshop
Topic: campaign difficulty: various WML questions
Replies: 4
Views: 161

Re: campaign difficulty: various WML questions

Comma separated lists are not supported with ifdef, but if you know your other difficulties, you can mix #ifndef 's and #else 's to get what you want. For example if your only other difficulty is hard, then easy and normal combined, is: #ifndef HARD and if you have Nightmare too, you can still do #i...
by WhiteWolf
October 12th, 2020, 1:03 pm
Forum: WML Workshop
Topic: How do you unselect a unit?
Replies: 5
Views: 155

Re: How do you unselect a unit?

[message] has a highlight key (defaulting to yes), you could try setting that to no, so that the speaking unit won't get selected in the first place.
by WhiteWolf
October 11th, 2020, 9:23 pm
Forum: WML Workshop
Topic: Problems with [have_unit] on unit placed event
Replies: 15
Views: 340

Re: Problems with [have_unit] on unit placed event

Setting upkeep=loyal in the [unit] is probably safe, My experience supports otherwise. I used to to make heroes loyal that way, so as not to take up trait spaces, but they lost their free upkeep and reverted to full at some later point - either at the end of the scenario, or when they levelled up, ...
by WhiteWolf
October 11th, 2020, 3:31 pm
Forum: Website
Topic: "New posts have been made while you were writing" message seems missing
Replies: 3
Views: 195

"New posts have been made while you were writing" message seems missing

Hello, Previously, if while you were writing your post, someone else was quicker and wrote a post before you finished, then a warning message showed up when hitting Submit, warning you that new posts have been made, you may want to modify your content before posting. This message seems gone now, at ...
by WhiteWolf
October 11th, 2020, 3:25 pm
Forum: WML Workshop
Topic: Problems with [have_unit] on unit placed event
Replies: 15
Views: 340

Re: Problems with [have_unit] on unit placed event

And I just put upkeep=loyal in the unit type, since I know this unit will only ever be spawned to be loyal. In the wiki, upkeep is not even a listed key in unit type :) And placing it in [unit] at the creation is unreliable, as detailed above. Are you sure the supposed loyal units are correctly loy...
by WhiteWolf
October 10th, 2020, 8:01 pm
Forum: WML Workshop
Topic: Problems with [have_unit] on unit placed event
Replies: 15
Views: 340

Re: Problems with [have_unit] on unit placed event

The StandardUnitFilter wiki page (https://wiki.wesnoth.org/StandardUnitFilter) says that upkeep is something you can theoretically filter by, and I'd be surprised if that was too much for the game engine, considering what unholy stuff you can do with variables. Do mind the 1.15.3+ note though, but ...
by WhiteWolf
October 10th, 2020, 4:06 pm
Forum: WML Workshop
Topic: Problems with [have_unit] on unit placed event
Replies: 15
Views: 340

Re: Problems with [have_unit] on unit placed event

My first remark, but this is just for better readability: the 'and' condition is already implied when using an extra 'not' condition. So your ... list-of-conditions [and] [not] ... extra cond. [/not] [/and] can be written in the much simpler form of: ... list-of-conditions [not] ... extra cond. [/no...
by WhiteWolf
October 1st, 2020, 6:19 pm
Forum: WML Workshop
Topic: Your tips on using filter_condition
Replies: 3
Views: 850

Re: Your tips on using filter_condition

I mostly use filter_condition to filter on custom preferences/settings. For example, when my scenarios have additional visual effects done through some events, that can be toggled in a right-click menu-item by the player, then my events usually contain filter_conditions on a variable that is set by ...
by WhiteWolf
September 27th, 2020, 6:00 pm
Forum: Faction & Era Development
Topic: mangler faction
Replies: 11
Views: 524

Re: mangler faction

If you want to include many attachments at once, it's advised to zip them into an archive and upload it as a single file. (It's fine to upload a few images along the archive for demonstartion, and to highlight what people can expect.) Judging how balanced a faction is just by looking at stats and nu...