Search found 683 matches

by gnombat
Yesterday, 9:44 pm
Forum: Release Announcements, Compiling & Installation
Topic: 1.19 nightly flatpak vs 1.18
Replies: 7
Views: 217

Re: 1.19 nightly flatpak vs 1.18

Well, by that time 1.19/master may contain other changes, too, possibly changing in ways which are incompatible with 1.18. Early in a release cycle is usually when developers start breaking things with reckless abandon working very hard and making a lot of enormous improvements to the code, so the m...
by gnombat
March 26th, 2024, 11:05 pm
Forum: Multiplayer Development
Topic: The High Seas (Naval MP Scenario)
Replies: 278
Views: 64698

Re: The High Seas (Naval MP Scenario)

Sorry, can I ask how I play the add-on? I downloaded the zip, extracted it, and put in in the add-ons folder under data in my 1.16 wesnoth. Where can I find it? On the multiplayer "Create Game" screen, if you select "Scenarios", there should be a scenario in the list called &quo...
by gnombat
March 26th, 2024, 2:48 pm
Forum: Release Announcements, Compiling & Installation
Topic: 1.19 nightly flatpak vs 1.18
Replies: 7
Views: 217

Re: 1.19 nightly flatpak vs 1.18

You might want to use flatpak mask to prevent it getting updated by accident.
by gnombat
March 25th, 2024, 5:40 pm
Forum: WML Workshop
Topic: Reset achievements for UMC campaign?
Replies: 27
Views: 1032

Re: Reset achievements for UMC campaign?

Also surprised to learn that Wesnoth doesn't know where the WML originates from... I vaguely recall reading ages ago that the engine maintained namespaces and prepended campaign specific strings to every variable within said campaign to avoid name clashes between variables in different campaigns (I...
by gnombat
March 25th, 2024, 5:27 pm
Forum: Release Announcements, Compiling & Installation
Topic: 1.19 nightly flatpak vs 1.18
Replies: 7
Views: 217

Re: 1.19 nightly flatpak vs 1.18

There is probably not much difference at this point, but 1.19 will diverge further and further away from 1.18 as time goes on...
by gnombat
March 25th, 2024, 3:32 am
Forum: Scenario & Campaign Development
Topic: [Campaign] Electrifyre: An Aragwaithi Story [1.17/1.18]
Replies: 4
Views: 469

Re: [Campaign] Electrifyre: An Aragwaithi Story [1.17/1.18]

Is the 4th scenario working right? I'm getting this error message:

Code: Select all

error wml: [side] not supported
Looking at the code, it seems that there's a bunch of units listed there that aren't showing up in the scenario.
by gnombat
March 24th, 2024, 8:49 pm
Forum: WML Workshop
Topic: Changing difficulty
Replies: 5
Views: 259

Re: Changing difficulty

You can put preprocessor directives inside an event, but that doesn't mean the preprocessor will actually run when the event occurs. The preprocessor runs (as it name suggests) before the WML code is even processed. So it might sort of appear to work, because it will undefine the HARDER symbol and d...
by gnombat
March 24th, 2024, 1:29 pm
Forum: WML Workshop
Topic: Reset achievements for UMC campaign?
Replies: 27
Views: 1032

Re: Reset achievements for UMC campaign?

A button or a command line option wouldn't be too hard. Doing it via WML/lua wouldn't be hard either, but I wouldn't want to add that functionality there due to the risk of achievements accidentally getting cleared when they shouldn't be due to a bug or someone deciding to intentionally try to wipe...
by gnombat
March 22nd, 2024, 12:24 pm
Forum: Release Announcements, Compiling & Installation
Topic: Wesnoth 1.18.0 — Draconic Invasions Update
Replies: 24
Views: 3444

Re: Wesnoth 1.18.0 — Draconic Invasions Update

I'm seeing two different values for the Windows installer SHA256 sum: 83d2bcc05612b1d3377934935274836e45b27def35510cfe0a46d96e4303fb67 in the post above on the wiki Download page 5920aaa24828ff9048f59bed49ab1ba670209333aa114a98d1643a88cfc7c7f8 in in the file https://files.wesnoth.org/releases/wesnot...
by gnombat
March 19th, 2024, 1:04 pm
Forum: WML Workshop
Topic: Reset achievements for UMC campaign?
Replies: 27
Views: 1032

Re: Reset achievements for UMC campaign?

Alternatively, would it be preferable to not portray these in-game bonuses as "achievements" because they can be obtained every time the campaign is played (and so aren't really achievements in the Wesnoth sense)? Maybe. There are some other campaigns which have something like "achie...
by gnombat
March 19th, 2024, 6:33 am
Forum: WML Workshop
Topic: Question on "name=unit placed" events
Replies: 13
Views: 582

Re: Question on "name=unit placed" events

Well, 1.18.0 has been tagged already, so I doubt the bug is going to be fixed before the release. (Maybe it could be fixed in 1.18.1 or a later bugfix release.) I guess the safest thing is to do what Ravana suggested and just assume that the unit_placed event can trigger at any time, for any reason ...
by gnombat
March 19th, 2024, 4:35 am
Forum: WML Workshop
Topic: Question on "name=unit placed" events
Replies: 13
Views: 582

Re: Question on "name=unit placed" events

it seems like AFTER "side turn" and "turn refresh" for the AI's turn, the WCs are deleted and re-placed, which triggers the "unit placed" event. I am pretty confident that none of my custom events are doing this deletion. So, I'm wondering if there is any internal Wesn...
by gnombat
March 17th, 2024, 8:02 pm
Forum: WML Workshop
Topic: Question on "name=unit placed" events
Replies: 13
Views: 582

Re: Question on "name=unit placed" events

Are you sure that unit_placed isn't firing when you give the units to the AI side? (So that they end up being given back immediately.) Also, are you sure that you even need unit_placed for this at all? I notice that the documentation for unit_placed says, "This event is solely intended for spec...
by gnombat
March 13th, 2024, 1:47 pm
Forum: Lua Labs
Topic: [solved] Storing a test condition as a string
Replies: 5
Views: 267

Re: [solved] Storing a test condition as a string

I think there's a 5th solution that could be used here. You would need to create a global function: -- This function needs to be global (we will see why later). function blood_rain_discovered() return wml.variables.quests.seen_blood_rain == 1 end Then store the name of this function (as a string) in...