Results 1 to 2 of 2

Thread: Custom localization not loading

  1. #1
    Refugee
    Join Date
    Jul 2016
    Posts
    8
    Rep Power
    0

    Question Custom localization not loading

    Im on A18.1 b6, playing on my own dedicated server.

    I tried to use a couple mods that change some localization values, like THIS ONE, but turns out the description in-game wont change, no matter what I do.

    At first I put the mod in the MOD folder, like all the others, but this didnt work. Then I tested by manually editing "Data\Config\Localization.txt" in BOTH my game client and dedicated server, and it still wouldnt change¿?

    Where else could it be possibly taking the text from, or what am I doing wrong?

  2. #2
    Survivor
    Join Date
    Dec 2015
    Posts
    82
    Rep Power
    0
    It can be done with a modlet.
    Say I want to alter the description for the Strength attribute, First I'll test to make sure I know what I'm doing.
    To test it I'll make the /Mods/WeyrProgression/Config/progression.xml file and throw this in it:
    Code:
    <configs>
    <set xpath="/progression/attributes/attribute[@name='attStrength']/effect_group/effect_description[@level='1']/@desc_key">attStrengthRank01DescWeyr</set>
    <set xpath="/progression/attributes/attribute[@name='attStrength']/effect_group/effect_description[@level='1']/@long_desc_key">attStrengthRank01LongDescWeyr</set>
    </configs>
    Then I'll make Mods/WeyrProgression/Config/Localization.txt and put this in it:
    Code:
    Key,Source,Context,Changes,English,French,German,Klingon,Spanish,Polish
    attStrengthRank01DescWeyr,progression,Attribute,New,"NewDescWeyr",,,,,
    attStrengthRank01LongDescWeyr,progression,Attribute,New,"NewLongDescWeyr",,,,,
    This just replaces the very first level's description, but this is one way to do it.

    Make a new localization key for the item in question and then modify the item/attribute/whatever to point to your new Localization.
    Basically you want a unique unused identifier that is unlikely to be used by other modlets (Like me throwing Weyr on the end of these example keys).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •