Page MenuHomeWildfire Games
Feed All Stories

Sep 25 2020

Freagarach committed rP24069: Introduce subfolders for flora templates..
Introduce subfolders for flora templates.
Sep 25 2020, 10:29 AM
autobuild committed rP24068: [i18n] Updated POT and PO files..
[i18n] Updated POT and PO files.
Sep 25 2020, 9:30 AM

Sep 24 2020

Freagarach added inline comments to D3007: [gui] correct some strings.
Sep 24 2020, 7:56 PM
Stan added inline comments to D2919: Make PlayerHasMarket event-based.
Sep 24 2020, 7:21 PM
Freagarach added inline comments to D2919: Make PlayerHasMarket event-based.
Sep 24 2020, 7:18 PM
Freagarach added inline comments to rP24065: Clean simulation/components/Player.js.
Sep 24 2020, 7:09 PM
bb committed rP24067: Don't use GetPopulationCount() in Player.js, but use the value it returns….
Don't use GetPopulationCount() in Player.js, but use the value it returns…
Sep 24 2020, 7:07 PM
bb committed rP24066: Remove comment added in rP21423, but obselete since rP22964..
Remove comment added in rP21423, but obselete since rP22964.
Sep 24 2020, 7:01 PM
bb added inline comments to rP24065: Clean simulation/components/Player.js.
Sep 24 2020, 6:58 PM
Freagarach added a comment to D2993: [gameplay] add visible garrison points to rome siege wall tower.

Could you please split these off?

[EDIT] Also gives all siege wall segments the same cost-to-health ratio.
And clean up <BuildingAI> to define it only in structure templates with an <Attack>.

At least the latter, for I can easily review and commit that whilst this patch and the former need some opionion about balancing.

Sep 24 2020, 6:57 PM
Freagarach added a comment to D2855: clean up sound groups in unit templates.

Structures: Same as BuildingAI in another patch, the sound is only necessary when a structure can attack, right?

Sep 24 2020, 6:52 PM
bb updated the diff for D3014: Show correct trade info for observers.
Sep 24 2020, 6:46 PM
bb added a comment to D3014: Show correct trade info for observers.

There is a problem in this patch, mostly noticeable in MP: When changing the values as a player, the values will first change by the GUI handling. Then at the next simUpdate (new turn), the values will move back to the old ones and a few turns later, the values will move back to what they should be (since the command is only executed a few turns later). This is obviously wrong. To counter this, we can add a if (g_Observer) check. Which would be correct in the sense that observers can't change the simstate, and should just view what the current sim values are. However I also considered #2459, if the values change otherwise than playerdoing, we will be in trouble. I presume fixing this there would need some event-based gui handling. We could argue this out of scope.

Sep 24 2020, 6:29 PM
Freagarach requested changes to D3014: Show correct trade info for observers.

Multiplayer is weird now.

Sep 24 2020, 12:56 PM
Nescio requested review of D3015: [art] correct a few weapon prop names.
Sep 24 2020, 12:49 PM
Nescio updated the diff for D2855: clean up sound groups in unit templates.
  • Gave template_structure_defensive_tower_bolt.xml the same sounds as template_unit_siege_boltshooter.xml.
  • Removed attack sounds from maur_support_elephant.xml, spotted by @Freagarach.

You can include the few Gaia/ entries as well (donkey and horse)?

  • Not changed to avoid conflict with D2953.
Sep 24 2020, 10:11 AM
Nescio added a comment to D2995: Introduce translatable attack names.

Below the translation field, there is a "more info" box displayed. The third item says "Context", the context string added here will be displayed there.

If I understand correctly, strings are translated on transifex, not occurrences, i.e. if a particular string is translated, all occurrences that are exactly the same have the same translation, which is typically fine for full sentences or longer texts. Although context is displayed on transifex, it's essentially meta-data, and since it does not alter the string, I fear both "Sword" (with double-edged context) and "Sword" (with single-edged context) will have the same translation. That said, I don't know the inner workings of transifex and I didn't test for this particular case.

And then it is replaced by the correct term, when wanted. If I counted correctly there are 20 different sword wielding units, of which 4 use a single-edged one. I believe avoiding duplication legitimizes settting the double-edged variant in the parent.

Did you check champions too? Those usually don't have swordsman in their file name. Anyway, if single-edged blades are indeed a small minority, I agree it's better to set Sword in the generic template parent and a different string in the relevant children. Perhaps ‘Saber’? It's a bit anachronistic, but probably clearer than e.g. ‘Backsword’.

Sep 24 2020, 10:00 AM
Freagarach added a comment to D2855: clean up sound groups in unit templates.

You can include the few Gaia/ entries as well (donkey and horse)?
maur_support_elephant also has an attack node.
Idem for the infant elephant and domestic cattle.

Sep 24 2020, 9:58 AM
Nescio updated the summary of D1009: introduce subfolders for flora templates.
Sep 24 2020, 9:34 AM
Freagarach accepted D1009: introduce subfolders for flora templates.
-e 's,gaia/flora_bush_tropic,tree/bush_tropic,g' \

But since it is unused it doesn't really matter ;)

Sep 24 2020, 8:51 AM
Freagarach added a comment to D2995: Introduce translatable attack names.

This is looking better and better :) Just one thought, for entities like animals, which have no clear weapon they use, it may be clearer to just use "melee"? E.g. the elephant uses both trunk and tusks.

Sep 24 2020, 8:21 AM
Freagarach accepted D3014: Show correct trade info for observers.

Works as advertised.
Trading goods may be affected by triggers and will be updated accordingly now.

Sep 24 2020, 7:55 AM
Freagarach added inline comments to rP24065: Clean simulation/components/Player.js.
Sep 24 2020, 7:33 AM
Freagarach added inline comments to rP24065: Clean simulation/components/Player.js.
Sep 24 2020, 7:30 AM

Sep 23 2020

bb added a comment to D2995: Introduce translatable attack names.

This is actually easy to fix, we can add a context tag in the template, which will be extracted already. So I just added the code to pipe the context through and use it for translations. In example: one can put <AttackName context="Double-edged">Sword</AttackName> in the template.

How does this work, i.e. what's the result on transifex?

Below the translation field, there is a "more info" box displayed. The third item says "Context", the context string added here will be displayed there.

On this specific topic: I also added context for all sword wielding units.

No you didn't: you set it for the generic template_unit_*_swordsman.xml shared parents, which is wrong for about half their children.

And then it is replaced by the correct term, when wanted. If I counted correctly there are 20 different sword wielding units, of which 4 use a single-edged one. I believe avoiding duplication legitimizes settting the double-edged variant in the parent.

Then another concern: if I understand correctly, the attack name is taken from the template and translated separately. However, in some languages e.g. “spear” and “attack” will give a different translation than “spear-attack”.

Again context, I will add a context for all the attackNames now (a general one in messages.json), which will be visible for all in transifex for all strings which don't have a context defined in the template.

Sep 23 2020, 11:26 PM
bb updated the diff for D2995: Introduce translatable attack names.
Sep 23 2020, 11:26 PM
bb updated the diff for D3005: Range safe buildingAI.
Sep 23 2020, 10:21 PM
bb added inline comments to D3005: Range safe buildingAI.
Sep 23 2020, 10:21 PM
Stan added inline comments to D3005: Range safe buildingAI.
Sep 23 2020, 10:17 PM
bb updated the diff for D3005: Range safe buildingAI.

Duplicate the parabolic code from unitai

Sep 23 2020, 10:09 PM
bb added inline comments to D3014: Show correct trade info for observers.
Sep 23 2020, 9:46 PM
Nescio updated the summary of D1009: introduce subfolders for flora templates.
Sep 23 2020, 9:06 PM
Nescio updated the diff for D1009: introduce subfolders for flora templates.
  • renamed remaining flora_tree_* files with script provided by @Freagarach
  • corrected sed command
  • validated afterwards
Sep 23 2020, 9:06 PM
Nescio updated the diff for D2855: clean up sound groups in unit templates.
  • rebased
Sep 23 2020, 8:59 PM
Nescio updated the summary of D2953: clean up fauna templates.
Sep 23 2020, 8:48 PM
Nescio updated the diff for D2953: clean up fauna templates.
  • remove walk speed multiplier from template_unit_fauna.xml
Sep 23 2020, 8:47 PM
Nescio updated the diff for D2953: clean up fauna templates.
  • rebased and updated
  • moved <UnitAI/NaturalBehaviour> to specific gaia/fauna_* templates and deprecated 20 generic template_unit_fauna_* templates, per @Freagarach
  • renamed template_unit_fauna.xml to template_unit_animal.xml
Sep 23 2020, 8:36 PM
bb requested review of D3014: Show correct trade info for observers.
Sep 23 2020, 8:32 PM
bb raised a concern with rP23072: Refactor trade dialog and barter panel buttons to use object orientation, refs….
Sep 23 2020, 8:13 PM
bb committed rP24065: Clean simulation/components/Player.js.
Clean simulation/components/Player.js
Sep 23 2020, 7:42 PM
Freagarach added inline comments to rP23681: Internationalise Damage Types and Status Effects using (optional) JSON files..
Sep 23 2020, 7:01 PM
Freagarach added inline comments to D2808: Allow resistance to StatusEffects..
Sep 23 2020, 6:53 PM
Freagarach updated the diff for D2808: Allow resistance to StatusEffects..

Rebased.

Sep 23 2020, 6:43 PM
bb committed rP24064: Disallow gaia to change state, i.e., gaia can't be defeated or win.
Disallow gaia to change state, i.e., gaia can't be defeated or win
Sep 23 2020, 5:42 PM
bb closed D3013: Disallow gaia to change state.
Sep 23 2020, 5:42 PM
Freagarach requested changes to D2855: clean up sound groups in unit templates.

This change seems good, but needs a rebase.

Sep 23 2020, 5:22 PM
Freagarach accepted D3013: Disallow gaia to change state.

Works as advertised.
Please fix linter (when committing).

Sep 23 2020, 9:01 AM
Freagarach requested changes to D1009: introduce subfolders for flora templates.

Try this:


Moreover, your script need fixing in the same way as D1010.

Sep 23 2020, 8:23 AM

Sep 22 2020

Freagarach accepted D1010: introduce subfolders for geology templates.
Sep 22 2020, 8:49 PM
Freagarach added a comment to D1010: introduce subfolders for geology templates.
  • Checkrefs passes.
  • Playtesting reveals no errors.
  • Change is good.
Sep 22 2020, 8:49 PM
Freagarach added inline comments to D2654: Allow free Upgrades and/or Technologies..
Sep 22 2020, 8:43 PM
Stan added inline comments to D2654: Allow free Upgrades and/or Technologies..
Sep 22 2020, 8:38 PM
Freagarach committed rP24063: Do not process commands sent by observers..
Do not process commands sent by observers.
Sep 22 2020, 8:29 PM
Freagarach closed D2810: Don't process commands sent by observers..
Sep 22 2020, 8:29 PM
Freagarach added a comment to D2810: Don't process commands sent by observers..

Thanks for the review @bb!

Sep 22 2020, 8:28 PM
Freagarach updated the diff for D2810: Don't process commands sent by observers..

Inlines.

Sep 22 2020, 8:14 PM
gameboy added a comment to D2812: Adds MSAA to anti-aliasing techniques.

@vladislavbelov

Sep 22 2020, 2:27 PM
Nescio added a comment to rP24061: Fix line-endings for all templates.

(For the record: D2572.)

Sep 22 2020, 11:32 AM
Nescio added a comment to D2995: Introduce translatable attack names.

The point is the values and names are defined in the generic template_* parent templates, but the props and animations in the actor files, which are set in the specific units/* templates. If you use the actor viewer in Atlas, you'll see e.g. cart_cavalry_swordsman_gaul_b.xml uses a double-edged sword, but cart_cavalry_swordsman_iber_b.xml a single-edged sword.

This is actually easy to fix, we can add a context tag in the template, which will be extracted already. So I just added the code to pipe the context through and use it for translations. In example: one can put <AttackName context="Double-edged">Sword</AttackName> in the template.

How does this work, i.e. what's the result on transifex?

On this specific topic: I also added context for all sword wielding units.

No you didn't: you set it for the generic template_unit_*_swordsman.xml shared parents, which is wrong for about half their children.

Sep 22 2020, 10:39 AM
Nescio added a comment to D3012: rename some fauna templates.

Proofreading other fauna names does not result in more cases.

Actually there are at least two more: deer and zebra. I didn't include them because it's unclear which species they are. When correcting the specific names (D1523/rP22014) I made educated guesses, but the actors are not that clear and it could be argued they're meant to represent a different species.

Sep 22 2020, 10:12 AM
Nescio added a comment to rP24061: Fix line-endings for all templates.

There are also XML files elsewhere; the vast majority is in the art/ folder.

Sep 22 2020, 10:03 AM

Sep 21 2020

bb closed D3012: rename some fauna templates.
Sep 21 2020, 11:19 PM
bb committed rP24062: Make fauna names consistent.
Make fauna names consistent
Sep 21 2020, 11:14 PM
bb accepted D3012: rename some fauna templates.

Correctness forces the accept

Sep 21 2020, 11:11 PM
bb added a comment to rP24061: Fix line-endings for all templates.

Apparently only the mime-types where changed, while the line-endings where already correct.

Sep 21 2020, 10:50 PM
Stan added a comment to D2810: Don't process commands sent by observers..
In D2810#132054, @bb wrote:

Observers can already see the whole map, slightly bad that observers don't have the retroMe cheat anymore, but well, meh.

D1442 for the record

Sep 21 2020, 10:29 PM
bb committed rP24061: Fix line-endings for all templates.
Fix line-endings for all templates
Sep 21 2020, 10:29 PM
bb added inline comments to D2810: Don't process commands sent by observers..
Sep 21 2020, 10:17 PM
Stan added inline comments to D3013: Disallow gaia to change state.
Sep 21 2020, 9:45 PM
bb requested review of D3013: Disallow gaia to change state.
Sep 21 2020, 9:39 PM
Stan added inline comments to rP24060: Safeguard QueryPlayerIDInterface calls.
Sep 21 2020, 9:19 PM
bb accepted D2810: Don't process commands sent by observers..

Note that the reveal map cheat does not work anymore for observers after this. Is that bad?

Observers can already see the whole map, slightly bad that observers don't have the retroMe cheat anymore, but well, meh.

Sep 21 2020, 9:16 PM
bb committed rP24060: Safeguard QueryPlayerIDInterface calls.
Safeguard QueryPlayerIDInterface calls
Sep 21 2020, 8:55 PM
bb accepted D2654: Allow free Upgrades and/or Technologies..
Sep 21 2020, 6:36 PM
bb added a comment to D2995: Introduce translatable attack names.

Then there is the problem of translating. For instance, whilst ‘sword’ can refer to both single- and double-edged blades in English, this is not true for all languages. In Chinese, jiàn is the word for double-edged swords and dāo the term for single-edged swords (and knives). Thus in those languages “sword” would be wrong in about half of the cases.

This is actually easy to fix, we can add a context tag in the template, which will be extracted already. So I just added the code to pipe the context through and use it for translations. In example: one can put <AttackName context="Double-edged">Sword</AttackName> in the template. On this specific topic: I also added context for all sword wielding units.

Sep 21 2020, 6:35 PM
bb updated the diff for D2995: Introduce translatable attack names.

Back to attackName
add context support
add context for swords
improve some names

Sep 21 2020, 6:33 PM
Silier updated subscribers of D3009: Refactor UpdateMessageSubscriptions in CCmpRangeOverlayRenderer.
Sep 21 2020, 2:16 PM
bb accepted D3009: Refactor UpdateMessageSubscriptions in CCmpRangeOverlayRenderer.

Digging back to D555, this code must be ccmpSelectable copy-pasta

Sep 21 2020, 2:12 PM
Nescio requested review of D3012: rename some fauna templates.
Sep 21 2020, 2:11 PM
Nescio added a comment to D3011: [art/actors] remove Babylonian lion from Persian barracks.

The barracks already has quite a few props to make it interesting. Besides, the Persian arsenal, range, stable don't have it either.

Sep 21 2020, 1:23 PM
Stan added a comment to D3011: [art/actors] remove Babylonian lion from Persian barracks.

It's important in the sense that it removes decoration as such makes buildings more historically accurate, but also more bland and less interesting to look at. So when I need to edit buildings I have to take it into account.

Sep 21 2020, 1:01 PM
Nescio added a comment to D3011: [art/actors] remove Babylonian lion from Persian barracks.

Yes, but that's a minor point. Besides, those don't belong on generic structures either: reliefs of Persians in ceremonial robes are found on several of the monumental structures of the Persepolis palace terrace, as well as on the tomb of Darius and some other rock inscriptions (i.e. all Wonder-quality), but to the best of my knowledge not on any of the buildings found in the lower city of Persepolis or elsewhere.

Sep 21 2020, 12:39 PM
Nescio added a comment to D2993: [gameplay] add visible garrison points to rome siege wall tower.

To be able to use the lower floor (also for siege wall gate) the actor needs to be edited to raise the platform, because currently the garrison heads go through the roof: https://wildfiregames.com/forum/topic/22779-0abc-mod/page/17/?tab=comments#comment-391719

Sep 21 2020, 12:33 PM
Nescio added a comment to D1010: introduce subfolders for geology templates.

Good points! I wrote and ran the script, but didn't validate it afterwards to verify the replacements were correct; I should have.
Anyway, I've now updated the sed script. Could you try and check again?

Sep 21 2020, 12:30 PM
Nescio updated the summary of D1010: introduce subfolders for geology templates.
Sep 21 2020, 12:27 PM
Freagarach requested changes to D1010: introduce subfolders for geology templates.

Your script needs some fixes.
E.g.

-e 's,geology_metal_alpine,alpine_small,g' \
-e 's,geology_metal_alpine_slabs,alpine_large,g' \

means that first geology_metal_alpine_slabs is replaced with alpine_small_slabs.
Also the gaia-folder is missing in the replacement strings.

Sep 21 2020, 12:09 PM
Freagarach added a comment to D2993: [gameplay] add visible garrison points to rome siege wall tower.

I guess we need only some opinions from the balancing department.
Unless this:

In D2993#131488, @Stan wrote:

The top of the tower looks very crowded though.

is sufficient reason to hold this off?

Sep 21 2020, 11:54 AM
Stan added a comment to D3011: [art/actors] remove Babylonian lion from Persian barracks.

That also removes the two characters from the walls

Sep 21 2020, 11:44 AM
Nescio requested review of D3011: [art/actors] remove Babylonian lion from Persian barracks.
Sep 21 2020, 11:34 AM
Nescio added a comment to D2993: [gameplay] add visible garrison points to rome siege wall tower.

Anything that needs changing?

Sep 21 2020, 11:22 AM
Nescio planned changes to D2841: [gameplay] split Celtic civ bonuses.

See also https://wildfiregames.com/forum/topic/24495-celtic-reference/page/8/

Sep 21 2020, 11:21 AM
Nescio added a comment to D2950: [gameplay] keep population for houses.

This (D2950) and the other (D2841) are two separate patches, with different aims, that can be reviewed independently. If and when one is committed, the other will have to be rebased, though that's unimportant for the discussion here.
This patch initially kept the population for brit and gaul structures, but that exception was later removed, per @borg-.
As for D2841, the purpose of which is to differentiate brit and gaul, it's unclear if and in what form it will end up. There was some more discussion on the forums last month, which indicate that perhaps the brit might keep the structure build time discount and the gauls would get one or more new bonuses (still to be determined). Anyway, that's outside the scope of this patch, and belongs in D2841.

Sep 21 2020, 11:17 AM
Stan committed rP24059: Add missing credit in 3D work. I missed the fact he was in 2D.
Add missing credit in 3D work. I missed the fact he was in 2D
Sep 21 2020, 11:05 AM
Nescio added a comment to rP24058: New Kushite Range by @m7600. Small Edits by @Stan.

gui/credits/texts/art.json?

Sep 21 2020, 11:03 AM
Stan committed rP24058: New Kushite Range by @m7600. Small Edits by @Stan.
New Kushite Range by @m7600. Small Edits by @Stan
Sep 21 2020, 10:40 AM
Stan committed rP24057: Optimise some textures. Reduce the noise and the size to 512x512, and while at….
Optimise some textures. Reduce the noise and the size to 512x512, and while at…
Sep 21 2020, 10:02 AM
autobuild committed rP24056: [i18n] Updated POT and PO files..
[i18n] Updated POT and PO files.
Sep 21 2020, 9:38 AM
Freagarach added a comment to D2382: [WIP] - Building Sockets..

@gameboy No sir, this patch is not ready. In the title it says [WIP] -- meaning that it is a work in progress. Moreover the status of the patch is Changes Planned meaning there is stuff that needs to be done but time (and motivation) to be found.

Sep 21 2020, 7:33 AM
autobuild committed rP24055: [Windows] Automated build..
[Windows] Automated build.
Sep 21 2020, 7:31 AM

Sep 20 2020

autobuild committed rP24054: [Windows] Automated build..
[Windows] Automated build.
Sep 20 2020, 6:21 PM