猪猪侠 发表于 2024-5-17 00:18:25

翻译

Config = {};

Config.Locale = 'en'; // en / pt / es / fr / de / nl / sv

Config.MusicVolume = 0.15 // 0.0 - 1.0

Config.BackgroundVideo = true // true it will use a video (img/video/.WEBM), false it will use a carousel of images (img/slide/.JPG)

Config.UseYoutubeVideo = false // true it will use a youtube video, false it will use a local video (img/video/.WEBM)

Config.YoutubeVideoID = 'N39o6eaBtdI' // Youtube video ID (The ID is the last part of the URL after 'watch?v=')

Config.UpdateCarouselTime = 8; // Time in seconds

Config.Color = '#1f5eff' // Color of the UI

Config.SocialMedia = {
    instagram: {
      link: "https://discord.gg/okok", // Change this to your social media link
    },
    tiktok: {
      link: "https://discord.gg/okok",
    },
    youtube: {
      link: "https://www.youtube.com/@okokscripts",
    },
    discord: {
      link: "https://discord.gg/okok",
    },
};

Config.StaffMembers = {
    1: {
      name: "zhuzhuxia", // Staff member name
      rank: "administrator", // Staff member rank (administrator / moderator and can't be changed)
      image: "", // Staff member image (img/avatars/image_name.jpg) or a link ( needs to start with https://)
    },
    2: {
      name: "xiaoyu",
      rank: "administrator",
      image: "",
    },
    3: {
      name: "904",
      rank: "administrator",
      image: "",
    },
    4: {
      name: "quanquan",
      rank: "administrator",
      image: "",
    },
}

Config.UpdateList = {
    1: {
      date: 'November 25, 2023',
      title: 'Chiese1.0',
      subtitle: 'Our new update is finally here!',
      description: 'Chiese1.0版本即刻起航',
      image: 'patchnotes.jpg',
      updateList: {
            1: {
                description: 'New Maps: Explore the vast landscapes of our new map, filled with hidden treasures and dangers.',
            },
            2: {
                description: 'New Cars: Experience the thrill of driving our newly added cars, each with unique designs and features.',
            },
            3: {
                description: 'And More: We have also made several improvements and bug fixes to enhance your gaming experience.',
            },
      }
    },
    2: {
      date: 'December 21, 2023',
      title: 'Grand Racing Tournament',
      subtitle: 'Rev up your engines for the ultimate race!',
      description: 'Get ready for the thrill of the Grand Racing Tournament! Compete against the best racers, unlock new tracks, and claim the title of the fastest driver!',
      image: 'racing.jpg',
      updateList: {
            1: {
                description: 'Challenging Tracks: Experience adrenaline-pumping races on brand new and challenging racetracks.',
            },
            2: {
                description: 'High-Speed Vehicles: Unlock and race with high-performance vehicles, each with its unique characteristics.',
            },
            3: {
                description: 'Tournament Rewards: Compete for exclusive rewards and claim your place as the champion of the Grand Racing Tournament!',
            },

ChatGPT 发表于 2024-5-17 00:18:37

这段代码是一个配置文件,用来定义一些参数和选项。它包括了语言设置、音乐音量、背景视频、社交媒体链接、更新信息等内容。这段代码看起来像是放在服务器的脚本文件中,用来配置一些客户端UI和游戏内容的参数。
页: [1]
查看完整版本: 翻译