-
Notifications
You must be signed in to change notification settings - Fork 40
Dialog Replacement
Starting with v1.5.8 it is now possible to replace specific dialog lines in the language files (for example: dialog_eng.lng) without having to replace the language files directly. The game can load alternate (.lng) files from anywhere within the "Mods" folder. Only the lines that you wish to replace need to be included in the language file.
Let's start with editing "dialog_eng.lng" with a text editor, and pick a line we want to replace. The small key is right at the top, so let's use that as an example.
smallkey You got a Small Key!\nYou can open a locked door.
Note that "\n" means "line break". This is how you can force a new line in the dialog box.
Lets start by creating a new blank "dialog_eng.lng" file. Open it with a text editor, and add the line above. Edit it with the changes you want to see.
smallkey You got a Small Key!\nThat's totally rad dude!
And that's it. You have successfully created a modded language file. You can enter as many lines as you want to replace.
This is the easiest part of all. It can be dropped anywhere inside the "Mods" folder. You can place the file with your modded graphics, or you can include it in a separate folder altogether. As long as it's somewhere in the Mods folder, the game will load lines from it over the language files included with the game.
Using @Dittron's mod Saria Over Link as an example, the language file is in the same folder as the graphics. This is a modification I did, and the final version of the mod may do something different. This image is just an example after all.
- π‘ Home
- π€ Building & Contributing
- π Additional Info
- π Main Update Loop
- π§ Direction
- π₯οΈ Dialog Path Loader
- πΊοΈ Dungeon Minimap Files
- πΌοΈ Sprite Atlas Files
- π₯ Camera Field Objects
- π·οΈ Placeholder Tags
- πΌ Music Indexes
- π£ Launcher Mod Maker
- π§© Texture Replacement
- πΌοΈ Custom Menu Border
- π΅ Music Replacement
- πΆ Sound Effect Replacement
- πΊοΈ MapOverlay Custom Info
- π Dialog Replacement
- π LAHDMods