[PAID][SCRIPT][MAPPING] Basement of Saint Denis

MAPPING :
Fully furnished custom tunnel props. Located under Saint-Denis, discover the mysterious Saint Denis Basement. Load and deload script mapping for 100% optimization.

SCRIPT :
• Electric Chair script
• Weathersync script
• Teleportation script configurable (You can restrict teleportation points based on jobs, licenses, or Discord identifiers. You can also modify teleportation points. )

GET THIS YMAP : TEBEX STORE
VIDEO PREVIEW : YOUTUBE VIDEO

SCREENSHOTS












CONFIG
-- ╔═══════════════════════════════════════════════════════════════════════════╗
-- ║                                                                           ║
-- ║                             GLOBAL CONFIGURATION                          ║
-- ║                                                                           ║
-- ╚═══════════════════════════════════════════════════════════════════════════╝

-- Global Configuration Table
CONFIG = {}

-- Debug Mode
CONFIG.DEBUG = true

-- Electric chair version
CONFIG.USE_ELECTRIC_CHAIR = true

CONFIG.PROPS_ELECTRIC_CHAIR = {
    {"p_cs_electricchair01x", 'PROP_HUMAN_SEAT_CHAIR'} -- [1] = props, [2] = "scenario"
}

CONFIG.DISTANCE_SEATCHAIR = 5.0
CONFIG.SOUND_ELECTRIC_CHAIR = 'Electric_Chair.mp3'
CONFIG.VOLUME_ELECTRIC_CHAIR = 0.1
CONFIG.CONTROL_SEAT_CHAIR = 0x6319DB71
CONFIG.CONTROL_START_ELECTRIC_CHAIR = 0x05CA7C52
CONFIG.CONTROL_STOP_ELECTRIC_CHAIR = 0x156F7119
CONFIG.DISTANCE_SEAT_CHAIR = 5.0
CONFIG.REMOVE_HEALTH = 80
CONFIG.VIEW_PROMPT_SEAT_CHAIR = 5000
CONFIG.PROMPT_SEAT_CHAIR = {
    [1] = {text = "Sit"},
    [2] = {text = "Electric Chair"},
    [3] = {text = "Electrocute"},
    [4] = {text = "Stop"},
}

-- ╔═════════════════════════════════════════════════════════════════════════╗
-- ║                                                                         ║
-- ║                          UTILS CONFIGURATION                            ║
-- ║                                                                         ║
-- ╚═════════════════════════════════════════════════════════════════════════╝

-- UTILS Configuration
CONFIG.UTILS = {
    USE_FADE = false, -- If you don't want the black screen during loading otherwise pass USE_FADE = true

    -- Text on loading screen upon entry
    TEXT_ENTER = "sd_basement",
    DESC_ENTER = "You enter", 
    MSG_ENTER = "Please wait",
    -- Text on loading screen upon exit
    TEXT_EXIT = "sd_basement",
    DESC_EXIT = "You go out", 
    MSG_EXIT = "Please wait",
 
    TIMER_TO_TELEPORT = 8000,        -- Loading screen time 8000 seconds so that the client loads the mapping before teleporting it
    NAME_SOUND = 'door.mp3',         -- Sound file name
    VOLUME = 0.5,                    -- Sound volume
    MAX_DISTANCE_DELOAD_MAP = 300,   -- Maximum map unload distance
    FRAMEWORK = false                -- Framework name ("gum" or "vorp" or "redem" or "rsg" or "rpx" or "oldredem") or STANDALONE > FRAMEWORK = false
}

-- ╔═════════════════════════════════════════════════════════════════════════╗
-- ║                                                                         ║
-- ║                      STANDALONE CONFIGURATION                           ║
-- ║                                                                         ║
-- ╚═════════════════════════════════════════════════════════════════════════╝

-- STANDALONE Configuration (Using ox_lib framework)
-- If you want to use our notifications go to [younra_bastille_under/scripts/notification.lua] to add yours
CONFIG.OX_LIB = false

-- ╔═════════════════════════════════════════════════════════════════════════╗
-- ║                                                                         ║
-- ║                      NOTIFICATION CONFIGURATION                         ║
-- ║                                                                         ║
-- ╚═════════════════════════════════════════════════════════════════════════╝

-- Notification Configuration
CONFIG.NOTIFICATION = {
    ICON = 'ban',                    -- Notification icon (Only ox_lib)
    ICONCOLOR = '#C53030',           -- Icon color (Only ox_lib)
    POSITION = "top",                -- Notification position (top, bottom, etc.) (Only ox_lib)
    TEXT = "Teleportation",          -- Notification text
    DESC = "You don't have the right job", -- Notification description (Only ox_lib)
    TYPE = "error"                   -- Notification type (error, warning, etc.) (Only ox_lib)
}

-- ╔═════════════════════════════════════════════════════════════════════════╗
-- ║                                                                         ║
-- ║                     TELEPORTATION CONFIGURATION                         ║
-- ║                                                                         ║
-- ╚═════════════════════════════════════════════════════════════════════════╝
-- If you want teleportation to have no restrictions based on a player's job or permissions, you should leave both USEJOBS and USEPERMS set to false in the configuration. Here's an explanation:

-- Teleportation Configuration
CONFIG.TELEPORT = {
    PROMPT = true,                   -- Show a prompt message for teleportation
    PROMPT_TEXT = "Door",            -- Prompt message text
    TEXT = 'For open the door',      -- Text to open the door
    COORDS = {
        {  
            TELEPORT = {
                ENTER = vec3(2619.524, -1228.69, 2.8812),
                EXIT = vec3(2639.182, -1230.32, 53.420)
            },
            DISTANCE = 2.0,
        },
        {
            TELEPORT = {
                ENTER = vec3(2619.024, -1247.89, -0.871),
                EXIT = vec3(2864.313, -1257.20, 46.298)
            },
            DISTANCE = 2.0, 
        },
    },   
    USEJOBS = false,                  -- Use jobs for teleportation
    JOBS = {
        '',                           -- Job name (e.g., 'police')
    },
    USEPERMS = false,                 -- Use permissions for teleportation
    PERMS = {
        '',                           -- Discord permission ID (e.g., 'discord:334771532406456330')
    }         
}

MY OTHER MAPPINGS
XMAS Cities & Gift Script
Emerald Ranch
Restaurant “The Guinguette”
MacFarlane’s Ranch [FREE]

Code is accessible Config
Subscription-based No
Lines 900
Requirements None
Support Yes
2 Likes

Great work on that :wink:

It’s an MLO right ?

And can we change the entrance teleport, as i don’t see it in the config file ?

Thanks for the answers :wink:

1 Like

Thank you very much :star_struck:
It’s a props custom and the interior is in ymap !
Yes the coordinates can be put in the config and you can choose them
Thank you too :smiley:

1 Like