Search found 278 matches

by josteph
February 19th, 2019, 8:24 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 226
Views: 44853

Re: enclave's Lua thread

By the way, in 1.12.6 register_wml_action had a compatibility wrapper available: https://github.com/wesnoth/wesnoth/blob/8718cd3d6f5b256d65eec7f112569f37b173838a/data/lua/backwards-compatibility.lua#L32-L37 which is consistent with the deprecation policy: https://wiki.wesnoth.org/CompatibilityStanda...
by josteph
February 19th, 2019, 6:14 pm
Forum: Users’ Forum
Topic: Inclusion of The Battle for Wesnoth android port to F-Droid
Replies: 3
Views: 159

Re: Inclusion of The Battle for Wesnoth android port to F-Droid

I can't speak on behalf of "the project authors" but this sounds like a good idea to me. And we can add a donate button to our f-droid page, which may generate some more income for us :)
by josteph
February 19th, 2019, 6:01 pm
Forum: Scenario & Campaign Development
Topic: Abandoned Campaigns - Need Maintainers - Open to Anyone
Replies: 383
Views: 114591

Re: Abandoned Campaigns - Need Maintainers - Open to Anyone

Pentarctagon wrote:
February 18th, 2019, 7:22 am
so my assumption is that you would just put your name in the "Who is porting to latest BfW (1.14)?" column for the campaign in the "Add-on list" tab.
Don't forget to update the "Last updated" column, a little to the right.
by josteph
February 19th, 2019, 5:57 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 226
Views: 44853

Re: enclave's Lua thread

wesnoth.register_wml_action was deprecated and removed. Someone is going to have to patch the addon to use some other wesnoth.foo function that hasn't been removed. (Or it might be possible to reimplement register_wml_action as a wrapper around some other wesnoth.foo function.) As a workaround, you ...
by josteph
February 19th, 2019, 5:42 pm
Forum: Users’ Forum
Topic: BfW is a game that relies on save-scumming too much
Replies: 4
Views: 148

Re: BfW is a game that relies on save-scumming too much

It's not easy to distinguish a badly balanced scenario from a scenario that's difficult by design . Sometimes a scenario is designed to be not winnable except with losses, potentially even great losses. At other times, a scenario may be balanced badly to the point that it's not winnable without save...
by josteph
February 19th, 2019, 5:29 pm
Forum: Coder’s Corner
Topic: New feature to allow for easier voice acting
Replies: 22
Views: 758

Re: New feature to allow for easier voice acting

The_Gnat, I imagine the paths would be SomeDirectory/ language code / filename .ogg, where language code is the po code (like "en" for English) and filename is what we've been discussing. I think those paths would need to be added to [binary_path] when the campaign is played? But that can probably b...
by josteph
February 17th, 2019, 4:50 pm
Forum: Coder’s Corner
Topic: New feature to allow for easier voice acting
Replies: 22
Views: 758

Re: New feature to allow for easier voice acting

Ravana is right, lua code can already figure out the locale by doing something like wesnoth.textdomain("wesnoth")("Exit") , in the Latin locale it returns Exire for example. I added the Lua API in 2975d616dcf0dffb7450b6d4e35b7e6b679fcd4b and backported it to 1.14 in 3c3e73ac2dbcf91be8efd87e33ca7d752...
by josteph
February 17th, 2019, 4:39 pm
Forum: Scenario & Campaign Development
Topic: Abandoned Campaigns - Need Maintainers - Open to Anyone
Replies: 383
Views: 114591

Re: Abandoned Campaigns - Need Maintainers - Open to Anyone

Or someone might find bugs in the campaign long after it was first posted.
by josteph
February 17th, 2019, 4:29 pm
Forum: Writers’ Forum
Topic: DiD S12 Easter Egg Poll
Replies: 9
Views: 679

Re: DiD S12 Easter Egg Poll

You're welcome. The_Gnat, in your version Zephrin's line sounded somewhat 21st century to me, wesnoth-era dialog doesn't usually use "hahaha" and "right" that way, and some words were missing after Zephrin's name. And yet, the tally right now is 0/1/0/0/1/4 in favor of your proposal... How about the...
by josteph
February 16th, 2019, 1:46 pm
Forum: Writers’ Forum
Topic: DiD S12 Easter Egg Poll
Replies: 9
Views: 679

Re: DiD S12 Easter Egg Poll

Double posting for visibility. Okay, I added The_Gnat's option to the poll, but that reset the vote counts on all the options. Sorry, I didn't know that would happen. My previous post has the tallies from before the change.
by josteph
February 16th, 2019, 1:43 pm
Forum: Writers’ Forum
Topic: DiD S12 Easter Egg Poll
Replies: 9
Views: 679

Re: DiD S12 Easter Egg Poll

I don't care for / don't understand why all the: No orcs were harmed in the making of these accounts. So I chose the 'none of the above' option. The original idea was for the last sentence (of dialog, narration, or story screens) in the campaign to be something to the effect of "No orcs were harmed...
by josteph
February 16th, 2019, 1:28 pm
Forum: Coder’s Corner
Topic: New feature to allow for easier voice acting
Replies: 22
Views: 758

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|." ? I gues...
by josteph
February 15th, 2019, 3:00 pm
Forum: Coder’s Corner
Topic: New feature to allow for easier voice acting
Replies: 22
Views: 758

Re: New feature to allow for easier voice acting

There's an implementation of md5 in src/hash.cpp, but I don't think it's exposed to lua. I have a prototype: diff --git a/data/core/sounds/noid-00000000-en-message_by_an_orc.ogg b/data/core/sounds/noid-00000000-en-message_by_an_orc.ogg new file mode 120000 index 00000000000..6cdc5624214 --- /dev/nul...
by josteph
February 15th, 2019, 1:43 pm
Forum: Coder’s Corner
Topic: New feature to allow for easier voice acting
Replies: 22
Views: 758

Re: New feature to allow for easier voice acting

I think we have enough of a consensus to try to prototype this in WML/Lua? We could wrap wesnoth.actions.message and have it compute the filename and call wesnoth.play_sound.
by josteph
February 14th, 2019, 4:16 pm
Forum: Users’ Forum
Topic: Moremiru's only trait is Loyal. Is this intentional?
Replies: 2
Views: 144

Re: Moremiru's only trait is Loyal. Is this intentional?

The code that creates Moremirmu explicitly specifies random_traits=no , so I agree it was an intentional decision. Furthermore, note that when units have random traits, balancing subsequent scenarios is harder. See for example how Delurin is much more useful in a certain later scenario if he has the...