RE:CORD
REC_Journal

Stracture

Installation, configuration, and usage for REC_Journal.
Added
Updated

The following configuration files and manifest are taken from the current source.

config/sh_config.lua

---@class REC_Journal.Shared.Config
local config = {}

---[[
---    Debug Mode
---]]
---@type boolean
config.debugMode = true

---[[
---     Items (define them under the same names in ox_inventory items.lua, see _install/)
---]]
config.items = {
    unnamed = "rec_journal_unnamed",
    signed  = "rec_journal_signed",
}

---[[
---     Look of the book in the NUI
---]]
---@type "aged" | "classic"
config.look = "classic"

---[[
---     Book limits (checked in the NUI and again on the server)
---]]
config.maxPages        = 40
config.maxCharsPerPage = 300
config.maxTitleLength  = 32
config.maxAuthorLength = 32
config.maxDescLength   = 120

---[[
---     Camera that pushes in on the hands while the book opens
---     offset / lookAt are relative to the ped (x: right, y: forward, z: up)
---]]
config.camera = {
    fov      = 34.0,
    offset   = vector3(0.0, 0.95, 0.62),
    lookAt   = vector3(0.0, 0.42, 0.28),
    duration = 600, -- ms, interpolation from the gameplay camera
}

---[[
---     Reading pose and the book prop held in the hands
---]]
config.animation = {
    dict = "amb@world_human_clipboard@male@idle_a",
    name = "idle_c",
    flag = 49,
    prop = {
        model    = "prop_notepad_01",
        bone     = 18905,
        offset   = vector3(0.1, 0.02, 0.05),
        rotation = vector3(10.0, 0.0, 0.0),
    },
}



return config
©2026 RE:CORD Development Group. All rights reserved.