Delving into the \t\0001-l044.xml file, I see there's actually Egosoft placeholders for Meson Turrets, so I have modded the turret's identification parameters to point from the "Beam turret" entries to the "Meson turret" entries.
This works fine, and my TER beam turrets correctly get relabelled as Meson turrets in game.
Similar to missile turrets, Meson turrets don't have an in-game description beyond the default "No information available" entry so I'd like to add my own descriptions.
I see most mods add a new page id to the language files for this. I'm wondering if its possible to edit existing entries in the language files instead?
I've tried what I think is the right XML file location & syntax to do this, but it does nothing. Running the game in debug mode doesn't give any errors.
So I've got: C:/Users/[me]/Documents/Egosoft/X4/Extensions/[mod]/extensions/ego_dlc_terran/assets/props/WeaponSystems/energy/macros/turret_ter_m_beam_01_mk1_macro.xml
Code: Select all
<diff>
<replace sel="//macros/macro/properties/identification/@name">{20105,4924}</replace>
<replace sel="//macros/macro/properties/identification/@basename">{20105,4921}</replace>
<replace sel="//macros/macro/properties/identification/@shortname">{20105,4925}</replace>
<replace sel="//macros/macro/properties/identification/@description">{20105,4922}</replace>
</diff>
This bit is definitely working
And then got: C:/Users/[me]/Documents/Egosoft/X4/Extensions/[mod]/t/0001-l044.xml
Code: Select all
<diff>
<replace sel="//language[@id='44']/page[@id='20105']/t[@id='4922']">My description here.</replace>
<replace sel="//language[@id='44']/page[@id='20105']/t[@id='5402']">{20105,4922}\n\nExtra description for L turret here.</replace>
</diff>
Any help greatly appreciated!