Skip to main content

Configuration

Add images

1

Step 1

Add your .png files to cdn folder.
2

Step 2

Insert filenames in config.js
3

Step 3

Insert filenames in fxmanifest.lua
1

Step 1

Replace logo.png to your .png file in cdn folder.

config.js

var config = {
    /* Transition Interval in ms*/
    "transitionInterval": 1250,

    /* Img Interval in ms*/
    "imgInterval": 4000,

    /* On / Off music*/
    "music": true,

    /* Youtube Video ID */
    /* vPet sound ID "main - AnMhdn0wJ4I", christmas - "WNJCqQZ4QnI", other- "oc5ADyl0lDs", "qhZULM69DIw", iLBBRuVDOo4*/
    "videoID": "AnMhdn0wJ4I",

    /* Music Volume (0%-100%)*/
    "musicVolume": 15,

    /* Texts on loading screen */
    "text": {
        "title": "vPET",
        "link": "vPET.pl",
    },

    /* Image names without dir '/imgs/' You must add same files in fxmanifest.lua*/ 
    "images": [
        'imgs/amz1.png',
        'amz2.png',
        'inpost1.png',
        'inpost2.png',
        'dhl1.png',
        'dhl2.png',
        'dpd1.png',
        'dpd2.png',
        'fdx1.png',
        'fdx2.png',
        'mzk1.png',
        'mzk2.png',
        'pd.jpg',
        'pdipol.jpg',
        'pol.png',
        'ups1.png',
        'ups2.png'
    ]
}

style.css


:root {
    /* Background contrast */
    --background-contrast: 95%;

    /* Background blur */
    --background-blur: 3px;

    /* Loading Bar background color*/
    --loadingbar-color: #ffffff5b;

    /* Loading Bar progress color */
    --loadingbar-progress-color: #0000009f;

    /* Loading Bar height */
    --loadingbar-height: 27px;

    /* Footer font color */
    --footer-font-color: #ffffff;

    /* Footer font size */
    --footer-font-size: 24px;

    /* Image Fade color */
    --fadeTo-Color: #222222;
}

Usage

1

Step 1

Download repo and put to your resources folder.
2

Step 2

Add start ks_loading to your server.cfg.
3

Step 3

Start server.
I