Page 1 of 1

FTL 1.6.2 Broken nameEvents.xml

Posted: Thu Jan 11, 2018 7:34 pm
by Vhati
FTL 1.6 stopped supporting crew name substitution in event text. Yet resources still contain nameEvents.xml.

It was a latent feature in FTL 1.5.13 that some modders had discovered and used.

Comment: "Arsenal+ English Translation" Mod
mr_easy_money wrote:in FTL 1.6 you can no longer put the name of a random crewmember in event text via "%req"... all places where that happens now look odd because of that.
Arsenal+ makes heavy use of this.

You don't need to reinstate the feature, but if the file is cruft, is should be removed - both for tidiness and to avoid misleading examples for mods.

Article: The Cutting Room Floor Wiki - FTL Test Events
The entire file 'nameEvents.xml', containing six unique events, is unused, and appears to be an experiment with using the names of crew members in events. The specific syntax used in the file seems to differ in many places from the syntax used in other events, implying that this file is relatively old. More than one of these events refer to the player ship as "the Kestrel" by name, implying that these events were written before the other playable ships were added to the game.

Re: FTL 1.6.2 Broken nameEvents.xml

Posted: Thu Feb 22, 2018 5:09 am
by PIE15
Hi Vhati,
I think that one approach to this is to maybe add a warning to your modmanger application's validate feature which warns about the use of %req, etc and to edit the Cutting Room Floor Wiki entry, to reflect the changes in the latest version of FTL.
A note about nameEvents.xml depreciation in readme_modders.txt might be an option too?

For modders who want to avoid confusing mod translators, it might be prudent to use a nameEvents.xml.append containing:

Code: Select all

<mod:findLike type="event">
      <mod:removeTag />

<mod:findLike type="eventList">
      <mod:removeTag />

<mod:findLike type="textList">
      <mod:removeTag />

This removes cruft which does not need to be added to the new text entries. :idea: