Configurations
The configuration file is as follows:
Config = {
-- Title shown on the deathscreen UI
title = 'Wasted',
-- Description shown to the player when knocked out
description = 'You\'ve been knocked out. Please wait for emergency medical personnel.',
-- Message shown after successfully calling for medical help
notifiedText = 'Medical services have been notified.',
-- Button prompt instructions for calling a medic
callGuide = {
beforeKey = 'Hold', -- Text before the button name
afterKey = 'to request medical assistance.' -- Text after the button name
},
-- Button prompt instructions for respawning
respawnGuide = {
beforeKey = 'Hold', -- Text before the button name
afterKey = 'to respawn' -- Text after the button name
},
-- Whether players can call for a medic (true/false)
callForMedic = true,
-- Whether the last stand state with the timer should activate (true/false)
deathTimer = true,
-- Use a dark gradient background for the deathscreen UI (true/false)
backgroundGradient = true,
-- Key to press and hold to respawn (e.g., 'e', 'g')
respawnButton = 'e',
-- Key to press and hold to call for medical assistance
callButton = 'g',
-- Time in seconds the player must hold the respawn key
respawnHoldTime = 5,
-- Time in seconds the player must hold the call for medic key
callHoldTime = 5,
-- Total time in seconds before enabling respawn button
deathTime = 300, -- 300 seconds = 5 minutes
-- Color scheme for the deathscreen UI (Use color hex)
colors = {
primary = '#cde6ff', -- Primary color
onPrimary = '#212529', -- Text color that appears on the primary color
light = '#cde6ff', -- Light color for texts
dark = '#212529' -- Dark color for the gradient background
},
}
Last updated