-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathloadscreen.cfg
107 lines (78 loc) · 4.49 KB
/
loadscreen.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Note: this file is an example!
# To actually change these settings you can:
# - copy this file elsewhere, modify, and execute it from another cfg file;
# - copy and modify the individual convars you wish to configure;
# - or modify this file, and execute it directly from another cfg file via the command `exec @loadscreen/loadscreen.cfg`.
# Whether to let other resources handle the loadscreen shutdown.
setr loadscreen:externalShutdown false
# The style to load for the screen (classic, modern, minimal).
# Custom styles may be added in `@loadscreen/html/styles`.
set loadscreen:style "minimal"
# The background to use for the screen ("image", "video", "embed", or a css background).
# CSS background example: "linear-gradient(-15deg, rgb(5, 0, 7.5) 0%, rgb(15, 10, 25) 100%)"
# Custom images may be added in `@loadscreen/html/assets/images`.
# Custom videos may be added in `@loadscreen/html/assets/videos`.
# An embed may be specified with the `loadscreen:embedLink` convar.
# If your custom video isn't working, try to convert it to different codecs & formats (such as webm).
set loadscreen:background "image"
# The brightness to use for the background (percentage).
set loadscreen:backgroundBrightness 30
# The text color to use for the screen (a css color).
set loadscreen:textColor "rgb(250, 250, 250)"
# The primary color to use for the screen (a css color).
# Used for the loading bars.
set loadscreen:primaryColor "rgb(64, 64, 255)"
# The secondary color to use for the screen (a css color).
# Used for the audio controls & error log borders, and part of the audio volume slider.
set loadscreen:secondaryColor "rgb(64, 64, 64)"
# The shadow color to use for the screen (a css color).
# Used for the loading bars and audio controls.
set loadscreen:shadowColor "rgba(8, 8, 16, 0.5)"
# The font family to use for the screen (a css font-family).
set loadscreen:fontFamily "'Segoe UI', Arial, Helvetica, sans-serif"
# Whether to show a logo along with the server message.
# A logo may be added in `@loadscreen/html/assets`.
# The image should be named `logo`, with a web-supported image extension.
set loadscreen:logo true
# The message displayed when loading.
# Available variables:
# ${playerName} - Player name
# ${serverName} - sv_projectName variable, or sv_hostname if not available
set loadscreen:serverMessage "${playerName}, welcome to ${serverName}!"
# Whether to show the primary loading bar.
set loadscreen:primaryBar true
# Whether to show the secondary loading bar.
set loadscreen:secondaryBar false
# Whether to show the current loading action near the secondary bar (such as `INIT_FUNCTION`).
set loadscreen:loadingAction false
# The message displayed when FiveM is awaiting scripts.
set loadscreen:finishingMessage "Finishing up..."
# Whether to show the current log line along with the finishing message (such as `Awaiting Scripts`).
set loadscreen:logLine true
# The message displayed when FiveM is done loading, but another resource has to shut down the screen (when `loadscreen:externalShutdown` is true).
set loadscreen:finishedMessage "Done!"
# Additional text displayed when FiveM is done loading, but another resource has to shut down the screen (when `loadscreen:externalShutdown` is true).
set loadscreen:finishedLine "You will be loaded in any moment now..."
# Whether to show audio controls when background music and/or video is available (recommended).
set loadscreen:audioControls true
# Whether to remember the audio volume set by the player, if the audio controls are enabled. (recommended).
set loadscreen:rememberVolume true
# Whether to show an error log when an error occurs in the NUI (recommended).
set loadscreen:errorLog true
# The initial volume for the background audio - music & video (0 - 100).
set loadscreen:initialAudioVolume 10
# Whether music should be enabled for the screen.
# Custom music may be added in `@loadscreen/html/assets/music`.
set loadscreen:music true
# Whether music should be randomly shuffled when played.
set loadscreen:musicShuffle false
# The rate at which images are switched in milliseconds.
set loadscreen:imageRate 7500
# Whether images should be randomly shuffled when displayed.
set loadscreen:imageShuffle false
# Whether videos should be randomly shuffled when displayed.
set loadscreen:videoShuffle false
# An embed link to play in the background if `loadscreen:background` is set to "embed".
set loadscreen:embedLink "https://www.youtube.com/embed?playlist=E49ureeMykI&autoplay=1&loop=1"
# Whether to enable mouse clicks for the background embed.
set loadscreen:embedAccess true