Agency Docs
QBESXStandalone

Agency-Loadingscreen V2 配置

采用 Agency 设计风格的 FiveM 加载界面。自定义背景:内置三段 Los Santos 电影级无人机航拍蒙太奇,以流畅的 1080p 串流播放(玩家无需额外下载),也可使用你的自定义视频文件或链接、YouTube.

v2.1.0付费3 页面

01配置

快速安装 · config.lua · Agency-Loadingscreen V2

下载 config.lua

--[[ ╔══════════════════════════════════════════════════════════════════════╗ ║ AGENCY LOADINGSCREEN - CONFIGURATION ║ ║ (c) Agency Scripts ║ ╚══════════════════════════════════════════════════════════════════════╝ Works out of the box. Put your own files into html/assets/ and name them here, or use a https link. CONTENTS 1. Agency Companion The free app for your players, accent colour 2. Core Language, server name, logo 3. Background Video, picture or none 4. Music Songs, playlist, volume 5. Tips Rotating tips 6. Links Discord, website, socials 7. Team Team card 8. Closing When the screen closes Included music: "Raise n Claim" (RinoTheKidd), "Bigger Picture" and "Whole City Knows" (Agency Scripts). You may use them on your server as part of this loading screen, see LICENSE-MUSIC.txt. Discord: https://discord.gg/RTax3aBMUs · Shop: https://shop.agencyg.de ]] Config = {} --============================================================================== -- 1 · AGENCY COMPANION --============================================================================== -- Agency Companion app (free): -- iPhone, iPad and Mac: https://apps.apple.com/app/id6778632140 -- Android: https://play.google.com/store/apps/details?id=de.agencyg.companion -- Web app (browser): https://companion.agencyg.de/app -- Agency-Companion script (free resource, one /app code for every Agency script): https://shop.agencyg.de/en/product/agency-companion -- One resource for every Agency script: your players link them with the free -- Agency Companion app (iPhone, Android, web), and your admins pick one accent -- colour for all Agency scripts in game (/app, admin page). The loading screen -- takes that colour over by itself. Drop it into your resources, done. Config.Companion = { Enabled = true, -- follow Agency-Companion (accent colour) } -- ── Accent colour ──────────────────────────────────────────────────────────── -- 'agency' = the colour from Agency-Companion (gold until an admin picks one); -- without Agency-Companion the colour of your logo (gold without logo) -- 'auto' = always taken from your logo (gold when there is none) -- a preset: 'gold' 'blue' 'cyan' 'green' 'red' 'orange' 'pink' 'purple' 'white' -- or your own R, G, B: { 226, 182, 73 } Config.Accent = 'agency' --============================================================================== -- 2 · CORE --============================================================================== -- ── Language ───────────────────────────────────────────────────────────────── -- Included (locales folder): -- en bg cs da de el es fi fr hr hu it ja ko nb nl pl pt ro ru sk sv tr uk zh -- plus ar hi pt-br -- 'auto' follows your server language (qb_locale / esx:locale / ox:locale). Config.Locale = 'en' -- ── Server ─────────────────────────────────────────────────────────────────── Config.ServerName = 'Agency Scripts' -- 'auto' = sv_projectName from server.cfg Config.Description = 'The official test server of Agency Scripts. Premium standalone FiveM scripts, made in Germany.' -- 'auto' = sv_projectDesc Config.Logo = 'agency-gold.png' -- file in html/assets, a https link, or false --============================================================================== -- 3 · BACKGROUND --============================================================================== -- type : 'image' = pictures with a slow camera drift (default, smoothest) -- 'video' = videos in a loop -- 'none' = a calm dark gradient, no media at all (fastest) -- video : links (https) or files in html/assets (mp4 / webm). One or a list that -- plays one after the other. The included montages stream in 1080p from -- our server, so players download nothing extra with the resource. -- Your own: an mp4 (H.264, 1080p, about 6 Mbit/s) as a file or link plays -- smoothest. YouTube links work too, but YouTube picks the quality -- itself and costs more performance while the game loads. -- dim : how much darker the background is drawn (0 to 0.8) -- youtubeRelay : YouTube does not play inside a loading screen on its own -- (error 153). The included page fixes that. Leave it as it is, or -- host yt.html yourself and put your link here. Config.Background = { type = 'image', -- Three drone montages in 1080p, about two minutes each. On weak PCs add -- '-720' before '.mp4' in the links for a lighter 720p version. video = { 'https://vid.agencyg.de/ls/city.mp4', 'https://vid.agencyg.de/ls/dusk.mp4', 'https://vid.agencyg.de/ls/coast.mp4', }, -- Seven 4K pictures of Los Santos, each drifts slowly and fades into the next. -- Your own: put them into html/assets and list them here, or one file name. image = { 'bg-1.webp', 'bg-2.webp', 'bg-3.webp', 'bg-4.webp', 'bg-5.webp', 'bg-6.webp', 'bg-7.webp' }, interval = 9, -- seconds per picture dim = 0.35, youtubeRelay = 'https://vid.agencyg.de/yt.html', } --============================================================================== -- 4 · MUSIC --============================================================================== -- One song or a playlist. Players can pause, skip and change the volume, -- SPACE pauses. Your own songs: put the mp3 into html/assets and list it here. Config.Music = { enabled = true, volume = 0.25, -- 0.0 to 1.0 shuffle = false, tracks = { { file = 'music.mp3', title = 'Raise n Claim', artist = 'RinoTheKidd', cover = 'songpic.png' }, { file = 'bigger-picture.mp3', title = 'Bigger Picture', artist = 'Agency Scripts', cover = 'cover-agency.png' }, { file = 'whole-city-knows.mp3', title = 'Whole City Knows', artist = 'Agency Scripts', cover = 'cover-agency.png' }, }, } --============================================================================== -- 5 · TIPS --============================================================================== -- Rotate during loading. {} hides the tip card. Config.Tips = { 'Press F1 to open the phone and stay in touch with everyone', 'Read the rules on our Discord before you start', 'Use /report when someone breaks the rules', 'Jobs pay better the longer you stay with them', 'Lock your car, the city never sleeps', } Config.TipInterval = 6000 -- milliseconds per tip --============================================================================== -- 6 · LINKS --============================================================================== -- false hides a button. Config.Links = { discord = 'https://discord.gg/RTax3aBMUs', website = 'https://agencyscripts.dev', tiktok = false, youtube = false, instagram = false, } --============================================================================== -- 7 · TEAM --============================================================================== -- false hides the card. Config.Team = { { group = 'Agency Scripts', members = { { name = 'Leon', role = 'Founder', avatar = 'team-leon.png' }, { name = 'Marcel', role = 'Developer', avatar = 'team-marcel.png' }, } }, } --============================================================================== -- 8 · CLOSING --============================================================================== -- A multicharacter (Agency Multicharacter, qb-multicharacter, esx_multicharacter -- and most others) closes the screen the moment its selection is ready. -- Without one it closes when the character spawns. Config.SafetyTimeout = 120 -- seconds after the game is ready, closes in any case

看完本页仍未解决?接下来由我们的支持团队接手。