Announcement

Collapse
No announcement yet.

Compile: How to add strings to ldl_str.txt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Compile: How to add strings to ldl_str.txt

    For adding the missing commands to the keyboard mapper (described here ), i added some string to the ldl_str.txt.

    The strings of the german file look like this:
    # Added for extended keyboard mapping options keys 6/2004 L. Hirth
    str_tbl_ldl_Music_Options "Musikeinstellungen"
    str_tbl_ldl_Decend "Landen"
    str_tbl_ldl_Execute_Eyepoint "Fokus auf Nachrichtenobjekt (Auge)"
    str_tbl_ldl_Move_Order "Fortbewegen"
    str_tbl_ldl_End_Unit_Turn "Einheitenzug beenden"
    str_tbl_ldl_Process_Unit_Orders "Alle Einheitenbefehle ausführen"
    str_tbl_ldl_Group_Army "Einheiten Gruppieren"
    str_tbl_ldl_Ungroup_Army "Einheitengruppierung aufheben"
    str_tbl_ldl_Gamestate_Debug "Gamestate_Debug (Playtest)"
    str_tbl_ldl_Rand_Test "Rand_Test (Playtest)"
    str_tbl_ldl_Command_Enter "Command Enter (Playtest)"
    str_tbl_ldl_Command_Enter_Alternate "Command Enter Alternate (Playtest)"

    This works for the display of the keyboard mapper without any problem. But it has also some unwanted side effects of corrupting the string database.

    Is there any more to do as adding the strings to the ldl_str.txt file to get this working? E.g. increment a constant or something similar.

    To see or debug the problem, I appended a savegame, that produces the problem. After you load the save game, only finish the turn and you will get some text corrupted messages. As soon as you remove the newly added lines from the ldl_str.txt and restart ctp2 and reload the game, the messages are fine.

    Any hints are very welcome!
    Attached Files
    Ludwig

  • #2
    That happens only if you modify the string database and continue a presaved game. Starting a new game is fine, if you want to continue an existing game with an appended string database you have to /reloadslic, to do this open the chat window by typing the apostrophe key (') and enter: /reloadslic

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

    Comment


    • #3
      "Ask and you will be inspired"

      Martin,

      thank you for the information. That fixed the problem.
      Ludwig

      Comment

      Working...
      X