๐Ÿ‘จโ€๐ŸŽ“ Pogue Redipedia Script for RedM

Welcome to the Pogue Redipedia, the ultimate guide system for your RedM server.

๐Ÿ’ฌ Support


๐Ÿ“œ Overview

The Pogue Redipedia script allows server administrators to create interactive NPC-based guides. These guides provide players with essential server information, including rules, legal professions, and illegal activities, all wrapped in a Wild West-themed UI.


โœจ Features

  • Interactive NPC Guide System: Players interact with NPCs to access detailed guides.

  • Customizable Menus: Define server rules, jobs, and illegal activities in config.lua.

  • Dynamic Categories: Easily add or remove categories based on your serverโ€™s needs.

  • Wild West-Themed UI: Immersive and easy-to-navigate interface tailored to RedMโ€™s style.

  • Multilingual Support: Configurable texts for a localized experience.


๐Ÿ”ง Configuration Guide

The config.lua file allows full customization of the script. Below are the key configuration options:

1. Interaction Controls

Define the interaction key and prompt text:

Config.Controls = {
    interactKey = 0x760A9C6F -- Default G
}
Config.Prompts = {
    interactLabel = "Interact with", 
    pressKey = "Press [G] to interact"
}

2. NPC Settings

Add NPCs to the map with specific roles, categories, and blips:

Config.NPCs = {
    {
        coords = {x = -845.38, y = -1190.26, z = 42.53}, 
        heading = 144.07,
        model = "a_m_m_rancher_01",
        blip = 587827268,
        name = "Rules NPC",
        showName = true, 
        server_name = "My Awesome Server", 
        categories = {'Rules', 'Constitution'}
    }
}
  • coords: Location of the NPC.

  • categories: Assign guide categories to each NPC.

3. UI Texts

Customize the text displayed in the UI:

Config.UITexts = {
    welcome = "WELCOME",
    back = "BACK",
    close = "CLOSE"
}

4. Menu Categories

Define the content for each guide category:

Config.MenuCategories = {
    ['Rules'] = {
        "1. Respect other players at all times.",
        "2. Do not exploit bugs or use cheats.",
        "3. Roleplay your character realistically and avoid breaking immersion."
    },
    ['Farmer'] = {
        "Role: Farmer",
        "Description: Grow and harvest crops to supply the community with food.",
        "Responsibilities: 1. Plant seeds in designated farming areas."
    }
}

5. NPC Head Text

Set the appearance of text displayed above NPCs:

Config.Text = {
    scale = {x = 0.35, y = 0.35}, 
    color = {r = 255, g = 255, b = 255, a = 215}, 
    visibilityDistance = 15.0 
}

๐ŸŽฎ Example Use Cases

๐Ÿ‘จโ€๐ŸŽ“ New Player Guidance

Quickly onboard new players with server rules and roleplay information.

๐Ÿน Job Introductions

Showcase legal professions like farming, hunting, and blacksmithing.

๐Ÿ•ต๏ธโ€โ™‚๏ธ Illegal Activities

Offer immersive roleplay opportunities with activities like moonshining and artifact smuggling.


๐Ÿ”ง Installation Instructions

1. Add the Script to Your Server

  1. Place the Pogue_Redipedia folder into your server's resources directory.

  2. Add the following line to your server.cfg:

    ensure pogue_redipedia

2. Configure the Script

Edit the config.lua file to customize NPCs, categories, and UI texts.


๐Ÿ“‹ Special Considerations

  • Dynamic Content: Add or remove categories to suit your serverโ€™s style.

  • Customization: Adjust NPC locations, menu categories, and UI texts to create a personalized experience.

  • Roleplay Immersion: Enhance player engagement with detailed guides and themed UI.


For questions or additional resources, join our Discord or visit our Tebex store.

Enjoy the Pogue Redipedia and elevate your RedM server experience! ๐ŸŽโœจ

Last updated