HPL3/Amnesia: Rebirth/Tutorials/Tablets
< HPL3 | Amnesia: Rebirth | Tutorials
Jump to navigation
Jump to search
This tutorial will detail how to make a custom Dark World tablet. They are the dark-grey tablets that have hieroglyphic text on them which gets translated after a moment. The tutorial assumes you can set up your mod and have basic skills in scripting etc.
To get a custom readable tablet in Rebirth:
- Set up a new category for your map in
readables.cfg
- Set the note ID and FrontEntry to whatever you want the note to be called
- Place a category of the same name in english.lang, and then set up an entry with the same name as the ID previously set in readables.cfg
- Place the
dw_tablet_readable.ent
entity somewhere in a level - Name your tablet in game as
Readable_<ID HERE>
- Set the GUI func to
OnGuiDWNote
and set text side as wanted - Place this script somewhere in your map script:
void OnGuiDWNote(const tString&in asEntityName, float afTimeStep)
{
DWNote_RenderGUI(asEntityName, afTimeStep);
}
If you want to make a tablet unreadable, you just make the entity name something that isnt in readables.cfg
.
Frictional named all their unreadable tablets like this: Readable_DWNote_MiscXX