Custom lore books

Does anyone know how to create custom lore books?

EDIT: I figured out how to edit one of them.

I added “loreobject_burrwitch_random_01.dbr” to the database editor.

I’m now looking at the parameters but it is quite confusing on how exactly to edit it.

88 views and nobody knows how?

It’s evident people are curious to know, so if you’re that one brilliant soul out there that knows, please share the info. This is something that’s going to come up eventually anyway.

What’s your question specifically?

Hey Electroflux,

Do you intend to ask a way to create quest logs and lore items which get dropped or are found in the game’s wilderness?

Sorry, I should have been more specific.

What I’m asking is, I’m trying to create lore books as world drops, like you would see in Grim Dawn (that give lore experience).

I essentially want to copy that entire concept that currently exists, but I want to modify the lorebook to say what I want it to say (basically, creating my own story).

You just need new tags then.

codexTitle - the name of the lore note to use in the Lore Codex, use when the description is too long to fit
subHeading - what category to show it under in the lore codex
itemText - the body of the lore note
description - the name of the lore note

I wrote a detailed guide before I saw Zantai’s reply, but i’ll post it here anyway.

To make a custom note, you need open up an existing note for editing and change the tags, then add the new tags to a text file.

The steps are as follows:

  1. Under the Header group, change the File Description to what you want your note to be called. This is just for the Asset Manager.

  2. Go to the Itemnote group. The experienceBonus field is how much xp you get from reading the note, you can make it whatever you want.
    The codexTitle tag is for when the note name needs abbreviating to fit in the lore codex ui. If needed we can add tagLoreObj_MyNote01codexTitle, otherwise leave blank.
    The SubHeading tag determines the heading in the quest/note UI where you read your note in-game. Set to tagCodexJournalSubHeadingDefault to file under Miscellaneous, or create your own, eg tagCodexJournalSubHeadingMyNotes

3.ItemParameters: the tag here contains the actual note text. We can change the tag to tagLoreObj_MyNote01Text

  1. Actor Variable Group: the description tag is the name of your note. We’ll change this to tagLoreObj_MyNote01Name

  2. Save with new name in your mod’s Database. I use subfolders within Grim Dawn/mods/modname/database/records/custom to make it easy to find.

  3. Now add the following tags to your TestTags text file (Grim Dawn/mods/modname/source/text_EN). If you don’t have one you can create it.

tagCodexJournalSubHeadingMyNotes=My Notes (if not set to Default)
tagLoreObj_MyNote01Name=add note name here
tagLoreObj_MyNote01codexTitle=abbreviated name here (optional)
tagLoreObj_BookA01Text=add note text here.

  1. Save and exit. Open the Asset manager and build the .dbr (database tab) and autocreate the text file (source) or rebuild it (assets tab). Now you can find the note in the Editor and place the item in your custom map.

That is still slightly confusing.

So, for item text I just put in what I want and it’ll read as such?

I’m editing a burwitch_random lorebook, so it doesn’t make much sense. For example, it lists the item text as “tagLoreObj_BookA01Text”.

EDIT: I posted this before I seen the above response. That is very helpful, I’ll try it out.

On step 6, what is the test tags text file? I don’t have one in there. I created a new text document, however. Do I just name it “TestTags”?

You can call it whatever you want, Testtags seems to be the default.

Grim Dawn uses tags_creatures, tags_items, tags_storyelements etc.

I have a feeling I messed up the tags somehow. It says this for everything. I named my text document, inside the “Text_EN” folder of my mod structure as “AsylumLorebookTags”.

I must’ve went wrong on the .dbr file somewhere linking it to that text file.

EDIT: My text file isn’t in the assets tab of the asset manager, like you said. It’s listed under the Source tab.

Check to see if you have a TestTags file now after building your mod and copy the tags over, or rename the file. The method worked fine for me.

In your text file, write:

tagLoreObj_AsylumLaboratoryText=This is what this note says.

Save the text file. In Asset Manager, search the text file and Auto-Create Asset if you haven’t done so, and then Build your mod. Each time you add something new to the tags, you re-build your mod.

I neglected to mention that, every time you edit a dbr or text file you need to rebuild it. I’ll edit my original post.

The fun thing is that all this is much easier than it sounds, and once it is set up it’s smooth sailing. I’m sure Electroflux will be writing novels in no time!:smiley:

This worked, I just forgot to auto-create the asset of the text file, it fixed it now.

I appreciate the help, this has been very useful, especially if I have to start modifying other aspects of the game.

I named my text file tags_items, however, but if I were to create a tag for a zone (world name), what would I put that tag under, what text file should I call it? Something like tags_world or do I have to be specific to what the game wants?

I don’t think it matters. You can put them all in the same text file, but the actual game uses different ones because there are so many tags (tags_creatures, tags-items, tags_storyelements, etc).

I recommend looking at the files in Grim Dawn/resources/text_EN - or even the Tutorial Mod - to see how some things are done.

So, I’m having one last issue…updating the lorebook.

I originally used the text file “tags_items”, however, I had to rename it to “tags_lorebooks”.

Every since then, even deleting the original “tags_items” text file and auto-creating a new asset with “tags_lorebooks” (nothing inside the text files changed) and building the entire mod all over again, it keeps using the original text/options I set instead of the new text.

Are you using a new tag or one from tags_items ?

Try using your own tag…

The tag is exactly the same from both files, I just renamed the text file, that’s the odd part about it.